/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables - Professional Business Palette */
:root {
    --primary-color: #4693C2;      /* Aquamarine Breeze - Professional blue */
    --accent-color: #9CA890;       /* Sagewood - Muted sage green */
    --secondary-color: #A0B6D5;    /* Periwinkle Gray - Soft blue-gray */
    --dark-color: #29323F;         /* Deep Sea - Dark navy/charcoal */
    --light-color: #DCD7C9;        /* Whispered Dune - Light cream/beige */
    --success-color: #9CA890;      /* Using Sagewood for success states */
    --border-color: #A0B6D5;       /* Periwinkle Gray for borders */
    --text-dark: #29323F;          /* Deep Sea for dark text */
    --text-muted: #A0B6D5;         /* Periwinkle Gray for muted text */
    --bg-light: #DCD7C9;           /* Whispered Dune for light backgrounds */
    --error-color: #dc2626;        /* Keep red for errors */
    --warning-color: #f59e0b;      /* Keep amber for warnings */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    min-height: 100vh;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.full-width {
    width: 100%;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/* Header */
.app-header {
    background: rgba(220, 215, 201, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navigation Styles */
nav {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.nav-brand i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.nav-link i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.nav-user span {
    font-weight: 500;
    opacity: 0.9;
}

.btn-logout {
    display: flex;
    align-items: center;
    background: rgba(220, 38, 38, 0.8);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.btn-logout:hover {
    background: rgba(220, 38, 38, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-logout i {
    margin-right: 0.5rem;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(45deg, #fff, #cad2c5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2px;
}

.logo span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

.user-actions, .user-menu {
    display: flex;
    gap: 10px;
    align-items: center;
}

.user-info {
    color: white;
    font-weight: 600;
    margin-right: 15px;
}

/* Main Container */
.app-container {
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 20px;
    min-height: calc(100vh - 80px);
}

/* Sidebar */
.sidebar {
    background: rgba(220, 215, 201, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.search-section h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.location-section {
    margin: 20px 0;
}

.current-location {
    background: rgba(132, 169, 140, 0.1);
    border: 2px dashed #84a98c;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    color: #52796f;
    font-weight: 600;
    font-size: 14px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.stat-card {
    background: white;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #52796f;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Main Content */
.main-content {
    background: rgba(220, 215, 201, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    display: flex;
    flex-direction: column;
}

.map-container {
    width: 100%;
    height: 400px;
    background: #f8f9fa;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

/* Google Maps styling */
#map {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

/* Google Maps info window styling */
.gm-ui-hover-effect {
    opacity: 0.6 !important;
}

.gm-ui-hover-effect:hover {
    opacity: 1 !important;
}

.map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #888;
    font-size: 18px;
    font-weight: 600;
}

/* Results Section */
.results-section {
    flex: 1;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.results-header h3 {
    font-size: 20px;
    color: #333;
}

.sort-controls select {
    min-width: 180px;
}

.interpreter-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
}

.interpreter-list::-webkit-scrollbar {
    width: 6px;
}

.interpreter-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

    .interpreter-list::-webkit-scrollbar-thumb {
        background: #84a98c;
        border-radius: 3px;
    }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.empty-state p {
    font-size: 14px;
    line-height: 1.5;
}

/* Interpreter Cards */
.interpreter-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
}

.interpreter-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #84a98c;
}

.interpreter-card.selected {
    border-color: #84a98c;
    background: linear-gradient(135deg, rgba(132, 169, 140, 0.05), rgba(82, 121, 111, 0.05));
}

.interpreter-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.interpreter-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #84a98c, #52796f);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    margin-right: 15px;
    flex-shrink: 0;
}

.interpreter-info {
    flex: 1;
}

.interpreter-info h3 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.interpreter-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.verification-badge {
    background: #2ecc71;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.availability-status {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
}

.availability-status.available { background: #2ecc71; }
.availability-status.busy { background: #f39c12; }
.availability-status.offline { background: #95a5a6; }

.interpreter-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555;
}

.detail-icon {
    margin-right: 8px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.interpreter-languages {
    margin: 10px 0;
}

.language-tag {
    display: inline-block;
    background: rgba(132, 169, 140, 0.1);
    color: #52796f;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin: 2px 4px 2px 0;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: rgba(220, 215, 201, 0.9);
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #84a98c;
    background: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(132, 169, 140, 0.2);
}

.form-input:disabled {
    background: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

textarea.form-input {
    resize: vertical;
    min-height: 80px;
}

/* Address Suggestions */
.address-suggestions {
    position: relative;
}

.suggestion-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
}

.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.suggestion-item:hover {
    background: #f8f9fa;
}

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

/* Buttons */
.btn-primary, .btn-secondary, .search-btn, .book-btn, .auth-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary, .search-btn, .book-btn, .auth-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--dark-color));
    color: white;
    box-shadow: 0 4px 12px rgba(70, 147, 194, 0.3);
}

.btn-primary:hover, .search-btn:hover, .book-btn:hover, .auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(70, 147, 194, 0.4);
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
}

.btn-secondary {
    background: rgba(220, 215, 201, 0.2);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(160, 182, 213, 0.3);
}

.search-btn {
    width: 100%;
    margin-top: 10px;
    font-size: 16px;
    padding: 15px;
}

.book-btn {
    width: 100%;
    margin-top: 10px;
}

.book-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-spinner {
    animation: spin 1s linear infinite;
}

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

/* Loading States */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #52796f;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #84a98c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 15px;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 25px 25px 15px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 24px;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

.close-btn:hover {
    color: #333;
}

.modal-body {
    padding: 25px;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.auth-switch a {
    color: #52796f;
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Booking Summary */
.booking-summary {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.summary-row.total {
    font-weight: bold;
    font-size: 16px;
    padding-top: 10px;
    border-top: 1px solid #dee2e6;
    color: #52796f;
}

/* Map Elements */
.interpreter-marker {
    position: absolute;
    width: 32px;
    height: 32px;
    background: linear-gradient(45deg, #84a98c, #52796f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.interpreter-marker:hover {
    transform: scale(1.2);
    z-index: 10;
}

.interpreter-marker.busy {
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
}

.interpreter-marker.offline {
    background: #95a5a6;
}

.destination-marker {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #ff4757;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.destination-marker::after {
    content: "📍";
    transform: rotate(45deg);
    font-size: 16px;
}

.route-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, #84a98c, #52796f);
    transform-origin: left center;
    opacity: 0.7;
    border-radius: 1px;
}

/* Google Maps route styling - dashed line like Uber */
.gm-style .gm-style-iw-c {
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
}

/* Custom route polyline styling */
.route-polyline {
    stroke: #1E90FF !important;
    stroke-width: 4 !important;
    stroke-opacity: 0.9 !important;
    stroke-dasharray: 10, 5 !important;
    stroke-linecap: round !important;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
}

.toast {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-left: 4px solid #84a98c;
    max-width: 400px;
    animation: slideIn 0.3s ease;
}

.toast.success { border-left-color: #2ecc71; }
.toast.error { border-left-color: #e74c3c; }
.toast.warning { border-left-color: #f39c12; }

.toast-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.toast-message {
    font-size: 14px;
    color: #666;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        padding: 10px;
        gap: 15px;
    }

    /* Navigation responsive styles */
    .nav-container {
        padding: 0 10px;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .nav-user {
        gap: 0.5rem;
    }

    .btn-logout {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .sidebar {
        position: relative;
        top: 0;
        order: 2;
    }

    .main-content {
        order: 1;
    }

    .map-container {
        height: 250px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .results-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .interpreter-details {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .stat-card {
        padding: 12px;
    }

    .stat-number {
        font-size: 20px;
    }

    .header-content {
        padding: 0 10px;
    }

    .user-actions, .user-menu {
        gap: 5px;
    }

    .btn-primary, .btn-secondary {
        padding: 8px 16px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 10px;
    }

    .modal-header, .modal-body {
        padding: 20px;
    }

    .interpreter-card {
        padding: 15px;
    }

    .interpreter-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .app-header {
        padding: 0.5rem 0;
    }

    .logo h1 {
        font-size: 20px;
    }

    .search-section h2 {
        font-size: 20px;
    }
}

/* Booking Details Modal */
.booking-details-modal .modal-content {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px 30px 40px 30px;
    margin: 2% auto;
}

.booking-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.detail-group {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.detail-group h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-group p {
    margin-bottom: 8px;
    color: var(--text-dark);
}

.detail-group p strong {
    color: var(--dark-color);
    min-width: 120px;
    display: inline-block;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 0 16px 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 24px;
}

.btn-admin.secondary {
    background: #6b7280;
    color: white;
    padding: 12px 24px;
    min-width: 120px;
}

.btn-admin.secondary:hover {
    background: #4b5563;
}

.manage-booking-modal-btn {
    padding: 12px 24px;
    min-width: 140px;
}

/* Status Badge Improvements */
.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.status-pending {
    background: #fef3c7;
    color: #d97706;
    border: 1px solid #fbbf24;
}

.status-badge.status-confirmed {
    background: #dbeafe;
    color: #2563eb;
    border: 1px solid #60a5fa;
}

.status-badge.status-in_progress {
    background: #fce7f3;
    color: #c026d3;
    border: 1px solid #f472b6;
}

.status-badge.status-completed {
    background: #d1fae5;
    color: #059669;
    border: 1px solid #34d399;
}

.status-badge.status-cancelled {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #f87171;
}

/* Responsive Design for Booking Modal */
@media (max-width: 768px) {
    .booking-details-modal .modal-content {
        padding: 20px 20px 30px 20px;
        margin: 5% auto;
    }

    .booking-details-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .detail-group {
        padding: 16px;
    }

    .detail-group p strong {
        min-width: 100px;
        display: block;
        margin-bottom: 4px;
    }

    .modal-footer {
        flex-direction: column;
        gap: 12px;
        padding: 20px 0 12px 0;
    }

    .modal-footer .btn-admin {
        width: 100%;
    }
}

/* Payment System Styles */
.payment-amount {
    font-weight: bold;
    color: #059669;
    font-size: 1.1em;
}

/* Booking Confirmation Modal Styles */
.booking-confirmation {
    text-align: center;
}

.confirmation-header {
    margin-bottom: 1.5rem;
}

.confirmation-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.confirmation-header h3 {
    color: #059669;
    margin: 0.5rem 0;
    font-size: 1.5rem;
}

.confirmation-header p {
    color: #6b7280;
    margin: 0;
}

.confirmation-details {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row span:first-child {
    color: #6b7280;
    font-weight: 500;
}

.detail-row span:last-child {
    color: #1f2937;
    font-weight: 600;
}

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

.confirmation-actions .btn-primary {
    flex: 1;
    max-width: 200px;
}

.confirmation-actions .btn-secondary {
    flex: 1;
    max-width: 200px;
}

/* Single button styling for individual clients */
.confirmation-actions:has(.btn-primary:only-child) .btn-primary {
    max-width: 300px;
    width: 100%;
}

.payment-notice {
    background: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.payment-notice i {
    color: #2563eb;
    font-size: 1.2em;
}

.payment-notice p {
    margin: 0;
    color: #1e40af;
    font-size: 0.9rem;
}

.btn-pay {
    background: #059669;
    border-color: #059669;
}

.btn-pay:hover {
    background: #047857;
    border-color: #047857;
}

.btn-pay:disabled {
    background: #9ca3af;
    border-color: #9ca3af;
    cursor: not-allowed;
}

.status-pending {
    background: #fbbf24;
    color: #92400e;
}

.status-paid {
    background: #10b981;
    color: #065f46;
}

.status-payment-failed {
    background: #ef4444;
    color: #991b1b;
}

/* Payment Success/Cancel Page Styles */
.success-icon, .cancel-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.booking-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.booking-summary h3 {
    margin: 0 0 1.5rem 0;
    color: #1e293b;
    font-size: 1.3rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row strong {
    font-weight: 600;
    color: #374151;
}

.success-actions, .cancel-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.info-box {
    background: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.info-box i {
    color: #2563eb;
    margin-top: 0.25rem;
}

.info-box p {
    margin: 0;
    color: #1e40af;
    font-size: 0.9rem;
}

.error-message {
    color: #dc2626;
    text-align: center;
    padding: 1rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
}

.error-message i {
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .success-actions, .cancel-actions {
        flex-direction: column;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .booking-summary {
        padding: 1.5rem;
    }
}

/* Billing Dashboard Styles */
.billing-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.summary-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s ease;
}

.summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.summary-card.pending {
    border-left: 4px solid #f59e0b;
}

.summary-card.paid {
    border-left: 4px solid #10b981;
}

.summary-card.total {
    border-left: 4px solid #3b82f6;
}

.summary-card.invoices {
    border-left: 4px solid #8b5cf6;
}

.summary-icon {
    font-size: 2rem;
    padding: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pending .summary-icon {
    background: #fef3c7;
    color: #d97706;
}

.paid .summary-icon {
    background: #d1fae5;
    color: #059669;
}

.total .summary-icon {
    background: #dbeafe;
    color: #2563eb;
}

.invoices .summary-icon {
    background: #ede9fe;
    color: #7c3aed;
}

.summary-content h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
}

.summary-content p {
    margin: 0.25rem 0 0 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.billing-settings {
    margin-bottom: 2rem;
}

.settings-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.settings-card h3 {
    margin: 0 0 1.5rem 0;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
}

.info-row label {
    font-weight: 600;
    color: #374151;
}

.account-type-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.account-type-badge.individual {
    background: #dbeafe;
    color: #1e40af;
}

.account-type-badge.enterprise {
    background: #f3e8ff;
    color: #7c3aed;
}

.billing-tabs {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tab-nav {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    overflow-x: auto;
}

.tab-btn {
    padding: 1rem 1.5rem;
    border: none;
    background: none;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.tab-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.tab-btn.active {
    background: white;
    color: #3b82f6;
    border-bottom: 2px solid #3b82f6;
}

.tab-content {
    display: none;
    padding: 2rem;
}

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

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tab-header h3 {
    margin: 0;
    color: #1f2937;
}

.tab-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tab-filters {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.tab-filters select,
.tab-filters input {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
}

.billing-item {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.billing-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.billing-item.pending {
    border-left: 4px solid #f59e0b;
}

.billing-item.invoice {
    border-left: 4px solid #8b5cf6;
}

.billing-item.payment {
    border-left: 4px solid #10b981;
}

.item-info {
    flex: 1;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.item-header h4 {
    margin: 0;
    color: #1f2937;
    font-size: 1.1rem;
}

.item-header .amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: #059669;
}

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

.item-details p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.item-details i {
    width: 16px;
    text-align: center;
    color: #9ca3af;
}

.billing-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.item-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #d1d5db;
}

.empty-state h3 {
    margin: 0 0 0.5rem 0;
    color: #374151;
}

.empty-state p {
    margin: 0 0 1.5rem 0;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
}

.loading i {
    margin-right: 0.5rem;
}

/* Enterprise Modal */
#enterpriseModal .modal-content {
    max-width: 600px;
}

#enterpriseModal ul {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
}

#enterpriseModal li {
    color: #0c4a6e;
    margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .billing-summary {
        grid-template-columns: 1fr;
    }
    
    .account-info {
        grid-template-columns: 1fr;
    }
    
    .tab-nav {
        flex-direction: column;
    }
    
    .tab-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tab-actions {
        justify-content: center;
    }
    
    .billing-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .item-actions {
        justify-content: stretch;
    }
    
    .item-actions button {
        flex: 1;
    }
    
    .item-details {
        grid-template-columns: 1fr;
    }
    
    .item-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
}

/* Admin Billing Styles */
.billing-summary-admin {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.summary-card-admin {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s ease;
}

.summary-card-admin:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.summary-card-admin.revenue {
    border-left: 4px solid #10b981;
}

.summary-card-admin.pending {
    border-left: 4px solid #f59e0b;
}

.summary-card-admin.invoices {
    border-left: 4px solid #3b82f6;
}

.summary-card-admin.overdue {
    border-left: 4px solid #ef4444;
}

.summary-icon-admin {
    font-size: 2rem;
    padding: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.revenue .summary-icon-admin {
    background: #d1fae5;
    color: #059669;
}

.pending .summary-icon-admin {
    background: #fef3c7;
    color: #d97706;
}

.invoices .summary-icon-admin {
    background: #dbeafe;
    color: #2563eb;
}

.overdue .summary-icon-admin {
    background: #fee2e2;
    color: #dc2626;
}

.summary-content-admin h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
}

.summary-content-admin p {
    margin: 0.25rem 0 0 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.admin-billing-tabs {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.admin-tab-nav {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    overflow-x: auto;
}

.admin-tab-btn {
    padding: 1rem 1.5rem;
    border: none;
    background: none;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.admin-tab-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.admin-tab-btn.active {
    background: white;
    color: #3b82f6;
    border-bottom: 2px solid #3b82f6;
}

.admin-tab-content {
    display: none;
    padding: 2rem;
}

.admin-tab-content.active {
    display: block;
}

.tab-header-admin {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tab-header-admin h3 {
    margin: 0;
    color: #1f2937;
}

.tab-actions-admin {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tab-filters-admin {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tab-filters-admin select,
.tab-filters-admin input {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* Enterprise Account Styles */
.enterprise-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.stat-icon {
    font-size: 1.5rem;
    padding: 1rem;
    border-radius: 50%;
    background: #f3f4f6;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-content h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.stat-content p {
    margin: 0.25rem 0 0 0;
    color: #6b7280;
    font-size: 0.9rem;
}

/* Button Styles for Admin */
.btn-warning {
    background: #f59e0b;
    color: white;
    border: 1px solid #f59e0b;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-warning:hover {
    background: #d97706;
    border-color: #d97706;
}

.btn-success {
    background: #10b981;
    color: white;
    border: 1px solid #10b981;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-success:hover {
    background: #059669;
    border-color: #059669;
}

/* Responsive Design for Admin Billing */
@media (max-width: 768px) {
    .billing-summary-admin {
        grid-template-columns: 1fr;
    }
    
    .enterprise-stats {
        grid-template-columns: 1fr;
    }
    
    .admin-tab-nav {
        flex-direction: column;
    }
    
    .tab-header-admin {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tab-actions-admin {
        justify-content: center;
    }
    
    .tab-filters-admin {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Enhanced Table Styles */
.enhanced-table-wrapper {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.table-controls-left .section-title {
    margin: 0;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
}

.table-controls-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.column-manager-btn,
.table-refresh-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border: 1px solid #dee2e6;
    background: white;
    color: #495057;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.column-manager-btn:hover,
.table-refresh-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.column-manager {
    position: relative;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 2rem;
    display: none;
}

.column-manager-content h4 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

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

.column-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.25rem 0;
}

.column-checkbox input[type="checkbox"] {
    margin: 0;
    cursor: pointer;
    pointer-events: auto;
    width: 16px;
    height: 16px;
}

.column-checkbox input[type="checkbox"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.column-checkbox span {
    color: #495057;
    font-size: 0.9rem;
}

.column-checkbox.required-column {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 0.375rem 0.25rem;
    border: 1px solid #dee2e6;
}

.column-checkbox.required-column span {
    color: #6c757d;
    font-weight: 500;
}

.column-lock-icon {
    margin-left: 0.5rem;
    color: #6c757d;
    font-size: 0.75rem;
}

.column-help-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0 0 1rem 0;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #17a2b8;
}

.column-help-text i {
    margin-right: 0.5rem;
    color: #17a2b8;
}

.column-manager-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.table-container {
    overflow-x: auto;
    max-height: 600px;
    overflow-y: auto;
}

.enhanced-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.enhanced-table th {
    background: #f8f9fa;
    color: #495057;
    font-weight: 600;
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 10;
}

.enhanced-table th.sortable {
    user-select: none;
    transition: background-color 0.2s ease;
}

.enhanced-table th.sortable:hover {
    background: #e9ecef;
}

.enhanced-table th.sorted {
    background: #e3f2fd;
    color: #1976d2;
}

.sort-indicator {
    margin-left: 0.5rem;
    opacity: 0.5;
}

.enhanced-table th.sorted .sort-indicator {
    opacity: 1;
}

.enhanced-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.enhanced-table tr:hover {
    background: #f8f9fa;
}

.enhanced-table .no-data {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 2rem;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-confirmed {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-completed {
    background: #cce7ff;
    color: #004085;
    border: 1px solid #b3d7ff;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.table-info {
    padding: 1rem 2rem;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 0.9rem;
    border-top: 1px solid #e9ecef;
}

/* Action buttons in tables */
.table-action-btn {
    padding: 0.25rem 0.75rem;
    margin: 0 0.25rem;
    font-size: 0.8rem;
    border-radius: 4px;
    border: 1px solid;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.table-action-btn.btn-view {
    background: #e3f2fd;
    color: #1976d2;
    border-color: #bbdefb;
}

.table-action-btn.btn-view:hover {
    background: #1976d2;
    color: white;
}

.table-action-btn.btn-manage {
    background: #f3e5f5;
    color: #7b1fa2;
    border-color: #ce93d8;
}

.table-action-btn.btn-manage:hover {
    background: #7b1fa2;
    color: white;
}

.table-action-btn.btn-edit {
    background: #e8f5e8;
    color: #2e7d32;
    border-color: #a5d6a7;
}

.table-action-btn.btn-edit:hover {
    background: #2e7d32;
    color: white;
}

.table-action-btn.btn-delete {
    background: #ffebee;
    color: #c62828;
    border-color: #ef9a9a;
}

.table-action-btn.btn-delete:hover {
    background: #c62828;
    color: white;
}

/* Review Modal Styles */
.review-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.review-details-grid .detail-group {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.review-details-grid .detail-group h6 {
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.review-details-grid .detail-group h6 i {
    margin-right: 0.5rem;
    color: #007bff;
}

.review-details-grid .detail-group p {
    margin: 0.25rem 0;
    color: #6c757d;
    font-size: 0.85rem;
}

.review-details-grid .detail-group p strong {
    color: #212529;
    font-weight: 600;
}

.review-comment {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.review-comment h6 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.review-comment h6 i {
    margin-right: 0.5rem;
    color: #28a745;
}

.comment-box {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.comment-box p {
    margin: 0;
    color: #495057;
    line-height: 1.5;
    font-style: italic;
}

.status-approved {
    color: #28a745 !important;
}

.status-pending {
    color: #ffc107 !important;
}

.status-flagged {
    color: #dc3545 !important;
}

/* Empty State Styles */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.empty-state h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.empty-state p {
    color: #6c757d;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.empty-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.empty-actions .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.empty-actions .btn i {
    font-size: 0.9rem;
}

/* Review Form Styles */
.review-modal-content {
    max-width: 600px;
    width: 90%;
}

.review-form-header {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #007bff;
}

.review-form-header h4 {
    margin: 0 0 0.5rem 0;
    color: #212529;
}

.review-form-header p {
    margin: 0.25rem 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.rating-input {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.star {
    color: #dee2e6;
    transition: color 0.2s ease;
    user-select: none;
}

.star:hover,
.star.active {
    color: #ffc107;
}

.rating-text {
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
}

.rating-categories {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rating-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.rating-category span:first-child {
    font-weight: 500;
    color: #495057;
    min-width: 100px;
}

.char-count {
    text-align: right;
    font-size: 0.8rem;
    color: #6c757d;
}

textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 100px;
}

textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

input[type="checkbox"] {
    margin-right: 0.5rem;
}

/* Responsive review form */
@media (max-width: 768px) {
    .review-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .rating-category {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .rating-category span:first-child {
        min-width: auto;
    }
}

/* Responsive table */
@media (max-width: 768px) {
    .table-controls {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .table-controls-right {
        justify-content: center;
    }
    
    .column-checkboxes {
        grid-template-columns: 1fr;
    }
    
    .enhanced-table {
        font-size: 0.8rem;
    }
    
    .enhanced-table th,
    .enhanced-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Mock Payment Form Styles */
.mock-payment-form {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.payment-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
}

.payment-header h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.payment-amount {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.payment-form {
    margin-bottom: 1.5rem;
}

.form-section {
    margin-bottom: 1.5rem;
}

.form-section:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.card-input-group {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    background: #fafafa;
    transition: border-color 0.3s ease;
}

.card-input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(70, 147, 194, 0.1);
}

.card-number-field {
    position: relative;
    margin-bottom: 1rem;
}

.card-number {
    width: 100%;
    padding: 0.75rem;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.card-brand {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.7;
}

.card-details-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.expiry-field input,
.cvc-field input {
    width: 100%;
    padding: 0.75rem;
    border: none;
    background: transparent;
    font-size: 1rem;
}

.address-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.address-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
}

.payment-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.payment-actions .btn-secondary,
.payment-actions .btn-primary {
    flex: 1;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.payment-actions .btn-secondary {
    background: #f8f9fa;
    color: var(--text-muted);
    border: 2px solid var(--border-color);
}

.payment-actions .btn-secondary:hover {
    background: #e9ecef;
    border-color: var(--text-muted);
}

.payment-actions .btn-primary {
    background: var(--primary-color);
    color: white;
    position: relative;
    overflow: hidden;
}

.payment-actions .btn-primary:hover {
    background: #3a7ba8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(70, 147, 194, 0.3);
}

.payment-actions .btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.payment-security {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bg-light);
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.security-badge {
    background: var(--bg-light);
    color: var(--text-muted);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.security-note {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.payment-error {
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideIn 0.3s ease;
}

.payment-success {
    background: #efe;
    border: 1px solid #cfc;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideIn 0.3s ease;
}

.error-icon,
.success-icon {
    font-size: 1.2rem;
}

.error-message,
.success-message {
    font-weight: 500;
    color: var(--dark-color);
}

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

/* Payment History Styles */
.payment-history {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--bg-light);
    transition: background-color 0.2s ease;
}

.payment-item:hover {
    background: #f8f9fa;
}

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

.payment-info {
    flex: 1;
}

.payment-description {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.payment-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.payment-amount {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.payment-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 1rem;
}

.payment-status.succeeded {
    background: #d4edda;
    color: #155724;
}

.payment-status.failed {
    background: #f8d7da;
    color: #721c24;
}

.payment-status.pending {
    background: #fff3cd;
    color: #856404;
}

/* Responsive Design for Payment Forms */
@media (max-width: 768px) {
    .mock-payment-form {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .card-details-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .address-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .payment-actions {
        flex-direction: column;
    }
    
    .security-badges {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Booking Details Accordion Styles */
.booking-details-accordion {
    margin-top: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-light);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.accordion-content {
    padding: 1.25rem;
}

.details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.details-header h5 {
    margin: 0;
    color: var(--dark-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.btn-close-details {
    background: var(--text-muted);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-close-details:hover {
    background: var(--dark-color);
    transform: translateY(-1px);
}

.booking-details-accordion .details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.booking-details-accordion .detail-group {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    border-left: none;
}

.booking-details-accordion .detail-group h6 {
    margin: 0 0 0.75rem 0;
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.booking-details-accordion .detail-group h6 i {
    font-size: 0.9rem;
    opacity: 0.8;
}

.booking-details-accordion .detail-group p {
    margin: 0.25rem 0;
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.4;
}

.booking-details-accordion .detail-group p strong {
    color: var(--dark-color);
    font-weight: 600;
}

/* Responsive Design for Accordion */
@media (max-width: 1400px) {
    .booking-details-accordion .details-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .booking-details-accordion .details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .details-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .btn-close-details {
        align-self: center;
    }
    
    .accordion-content {
        padding: 1rem;
    }
}

/* Invoice Modal Styles */
.invoice-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 1rem;
}

.invoice-section {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.invoice-section h4 {
    margin: 0 0 1rem 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 120px;
}

.detail-row .value {
    color: var(--dark-color);
    text-align: right;
    flex: 1;
}

.total-row {
    background: var(--primary-light);
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    border: 2px solid var(--primary-color);
}

.total-row .label,
.total-row .value {
    font-size: 1.1rem;
    font-weight: 700;
}

.status-sent {
    background-color: var(--success-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-draft {
    background-color: var(--warning-color);
    color: var(--dark-color);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-overdue {
    background-color: var(--error-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Responsive Design for Invoice Modal */
@media (max-width: 768px) {
    .invoice-details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .detail-row .value {
        text-align: left;
    }
}
