/* reset và các style cơ bản */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}
/* container chứa nội dung */
.container { 
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* thanh đầu trang */
.header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
/* subtle animated gradient cho thanh đầu trang */
@media (prefers-reduced-motion: no-preference) {
    .header {
        background-size: 200% 200%;
        animation: headerGradientShift 12s ease-in-out infinite;
    }
}

@keyframes headerGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* logo */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex: 1;
}

.logo i {
    font-size: 1.6rem;
    color: #ffffff;
}

.logo h1 {
    font-size: 1.6rem;
    font-weight: 600;
}

/* animated gradient text cho tiêu đề thanh đầu trang */
@media (prefers-reduced-motion: no-preference) {
    .gradient-text {
        background-image: linear-gradient(90deg, #ffffff 0%, #cfe8ff 25%, #ffffff 50%, #cfe8ff 75%, #ffffff 100%);
        background-size: 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: gradientTextShift 8s linear infinite;
        text-shadow: 0 0 10px rgba(255,255,255,0.15);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gradient-text {
        color: #ffffff;
    }
}

@keyframes gradientTextShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
/* menu */
.nav {
    display: flex;
    gap: 0.5rem;
}
/* nút menu */
.nav-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}
/* hover nút menu */
.nav-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}
/* active nút menu */
.nav-btn.active {
    background: #f39c12;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}
/* gentle breathing animation cho nút menu active */
@media (prefers-reduced-motion: no-preference) {
    .nav-btn.active {
        animation: navPulse 2.4s ease-in-out infinite;
    }
}
/* animation cho nút menu active */
@keyframes navPulse {
    0%, 100% { transform: translateY(0); box-shadow: 0 4px 15px rgba(243,156,18,0.30); }
    50% { transform: translateY(-1px) scale(1.02); box-shadow: 0 8px 22px rgba(243,156,18,0.40); }
}

/* reveal-on-scroll animation utilities */
.reveal-item {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 600ms ease, transform 600ms ease;
}
/* reveal-on-scroll animation cho item */
.reveal-item.in-view {
    opacity: 1;
    transform: translateY(0);
}
/* giảm hiệu ứng khi tắt reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* nội dung chính */
.main-content {
    padding: 2rem;
}

.section {
    display: none;
}

.section.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* phần chính */
.hero {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    margin-bottom: 2rem;
}
/* tiêu đề phần chính */
.hero h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* animation cho tiêu đề phần chính */
@media (prefers-reduced-motion: no-preference) {
    #heroTitle.typing::after {
        content: '';
        display: inline-block;
        width: 2px;
        height: 1em;
        background: #2c3e50;
        margin-left: 4px;
        animation: caretBlink 1s steps(1) infinite;
        vertical-align: -0.1em;
    }
}

@keyframes caretBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* canvas overlay snow */
.snow-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 20;
}
/* mô tả phần chính */
.hero p {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

/* thống kê phần chính */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
/* card thống kê */
.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    min-width: 150px;
    transition: transform 0.3s ease;
}
/* hover card thống kê */
.stat-card:hover {
    transform: translateY(-5px);
}
/* icon card thống kê */
.stat-card i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 1rem;
}
/* tiêu đề card thống kê */
.stat-card h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}
/* mô tả card thống kê */
.stat-card p {
    color: #6c757d;
    font-weight: 500;
}

/* Quick Actions */
.quick-actions {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.quick-actions h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}
/* tiêu đề phần */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.section-header h2 {
    color: #2c3e50;
    font-size: 2rem;
}

/* nút */
.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
/* nút primary */
.btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}
/* hover nút primary */
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}
/* nút secondary */
.btn-secondary {
    background: #6c757d;
    color: white;
}
/* hover nút secondary */
.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}
/* nút danger */
.btn-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}
/* hover nút danger */
.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* thanh tìm kiếm */
.search-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
}

/* input thanh tìm kiếm */
.search-bar input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    border-color: #3498db;
}

.search-bar button {
    padding: 0.8rem 1.5rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}
/* hover nút thanh tìm kiếm */
.search-bar button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* lưới ga */
.stations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
/* card ga */
.station-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border-left: 4px solid #3498db;
}
/* hover card ga */
.station-card:hover {
    transform: translateY(-5px);
}
/* tiêu đề card ga */
.station-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}
/* mô tả card ga */
.station-card p {
    color: #6c757d;
    margin-bottom: 0.5rem;
}
/* nút ga */
.station-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

/* lọc chuyến */
.schedule-filters {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: end;
}
/* group lọc chuyến */
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 150px;
}
/* label lọc chuyến */
.filter-group label {
    font-weight: 500;
    color: #2c3e50;
}
/* select và input lọc chuyến */
.filter-group select,
.filter-group input {
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}
/* focus select và input lọc chuyến */
.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #3498db;
}

/* bảng chuyến */
.schedule-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
/* table bảng chuyến */
.schedule-table table {
    width: 100%;
    border-collapse: collapse;
}
/* header bảng chuyến */
.schedule-table th {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}
/* cell bảng chuyến */
.schedule-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}
/* hover row bảng chuyến */
.schedule-table tr:hover {
    background: #f8f9fa;
}

/* Booking Form */
.booking-form {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
/* form step */
.form-step {
    display: none;
}
/* active form step */
.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}
/* tiêu đề form step */
.form-step h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}
/* thanh tìm kiến chuyến */
.trip-search {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: end;
    margin-bottom: 2rem;
}
/* group form */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
}
/* row form */
.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
/* label form */
.form-group label {
    font-weight: 500;
    color: #2c3e50;
}
/* input, select, textarea form */
.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}
/* focus input, select, textarea form */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}
/* textarea form */
.form-group textarea {
    resize: vertical;
    min-height: 80px;
}
/* kết quả tìm kiếm chuyến */
.trip-results {
    margin-top: 2rem;
}
/* card kết quả tìm kiếm chuyến */
.trip-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #3498db;
    transition: transform 0.3s ease;
}
/* hover card kết quả tìm kiếm chuyến */
.trip-card:hover {
    transform: translateX(5px);
}
/* tiêu đề card kết quả tìm kiếm chuyến */
.trip-card h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.trip-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.trip-info div {
    display: flex;
    flex-direction: column;
}

.trip-info strong {
    color: #2c3e50;
    font-size: 0.9rem;
}

.trip-info span {
    color: #6c757d;
    font-size: 0.9rem;
}

.passenger-form {
    margin-bottom: 2rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.booking-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.summary-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 4px solid #3498db;
}

.summary-card h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.payment-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.payment-info {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.verification-section {
    display: flex;
    gap: 1rem;
    align-items: end;
    flex-wrap: wrap;
}

.verification-section label {
    font-weight: 500;
    color: #2c3e50;
}

.verification-section input {
    flex: 1;
    min-width: 200px;
}

/* Manage Tabs */
.manage-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e9ecef;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    color: #6c757d;
    font-weight: 500;
    font-size: 1.06rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
}

.tab-btn:hover {
    color: #2c3e50;
}

.tab-btn.active {
    color: #3498db;
    border-bottom-color: #3498db;
    background: rgba(52, 152, 219, 0.10);
    box-shadow: 0 6px 16px rgba(52,152,219,0.12);
}

/* icon và animation cho manage tabs */
.manage-tabs .tab-btn .tab-icon { font-size: 1rem; }
@media (prefers-reduced-motion: no-preference) {
    .manage-tabs .tab-btn.active .tab-icon { animation: subtleBounce 1.2s ease-in-out infinite; }
}

.tab-content {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.search-section {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: end;
}

.search-section input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
}

.search-section input:focus {
    outline: none;
    border-color: #3498db;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
}

.close {
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #f39c12;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .logo {
        width: 100%;
        justify-content: center;
    }
    
    .logo h1 {
        font-size: 1.4rem;
        text-align: center;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .schedule-filters {
        flex-direction: column;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .trip-search {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .booking-summary {
        grid-template-columns: 1fr;
    }
    
    .manage-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .schedule-table {
        overflow-x: auto;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 1rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .verification-section {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Toast (thông báo popup)*/
.toast-container {
    position: fixed;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none; 
}

/* Positions */
.toast-container.top-right { top: 16px; right: 16px; }
.toast-container.bottom-right { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); right: 16px; }
.toast-container.top-center { top: 16px; left: 50%; transform: translateX(-50%); }
.toast-container.bottom-center { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); }

.toast {
    min-width: 260px;
    max-width: 420px;
    background: white;
    color: #2c3e50;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    pointer-events: auto; 
    transform: translateY(-8px) scale(0.98);
    transition: opacity .25s ease, transform .25s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast .toast-icon { font-size: 1.1rem; }
.toast .toast-message { flex: 1; line-height: 1.4; }
.toast .toast-close { cursor: pointer; opacity: .6; transition: opacity .2s; }
.toast .toast-close:hover { opacity: 1; }

.toast.success { border-left: 4px solid #27ae60; }
.toast.error { border-left: 4px solid #e74c3c; }
.toast.info { border-left: 4px solid #3498db; }

@media (max-width: 480px) {
    .toast-container.top-right,
    .toast-container.top-center { top: auto; bottom: 12px; right: 12px; left: auto; transform: none; }
    .toast-container.bottom-right,
    .toast-container.bottom-center { bottom: 12px; right: 12px; left: auto; transform: none; }
    .toast { min-width: auto; max-width: calc(100vw - 24px); }
}

/* Services Section Styles */
.services-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e9ecef;
    flex-wrap: wrap;
}

.services-tabs .tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    color: #6c757d;
    font-weight: 500;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
}

.services-tabs .tab-btn:hover {
    color: #2c3e50;
}

.services-tabs .tab-btn.active {
    color: #3498db;
    border-bottom-color: #3498db;
    background: rgba(52, 152, 219, 0.12);
    box-shadow: 0 6px 16px rgba(52,152,219,0.12);
}

.services-tabs .tab-btn .tab-icon { font-size: 1rem; }
@media (prefers-reduced-motion: no-preference) {
    .services-tabs .tab-btn.active .tab-icon { animation: subtleBounce 1.2s ease-in-out infinite; }
}

@keyframes subtleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

/* Service Form Styles */
.service-form {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.service-form h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.booking-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
    border-left: 4px solid #3498db;
}

.vehicle-form {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.vehicle-summary {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    border: 1px solid #e9ecef;
}

/* Food Service Styles */
.food-service {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.menu-section {
    margin: 2rem 0;
}

.menu-categories {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.category-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    color: #6c757d;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-btn:hover {
    background: #e9ecef;
    color: #2c3e50;
}

.category-btn.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.menu-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.menu-item:hover {
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.1);
}

.menu-item.selected {
    border-color: #27ae60;
    background: #f8fff8;
}

.menu-item-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 10px 10px 0 0;
    transition: transform 0.3s ease;
}

.menu-item:hover .menu-item-image {
    transform: scale(1.05);
}

.menu-item-content {
    padding: 1.5rem;
}

.menu-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.menu-item .menu-price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.menu-item .menu-category {
    background: #3498db;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 0.5rem;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.menu-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.menu-quantity button {
    background: #3498db;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.menu-quantity button:hover {
    background: #2980b9;
}

.menu-quantity input {
    width: 60px;
    text-align: center;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    padding: 0.5rem;
}

/* Order Summary Styles */
.order-summary {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
    border: 2px solid #e9ecef;
}

.order-summary h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e9ecef;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.order-item-name {
    font-weight: 500;
    color: #2c3e50;
}

.order-item-details {
    font-size: 0.9rem;
    color: #6c757d;
}

.order-item-price {
    font-weight: bold;
    color: #e74c3c;
}

.order-total {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: right;
    font-size: 1.2rem;
    color: #2c3e50;
}

/* Service Management Styles */
.service-management {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.management-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e9ecef;
}

.sub-tab-btn {
    background: none;
    border: none;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    color: #6c757d;
    font-weight: 500;
    font-size: 1.02rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
}

.sub-tab-btn:hover {
    color: #2c3e50;
}

.sub-tab-btn.active {
    color: #3498db;
    border-bottom-color: #3498db;
    background: rgba(52,152,219,0.10);
    box-shadow: 0 6px 16px rgba(52,152,219,0.10);
}

.sub-tab-btn .tab-icon { font-size: 1rem; }
@media (prefers-reduced-motion: no-preference) {
    .sub-tab-btn.active .tab-icon { animation: subtleBounce 1.2s ease-in-out infinite; }
}

.sub-tab-content {
    margin-top: 1rem;
}

.sub-tab-panel {
    display: none;
}

.sub-tab-panel.active {
    display: block;
}

.order-status-filters {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.status-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    color: #6c757d;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.status-btn:hover {
    background: #e9ecef;
    color: #2c3e50;
}

.status-btn.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* Order Cards */
.order-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
    transition: transform 0.3s ease;
}

.order-card:hover {
    transform: translateY(-2px);
}

.order-card h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.order-card .order-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.order-card .order-info div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.order-card .order-info strong {
    color: #2c3e50;
    font-size: 0.9rem;
}

.order-card .order-info span {
    color: #6c757d;
    font-size: 0.9rem;
}

.order-card .order-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.order-status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.order-status.cho-xu-ly {
    background: #fff3cd;
    color: #856404;
}

.order-status.dang-giao {
    background: #d1ecf1;
    color: #0c5460;
}

.order-status.da-giao {
    background: #d4edda;
    color: #155724;
}

/* Vehicle Service Styles */
.vehicle-service {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.vehicle-orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vehicle-order-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 4px solid #f39c12;
}

.vehicle-order-card h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.vehicle-order-card .vehicle-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.vehicle-order-card .vehicle-info div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.vehicle-order-card .vehicle-info strong {
    color: #2c3e50;
    font-size: 0.9rem;
}

.vehicle-order-card .vehicle-info span {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Food Orders Styles */
.food-orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.food-order-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 4px solid #e74c3c;
}

.food-order-card h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.food-order-card .food-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.food-order-card .food-info div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.food-order-card .food-info strong {
    color: #2c3e50;
    font-size: 0.9rem;
}

.food-order-card .food-info span {
    color: #6c757d;
    font-size: 0.9rem;
}

.food-order-items {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.food-order-items h5 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.food-order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.food-order-item:last-child {
    border-bottom: none;
}

.food-order-item-name {
    font-weight: 500;
    color: #2c3e50;
}

.food-order-item-details {
    font-size: 0.9rem;
    color: #6c757d;
}

.food-order-item-price {
    font-weight: bold;
    color: #e74c3c;
}

/* responsive design cho services */
@media (max-width: 768px) {
    .services-tabs {
        flex-direction: column;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-categories {
        flex-direction: column;
    }
    
    .category-btn {
        text-align: center;
    }
    
    .order-card .order-info,
    .vehicle-order-card .vehicle-info,
    .food-order-card .food-info {
        grid-template-columns: 1fr;
    }
    
    .management-tabs {
        flex-direction: column;
    }
    
    .order-status-filters {
        flex-direction: column;
    }
    
    .status-btn {
        text-align: center;
    }
    
    .menu-item-image {
        height: 150px;
    }
    
    .menu-item-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .menu-item-image {
        height: 120px;
    }
    
    .menu-item-content h4 {
        font-size: 1rem;
    }
    
    .menu-price {
        font-size: 1rem;
    }
}

/* lớp tiện ích */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.hidden { display: none; }
.visible { display: block; }
