html, body {
    background: linear-gradient(180deg, #f8f9ff 0%, #f4f6fb 100%);
    color: #333;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main > .container {
    padding: 95px 15px 30px;
}

/* ----------------------------------------------------- */
/*  LAYOUT GLOBAL                                        */
/* ----------------------------------------------------- */

.app-body {
    background: linear-gradient(180deg, #f8f9ff 0%, #f4f6fb 100%);
}

.cericar-navbar {
    background: rgba(34, 34, 48, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding-top: 12px;
    padding-bottom: 12px;
}

.cericar-navbar .navbar-brand,
.cericar-navbar .nav-link,
.cericar-navbar .navbar-toggler {
    color: #fff !important;
}

.brand-logo {
    font-weight: 800;
    letter-spacing: 0.4px;
    font-size: 1.25rem;
}

.cericar-navbar .nav-link {
    font-weight: 500;
    opacity: 0.95;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.cericar-navbar .nav-link:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.logout-btn {
    background: transparent;
    border: none;
    color: #fff !important;
    padding: 8px 12px;
}

.breadcrumbs-wrap {
    margin-bottom: 20px;
}

.site-footer {
    background: #ffffff;
    border-top: 1px solid #ececf5;
    padding: 18px 0;
    margin-top: 50px;
}

/* ----------------------------------------------------- */
/*  PAGE D'ACCUEIL                                       */
/* ----------------------------------------------------- */

.cericar-home {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-section {
    margin-bottom: 40px;
}

.hero-card {
    background: linear-gradient(135deg, #6c63ff 0%, #8b7dff 100%);
    color: #fff;
    border-radius: 28px;
    padding: 55px 35px;
    box-shadow: 0 20px 45px rgba(108, 99, 255, 0.22);
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.15;
}

.hero-title span {
    color: #ffffff;
}

.hero-subtitle {
    max-width: 760px;
    margin: 0 auto 28px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-btn,
.hero-btn-outline {
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
}

.hero-btn {
    background: #fff;
    color: #5b52e8;
    border: none;
}

.hero-btn:hover {
    background: #f4f4ff;
    color: #4d45d8;
}

.hero-btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.45);
}

.hero-btn-outline:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.home-features {
    margin-bottom: 35px;
}

.feature-card {
    height: 100%;
    background: #fff;
    border: 1px solid #ececf5;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #f2f0ff;
    color: #6c63ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
}

.feature-card h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #3f3f4d;
    margin-bottom: 14px;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 18px;
}

.feature-link {
    color: #6c63ff;
    font-weight: 700;
    text-decoration: none;
}

.feature-link:hover {
    color: #564ee0;
    text-decoration: underline;
}

.home-info {
    margin-bottom: 20px;
}

.info-card {
    background: #fff;
    border: 1px solid #ececf5;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.info-card h2 {
    color: #3f3f4d;
    font-weight: 800;
    margin-bottom: 16px;
}

.info-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 14px;
}

.mini-stats {
    display: grid;
    gap: 14px;
}

.mini-stat {
    background: #f7f6ff;
    border: 1px solid #ece8ff;
    border-radius: 18px;
    padding: 18px 20px;
}

.mini-stat-number {
    display: block;
    color: #6c63ff;
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.mini-stat-label {
    color: #666;
    font-size: 0.95rem;
}

/* ----------------------------------------------------- */
/*  RECHERCHE VOYAGE                                     */
/* ----------------------------------------------------- */

.recherche-voyage-page {
    max-width: 900px;
    margin: 0 auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.recherche-voyage-page form {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    max-width: 600px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.recherche-voyage-page input,
.recherche-voyage-page button {
    width: 100%;
}

.recherche-voyage-page button {
    width: auto;
    background: #6c63ff;
    color: #fff;
    padding: 10px 22px;
    border-radius: 25px;
    border: none;
    font-weight: 600;
}

/* Tableau résultats */

.recherche-voyage-page table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.recherche-voyage-page th,
.recherche-voyage-page td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.recherche-voyage-page th {
    background: #f2f0ff;
}

/* Badges */

.badge-ok {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    background: #e8fff1;
    color: #0f7b40;
}

.badge-full {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    background: #ffecec;
    color: #cc1e1e;
}

/* Notifications */

.recherche-voyage-page #notif {
    display: none;
    max-width: 600px;
    margin: 15px auto;
}

.recherche-voyage-page #notif.alert {
    display: block;
}

/* ----------------------------------------------------- */
/*  RESPONSIVE                                           */
/* ----------------------------------------------------- */

@media (max-width: 768px) {
    .hero-card {
        padding: 38px 22px;
        border-radius: 22px;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .info-card {
        padding: 24px;
    }

    .feature-card {
        padding: 22px 20px;
    }
}