/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e3c72;
    --secondary-blue: #2a5298;
    --accent-gold: #ffd700;
    --accent-dark-gold: #e6c200;
    --success-green: #28a745;
    --warning-orange: #ffc107;
    --danger-red: #dc3545;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #6c757d;
    --text-dark: #333;
    --text-light: #6c757d;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-gray);
    overflow-x: hidden;
}

/* Main Header with Logo and Title */
.main-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    padding: 0.01rem 3rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    min-height: 100px;
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.logo-title-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-decoration: none;
    color: var(--white);
}

.main-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    background: transparent;
    border-radius: 8px;
}

.main-title {
    font-size: 3.3rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    margin: 0;
}

/* Navigation */
.main-nav {
    background: rgba(30, 60, 114, 0.95);
    padding: 2.0rem 8rem;
    position: fixed;
    height: 40px;
    width: 100%;
    top: 100px;
    z-index: 999;
    box-shadow: var(--shadow);
    min-height: 70px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    padding: 0.7rem 1.2rem;
    border-radius: 6px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
}

.nav-links a:hover {
    color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-links a.active {
    color: var(--accent-gold);
    background: rgba(255, 215, 0, 0.1);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    margin: 2% auto;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--medium-gray);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.large-modal {
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.xlarge-modal {
    max-width: 95%;
    max-height: 95vh;
    overflow-y: auto;
}

.close {
    color: var(--dark-gray);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    color: var(--danger-red);
    background: rgba(220, 53, 69, 0.1);
}

/* Login Styles */
.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h2 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.login-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.login-form {
    margin-top: 2rem;
    animation: fadeIn 0.5s ease-out;
}

.login-form h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 1.2rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.full-width {
    width: 100%;
}

.cancel-btn {
    background: var(--dark-gray);
    color: var(--white);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.cancel-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.undo-btn {
    background: var(--warning-orange);
    color: var(--text-dark);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.undo-btn:hover {
    background: #e0a800;
    transform: translateY(-1px);
}

/* Form Help Text */
.form-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

/* File Preview Styles */
.file-preview {
    margin-top: 0.5rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    border: 1px dashed var(--medium-gray);
}

.file-preview-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--medium-gray);
    margin-bottom: 0.5rem;
}

.file-preview-item i {
    color: var(--danger-red);
    font-size: 1.2rem;
}

.file-preview-item span {
    flex: 1;
    font-size: 0.9rem;
}

.file-size {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

/* Document Actions */
.document-actions {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition);
}

.view-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-1px);
}

.download-btn {
    background: var(--success-green);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition);
}

.download-btn:hover {
    background: #218838;
    transform: translateY(-1px);
}

/* Dashboard Styles */
.dashboard-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--medium-gray);
}

.dashboard-header h2 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.management-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.management-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.dashboard-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-blue);
}

.dashboard-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-card {
    border-left-color: var(--success-green);
}

.rental-info {
    line-height: 1.8;
}

.rental-info p {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
}

.rental-info strong {
    color: var(--primary-blue);
}

.documents-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    border: 1px solid var(--medium-gray);
}

.document-info {
    flex: 1;
}

.doc-name {
    font-weight: 600;
    color: var(--text-dark);
    display: block;
}

.doc-date, .doc-size {
    font-size: 0.9rem;
    color: var(--text-light);
    display: block;
}

.payment-details {
    text-align: center;
    padding: 1rem;
}

.payment-details h4 {
    color: var(--success-green);
    margin-bottom: 1rem;
}

.payment-details .amount {
    font-size: 2rem;
    font-weight: bold;
    color: var(--success-green);
    margin: 1rem 0;
}

.history-list {
    max-height: 200px;
    overflow-y: auto;
}

/* Status Styles */
.status-active {
    background: var(--success-green);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-inactive {
    background: var(--warning-orange);
    color: var(--text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-suspended {
    background: var(--danger-red);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-completed {
    background: var(--dark-gray);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-available {
    background: var(--success-green);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-rented {
    background: var(--warning-orange);
    color: var(--text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Management Tabs */
.management-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--medium-gray);
    flex-wrap: wrap;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.tab-btn.active {
    border-bottom-color: var(--primary-blue);
    color: var(--primary-blue);
    font-weight: 600;
}

.tab-btn:hover:not(.active) {
    color: var(--primary-blue);
    background: rgba(30, 60, 114, 0.05);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.tab-content.active {
    display: block;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tab-header h3 {
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-description {
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Button Styles */
.add-car-btn, .generate-btn, .export-btn, .print-btn, .refresh-btn {
    background: var(--success-green);
    color: var(--white);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.add-car-btn:hover, .generate-btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.bulk-btn {
    background: var(--primary-blue);
}

.bulk-btn:hover {
    background: var(--secondary-blue);
}

.export-btn {
    background: #17a2b8;
}

.export-btn:hover {
    background: #138496;
}

.print-btn {
    background: #6f42c1;
}

.print-btn:hover {
    background: #5a2d91;
}

.refresh-btn {
    background: var(--warning-orange);
    color: var(--text-dark);
}

.refresh-btn:hover {
    background: #e0a800;
}

/* Form Container */
.form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    border: 1px solid var(--medium-gray);
}

.form-container h4 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.image-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.image-preview img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
    border: 2px solid var(--medium-gray);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions .submit-btn {
    width: auto;
    flex: 1;
}

.form-actions .cancel-btn {
    width: auto;
}

/* Inventory Controls */
.inventory-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.filter-options select {
    padding: 1rem;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    background: var(--white);
    font-size: 1rem;
    min-width: 200px;
}

/* Management Cars Grid */
.management-cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.management-car-card {
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.management-car-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.car-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.car-header h4 {
    color: var(--primary-blue);
    margin: 0;
    flex: 1;
}

.management-car-card .car-details {
    margin-bottom: 1rem;
}

.management-car-card .car-details p {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
}

.management-car-card .car-details strong {
    color: var(--text-dark);
}

.car-images-preview {
    margin: 1rem 0;
}

.car-images-preview img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--border-radius);
    border: 1px solid var(--medium-gray);
}

.no-image {
    width: 100%;
    height: 120px;
    background: var(--light-gray);
    border: 2px dashed var(--medium-gray);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-style: italic;
}

.management-car-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.edit-btn, .delete-btn {
    padding: 0.7rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex: 1;
    justify-content: center;
}

.edit-btn {
    background: var(--warning-orange);
    color: var(--text-dark);
}

.edit-btn:hover {
    background: #e0a800;
    transform: translateY(-1px);
}

.delete-btn {
    background: var(--danger-red);
    color: var(--white);
}

.delete-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* Reviews Management Grid */
.reviews-management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.management-review-card {
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.management-review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.review-header h4 {
    color: var(--primary-blue);
    margin: 0;
    flex: 1;
}

.review-details {
    margin-bottom: 1rem;
}

.review-details p {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
}

.review-details strong {
    color: var(--text-dark);
}

.review-text {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    font-style: italic;
    border-left: 4px solid var(--primary-blue);
}

.management-review-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Email Messaging Styles */
.email-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.email-form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.email-preview {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.email-mockup {
    background: #f8f9fa;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 1rem;
}

.email-header {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--medium-gray);
}

.email-body {
    min-height: 200px;
    line-height: 1.6;
}

.email-btn {
    background: #17a2b8;
}

.email-btn:hover {
    background: #138496;
}

.preview-btn {
    background: var(--warning-orange);
    color: var(--text-dark);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.preview-btn:hover {
    background: #e0a800;
    transform: translateY(-1px);
}

/* Data & Reports */
.data-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.data-stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.data-stat-card i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.export-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.data-table-container {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--medium-gray);
}

.data-table th {
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 600;
    position: sticky;
    top: 0;
}

.data-table tr:hover {
    background: var(--light-gray);
}

.data-table td:last-child {
    white-space: nowrap;
}

.no-data {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.no-data i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* Action Buttons in Tables */
.action-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    margin: 0 0.2rem;
}

.view-btn {
    color: var(--primary-blue);
}

.view-btn:hover {
    background: rgba(30, 60, 114, 0.1);
}

.delete-btn {
    color: var(--danger-red);
}

.delete-btn:hover {
    background: rgba(220, 53, 69, 0.1);
}

/* Hero Section */
.hero {
    margin-top: 170px;
    height: 70vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    transition: transform 10s ease;
}

.slide.active .slide-background {
    transform: scale(1);
}

.slide-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(30, 60, 114, 0.7), rgba(42, 82, 152, 0.8));
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: 0 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-button {
    background: var(--accent-gold);
    color: var(--primary-blue);
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    background: var(--accent-dark-gold);
    border-color: var(--white);
}

/* Slider Navigation */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    font-size: 2rem;
    padding: 1rem 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 2rem;
}

.slider-arrow.next {
    right: 2rem;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background: var(--accent-gold);
    transform: scale(1.2);
}

/* Quotes Section */
.quotes-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    padding: 4rem 2rem;
    margin: 0;
}

.quotes-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    text-align: center;
}

.quote-slide.active {
    opacity: 1;
}

.quote-text {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
    padding: 0 2rem;
    font-style: italic;
}

/* Sections */
section {
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.section-subtitle {
    font-size: 1.4rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Car Inventory */
.inventory-section {
    background: var(--light-gray);
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.car-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.car-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--light-gray);
}

.car-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.car-image.active {
    opacity: 1;
}

.car-img-prev,
.car-img-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    border: none;
    font-size: 1.2rem;
    padding: 0.8rem 0.8rem;
    cursor: pointer;
    z-index: 5;
    transition: var(--transition);
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.car-img-prev:hover,
.car-img-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.car-img-prev {
    left: 1rem;
}

.car-img-next {
    right: 1rem;
}

.car-image-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 5;
}

.car-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.car-dot.active,
.car-dot:hover {
    background: var(--accent-gold);
    transform: scale(1.2);
}

.car-details {
    padding: 1.5rem;
}

.car-details h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.availability {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.available {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.rented {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f1b0b7;
}

.car-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-gray);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
}

.rental-options {
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-dark);
    padding: 0.8rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.price-section {
    margin: 1rem 0;
    padding: 0.8rem;
    background: linear-gradient(135deg, var(--success-green), #20c997);
    color: white;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
}

.contact-btn {
    width: 100%;
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.3);
}

/* Reviews Section */
.reviews-section {
    background: var(--white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-blue);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.stars {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

/* About Section */
.about-section {
    background: var(--light-gray);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-features {
    display: grid;
    gap: 1.5rem;
}

.feature-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
    background: var(--white);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(5px);
    background: var(--medium-gray);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.contact-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-gold);
    padding-left: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Notifications */
.notification {
    position: fixed;
    top: 180px;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.notification.success {
    background: var(--success-green);
    color: var(--white);
    border-left: 4px solid #1e7e34;
}

.notification.error {
    background: var(--danger-red);
    color: var(--white);
    border-left: 4px solid #bd2130;
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 4000;
    color: var(--white);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* No Content Messages */
.no-cars-message,
.no-reviews-message {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.no-cars-message i,
.no-reviews-message i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: block;
}

.no-cars-message h3,
.no-reviews-message h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.no-cars-message p,
.no-reviews-message p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .car-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 1rem 2rem;
        min-height: 80px;
    }
    
    .header-container {
        justify-content: center;
    }
    
    .logo-title-container {
        gap: 1rem;
    }
    
    .main-logo {
        height: 60px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .main-nav {
        padding: 0.8rem 2rem;
        top: 80px;
        min-height: 60px;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 140px;
        left: 0;
        right: 0;
        background: var(--primary-blue);
        flex-direction: column;
        padding: 1rem;
        display: none;
        gap: 0;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        justify-content: center;
    }

    .hero {
        margin-top: 140px;
        height: 60vh;
        min-height: 500px;
    }

    .hero-content {
        padding: 0 2rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .quote-text {
        font-size: 1.4rem;
        padding: 0 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .slider-arrow {
        font-size: 1.5rem;
        padding: 0.8rem 1rem;
    }

    .slider-arrow.prev {
        left: 1rem;
    }

    .slider-arrow.next {
        right: 1rem;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 1.5rem;
    }

    .large-modal, .xlarge-modal {
        max-width: 95%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .management-tabs {
        flex-direction: column;
    }

    .tab-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .email-container {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .management-cars-grid {
        grid-template-columns: 1fr;
    }

    .reviews-management-grid {
        grid-template-columns: 1fr;
    }

    .data-stats {
        grid-template-columns: 1fr;
    }

    .car-header,
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .management-car-actions,
    .management-review-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .main-header {
        padding: 0.8rem 1rem;
    }
    
    .logo-title-container {
        gap: 0.8rem;
    }
    
    .main-logo {
        height: 50px;
    }
    
    .main-title {
        font-size: 1.6rem;
    }
    
    .main-nav {
        padding: 0.6rem 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .car-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 1rem;
    }
    
    .management-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 200px;
    }

    .form-actions {
        flex-direction: column;
    }

    .export-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Image Modal Styles */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal .modal-content {
    max-width: 90%;
    max-height: 90%;
    background: transparent;
    box-shadow: none;
}

.image-modal .modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Additional CSS for missing styles */

/* Checkbox styles */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--medium-gray);
    border-radius: 4px;
    display: inline-block;
    position: relative;
    transition: var(--transition);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: bold;
}

/* Success message styles */
.success-message {
    background: var(--success-green);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

/* Image modal enhancements */
.image-modal .modal-content {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
}

.image-modal .modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Management form improvements */
.management-car-card, .management-review-card {
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
}

.management-car-card:hover, .management-review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Button state improvements */
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.submit-btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Form validation styles */
.form-group input:invalid, 
.form-group select:invalid, 
.form-group textarea:invalid {
    border-color: var(--danger-red);
}

.form-group input:valid, 
.form-group select:valid, 
.form-group textarea:valid {
    border-color: var(--success-green);
}

/* Responsive table improvements */
@media (max-width: 768px) {
    .data-table {
        font-size: 0.8rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.5rem;
    }
}

/* Loading state improvements */
.loading-spinner p {
    color: var(--white);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Notification improvements */
.notification {
    z-index: 10000;
}

/* Management tab improvements */
.tab-content {
    min-height: 400px;
}

/* Car image container improvements */
.car-image-container {
    position: relative;
}

.car-image {
    transition: opacity 0.3s ease;
}

/* Rental options display */
.rental-options {
    background: var(--light-gray);
    padding: 0.8rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
}

/* Price section improvements */
.price-section {
    background: linear-gradient(135deg, var(--success-green), #20c997);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 1rem 0;
}

/* Contact button states */
.contact-btn:disabled {
    background: var(--dark-gray);
    cursor: not-allowed;
}

.contact-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Real-time Reviews Styles */
.add-review-container {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.review-form-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--medium-gray);
}

.review-form-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Star Rating System - Fixed */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.star-rating input {
    display: none;
}

.star-label {
    font-size: 2rem;
    color: var(--medium-gray);
    cursor: pointer;
    transition: var(--transition);
    padding: 0.2rem;
}

.star-rating input:checked ~ .star-label,
.star-rating .star-label:hover,
.star-rating .star-label:hover ~ .star-label {
    color: var(--accent-gold);
}

.star-rating input:checked + .star-label {
    color: var(--accent-gold);
}

/* Form validation styles */
.form-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

/* Error states */
.form-group input:invalid, 
.form-group select:invalid, 
.form-group textarea:invalid {
    border-color: var(--danger-red);
}

.form-group input:valid, 
.form-group select:valid, 
.form-group textarea:valid {
    border-color: var(--success-green);
}

/* Rating error state */
.star-rating.error .star-label {
    border: 2px solid var(--danger-red);
    border-radius: 4px;
}

/* Review Cards */
.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-blue);
    transition: var(--transition);
    position: relative;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.review-card.pending {
    border-left-color: var(--warning-orange);
    background: linear-gradient(135deg, #fff3cd, #ffffff);
}

.review-card.rejected {
    border-left-color: var(--danger-red);
    background: linear-gradient(135deg, #f8d7da, #ffffff);
}

.review-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.reviewer-email {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.stars {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.review-text {
    line-height: 1.6;
    color: var(--text-dark);
    margin: 1rem 0;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary-blue);
}

.review-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-approved {
    background: var(--success-green);
    color: white;
}

.status-pending {
    background: var(--warning-orange);
    color: var(--text-dark);
}

.status-rejected {
    background: var(--danger-red);
    color: white;
}

/* Reviews Management */
.review-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.reviews-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.reviews-controls .search-box {
    flex: 1;
    min-width: 250px;
}

.reviews-controls .filter-options {
    display: flex;
    gap: 1rem;
}

.reviews-controls select {
    padding: 0.8rem;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    background: var(--white);
    font-size: 1rem;
    min-width: 150px;
}

/* Management Review Cards */
.management-review-card {
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.management-review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.management-review-card .review-header {
    margin-bottom: 1rem;
}

.management-review-card .review-details {
    margin-bottom: 1rem;
}

.management-review-card .review-details p {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
}

.management-review-card .review-details strong {
    color: var(--text-dark);
}

.management-review-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.approve-btn, .reject-btn {
    padding: 0.7rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex: 1;
    justify-content: center;
}

.approve-btn {
    background: var(--success-green);
    color: var(--white);
}

.approve-btn:hover {
    background: #218838;
    transform: translateY(-1px);
}

.reject-btn {
    background: var(--danger-red);
    color: var(--white);
}

.reject-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* Review Analytics */
.review-analytics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.analytics-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.analytics-card i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.rating-breakdown {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.rating-stars {
    color: var(--accent-gold);
    width: 80px;
}

.rating-bar {
    flex: 1;
    height: 8px;
    background: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: var(--accent-gold);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.rating-count {
    width: 40px;
    text-align: right;
    font-weight: 600;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .add-review-container {
        margin: 0 auto 2rem;
    }
    
    .review-form-card {
        padding: 1.5rem;
    }
    
    .star-rating {
        gap: 0.3rem;
    }
    
    .star-label {
        font-size: 1.5rem;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .reviewer-avatar {
        align-self: flex-start;
    }
    
    .review-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .reviews-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .reviews-controls .filter-options {
        flex-direction: column;
    }
    
    .management-review-actions {
        flex-direction: column;
    }
    
    .review-status {
        position: static;
        align-self: flex-start;
        margin-bottom: 1rem;
    }
}

/* Animation for new reviews */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-card.new-review {
    animation: slideInUp 0.5s ease-out;
}

/* Enhanced Image Modal Styles */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.image-modal .modal-content {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    max-width: 95vw !important;
    max-height: 95vh !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
}

.image-modal .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.image-modal .close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Success Message Styles */
.success-message {
    background: var(--success-green);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Enhanced Form Validation */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: var(--danger-red);
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: var(--success-green);
}

/* Loading States */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.submit-btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Enhanced Review Cards */
.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-blue);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stars {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

/* No Reviews Message */
.no-reviews-message {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    grid-column: 1 / -1;
}

.no-reviews-message i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: block;
}

.no-reviews-message h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.no-reviews-message p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Enhanced Car Image Container */
.car-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--light-gray);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.car-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    cursor: pointer;
}

.car-image.active {
    opacity: 1;
}

.car-img-prev,
.car-img-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    border: none;
    font-size: 1.5rem;
    padding: 0.8rem 1rem;
    cursor: pointer;
    z-index: 5;
    transition: var(--transition);
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.car-img-prev:hover,
.car-img-next:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.car-img-prev {
    left: 1rem;
}

.car-img-next {
    right: 1rem;
}

.car-image-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 5;
}

.car-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.car-dot.active,
.car-dot:hover {
    background: var(--accent-gold);
    transform: scale(1.2);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .image-modal .close {
        top: 10px;
        right: 15px;
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }
    
    .review-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .reviewer-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Reviews Slider Styles */
.reviews-slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.review-slide {
    flex: 0 0 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.review-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border-left: 6px solid var(--primary-blue);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
}

.review-card::before {
    content: '"';
    font-size: 6rem;
    color: var(--primary-blue);
    opacity: 0.1;
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-family: serif;
}

.review-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.reviewer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.review-header h4 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin: 0;
}

.stars {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.review-card p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-dark);
    font-style: italic;
    margin: 1rem 0;
    position: relative;
    z-index: 2;
}

.review-card small {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: auto;
}

/* Review Slider Navigation */
.review-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-blue);
    border: none;
    font-size: 2rem;
    padding: 1rem 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    border-radius: 50%;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.review-slider-arrow:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.review-slider-arrow.prev {
    left: 1rem;
}

.review-slider-arrow.next {
    right: 1rem;
}

.review-slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.review-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--primary-blue);
}

.review-dot.active,
.review-dot:hover {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* No Reviews Message */
.no-reviews-message {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    grid-column: 1 / -1;
}

.no-reviews-message i {
    font-size: 5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    display: block;
}

.no-reviews-message h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.no-reviews-message p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

/* Enhanced Reviews Section */
.reviews-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 2rem;
    position: relative;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
}

/* Responsive Design for Review Slider */
@media (max-width: 768px) {
    .reviews-slider-container {
        margin: 0 -1rem;
        width: calc(100% + 2rem);
    }
    
    .review-slide {
        padding: 0 0.5rem;
    }
    
    .review-card {
        padding: 2rem 1.5rem;
    }
    
    .review-card::before {
        font-size: 4rem;
        top: 0.5rem;
        left: 1rem;
    }
    
    .reviewer-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .review-header h4 {
        font-size: 1.3rem;
    }
    
    .review-card p {
        font-size: 1.1rem;
    }
    
    .review-slider-arrow {
        font-size: 1.5rem;
        padding: 0.8rem 1rem;
    }
    
    .review-slider-arrow.prev {
        left: 0.5rem;
    }
    
    .review-slider-arrow.next {
        right: 0.5rem;
    }
    
    .review-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .review-card {
        padding: 1.5rem 1rem;
    }
    
    .review-card::before {
        font-size: 3rem;
        top: 0.5rem;
        left: 0.5rem;
    }
    
    .reviewer-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stars {
        font-size: 1.2rem;
    }
    
    .review-card p {
        font-size: 1rem;
    }
}

/* Add Review Section */
.add-review-section {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    margin-top: 3rem;
    border: 2px solid var(--medium-gray);
}

.add-review-section .section-header {
    margin-bottom: 2rem;
}

.add-review-section .section-header h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.review-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.review-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.review-form .form-group {
    margin-bottom: 1.5rem;
}

.review-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.review-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-form input,
.review-form select,
.review-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

.review-form .submit-btn {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
}

.review-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.3);
}

.review-form .form-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

/* Responsive Design for Review Form */
@media (max-width: 768px) {
    .review-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .add-review-section {
        padding: 2rem 1rem;
        margin-top: 2rem;
    }
    
    .review-form {
        padding: 1.5rem;
    }
    
    .add-review-section .section-header h3 {
        font-size: 1.5rem;
    }
}

/* Management Review Controls */
.management-review-card {
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.management-review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.review-header h4 {
    color: var(--primary-blue);
    margin: 0;
    flex: 1;
}

.review-status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: var(--success-green);
    color: white;
}

.status-inactive {
    background: var(--warning-orange);
    color: var(--text-dark);
}

.review-details {
    margin-bottom: 1rem;
}

.review-details p {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
}

.review-details strong {
    color: var(--text-dark);
}

.review-text {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    font-style: italic;
    border-left: 4px solid var(--primary-blue);
    line-height: 1.6;
}

.management-review-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.status-btn {
    padding: 0.7rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex: 1;
    justify-content: center;
}

.activate-btn {
    background: var(--success-green);
    color: var(--white);
}

.activate-btn:hover {
    background: #218838;
    transform: translateY(-1px);
}

.deactivate-btn {
    background: var(--warning-orange);
    color: var(--text-dark);
}

.deactivate-btn:hover {
    background: #e0a800;
    transform: translateY(-1px);
}

.edit-btn, .delete-btn {
    padding: 0.7rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex: 1;
    justify-content: center;
}

.edit-btn {
    background: var(--warning-orange);
    color: var(--text-dark);
}

.edit-btn:hover {
    background: #e0a800;
    transform: translateY(-1px);
}

.delete-btn {
    background: var(--danger-red);
    color: var(--white);
}

.delete-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* Responsive Management Actions */
@media (max-width: 768px) {
    .management-review-actions {
        flex-direction: column;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Add these new styles to your existing CSS file */

/* Security Questions Box */
.security-questions-box {
    background: var(--white);
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
}

.security-questions-box h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.security-questions-box .form-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Questions Grid */
.questions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.question-item {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-height: 120px;
}

.question-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--primary-blue);
}

.question-icon {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.question-content {
    flex: 1;
}

.question-content label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.4;
}

.question-content input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    transition: var(--transition);
    background: var(--white);
}

.question-content input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

/* New Password Section */
.new-password-section {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--success-green);
}

.new-password-section h4 {
    color: var(--success-green);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
}

/* Forgot Password Form Specific Styles */
.forgot-password-form {
    animation: fadeIn 0.5s ease-out;
}

.forgot-password-form h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.forgot-password-form .form-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Security Settings Modal Specific Styles */
.security-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--medium-gray);
}

.security-header h2 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.security-header p {
    color: var(--text-light);
    font-size: 1rem;
}

/* User Info Bar in Dashboard */
.user-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border: 1px solid var(--medium-gray);
}

.user-details {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-details i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.user-role {
    color: var(--text-light);
    font-size: 0.9rem;
}

.user-actions {
    display: flex;
    gap: 0.8rem;
}

.security-btn, .logout-btn {
    padding: 0.7rem 1.2rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.security-btn {
    background: var(--warning-orange);
    color: var(--text-dark);
}

.security-btn:hover {
    background: #e0a800;
    transform: translateY(-1px);
}

.logout-btn {
    background: var(--danger-red);
    color: var(--white);
}

.logout-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* Price Toggle Container */
.price-toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.price-toggle-btn {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow);
}

.price-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.price-toggle-btn.hide {
    background: linear-gradient(135deg, var(--danger-red) 0%, #c82333 100%);
}

.price-toggle-btn.show {
    background: linear-gradient(135deg, var(--success-green) 0%, #218838 100%);
}

/* Car Status Controls */
.car-status-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.availability-toggle {
    display: flex;
    gap: 0.5rem;
}

.toggle-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.toggle-btn.available {
    background: var(--success-green);
    color: var(--white);
}

.toggle-btn.available:hover {
    background: #218838;
}

.toggle-btn.rented {
    background: var(--warning-orange);
    color: var(--text-dark);
}

.toggle-btn.rented:hover {
    background: #e0a800;
}

.price-visibility-btn {
    background: #17a2b8;
    color: var(--white);
    padding: 0.7rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex: 1;
    justify-content: center;
}

.price-visibility-btn:hover {
    background: #138496;
    transform: translateY(-1px);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
}

.forgot-password {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.forgot-password:hover {
    color: var(--secondary-blue);
    text-decoration: underline;
}

/* Responsive Design for Security Questions */
@media (max-width: 768px) {
    .questions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .question-item {
        padding: 1.2rem;
        min-height: auto;
    }
    
    .question-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-top: 0.2rem;
    }
    
    .security-questions-box {
        padding: 1.5rem;
    }
    
    .security-questions-box h4 {
        font-size: 1.2rem;
    }
    
    .user-info-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .user-actions {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .questions-grid {
        grid-template-columns: 1fr;
    }
    
    .question-item {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .question-icon {
        align-self: center;
    }
    
    .security-questions-box {
        padding: 1rem;
    }
    
    .user-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .security-btn, .logout-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Enhanced Modal Styles for Security */
.modal-content.large-modal {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

/* Form Description */
.form-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Enhanced Input Focus States */
.security-questions-box input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
    background: var(--white);
}

/* Success State for Questions */
.question-item.valid {
    border-color: var(--success-green);
    background: linear-gradient(135deg, #d4edda 0%, var(--white) 100%);
}

.question-item.invalid {
    border-color: var(--danger-red);
    background: linear-gradient(135deg, #f8d7da 0%, var(--white) 100%);
}

/* Animation for Question Items */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-item {
    animation: slideInUp 0.5s ease-out;
}

.question-item:nth-child(1) { animation-delay: 0.1s; }
.question-item:nth-child(2) { animation-delay: 0.2s; }
.question-item:nth-child(3) { animation-delay: 0.3s; }
.question-item:nth-child(4) { animation-delay: 0.4s; }

/* Password Strength Indicator */
.password-strength {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.strength-weak {
    color: var(--danger-red);
}

.strength-medium {
    color: var(--warning-orange);
}

.strength-strong {
    color: var(--success-green);
}

/* Security Tips */
.security-tips {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: var(--border-radius);
    padding: 1rem;
    margin: 1rem 0;
    font-size: 0.85rem;
}

.security-tips h5 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.security-tips ul {
    list-style: none;
    padding-left: 0;
}

.security-tips li {
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.security-tips li::before {
    content: '✓';
    color: var(--success-green);
    font-weight: bold;
}

/* Enhanced Button Styles for Security */
.security-submit-btn {
    background: linear-gradient(135deg, var(--success-green), #20c997);
    color: var(--white);
    border: none;
    padding: 1.2rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
}

.security-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

/* Loading State for Security Forms */
.security-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success Message for Security */
.security-success {
    background: var(--success-green);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 1rem 0;
    animation: slideInDown 0.3s ease-out;
}

/* Error Message for Security */
.security-error {
    background: var(--danger-red);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 1rem 0;
    animation: slideInDown 0.3s ease-out;
}

/* Review Source Badges */
.review-source {
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.customer-source {
    background: var(--primary-blue);
    color: white;
}

.management-source {
    background: var(--success-green);
    color: white;
}

/* Review Meta */
.review-meta {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Management Header Improvements */
.management-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.management-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* Tab Content Improvements */
.tab-content {
    min-height: 400px;
}

/* Form Container Improvements */
.form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    border: 1px solid var(--medium-gray);
    animation: fadeIn 0.5s ease-out;
}

/* Image Preview Improvements */
.image-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    border: 1px dashed var(--medium-gray);
}

.image-preview img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
    border: 2px solid var(--medium-gray);
    transition: var(--transition);
}

.image-preview img:hover {
    transform: scale(1.05);
    border-color: var(--primary-blue);
}

/* Management Actions Improvements */
.management-car-actions, .management-review-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.management-car-actions button, .management-review-actions button {
    flex: 1;
    min-width: 120px;
}

/* Responsive Table Improvements */
@media (max-width: 768px) {
    .data-table {
        font-size: 0.8rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.5rem;
    }
    
    .management-stats {
        justify-content: center;
    }
    
    .stat-item {
        min-width: 100px;
    }
}

/* Loading State Improvements */
.loading-spinner p {
    color: var(--white);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Notification Improvements */
.notification {
    z-index: 10000;
}

/* Car Status Badges */
.status-available, .status-rented, .status-active, .status-inactive {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-available {
    background: var(--success-green);
    color: white;
}

.status-rented {
    background: var(--warning-orange);
    color: var(--text-dark);
}

.status-active {
    background: var(--success-green);
    color: white;
}

.status-inactive {
    background: var(--danger-red);
    color: white;
}

/* Form Row Improvements */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Checkbox Group Improvements */
.checkbox-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .checkbox-group {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Management Cards Hover Effects */
.management-car-card, .management-review-card {
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
}

.management-car-card:hover, .management-review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Button State Improvements */
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.submit-btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}