@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@400;600;700&display=swap');

:root {
    /* Couleurs du drapeau togolais */
    --primary-color: #006A4E;
    /* Vert officiel */
    --primary-dark: #004d39;
    /* Vert foncé */
    --primary-light: #008a65;
    /* Vert clair */
    --accent-color: #ffce00;
    /* Jaune */
    --accent-dark: #d4a900;
    /* Jaune foncé */
    --secondary-color: #d21034;
    /* Rouge */
    --secondary-dark: #a00828;
    /* Rouge foncé */
    --text-dark: #1A120B;
    --text-light: #F5EFE6;
    --bg-light: #F8F9FA;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Navbar Sticky */
.navbar {
    background-color: #fff !important;
    border-bottom: 3px solid var(--primary-color);
    position: -webkit-sticky !important;
    /* Safari */
    position: sticky !important;
    top: 0;
    z-index: 1020;
    /* Bootstrap fixed content z-index is 1030, sticky is 1020 */
    padding: 0.4rem 0;
    /* Réduit au minimum pour laisser le logo s'exprimer */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color) !important;
    padding: 0;
}

.navbar-logo {
    max-height: 85px;
    /* Taille substantielle pour une visibilité optimale */
    width: auto;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.navbar-logo:hover {
    transform: scale(1.05);
    /* Effet d'interaction subtil et élégant */
}

.navbar-nav {
    gap: 10px;
    /* Espacement moderne entre les éléments */
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    transition: all 0.3s ease;
    font-size: 1rem;
    padding: 0.5rem 0.2rem !important;
    /* Réduit pour l'effet de soulignement */
    margin: 0 1rem;
    display: flex;
    align-items: center;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section - Fullscreen */
.hero-section {
    position: relative;
    height: calc(100vh - 90px);
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 93, 41, 0.85));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 25px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    font-weight: 800;
    letter-spacing: -1px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 93, 41, 0.4);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 206, 0, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 206, 0, 0.6);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 77, 46, 0.3);
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.badge-difficulty {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 50px 0;
}

/* ========================================
   ADMIN INTERFACE STYLES
   ======================================== */

/* Admin Body & Wrapper */
.admin-body {
    background-color: #f4f6f9;
    margin: 0;
    padding: 0;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: #fff;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.sidebar-header {
    padding: 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.sidebar-header h4 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.sidebar-header p {
    font-size: 0.85rem;
    opacity: 0.8;
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-nav .nav-link i {
    width: 25px;
    margin-right: 10px;
    font-size: 1.1rem;
}

.sidebar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: var(--accent-color);
    transform: translateX(5px);
}

.sidebar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
    border-left-color: var(--accent-color);
    font-weight: 600;
}

/* Admin Content Area */
.admin-content {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
}

/* Admin Header */
.admin-header {
    background: #fff;
    padding: 20px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #e0e0e0;
}

.admin-header h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin: 0;
}

.user-info {
    display: flex;
    align-items: center;
    color: var(--text-dark);
    font-weight: 500;
}

.user-info i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Admin Main Content */
.admin-main {
    flex: 1;
    padding: 30px;
}

/* Dashboard Chart.js containers (maintainAspectRatio: false needs explicit height) */
.dashboard-chart-wrap {
    min-height: 280px;
    height: 280px;
}

.dashboard-chart-wrap--ca {
    min-height: 260px;
    height: 260px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    padding: 0.35rem;
}

.dashboard-chart-wrap--sm {
    min-height: 260px;
    height: 260px;
}

.dashboard-chart-wrap--count {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    padding: 0.35rem;
}

/* Dashboard — carte chiffre d’affaires (alignée en hauteur avec la carte graphique) */
.dashboard-ca-card {
    border: 1px solid rgba(0, 93, 41, 0.14);
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0, 93, 41, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dashboard-ca-header {
    padding-top: 1.15rem;
    position: relative;
}

.dashboard-ca-header::after {
    content: '';
    display: block;
    height: 1px;
    margin-top: 0.7rem;
    background: linear-gradient(90deg, rgba(0, 106, 78, 0.2), rgba(0, 106, 78, 0.04));
}

.dashboard-ca-body {
    background:
        radial-gradient(circle at 10% 100%, rgba(0, 138, 101, 0.08), transparent 45%),
        linear-gradient(145deg, rgba(0, 93, 41, 0.08) 0%, #fff 40%, #fff 100%);
    position: relative;
    min-height: 260px;
}

.dashboard-ca-trend-card {
    border: 1px solid rgba(0, 93, 41, 0.12);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(18, 76, 64, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dashboard-ca-trend-header {
    padding-top: 1.15rem;
    position: relative;
}

.dashboard-ca-trend-header::after {
    content: '';
    display: block;
    height: 1px;
    margin-top: 0.7rem;
    background: linear-gradient(90deg, rgba(13, 110, 253, 0.2), rgba(13, 110, 253, 0.05));
}

.dashboard-ca-trend-body {
    background:
        radial-gradient(circle at 100% 0%, rgba(13, 110, 253, 0.07), transparent 40%),
        linear-gradient(145deg, rgba(0, 93, 41, 0.03) 0%, #fff 45%, #fff 100%);
}

.dashboard-ca-card:hover,
.dashboard-ca-trend-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(8, 62, 50, 0.12);
}

/* Dashboard — cartes réservations/sites (rangée du bas) */
.dashboard-count-card,
.dashboard-sites-card {
    border: 1px solid rgba(0, 93, 41, 0.12);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(18, 76, 64, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dashboard-count-header,
.dashboard-sites-header {
    padding-top: 1.15rem;
    position: relative;
}

.dashboard-count-header::after,
.dashboard-sites-header::after {
    content: '';
    display: block;
    height: 1px;
    margin-top: 0.7rem;
}

.dashboard-count-header::after {
    background: linear-gradient(90deg, rgba(13, 110, 253, 0.2), rgba(13, 110, 253, 0.05));
}

.dashboard-sites-header::after {
    background: linear-gradient(90deg, rgba(0, 106, 78, 0.2), rgba(0, 106, 78, 0.05));
}

.dashboard-count-body {
    background:
        radial-gradient(circle at 100% 0%, rgba(13, 110, 253, 0.07), transparent 40%),
        linear-gradient(145deg, rgba(13, 110, 253, 0.04) 0%, #fff 45%, #fff 100%);
}

.dashboard-sites-body {
    background:
        radial-gradient(circle at 0% 0%, rgba(0, 106, 78, 0.06), transparent 40%),
        linear-gradient(145deg, rgba(0, 93, 41, 0.03) 0%, #fff 45%, #fff 100%);
}

.dashboard-count-card:hover,
.dashboard-sites-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(8, 62, 50, 0.12);
}

.dashboard-sites-table-wrap {
    border-radius: 10px;
}

.dashboard-sites-table-wrap .table thead th {
    background: rgba(0, 106, 78, 0.03);
}


.dashboard-ca-figure {
    position: relative;
    z-index: 1;
}

.dashboard-ca-watermark {
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(5rem, 10vw, 7.25rem);
    line-height: 1;
    color: rgba(0, 106, 78, 0.08);
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .dashboard-ca-watermark {
        font-size: 4.5rem;
        right: 0;
        opacity: 0.9;
    }
}

.dashboard-ca-value-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem 0.7rem;
}

.dashboard-ca-value {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: clamp(2.6rem, 5.4vw, 4rem);
    font-weight: 900;
    line-height: 0.98;
    color: var(--primary-color);
    letter-spacing: -0.04em;
}

.dashboard-ca-currency {
    font-size: 1.45rem;
    font-weight: 700;
    color: #5e7387;
    letter-spacing: 0.05em;
}

.dashboard-ca-kicker {
    font-size: 0.8rem !important;
    letter-spacing: 0.12em;
    color: #5a6572 !important;
}

/* Admin — réservations */
.booking-ref-badge {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--primary-dark);
    background: rgba(0, 93, 41, 0.1);
    border: 1px solid rgba(0, 93, 41, 0.2);
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    display: inline-block;
}

.booking-show-recap {
    background: linear-gradient(135deg, rgba(0, 93, 41, 0.08) 0%, rgba(255, 255, 255, 1) 100%);
    border: 1px solid rgba(0, 93, 41, 0.12);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.booking-show-recap-price {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

/* Stat Cards */
.stat-card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-card .card-body {
    padding: 25px;
}

.stat-card h6 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.stat-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.stat-icon {
    opacity: 0.3;
}

/* Admin Tables */
.admin-main .table {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.admin-main .table thead {
    background-color: #f8f9fa;
}

.admin-main .table th {
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 2px solid #dee2e6;
    padding: 15px;
}

.admin-main .table td {
    padding: 15px;
    vertical-align: middle;
}

.admin-main .table tbody tr {
    transition: background-color 0.2s ease;
}

.admin-main .table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Admin Cards */
.admin-main .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

/* Prevent global card hover transform from breaking Bootstrap modals in admin */
.admin-main .card:hover {
    transform: none;
}

.admin-main .card-header {
    background-color: #fff;
    border-bottom: 2px solid #f0f0f0;
    padding: 20px;
    font-weight: 600;
}

.admin-main .card-header h5 {
    margin: 0;
    color: var(--primary-color);
}

/* Form Styles */
.admin-main .form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.admin-main .form-control,
.admin-main .form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.admin-main .form-control:focus,
.admin-main .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 77, 46, 0.15);
}

/* Badges */
.badge {
    padding: 6px 12px;
    font-weight: 500;
    border-radius: 6px;
}

/* Buttons in Admin */
.admin-main .btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.admin-main .btn-sm {
    padding: 5px 12px;
    font-size: 0.875rem;
}

.admin-main .btn-group .btn {
    border-radius: 0;
}

.admin-main .btn-group .btn:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.admin-main .btn-group .btn:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Labels filtres réservations : centrés, compacts */
.admin-bookings-filters .admin-bookings-filters__form > [class*='col-'] > .form-label {
    display: block;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #5c636a;
    letter-spacing: 0.02em;
}

.admin-bookings-filters .admin-bookings-filters__actions-label {
    visibility: hidden;
    user-select: none;
    pointer-events: none;
    line-height: 1.25;
    min-height: 1.2em;
}

/* Admin — barre de filtres réservations (boutons compacts, sans stretch vertical) */
.admin-bookings-filters .admin-bookings-filters__submit {
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    min-height: calc(1.5em + 0.75rem + 2px);
}

.admin-bookings-filters .admin-bookings-filters__submit::before {
    display: none;
}

.admin-bookings-filters .admin-bookings-filters__submit:hover {
    transform: none;
}

.admin-bookings-filters .admin-bookings-filters__reset {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 8px;
    font-size: 0.95rem;
}

/* FAQ drag handle in admin table */
.faq-drag-handle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1rem;
    line-height: 1;
    opacity: 1;
}

/* Alerts */
.admin-main .alert {
    border-radius: 10px;
    border: none;
    padding: 15px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.admin-main .alert i {
    margin-right: 8px;
}

/* Pagination */
.admin-main .pagination {
    margin-top: 20px;
}

.admin-main .page-link {
    color: var(--primary-color);
    border-radius: 6px;
    margin: 0 3px;
    border: 1px solid #ddd;
}

.admin-main .page-link:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.admin-main .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .stat-card h2 {
        font-size: 2rem;
    }
}

/* ========================================
   IMAGE MANAGEMENT STYLES
   ======================================== */

/* Upload Zone */
.upload-zone {
    border: 3px dashed #ddd;
    border-radius: 12px;
    padding: 50px 20px;
    text-align: center;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-zone:hover {
    border-color: var(--primary-color);
    background-color: #fff;
}

.upload-zone.drag-over {
    border-color: var(--primary-color);
    background-color: rgba(26, 77, 46, 0.05);
    transform: scale(1.02);
}

/* Preview Cards */
.preview-card {
    position: relative;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

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

.preview-info {
    padding: 10px;
    background: #f8f9fa;
    font-size: 0.85rem;
}

/* Image Gallery */
.image-card {
    position: relative;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
}

.image-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

/* Primary Badge */
.primary-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    font-size: 0.85rem;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Image Actions */
.image-actions {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    z-index: 10;
}

.image-actions .btn {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Drag Handle */
.drag-handle {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: move;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-card:hover .drag-handle {
    opacity: 1;
}

/* Sortable Ghost */
.sortable-ghost {
    opacity: 0.4;
    background: #f0f0f0;
}

/* Responsive */
@media (max-width: 768px) {
    .upload-zone {
        padding: 30px 15px;
    }

    .image-card img {
        height: 150px;
    }

    .drag-handle {
        opacity: 1;
    }
}

/* ========================================
   AUTHENTICATION PAGES STYLES
   ======================================== */

/* Auth Container */
.auth-container {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Auth Card */
.auth-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    max-width: 750px;
    width: 100%;
    display: flex;
    min-height: auto;
}

/* Auth Left Side - Illustration */
.auth-illustration {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.auth-illustration::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 206, 0, 0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.auth-illustration-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.auth-illustration h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.auth-illustration p {
    font-size: 0.85rem;
    opacity: 0.95;
    line-height: 1.4;
}

.auth-illustration-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Auth Form Side */
.auth-form-container {
    flex: 1;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form-header {
    text-align: center;
    margin-bottom: 25px;
}

.auth-form-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 6px;
    font-weight: 700;
}

.auth-form-header p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Floating Label Inputs */
.form-floating-custom {
    position: relative;
    margin-bottom: 16px;
}

.form-floating-custom input {
    width: 100%;
    padding: 10px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-floating-custom input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 93, 41, 0.1);
}

.form-floating-custom input.is-invalid {
    border-color: #dc3545;
}

.form-floating-custom label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
    padding: 0 5px;
}

.form-floating-custom input:focus+label,
.form-floating-custom input:not(:placeholder-shown)+label {
    top: 0;
    font-size: 0.85rem;
    color: var(--primary-color);
    background: #fff;
    font-weight: 600;
}

/* Remember Me Checkbox */
.auth-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.auth-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.auth-checkbox label {
    color: #495057;
    font-size: 0.95rem;
    cursor: pointer;
    user-select: none;
}

/* Auth Button */
.btn-auth {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 93, 41, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-auth::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-auth:hover::before {
    left: 100%;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 93, 41, 0.4);
}

.btn-auth:active {
    transform: translateY(0);
}

/* Auth Links */
.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.auth-divider {
    text-align: center;
    margin: 25px 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Error Messages */
.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    margin-left: 5px;
}

/* Responsive Auth Pages */
@media (max-width: 768px) {
    .auth-card {
        flex-direction: column;
        margin: 20px;
    }

    .auth-illustration {
        padding: 40px 30px;
        min-height: 300px;
    }

    .auth-illustration h2 {
        font-size: 1.8rem;
    }

    .auth-illustration-icon {
        font-size: 5rem;
        margin-bottom: 20px;
    }

    .auth-form-container {
        padding: 40px 30px;
    }

    .auth-form-header h3 {
        font-size: 1.6rem;
    }
}

/* ========================================
   ENHANCED FOOTER STYLES
   ======================================== */

/* Footer Wave Divider */
.footer-wave {
    position: relative;
    margin-top: 80px;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* Footer Main */
footer {
    background: linear-gradient(180deg, #1a2f23 0%, #0d1912 100%);
    color: #fff;
    position: relative;
}

footer h5,
footer h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

footer h5::after,
footer h6::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
}

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

footer a {
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

footer a:hover {
    color: var(--accent-color) !important;
    transform: translateX(5px);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: var(--accent-color);
    color: var(--text-dark) !important;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 5px 15px rgba(255, 206, 0, 0.4);
}

/* Newsletter Section */
.newsletter-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-input-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    border: none;
    border-radius: 25px;
    color: var(--text-dark);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 206, 0, 0.4);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .newsletter-input-group {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
    }

    footer h5::after,
    footer h6::after {
        left: 50%;
        transform: translateX(-50%);
    }

    footer h5,
    footer h6 {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* ========================================
   FILTER BAR STYLES
   ======================================== */
.hover-primary:hover {
    background-color: var(--primary-light) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
}