:root {
    --primary-color: #cc0000;
    --primary-hover: #a00000;
    --primary-light: #ff3333;
    --primary-white: #fff;
    --light-red: #ff4444;
    --dark-red: #990000;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.15);
    --primary-red: #cc0000;
    --primary-red-dark: #990000;
    --primary-red-light: #ff3333;
    --white: #ffffff;
    --dark-text: #212529;
    --shadow-color: rgba(204, 0, 0, 0.1);
    --dark-red: #990000;
    --light-red: #ff3333;
    --pure-white: #ffffff;
    --off-white: #f8f9fa;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6c757d;
    --gray-700: #374151;
    --gray-900: #111827;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: #fff;
    line-height: 1.6;
}

.btn-primary {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-red-dark);
    border-color: var(--primary-red-dark);
}

.btn-outline-primary {
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: #fff;
}

.text-primary {
    color: var(--primary-red) !important;
}

.bg-primary {
    background-color: var(--primary-red) !important;
}

a {
    color: var(--primary-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-red-dark);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.navbar-brand i {
    font-size: 1.8rem;
}

.navbar-brand:hover {
    color: var(--text-dark);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

.nav-link.btn {
    border-radius: 50px;
}

.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.hero-section h1 {
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-section .lead {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.hero-section img {
    border: 5px solid #fff;
}

.features-section {
    padding: 80px 0;
}

.feature-card {
    padding: 2rem;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    /* background: linear-gradient(135deg, var(--primary-red), var(--primary-light)); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
}

.feature-card h4 {
    color: var(--text-dark);
    font-weight: 600;
}

.cameras-section {
    padding: 80px 0;
}

.camera-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.camera-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.camera-card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.camera-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.camera-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.camera-card-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex: 1;
}

.camera-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.camera-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
}

.camera-price small {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.availability-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.availability-badge.available {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.availability-badge.limited {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

/* ========================================
   Camera Detail Page
   ======================================== */
.camera-detail-section {
    padding: 50px 0;
}

.camera-image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.camera-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.camera-info-card {
    background: #fff;
    box-shadow: var(--shadow);
}

.price-section {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.05), rgba(204, 0, 0, 0.1));
    border-radius: 10px;
    text-align: center;
}

.specs-section ul {
    list-style: none;
}

.specs-section li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    /* display: flex;
    align-items: center; */
}

.specs-section li:last-child {
    border-bottom: none;
}

.specs-section li i {
    color: var(--primary-red);
    margin-right: 0.5rem;
}

/* ========================================
   Calendar
   ======================================== */
.calendar-container {
    position: sticky;
    top: 100px;
}

.calendar-legend {
    display: flex;
    gap: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    display: inline-block;
}

.legend-color.available {
    background-color: var(--success-color);
}

.legend-color.reserved {
    background-color: var(--danger-color);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-top: 1rem;
}

.calendar-day-header {
    text-align: center;
    font-weight: 600;
    padding: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    border: 2px solid transparent;
}

.calendar-day.empty {
    cursor: default;
    background: transparent;
}

.calendar-day.available {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.calendar-day.available:hover {
    background-color: var(--success-color);
    color: #fff;
    transform: scale(1.05);
}

.calendar-day.reserved {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
    cursor: not-allowed;
}

.calendar-day.today {
    border-color: var(--primary-red);
    font-weight: 700;
}

/* ========================================
   How It Works Section
   ======================================== */
.how-it-works-section {
    padding: 80px 0;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.05), rgba(204, 0, 0, 0.1));
}

/* ========================================
   Auth Pages (Login/Register)
   ======================================== */
.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.auth-card {
    max-width: 100%;
}

.auth-icon {
    font-size: 4rem;
    color: var(--primary-red);
}

.input-group-text {
    background-color: #fff;
    border-right: none;
    color: var(--text-muted);
}

.input-group .form-control {
    border-left: none;
}

.input-group .form-control:focus {
    /* border-color: var(--primary-red); */
    box-shadow: none;
}

.input-group-text,
.input-group .form-control {
    border-color: var(--border-color);
}

.input-group:focus-within .input-group-text,
.input-group:focus-within .form-control {
    /* border-color: var(--primary-red); */
}

/* ========================================
   Profile Page
   ======================================== */
.profile-section {
    min-height: calc(100vh - 200px);
    padding: 3rem 0;
}

.nav-link-custom {
    padding: 0 !important;
}

.nav-link-custom .active {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%) !important;
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
}

.profile-sidebar {
    position: sticky;
    top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.user-info-card {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    /* box-shadow: var(--shadow-lg); */
    position: relative;
    overflow: hidden;
}

.user-info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.profile-avatar-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-100) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-red);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.profile-avatar:hover {
    transform: scale(1.05);
}

.profile-sidebar .nav-link {
    border-radius: 8px;
    /* margin-bottom: 0.5rem; */
    transition: all 0.3s ease;
}

.profile-sidebar .nav-link:hover,
.profile-sidebar .nav-link.active {
    background-color: var(--primary-red);
    color: #fff;
}

.profile-sidebar .nav-link i {
    width: 20px;
}

.profile-content {
    min-height: 400px;
}

/* Reservation Card */
.reservation-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    /* box-shadow: var(--shadow); */
    transition: all 0.3s ease;
}

.reservation-card:hover {
    box-shadow: var(--shadow-lg);
}

.status-badge.cancelled.past {
    background: rgba(251, 191, 36, 0.95);
    color: #78350f;
}

.reservation-status {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-badge.cancelled.upcoming {
    background-color: rgb(40 167 69) !important;
    color: #fff !important;
    text-align: center;
}

.reservation-status.past {
    background-color: rgba(108, 117, 125, 0.1);
    color: var(--text-muted);
    text-align: center;
}

.reservation-status.cancelled {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
    text-align: center;
}

.footer h5,
.footer h6 {
    color: #fff;
}

.footer .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer a:hover {
    color: var(--primary-light);
}

.shadow {
    box-shadow: var(--shadow) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

@media (max-width: 991px) {
    .hero-section {
        padding: 50px 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .features-section,
    .cameras-section,
    .how-it-works-section,
    .cta-section {
        padding: 50px 0;
    }

    .calendar-container {
        position: static;
        margin-top: 2rem;
    }

    .profile-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    .calendar-grid {
        gap: 4px;
    }

    .calendar-day {
        font-size: 0.85rem;
    }

    .camera-card-img {
        height: 200px;
    }

    .feature-icon,
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

.modal-header {
    background-color: var(--bg-light);
    border-bottom: 2px solid var(--border-color);
}

.modal-title {
    color: var(--text-dark);
}

/* ========================================
   Alert Customization
   ======================================== */
.alert {
    border-radius: 10px;
    border: none;
}

.alert-info {
    background-color: rgba(13, 202, 240, 0.1);
    color: #0dcaf0;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.avatar-badge {
    position: absolute;
    bottom: 5px;
    right: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.85rem;
    border: 3px solid var(--primary-red);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.user-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-email {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Trust Score Card */
.trust-score-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.trust-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-500);
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.trust-circle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: .5rem;
}

.progress-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-bg {
    fill: none;
    stroke: var(--gray-100);
    stroke-width: 8;
}

.progress-ring-fill {
    fill: none;
    stroke: var(--success);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 326.73;
    stroke-dashoffset: 81.68;
    /* 85% = (1 - 0.85) * 326.73 */
    transition: stroke-dashoffset 1s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.score-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--success);
}

.score-symbol {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-left: 2px;
}

.trust-status {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.trust-status i {
    color: var(--success);
}

/* Stats Row */
.stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--gray-100);
}

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

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* Navigation Menu */
.profile-nav {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item-custom .nav-link {
    padding: 0.65rem 1.25rem !important;
    width: 100%;
}

.nav-item-custom {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 0px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-700);
    background: transparent;
    border: 2px solid transparent;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.nav-item-custom i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

/* .nav-item-custom:hover {
    background: var(--gray-50);
    color: var(--primary-red);
    transform: translateX(5px);
} */

.nav-item-custom.active {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
}

.nav-item-custom.active i {
    transform: scale(1.1);
}

.logout-btn {
    margin-top: 0.5rem;
    border-top: 2px solid var(--gray-100);
    padding-top: 1.5rem;
}

.logout-btn:hover {
    color: var(--danger);
}

/* ========================================
   Content Card
   ======================================== */
.content-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.input-group .btn.btn-outline-secondary {
    border: 1px solid #e5e5e5 !important;
}

.content-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border-bottom: 2px solid var(--gray-100);
}

.content-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    display: flex;
    align-items: center;
}

.content-header h4 i {
    color: var(--primary-red);
}

.content-body {
    padding: 1.5rem;
}

/* ========================================
   Profile Info Tab
   ======================================== */
.info-item {
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: 12px;
    border-left: 4px solid var(--primary-red);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: var(--gray-100);
    transform: translateX(5px);
}

.info-item label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: block;
}

.info-item p {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.wh-custom {
    width: 100% !important;
    height: 16rem !important;
}

.feature-card:hover .wh-custom {
    transform: unset !important;
}

.filter-section {
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    border-bottom: 2px solid var(--gray-100);
}

.status-badge.extend {
    background-color: #0d6efd;
    /* xanh lam */
    color: #fff;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-100);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
}

.filter-btn:hover {
    background: var(--gray-200);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.3);
}

.nowrap-text {
    white-space: nowrap;
}

.reservations-list {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.reservation-card {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem;
    align-items: center;
    background: var(--white);
    border-radius: 16px;
    border: 2px solid var(--gray-100);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.reservation-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reservation-card:hover {
    border-color: var(--primary-red);
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
}

.reservation-card:hover::before {
    opacity: 1;
}

.reservation-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 150px;
}

.reservation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.color-red {
    color: #cc0000 !important;
}

.reservation-card:hover .reservation-image img {
    transform: scale(1.1);
}

.status-badge {
    position: absolute;
    top: -10px;
    right: 21px;
    padding: 0.1rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.status-badge.pending {
    background: rgba(251, 191, 36, 0.95);
    color: #78350f;
}

.status-badge.cancelled {
    background: rgb(169 0 0);
    color: #ffffff;
}

.status-badge.confirmed {
    background: rgba(16, 185, 129, 0.95);
    color: #064e3b;
}

.reservation-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}

.item-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.reservation-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-row-custom {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.info-row-custom i {
    color: var(--primary-red);
    width: 16px;
}

.reservation-actions {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cancel-custom {
    padding: 0.5rem 1.5rem;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid var(--danger);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cancel-custom:hover {
    background: linear-gradient(135deg, #cc0000, #ff3333);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(239, 68, 68, 0.3);
}

.form-group-modern {
    margin-bottom: 1.5rem;
}

.form-group-modern label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    display: block;
}

.form-control-modern {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: var(--gray-900);
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--primary-red);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(204, 0, 0, 0.1);
}

.form-control-modern:disabled {
    background: var(--gray-100);
    cursor: not-allowed;
    opacity: 0.7;
}

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
    margin: 2.5rem 0;
}

.section-title-custom {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.section-title-custom i {
    color: var(--primary-red);
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

.alert-modern {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.alert-modern::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.2rem;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 2px solid var(--danger);
}

/* .alert-danger::before {
    content: '\f06a';
} */

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 2px solid var(--success);
}

/* 
.alert-success::before {
    content: '\f058';
} */

.form-actions {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-100);
}

.btn-save {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.3);
}

.btn-save:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(204, 0, 0, 0.4);
}

.btn-save:active {
    transform: translateY(-1px);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 991px) {
    .profile-sidebar {
        position: static;
        margin-bottom: 2rem;
    }

    .reservation-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .reservation-image {
        height: 200px;
    }

    .reservation-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .content-header {
        padding: 1.5rem;
    }

    .content-body {
        padding: 1.5rem;
    }

    .filter-section {
        padding: 1rem;
    }

    .reservations-list {
        padding: 1rem;
    }

    .stats-row {
        gap: 1.5rem;
    }
}

@media (max-width: 575px) {
    .filter-btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .user-name {
        font-size: 1.2rem;
    }

    .user-email {
        font-size: 0.85rem;
    }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-pane.show {
    animation: fadeIn 0.4s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav-item-custom {
    animation: slideIn 0.3s ease;
}

/* Stagger animation for nav items */
.nav-item-custom:nth-child(1) {
    animation-delay: 0.05s;
}

.nav-item-custom:nth-child(2) {
    animation-delay: 0.1s;
}

.nav-item-custom:nth-child(3) {
    animation-delay: 0.15s;
}

.nav-item-custom:nth-child(4) {
    animation-delay: 0.2s;
}

footer {
    z-index: 10;
    background: #ffffff;
    color: #333;
    padding: 60px 0 30px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    position: relative;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

footer h5 {
    font-size: 16px;
    color: #757575;
    font-weight: 700;
    margin: 0 0 15px 0;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 12px;
}

footer a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-text {
    border-top: 1px solid #9a9a9a;
    padding: 10px 0 80px 0;
    font-size: 16px;
    color: #757575;
}

/* Menu déroulant horizontal */
.custom-hover-dropdown .custom-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 250px;
    padding: 0.5rem 0;
    margin-top: 0;
    border-radius: 8px;
    z-index: 1000;
}

/* Afficher le menu au hover */
.custom-hover-dropdown:hover .custom-dropdown-menu {
    display: block;
}

/* Style des items du menu */
.custom-dropdown-item {
    padding: 0.75rem 1.5rem;
    color: #212529;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

/* Effet hover sur les items */
.custom-dropdown-item:hover {
    background-color: var(--color-red-light, rgba(204, 0, 0, 0.1));
    color: var(--color-red, #cc0000);
    /* padding-left: 2rem; */
}

/* Style du divider */
.dropdown-divider {
    margin: 0.5rem 0;
    border-top: 1px solid #e9ecef;
}

.custom-wh-step-number {
    width: 60px !important;
    height: 60px !important;
}

/* Style du header */
.dropdown-header {
    /* padding: 0.5rem 1.5rem; */
    font-weight: 600;
    font-size: 0.85rem;
}

/* Animation d'ouverture */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-hover-dropdown:hover .custom-dropdown-menu {
    animation: slideDown 0.3s ease;
}

/* Assurer que le lien parent reste actif pendant le hover */
.custom-hover-dropdown:hover .custom-menu-link {
    color: var(--color-red, #cc0000);
}