.media-novakult-title {
    font-family: 'Novakult', var(--font-title), 'Segoe UI', Arial, sans-serif;
    font-size: 2.7rem;
    color: var(--green);
    text-align: center;
    margin-bottom: 0;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: none;
    background: none;
    box-shadow: none;
    text-shadow: none;
}
.media-title {
    font-family: var(--font-title);
    font-size: 3.1rem;
    color: var(--green);
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 0.04em;
    font-weight: 700;
    text-shadow: 0 2px 12px #4e7c5a33, 0 1px 0 #fff;
    text-transform: uppercase;
    background: linear-gradient(90deg, #f7f3ed 60%, #e6d8c3 100%);
    border-radius: 18px;
    padding: 18px 0 12px 0;
    box-shadow: 0 2px 16px #4e7c5a22;
}
@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans:wght@700&display=swap');
:root {
    --font-title: 'Alumni Sans', 'Segoe UI', 'Roboto', Arial, sans-serif;
    --white: #fff;
    --black: #181818;
    --green: #4e7c5a;
    --beige-light: #f7f3ed;
    --beige-dark: #bfa98a;
    --radius: 12px;
    --shadow: 0 4px 24px 0 rgba(60,40,20,0.10);
    --transition: 0.22s cubic-bezier(.4,0,.2,1);
    --focus: 0 0 0 3px #4e7c5a33;
}

/* === Styles spécifiques aux formulaires médias === */
.media-form {
    background: linear-gradient(120deg, #f7f3ed 0%, #e6d8c3 100%);
    padding: 38px 38px 28px 38px;
    border: none;
    border-radius: 22px;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    max-width: 670px;
    margin: 0 auto 38px auto;
    box-shadow: 0 8px 32px 0 rgba(60,40,20,0.13);
    border: 2.5px solid var(--beige-dark);
}

.media-form h1 {
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: var(--green);
    text-align: center;
    margin-bottom: 18px;
    letter-spacing: 0.03em;
    font-weight: 700;
    text-shadow: 0 2px 8px #4e7c5a22;
    text-transform: uppercase;
}

.form-section {
    margin-bottom: 18px;
    background: #fff9f3;
    border-radius: 16px;
    box-shadow: 0 2px 12px #bfa98a22;
    padding: 18px 28px 8px 28px;
    border: 1.5px solid var(--green);
}

.form-group {
    margin-bottom: 6px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.media-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 7px;
    color: var(--green);
    letter-spacing: 0.01em;
    font-size: 1.08rem;
}

.media-form input,
.media-form select,
.media-form textarea {
    width: 98%;
    max-width: 520px;
    min-width: 120px;
    padding: 12px 13px;
    border: 1.5px solid var(--green);
    border-radius: var(--radius);
    background: var(--white);
    font-size: 1rem;
    transition: border var(--transition), box-shadow var(--transition);
    box-shadow: 0 1px 4px #4e7c5a11;
    margin-bottom: 2px;
}

.media-form input:focus,
.media-form select:focus,
.media-form textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px #4e7c5a33, 0 1px 4px #4e7c5a22;
}

.media-form textarea {
    resize: vertical;
}

.current-image {
    background: linear-gradient(100deg, #f7f3ed 60%, #e6d8c3 100%);
    padding: 18px 24px 16px 24px;
    border: 2.5px solid var(--green);
    border-radius: 18px;
    margin-bottom: 16px;
    box-shadow: 0 4px 18px #4e7c5a33;
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: 140px;
    justify-content: flex-start;
    position: relative;
}

.current-image img {
    display: block;
    max-width: 150px;
    max-height: 200px;
    border: 2.5px solid var(--green);
    border-radius: 14px;
    margin: 0;
    box-shadow: 0 6px 24px #4e7c5a33;
    background: #fff;
    transition: box-shadow 0.22s cubic-bezier(.4,0,.2,1);
}
.current-image img:hover {
    box-shadow: 0 8px 32px #4e7c5a55;
}

.current-image .btn-remove-image {
    background: #ffe9e9; /* light red background */
    color: #b71c1c; /* deep red icon color */
    border: 2px solid #f1d6d6; /* subtle border */
    padding: 0.45rem 0.58rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 4px 18px #00000011;
    height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
    position: static; /* place next to the image instead of overlay */
}
.current-image .btn-remove-image:hover {
    background: #ffc9c9;
    color: #7a1212;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px #00000022;
}

.actions {
    display: flex;
    gap: 22px;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.media-form button[type="submit"] {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--green);
    min-width: 140px;
    text-align: center;
    background: #f7f3ed;
    color: var(--green);
}
.media-form button[type="submit"]:hover {
    background: var(--green);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(56, 142, 60, 0.2);
}

/* === Style plus joli pour le bouton "Annuler" dans les réservations ===
   Cette règle cible uniquement le bouton présent dans le tableau de la page
   réservations afin d'améliorer son apparence sans toucher aux autres boutons.
*/
.dashboard-section .dashboard-table form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 0.9rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.98rem;
    background: linear-gradient(180deg, #ef5350 0%, #d32f2f 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(211, 47, 47, 0.18);
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}
.dashboard-section .dashboard-table form button[type="submit"]:hover {
    transform: translateY(-2px);
    filter: brightness(0.94);
    box-shadow: 0 10px 24px rgba(211, 47, 47, 0.22);
}
.dashboard-section .dashboard-table form button[type="submit"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(211,47,47,0.16);
}

@media (max-width: 640px) {
    .dashboard-section .dashboard-table form button[type="submit"] {
        padding: 0.45rem 0.7rem;
        font-size: 0.95rem;
    }
}

/* Centrer le bouton Annuler dans la colonne Action des réservations */
.dashboard-section .dashboard-table td.action-cell {
    text-align: center;
    vertical-align: middle;
}

.dashboard-section .dashboard-table td.action-cell form {
    display: inline-block; /* permet au bouton inline-flex d'être centré par text-align */
}

/* Règle très spécifique pour garantir que les boutons d'action dans les formulaires
   admin (Ajout / Édition) utilisent exactement le même style. */
.media-form .actions > button[type="submit"],
.media-form .actions > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid var(--green);
    min-width: 160px;
    text-align: center;
    background: #f7f3ed;
    color: var(--green);
}
.media-form .actions > button[type="submit"]:hover,
.media-form .actions > a:hover {
    background: var(--green);
    color: white;
    transform: translateY(-1px);
}

/* Centrer le bouton 'Choisir' présent dans les form-group en haut du formulaire d'ajout */
.media-form .form-group .choose-btn {
    align-self: center; /* centre dans le flex column */
    margin-top: 8px;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-weight: 700;
    border: 2px solid var(--green);
    background: #f7f3ed;
    color: var(--green);
    cursor: pointer;
    transition: all 0.2s ease;
}
.media-form .form-group .choose-btn:hover {
    background: var(--green);
    color: #fff;
    transform: translateY(-1px);
}

.media-form a {
    color: #b22;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
    margin-left: 2px;
    border: 2px solid var(--green);
    background: #f7f3ed;
}
.media-form a:hover {
    text-decoration: underline;
    background: var(--green);
    color: #fff;
    border-color: #388e3c;
}

.small {
    font-size: 0.92rem;
    color: #388e3c;
    margin-top: 4px;
    font-weight: 500;
}

@media (max-width: 640px) {
    .form-section {
        padding: 4px 2vw 2px 2vw;
    }
    .media-form h1 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    .media-form button[type="submit"] {
        padding: 10px 6vw;
        font-size: 1rem;
    }
    .current-image img {
        max-width: 40vw;
        max-height: 60px;
    }
    .current-image {
        gap: 8px;
    }
}

@media (max-width: 640px) {
    .current-image .btn-remove-image {
        height: 36px;
        min-width: 36px;
        font-size: 1rem;
        padding: 0.3rem 0.36rem;
        margin-left: 8px;
    }
}
/* Style titre principal comme NovaKult */
.hero-title {
    
    font-family: 'Alumni Sans', bold;
    font-size: 2.7rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-align: center;
}
/* Centrage boutons et badge pour l'utilisateur courant dans admin/users */
.self-user-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 90px;
    width: 100%;
}
.self-user-btns {
    display: flex;
    flex-direction: row;
    gap: 1em;
    justify-content: center;
    align-items: center;
}
.self-user-text {
    margin-top: 0.7em;
    text-align: center;
    font-size: 1em;
    color: #222;
    font-weight: 500;
}
.user-action-btn {
    font-size: 2.7em;
    width: 2.7em;
    height: 2.7em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    margin: 0 0.2em;
    cursor: pointer;
    transition: transform 0.2s;
    vertical-align: middle;
}
.user-action-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-color);
}
.user-action-btn:hover {
    transform: scale(1.18);
    background: none;
}
.crown-stack {
    position: relative;
    display: inline-block;
    width: 1.3em;
    height: 1.3em;
    vertical-align: middle;
}
.crown-stack .crown {
    font-size: 1em;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}
.crown-stack .cross {
    font-size: 0.8em;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #b91c1c;
    pointer-events: none;
    line-height: 1;
}
.user-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    justify-items: center;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 8px;
    min-width: 90px;
    min-height: 90px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.dashboard-donut-lg text {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    stroke: none;
    paint-order: stroke fill;
    letter-spacing: 0.5px;
}
.dashboard-donut-lg text[fill="#b91c1c"] {
    filter: drop-shadow(0 1px 2px #fff);
}
.dashboard-donut-lg text[fill="#222"],
.dashboard-donut-lg text[fill="#18181b"] {
    filter: drop-shadow(0 1px 2px #fff);
}
.dashboard-late-table td, .dashboard-late-table th {
    font-size: 1.1em;
}
.dashboard-late-table th {
    background: #b91c1c;
    color: #fff;
}
.dashboard-late-table td[style*="color:#b91c1c"] {
    background: #fee2e2;
}
/* Support via class instead of inline styles: tr.is-late */
.dashboard-late-table tr.is-late {
    background: #fee2e2;
    color: #b91c1c;
    font-weight: bold;
}
/* Dashboard KPI grid : 3 camemberts par ligne, responsive */
.dashboard-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2rem;
    justify-items: center;
    margin-bottom: 2rem;
}
.dashboard-donut-lg {
    min-width: 240px;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-donut-link {
    display: inline-block;
    border-radius: 50%;
    transition: box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px 0 #e5e7eb;
    outline: none;
    border: 2.5px solid #60a5fa;
    background: #f8fafc;
}
.dashboard-donut-link:focus,
.dashboard-donut-link:hover {
    box-shadow: 0 4px 16px 0 #60a5fa55;
    transform: scale(1.04);
    cursor: pointer;
    background: #f1f5f9;
    border-color: #2563eb;
}
.dashboard-donut-link svg {
    display: block;
}
.dashboard-donut-lg text {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
    stroke: none;
    paint-order: stroke fill;
    letter-spacing: 0.5px;
}
.dashboard-donut-lg text[font-size="26"],
.dashboard-donut-lg text[font-size="14"],
.dashboard-donut-lg text[font-size="11"] {
    font-weight: 900;
}
@media (max-width: 900px) {
    .dashboard-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .dashboard-kpi-grid {
        grid-template-columns: 1fr;
    }
}
/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #5D866C;
    --primary-hover: #57966e;
    --secondary-color: #C2A68C;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --background-color: #E6D8C3;
    --text-color: #2b2b2b;
    --border-color: #e5e7eb;
    --white: #ffffff;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --black: #111827;
}

body {
    font-family: 'Segoe UI', Tahoma, 'Geneva', Verdana, sans-serif, 'Alumni Sans', 'Archivo';
    line-height: 1.6;
    color: var(--text-color);
    background-color: #E6D8C3;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header et Navigation */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
    height: 80px;
    min-height: 80px;
}

/* User badge + logout alignment in header */
.user-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* center vertically within the navbar height */
    height: 100%;
    gap: 6px;
}
.user-area p {
    margin: 0;
    font-weight: 700;
}
.user-area .logout-link {
    text-decoration: none;
    color: inherit;
    font-weight: 700;
    font-size: 0.95rem;
}

.nav-brand a {
    font-family: 'Alumni Sans', italic;
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-brand-name {
    font-family: 'Alumni Sans', italic;
    margin-left: 50px;
    /* Pourquoi le font-size agrandit le header c'est insuportable */
    font-size: 3.75rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    line-height: 1;
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 5rem;
}

.nav-menu a {
    position: relative;
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

/* Ligne de soulignement */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

/* Animation au survol */
.nav-menu a:hover::after {
    width: 100%;
}

/* Style pour le lien actif */
.nav-menu a.active {
    color: var(--primary-color);
}

/* Ligne permanente pour le lien actif */
.nav-menu a.active::after {
    width: 100%;
    background-color: var(--primary-color);
}

/* Animation au survol du lien actif */
.nav-menu a.active:hover::after {
    width: 100%;
}
.nav-menu a {
    position: relative;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    padding: 5px 10px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    width: 100%;
    background-color: var(--primary-color);
}

.nav-menu a.active:hover {
    color: var(--primary-color-dark);
}

/* Main Content */
.main-content {
    flex: 1;
    padding-top: 80px;
    /* Compensation pour le header fixed */
    padding-bottom: 0;
    margin-bottom: 0;
    position: relative;
}

/* Hero Section */
.hero {
    /* video background container */
    position: relative;
    overflow: hidden;
    background-color: #0c120c; /* fallback color */
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    /* ensure hero occupies a large visual area so the video fills it */
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::after {
    /* subtle overlay to ensure text is readable over the video */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(12,18,12,0.45), rgba(12,18,12,0.25));
    z-index: 1;
    pointer-events: none;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: saturate(0.95) contrast(0.95);
}

.hero .hero-content { position: relative; z-index: 2; }

@media (min-width: 1200px) {
    .hero { min-height: 75vh; }
}
@media (max-width: 640px) {
    .hero { min-height: 48vh; padding: 3rem 0; }
}

.hero-content h1 {
    font-family: 'Alumni Sans', bold;
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.hero-subtitle {
    font-family: 'Archivo', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 100
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.welcome-message {
    font-family: 'archivo', sans-serif;
    font-weight: 100;
    font-size: 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    display: inline-block;
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Sections */
.features {
    padding: 4rem 0;
    background: var(--white);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 0.75rem;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card i {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Getting Started */
.getting-started {
    padding: 4rem 0;
    background: var(--background-color);
}

.getting-started h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* Page Header */
.page-header {
    background: var(--white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--text-color);
}

/* Content Grid */
.content {
    padding: 2rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.content-main {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
}

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

.info-box {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
}

.info-box h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Formulaires */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Authentification */
.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--primary-color);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

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

/* Messages Flash */
.flash-messages-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    border: 1px solid transparent;
    font-weight: 500;
    box-shadow: var(--shadow);
}

.alert-success {
    background-color: #d1fae5;
    border-color: var(--success-color);
    color: #065f46;
}

.alert-error {
    background-color: #fee2e2;
    border-color: var(--error-color);
    color: #991b1b;
}

.alert-warning {
    background-color: #fef3c7;
    border-color: var(--warning-color);
    color: #92400e;
}

/* Page d'erreur */
.error-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-color);
}

.error-content {
    text-align: center;
    max-width: 500px;
}

.error-icon {
    font-size: 4rem;
    color: var(--error-color);
    margin-bottom: 1rem;
}

.error-content h1 {
    font-size: 6rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.error-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.error-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

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

.footer {
    background: #5D866C;
    padding: 5px;
    margin-top: 0;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

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

.footer-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu a {
    font-family: 'Alumni Sans', sans-serif;
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--secondary-color);
}

.footer-info {
    text-align: right;
    font-family: 'Archivo', sans-serif;
    font-size: 0.9rem;
    color: var(--text-color-light);
}

.footer-info p {
    margin: 0.2rem 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

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

/* Code blocks */
pre {
    background: #f8f8f8;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1rem 0;
}

code {
    background: #f1f5f9;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 2rem;
    }

    .features h2,
    .getting-started h2 {
        font-size: 2rem;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .error-actions {
        flex-direction: column;
    }
}

/*Interface Admistrateur**********************************************************************************************************/
/* *********************************NAV BAR ***************************/
.navbar-admin {
    display: flex;
    justify-content: space-between;
    background-color: rgb(196, 196, 196);
    align-items: center;
    position: sticky;
    top: 0;
    /* Hauteur du header principal */
    z-index: 99;
    /* Place la navbar admin sous le header */
    width: 100%;
}

.header {
    position: fixed;
    /* Change sticky en fixed pour un positionnement absolu */
    width: 100%;
    top: 0;
    z-index: 100;
}

.nav-menu-admin {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-top: 20px;
}

.nav-menu-admin a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu-admin a:hover {
    color: var(--primary-color);
}

/* ********************************* BARRE DE RECHERCHE ADMIN ********************************* */

.media-search-admin {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 1.5rem;
    background:#5D866C;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    position: sticky;
    top: 0;
    z-index: 101;
    /* Au-dessus du header (z-index: 100) pour rester visible lors du scroll */
    flex-wrap: nowrap;
}

/* Wrapper pour la checkbox et son label */

.checkbox-wrapper-admin {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.checkbox-wrapper-admin:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.checkbox-wrapper-admin label {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

/* Style personnalisé pour la checkbox */

.media-search-admin input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin: 0;
}

.media-search-admin input[type="checkbox"]:hover {
    border-color: #fff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.media-search-admin input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
}

.media-search-admin input[type="checkbox"]::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.media-search-admin input[type="checkbox"]:checked::after {
    transform: translate(-50%, -50%) scale(1);
}
.media-search-admin input[type="text"],

.media-search-admin select,

.media-search-admin input[type="submit"] {
    height: 50px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    color: #1e293b;
}

/* Doubler la taille de la barre de recherche */

.media-search-admin input[type="text"] {
    flex: 2;
    min-width: 250px;
}

/* Réduire de moitié la barre Type */

.media-search-admin select#media_type {
    width: 140px;
    flex-shrink: 0;
}

/* Taille du select Statut */

.media-search-admin select#status {
    width: 180px;
    flex-shrink: 0;
}

/* Bouton Reset */

.media-search-admin .reset-btn-admin {
    width: 50px;
    flex-shrink: 0;
}

/* Bouton Rechercher */

.media-search-admin input[type="submit"] {
    width: auto;
    min-width: 150px;
    flex-shrink: 0;
}

.media-search-admin input[type="text"]::placeholder {
    color: #94a3b8;
}

.media-search-admin input[type="text"]:focus,

.media-search-admin select:focus {
    border-color: #fbbf24;
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.25);
    outline: none;
    background: #fff;
    transform: translateY(-2px);
}

.media-search-admin select {
    background-color: rgba(255, 255, 255, 0.95);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.media-search-admin select optgroup {
    font-weight: 700;
    font-style: normal;
    color: #667eea;
    background: #f3f4f6;
    padding: 0.5rem 0;
}

/* Masquer les options et optgroups */

.media-search-admin select option[style*="display: none"],

.media-search-admin select optgroup[style*="display: none"] {
    display: none !important;
}

.media-search-admin input[type="submit"] {
    background: linear-gradient(deg, #C2A68C 0%, #5D866C 100%);
    color: var(--text-color);
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px #FFFFFF;
}

.media-search-admin input[type="submit"]:hover {
    background: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px #FFFFFF;
}

.media-search-admin input[type="submit"]:active {
    transform: translateY(0);
}

.media-search-admin .reset-btn-admin {
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.media-search-admin .reset-btn-admin:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px); 
    text-decoration: none;
}

/* ********************************* FIN BARRE DE RECHERCHE ADMIN ********************************* */

/* FIN ADMINISTRATEUR */

/* Style de base pour les badges de statut admin */
.badge-status-admin {
    padding: 5px 12px;
    border-radius: 6px;
    color: white;
    font-size: 0.85rem;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    min-width: 90px;
    text-transform: capitalize;
}

/* Couleurs des statuts pour l'interface admin */
.status-available-admin {
    background-color: #28a745;
    /* Vert */
}

.status-reserved-admin {
    background-color: #ff9807ff;
    /* Jaune/Orange */
}

.status-borrowed-admin {
    background-color: #dc3545;
    /* Rouge */
}

.form-admin-btn {
    display: inline-flex;
    gap: 5px;
}

.admin-table {

    width: 95%;
    margin: 2%;
    /* Centre le tableau */
    text-align: center;
    font-family: Helvetica, arial, sans-serif;
    border-collapse: collapse;
    background-color: white;
    overflow: hidden;
}

.admin-table thead {
    background-color: #5d866c;
    color: white;
}

.admin-table thead th {
    padding: 12px;
    border: none;
    font-weight: 600;
}

.admin-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
}

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

.admin-table tbody td {
    padding: 10px;
    border: 1px solid #e5e7eb;

}

.admin-table .actions-cell {
    text-align: center;
}

.btn-action {
    display: inline-block;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 2rem;
    border: none;
    background: none;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.btn-action:hover {
    transform: scale(1.2);
}

/* FIN TABLEAUX DES MEDIAS ADMIN *****************************************************************/

/* FORMULAIRE ADMIN AJOUT MEDIA *****************************************************************/

/* FIN FORMULAIRE EDIT */


.acceuil {
    font-family: 'Archivo', sans-serif;
    display: flex;
    flex-direction: column;
    margin-left: 30px;
    font-size: 1.6em;
    font-weight: 100;
}


.alumi-title {
    font-family: "Alumi Sans", sans-serif;
    font-weight: 400;
    font-size: 2.5rem;
}

/* Dashboard Styles */
.dashboard-main {
    padding: 2rem 0;
    background: var(--background-color);
}
.dashboard-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}
.dashboard-section {
    margin-bottom: 2.5rem;
    background: var(--white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    padding: 2rem;
}
.dashboard-section-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: left;
}
.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    background: var(--background-color);
}
.dashboard-table th, .dashboard-table td {
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    text-align: left;
}
.dashboard-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}
.dashboard-table tr:nth-child(even) {
    background: #f8fafc;
}
.dashboard-flex {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.dashboard-chart-container {
    margin-bottom: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    padding: 1rem;
}
.dashboard-donut {
    min-width: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dashboard-media-table-container {
    flex: 1;
}
.dashboard-kpi-table td small {
    color: var(--text-color);
    font-size: 0.95em;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

}

.footer-menu {
    display: flex;
    justify-content: space-around;
    text-decoration: none;
    flex-flow: row wrap;
    list-style: none;
}

.footer-menu a {
    text-decoration: none;
    color: var(--white);
}

.footer-separator {
    border: none;
    height: 4px;
    background: linear-gradient(to right, #5D866C, #E6D8C3);
    margin: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ===================== GESTION UTILISATEURS (ADMIN/USERS) ===================== */
.users-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

.user-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px -10px rgba(15, 23, 42, 0.18);
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}
.user-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px -12px rgba(15, 23, 42, 0.25);
}

.user-table {
    width: 80%;
    margin: 0 auto;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    /* border-radius supprimé */
    overflow: hidden;
}
.user-table th, .user-table td {
    padding: 1rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}
.user-table th {
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.user-table tr:last-child td {
    border-bottom: none;
}
.user-table tr:nth-child(even) {
    background: #f8fafc;
}

.user-action-btn {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    padding: 0;
    margin: 0 0.2em;
    cursor: pointer;
    transition: transform 0.2s;
    vertical-align: middle;
}
.user-action-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-color);
}
.user-action-btn:hover {
    transform: scale(1.18);
    background: none;
}

.user-status {
    display: inline-block;
    padding: 0.3em 0.9em;
    border-radius: 6px;
    font-size: 0.95em;
    font-weight: 700;
    color: #fff;
    background: #10b981;
}
.user-status.inactive {
    background: #ef4444;
}
.user-status.pending {
    background: #f59e0b;
}

.user-form {
    max-width: 500px;
    margin: 2rem auto;
    background: linear-gradient(135deg, #5D866C 0%, #C2A68C 100%);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}
.user-form label {
    display: block;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.user-form input,
.user-form select {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: none;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    background: #fff;
    color: var(--text-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: box-shadow 0.2s;
}
.user-form input:focus,
.user-form select:focus {
    outline: none;
    box-shadow: 0 0 0 3px #C2A68C55;
}
.user-form .form-actions {
    text-align: center;
}
.user-form button {
    padding: 0.7rem 2.2rem;
    border-radius: 8px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin: 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.user-form button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* ===================== GESTION UTILISATEURS (ADMIN/USERS) ===================== */
.users-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

.user-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px -10px rgba(15, 23, 42, 0.18);
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}
.user-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px -12px rgba(15, 23, 42, 0.25);
}

.user-table {
    width: 95%;
    margin: 0 auto;
    border-collapse: collapse;
    background: #fff;
    font-family: Helvetica, arial, sans-serif;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    /* border-radius supprimé */
}
.user-table th, .user-table td {
    padding: 12px;
    border: 1px solid #e5e7eb;
    text-align: center;
}
.user-table th {
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.user-table tr:last-child td {
    border-bottom: none;
}
.user-table tr:nth-child(even) {
    background: #f8fafc;
}

.user-action-btn {
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin-right: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.user-action-btn:last-child {
    margin-right: 0;
}
.user-action-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.user-status {
    display: inline-block;
    padding: 0.3em 0.9em;
    border-radius: 6px;
    font-size: 0.95em;
    font-weight: 700;
    color: #fff;
    background: #10b981;
}
.user-status.inactive {
    background: #ef4444;
}
.user-status.pending {
    background: #f59e0b;
}

.user-form {
    max-width: 500px;
    margin: 2rem auto;
    background: linear-gradient(135deg, #5D866C 0%, #C2A68C 100%);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}
.user-form label {
    display: block;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.user-form input,
.user-form select {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: none;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    background: #fff;
    color: var(--text-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: box-shadow 0.2s;
}
.user-form input:focus,
.user-form select:focus {
    outline: none;
    box-shadow: 0 0 0 3px #C2A68C55;
}
.user-form .form-actions {
    text-align: center;
}
.user-form button {
    padding: 0.7rem 2.2rem;
    border-radius: 8px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin: 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.user-form button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Réduire l'espace entre le main et le footer */
.main-content {
    padding-bottom: 0; /* Enlever le padding bottom s'il existe */
    margin-bottom: 0;  /* Enlever le margin bottom */
}

.gradient-separator {
    border: none;
    height: 5px;
    background: linear-gradient(to right, #5D866C, #E6D8C3);
    margin: 1rem 0; /* Réduire les marges verticales du séparateur */
    width: 80%;
}

.footer {
    margin-top: 0; /* Enlever le margin top du footer */
    padding-top: 0.5rem; /* Réduire le padding top du footer si nécessaire */
}

/* Confirmation page styles */
.confirmation-page {
    max-width: 720px;
    margin: 56px auto;
    background: linear-gradient(180deg, #ffffff, #fbfbfb);
    border-radius: 14px;
    padding: 28px 26px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(78,124,90,0.06);
    text-align: center;
}
.confirmation-page h1 {
    margin: 0 0 10px 0;
    font-family: var(--font-title, 'Alumni Sans', 'Segoe UI');
    color: var(--green, #4e7c5a);
    font-size: 1.6rem;
    letter-spacing: 0.02em;
}
.confirmation-page p {
    color: #333;
    margin: 8px 0 20px 0;
    line-height: 1.45;
}
.confirmation-page form {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 12px;
    flex-wrap: wrap;
}
.confirmation-page .btn {
    min-width: 140px;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    height: 44px; /* hauteur uniforme */
    line-height: 1; /* évite décalages internes */
    font-size: 1rem;
}
.confirmation-page .btn-danger {
    background: linear-gradient(180deg, #e53935, #b71c1c);
    color: #fff;
    border-color: rgba(0,0,0,0.06);
}

/* Lien Annuler stylisé en vert pour se fondre avec le thème */
.confirmation-page a.btn {
    background: linear-gradient(180deg, #4e7c5a, #2e5b3d);
    color: #fff;
    border: 1px solid rgba(46,91,61,0.12);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px; /* même hauteur que le bouton de soumission */
    padding: 0 18px; /* on gère le padding vertical via height */
}

/* Assurer que le bouton <button> et le lien <a> ont la même apparence
   quel que soit l'élément utilisé */
.confirmation-page button.btn,
.confirmation-page a.btn {
    border-radius: 10px;
    min-width: 140px;
}
.confirmation-page .btn[aria-disabled="true"],
.confirmation-page .btn.disabled {
    opacity: 0.6;
    pointer-events: none;
}

@media (max-width: 640px) {
    .confirmation-page { margin: 26px 12px; padding: 18px; }
    .confirmation-page h1 { font-size: 1.25rem; }
    .confirmation-page .btn { min-width: 120px; }
}

/* COULEUR ROLE UTILISATEUR */

.role-user {
    color: #25eb39; /* Vert vif pour les utilisateurs */
    display: flex;
    justify-content: center;
    font-weight: 700;
    background-color: #adffb5;
    padding: 5px;
    border-radius: 10px;
}

.role-admin {
    color: #dc2626; /* Rouge vif pour les administrateurs */
    display: flex;
    justify-content: center;
    font-weight: 700;
    background-color: #ff8b8b;
    padding: 5px;
    border-radius: 10px;
}

/* FIN COULEUR ROLE UTILISATEUR */
/* Espace spécifique en bas de la page gestion des utilisateurs (admin) */
.users-container {
    padding-bottom: 4rem; /* espace en bas de page */
}


