﻿:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4cc9f0;
    --light-bg: #f8f9fa;
    --success-color: #06d6a0;
    --warning-color: #ffd166;
    --danger-color: #ef476f;
    --dark-color: #343a40;
}
body {
    font-family: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    background-color: #f5f7fb;
    color: #333;
    min-height: 100vh;
    overflow-x: hidden;
}
* {
    box-sizing: border-box;
}
.resp-info{
    display:none;
}

.car-input {
    text-transform: uppercase;
}

.vehicle-item {
    float: left;
    flex-wrap: wrap;
}

    .vehicle-item .btn-group {
        margin-top: 0.5rem;
    }


.custom-modal-body {
    max-height: 800px;
    overflow-y: auto;
}
/* 高分辨率基础调整 */
.high-res-text {
    font-weight: 300;
    letter-spacing: 0.02em;
}

.high-res-element {
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* 通用响应式样式 */
.responsive-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.btn-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .btn-custom:hover, .btn-custom:focus {
        background-color: var(--secondary-color);
        border-color: var(--secondary-color);
        color: white;
        transform: translateY(-4px);
        box-shadow: 0 12px 25px rgba(67, 97, 238, 0.3);
    }

.card-custom {
    border-radius: 18px;
    border: none;
    box-shadow: 0 10px 35px rgba(0,0,0,0.06);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

    .card-custom:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 45px rgba(0,0,0,0.12);
    }

.card-header-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 600;
    padding: 1.5rem 2rem;
    border-radius: 18px 18px 0 0 !important;
    border: none;
    font-size: 16px;
}

.form-control, .form-select {
    border-radius: 12px;
    padding: 1rem 1.2rem;
    border: 1.5px solid #e1e5eb;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    transition: all 0.3s;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--accent-color);
        box-shadow: 0 0 0 0.3rem rgba(76, 201, 240, 0.2);
        transform: translateY(-2px);
    }

/* 移动端布局 */
.mobile-container {
    display:none;
}

    /* 桌面端布局 */
    .desktop-layout {
        display: none;
        min-height: 100vh;
        background-color: #f5f7fb;
    }

    .navbar-desktop {
        display: none;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
        padding: 1.5rem 3rem;
        box-shadow: 0 5px 25px rgba(67, 97, 238, 0.2);
        position: sticky;
        top: 0;
        z-index: 1000;
        height: 80px;
        backdrop-filter: blur(15px);
        background-color: rgba(67, 97, 238, 0.95);
    }

    .sidebar-desktop {
        display: none;
        background-color: rgba(255, 255, 255, 0.95);
        min-height: calc(100vh - 80px);
        box-shadow: 5px 0 25px rgba(0,0,0,0.05);
        position: fixed;
        top: 80px;
        left: 0;
        width: 280px;
        z-index: 999;
        overflow-y: auto;
        backdrop-filter: blur(15px);
        border-right: 1px solid rgba(234, 234, 234, 0.8);
    }

    .main-content-desktop {
        display: none;
        margin-left: 280px;
        padding: 2.5rem;
        min-height: calc(100vh - 80px);
        width: calc(100% - 280px);
    }
    /* 页面通用样式 */
    .page {
        display: none;
        animation: fadeIn 0.4s ease;
    }

        .page.active {
            display: block;
        }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(15px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    /* 高分辨率特定样式 */
    @media (min-width: 2560px) {
        /* 2K屏幕优化 */
        body {
            font-size: 18px;
            line-height: 1.8;
        }

        .mobile-container {
            max-width: 1400px;
        }

        .mobile-header {
            padding: 2rem 1.5rem;
        }

        .mobile-content {
            padding: 3rem 2rem;
        }

        .mobile-nav {
            padding: 1.2rem 1.5rem;
        }

        .btn-custom {
            padding: 1rem 2rem;
            font-size: 1.1rem;
            border-radius: 14px;
        }

        .form-control, .form-select {
            padding: 1.2rem 1.5rem;
            font-size: 1.1rem;
            border-radius: 14px;
        }

        .card-custom {
            border-radius: 20px;
            margin-bottom: 2.5rem;
        }

        .card-header-custom {
            padding: 1.8rem 2.2rem;
            font-size: 1.3rem;
        }
        /* 桌面端2K优化 */
        .navbar-desktop {
            padding: 1.8rem 4rem;
            height: 90px;
        }

        .sidebar-desktop {
            top: 90px;
            width: 320px;
        }

        .main-content-desktop {
            margin-left: 320px;
            padding: 3.5rem;
            width: calc(100% - 320px);
            min-height: calc(100vh - 90px);
        }

        .sidebar-desktop .sidebar-menu-link {
            padding: 1.5rem 2rem;
            font-size: 1.1rem;
        }

        .sidebar-desktop .sidebar-menu-icon {
            font-size: 1.4rem;
            width: 30px;
        }

        .dashboard-card {
            padding: 2.5rem 2rem;
            border-radius: 20px;
        }

        .dashboard-card-icon {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
        }

        .dashboard-card-value {
            font-size: 3rem;
        }

        .dashboard-card-title {
            font-size: 1.3rem;
        }

        .table th, .table td {
            padding: 1.2rem 1.5rem;
            font-size: 1.05rem;
        }
    }

    @media (min-width: 3840px) {
        /* 4K屏幕优化 */
        body {
            font-size: 22px;
            line-height: 1.9;
        }

        .mobile-container {
            max-width: 2000px;
        }

        .mobile-header {
            padding: 2.5rem 2rem;
        }

        .mobile-content {
            padding: 4rem 3rem;
        }

        .mobile-nav {
            padding: 1.5rem 2rem;
        }

        .btn-custom {
            padding: 1.2rem 2.5rem;
            font-size: 1.3rem;
            border-radius: 16px;
        }

        .form-control, .form-select {
            padding: 1.5rem 2rem;
            font-size: 1.3rem;
            border-radius: 16px;
        }

        .card-custom {
            border-radius: 24px;
            margin-bottom: 3rem;
        }

        .card-header-custom {
            padding: 2.2rem 2.8rem;
            font-size: 1.6rem;
        }
        /* 桌面端4K优化 */
        .navbar-desktop {
            padding: 2rem 5rem;
            height: 100px;
        }

        .sidebar-desktop {
            top: 100px;
            width: 380px;
        }

        .main-content-desktop {
            margin-left: 380px;
            padding: 4.5rem;
            width: calc(100% - 380px);
            min-height: calc(100vh - 100px);
        }

        .sidebar-desktop .sidebar-menu-link {
            padding: 1.8rem 2.5rem;
            font-size: 1.3rem;
        }

        .sidebar-desktop .sidebar-menu-icon {
            font-size: 1.6rem;
            width: 35px;
        }

        .dashboard-card {
            padding: 3rem 2.5rem;
            border-radius: 24px;
        }

        .dashboard-card-icon {
            font-size: 4rem;
            margin-bottom: 2rem;
        }

        .dashboard-card-value {
            font-size: 3.8rem;
        }

        .dashboard-card-title {
            font-size: 1.6rem;
        }

        .dashboard-card-desc {
            font-size: 1.2rem;
        }

        .table th, .table td {
            padding: 1.5rem 2rem;
            font-size: 1.2rem;
        }

        h1 {
            font-size: 3.5rem;
            margin-bottom: 2.5rem;
        }

        h2 {
            font-size: 2.8rem;
            margin-bottom: 2rem;
        }

        h3 {
            font-size: 2.2rem;
            margin-bottom: 1.8rem;
        }

        h4 {
            font-size: 1.8rem;
        }
        /* 4K特有 - 更细致的阴影和动画 */
        .card-custom:hover {
            transform: translateY(-12px);
            box-shadow: 0 30px 60px rgba(0,0,0,0.15);
        }

        .btn-custom:hover {
            transform: translateY(-6px);
            box-shadow: 0 18px 35px rgba(67, 97, 238, 0.35);
        }
    }
    /* 响应式显示控制 */
    @media (max-width: 1199px) {
        /* 平板及以下设备显示移动布局 */
        .mobile-container {
            display: block;
        }

        .desktop-layout {
            display: none;
        }
    }




    @media (min-width: 1200px) {
        /* 桌面设备显示桌面布局 */
        .mobile-container {
            display: none;
        }

        .desktop-layout {
            display: block;
        }

        .navbar-desktop {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .sidebar-desktop {
            display: block;
        }

        .main-content-desktop {
            display: block;
        }
    }
    /* 通用组件样式 */
    .login-logo {
        text-align: center;
        margin-bottom: 3rem;
    }

    .login-icon {
        font-size: 5rem;
        color: var(--primary-color);
        margin-bottom: 1.5rem;
    }

    .avatar {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-color);
        font-size: 3rem;
        border: 5px solid rgba(255,255,255,0.3);
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

    .status-badge {
        display: inline-block;
        padding: 0.5rem 1.2rem;
        border-radius: 25px;
        font-size: 0.9rem;
        font-weight: 600;
        letter-spacing: 0.03em;
    }

    .status-pending {
        background-color: #fff3cd;
        color: #856404;
    }

    .status-approved {
        background-color: #d4edda;
        color: #155724;
    }

    .status-rejected {
        background-color: #f8d7da;
        color: #721c24;
    }
    /* 侧边栏菜单 */
    .sidebar-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .sidebar-menu-item {
        padding: 0;
    }

    .sidebar-menu-link {
        display: flex;
        align-items: center;
        padding: 1.2rem 1.8rem;
        color: #555;
        text-decoration: none;
        transition: all 0.3s;
        border-left: 4px solid transparent;
        font-weight: 500;
    }

        .sidebar-menu-link:hover, .sidebar-menu-link.active {
            background-color: rgba(67, 97, 238, 0.07);
            color: var(--primary-color);
            border-left-color: var(--primary-color);
        }

    .sidebar-menu-icon {
        font-size: 1.3rem;
        margin-right: 1rem;
        width: 25px;
        text-align: center;
    }
    /* 仪表板卡片 */
    .dashboard-card {
        background: white;
        border-radius: 18px;
        padding: 2rem 1.8rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.06);
        height: 100%;
        transition: all 0.4s;
        backdrop-filter: blur(10px);
        background-color: rgba(255, 255, 255, 0.95);
    }

        .dashboard-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }

    .dashboard-card-icon {
        font-size: 3rem;
        margin-bottom: 1.2rem;
        color: var(--primary-color);
    }

    .dashboard-card-title {
        font-weight: 600;
        margin-bottom: 0.8rem;
        color: #333;
        font-size: 1.1rem;
    }

    .dashboard-card-value {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .dashboard-card-desc {
        color: #666;
        font-size: 0.95rem;
    }
    /* 表格响应式 */
    .table-responsive-custom {
        overflow-x: auto;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    }

    .table {
        margin-bottom: 0;
    }

        .table th {
            background-color: rgba(67, 97, 238, 0.05);
            border-bottom: 2px solid rgba(67, 97, 238, 0.1);
            font-weight: 600;
            color: #333;
            padding: 1.2rem 1.5rem;
        }

        .table td {
            padding: 1rem 1.5rem;
            vertical-align: middle;
            border-color: rgba(0,0,0,0.05);
        }

    .table-hover tbody tr:hover {
        background-color: rgba(67, 97, 238, 0.03);
    }
    /* 页面切换动画 */
    .page-transition-enter {
        opacity: 0;
        transform: translateY(20px);
    }

    .page-transition-enter-active {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.4s, transform 0.4s;
    }
    /* 顶部用户信息 */
    .user-info-desktop {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    .user-avatar-desktop {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-color);
        font-size: 1.5rem;
        border: 2px solid rgba(255,255,255,0.4);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    /* 导航栏品牌 */
    .navbar-brand {
        display: flex;
        align-items: center;
        font-weight: 700;
        font-size: 1.5rem;
        color: white;
        text-decoration: none;
    }

    .navbar-brand-icon {
        font-size: 2rem;
        margin-right: 0.8rem;
    }
    /* 移动端导航 */
    .mobile-nav .nav-link {
        color: #888;
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 0.85rem;
        padding: 0.8rem 0.5rem;
        border-radius: 12px;
        transition: all 0.3s;
    }

        .mobile-nav .nav-link.active {
            color: var(--primary-color);
            background-color: rgba(67, 97, 238, 0.1);
        }

    .mobile-nav .nav-icon {
        font-size: 1.6rem;
        margin-bottom: 0.4rem;
    }
    /* 验证码输入 */
    .verification-code-container {
        position: relative;
        margin-bottom: 1.2rem;
    }

    .send-code-btn {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        background-color: var(--primary-color);
        color: white;
        border: none;
        border-radius: 0 12px 12px 0;
        padding: 0 1.5rem;
        font-size: 0.95rem;
        font-weight: 500;
        transition: all 0.3s;
    }

        .send-code-btn:hover:not(:disabled) {
            background-color: var(--secondary-color);
        }

        .send-code-btn:disabled {
            background-color: #ccc;
            cursor: not-allowed;
        }

    .verification-code-input {
        padding-right: 130px !important;
    }
    /* 安全须知 */
    .safety-checklist .form-check {
        padding-left: 3rem;
        margin-bottom: 1.2rem;
        padding-top: 0.4rem;
    }

    .safety-checklist .form-check-input {
        width: 1.5rem;
        height: 1.5rem;
        margin-left: -3rem;
    }

    .safety-checklist .form-check-label {
        font-weight: 500;
        line-height: 1.6;
    }
    /* 平滑滚动 */
    html {
        scroll-behavior: smooth;
    }
    /* 自定义滚动条 */
    ::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }

    ::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.03);
        border-radius: 10px;
    }

    ::-webkit-scrollbar-thumb {
        background: rgba(67, 97, 238, 0.3);
        border-radius: 10px;
    }

        ::-webkit-scrollbar-thumb:hover {
            background: rgba(67, 97, 238, 0.5);
        }
    /* 高分辨率优化类 */
    .high-res-optimized {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }

    .glass-effect {
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    /* 渐变背景 */
    .gradient-bg {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
    /* 响应式工具类 */
    .responsive-padding {
        padding: clamp(1rem, 3vw, 3rem);
    }

    .responsive-font {
        font-size: clamp(1rem, 1.5vw, 1.5rem);
    }
    /* 性能优化 */
    .will-change-transform {
        will-change: transform;
    }
    /* 访客预约 */
    .guest-badge {
        display: inline-block;
        background-color: var(--accent-color);
        color: white;
        padding: 0.5rem 1.2rem;
        border-radius: 25px;
        font-size: 0.9rem;
        font-weight: 500;
        margin-left: 0.8rem;
    }

    .reservation-item {
        border-left: 5px solid var(--primary-color);
        padding-left: 1.5rem;
        margin-bottom: 1.8rem;
        padding: 1.5rem;
        background-color: white;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.04);
    }

    .card-body {
        margin: 30px;
    }

    .d-flex {
        height: 60px;
        padding-top: 18px;
    }

/* 卡片容器额外柔和阴影 */
.list-group-custom {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 80, 120, 0.08);
}

/* 列表项基础样式：白底，浅蓝边框，圆润过渡 */
.list-group-item {
    background-color: #ffffff;
    border-left: 3px solid #b8d9f5;
    border-right: 1px solid #d4e9ff;
    border-top: 1px solid #e6f0fa;
    border-bottom: 1px solid #d4e9ff;
    margin-bottom: 0;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    padding: 1rem 1.25rem;
}

    /* 第一个列表项顶部圆角适配 */
    .list-group-item:first-child {
        border-top-left-radius: 1rem;
        border-top-right-radius: 1rem;
    }
    /* 最后一个底部圆角 */
    .list-group-item:last-child {
        border-bottom-left-radius: 1rem;
        border-bottom-right-radius: 1rem;
    }

    /* hover 效果：淡蓝背景 + 轻微提升 */
    .list-group-item:hover {
        background-color: #f0f8ff;
        border-left-color: #6ea8fe;
        transform: scale(1.01);
        box-shadow: 0 4px 10px rgba(0, 100, 150, 0.08);
        z-index: 1;
        position: relative;
    }

    /* 选中样式：清新活力浅蓝主色调，边框加强，微阴影 */
    .list-group-item.selected {
        background: linear-gradient(105deg, #d4eaff 0%, #c2e0ff 100%);
        border-left: 3px solid #0d6efd;
        border-top: 1px solid #aad0ff;
        border-bottom: 1px solid #aad0ff;
        border-right: 1px solid #aad0ff;
        color: #0a4b6e;
        box-shadow: 0 6px 12px rgba(13, 110, 253, 0.12);
    }

        /* 选中状态内部文字加深，突出重要信息 */
        .list-group-item.selected .info-label {
            font-weight: 700;
            color: #075a8b;
        }

        .list-group-item.selected .info-text {
            font-weight: 500;
            color: #02456e;
        }

/* 信息行内样式，优雅排版 */
.info-label {
    font-weight: 600;
    color: #2c6e9e;
    margin-right: 0.25rem;
}

.info-text {
    color: #1f5a7e;
    word-break: break-word;
}
/* 图标与文字间距 */
.bi {
    margin-right: 0.35rem;
    font-size: 1.1rem;
    vertical-align: middle;
}
/* 自定义行内样式，确保移动端整洁 */
.info-block {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
/* 反馈区域样式 */
.alert-selected {
    background-color: #cfe7ff;
    border-left: 5px solid #0d6efd;
    color: #035177;
    font-weight: 500;
    border-radius: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
/* 头部装饰 */
.header-icon {
    background: #cfe2f5;
    border-radius: 50px;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
/* 移动端优化: 保证每项内信息清晰 */
@media (max-width: 576px) {
    .list-group-item {
        padding: 0.9rem 1rem;
    }

    .info-block {
        margin-bottom: 0.2rem;
    }

    .col-sm-4 {
        margin-bottom: 0.4rem;
    }

    .row [class*="col-"]:last-child {
        margin-bottom: 0;
    }
}
/* 取消默认点击轮廓，保留焦点便于键盘 */
.list-group-item:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: -2px;
}
