/* CSS Variables - Thème "Authentique Milwaukee" (Rouge vif, Blanc, Noir, Coins carrés) */
:root {
    --bg-color: #f4f4f4;
    /* Gris très clair pour le fond global */
    --card-bg: #ffffff;
    /* Blanc pur pour les cartes */

    --text-main: #111111;
    /* Noir très contrasté */
    --text-muted: #555555;
    /* Gris moyen */

    --primary-color: #db0011;
    /* Le Vrai Rouge Milwaukee */
    --primary-hover: #b0000d;
    /* Rouge plus foncé au survol */

    --btn-punch-in: #10b981;
    /* Vert vif pour l'action principale de poinçonner */
    --btn-punch-out: #111111;
    /* Noir pour le DÉPART */

    --border-color: #cccccc;
    /* Bordures grises standard */
    --border-radius: 0px;
    /* ZERO arrondi - Look industriel carré */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Animation transition */
    --transition: all 0.2s ease-in-out;

    /* Company Banner Colors */
    --banner-bg: #db0011;
    /* Bandeau rouge frappant */
    --banner-text: #ffffff;
    /* Texte Blanc */
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Modificateurs utilitaires */
.hidden {
    display: none !important;
}

.highlight {
    color: var(--primary-color);
}

.text-sm {
    font-size: 0.875rem;
}

.mt-4 {
    margin-top: 1rem;
}

/* Conteneurs Principaux */
.app-container {
    max-width: 480px;
    /* Taille optimale style mobile/app */
    margin: 0 auto;
    min-height: 100vh;
    background-color: var(--bg-color);
    position: relative;
}

.screen {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- COMPANY BANNER --- */
.company-banner {
    background-color: var(--banner-bg);
    color: var(--banner-text);
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
    animation: slideDown 0.4s ease-out;
    border-bottom: 2px solid var(--primary-color);
    /* Optionnel: un petit dégradé au lieu d'une couleur unie:
    background: linear-gradient(90deg, #1e293b 0%, #334155 100%); */
}

/* --- ÉCRAN LOGIN --- */
#login-screen {
    justify-content: flex-start;
    align-items: center;
    padding: 4rem 1rem 1rem 1rem;
}

.login-card {
    background: var(--card-bg);
    width: 100%;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.login-card h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 0.25rem;
}

.subtitle {
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 2rem;
}

.input-group {
    text-align: left;
    margin-bottom: 1.25rem;
}

.input-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.input-group input,
.input-group textarea {
    display: block;
    width: 100%;
    min-width: 100%;
    /* Important pour iOS Safari */
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background-color: #ffffff;
    /* Fond blanc pour inputs */
    color: var(--text-main);
}

.input-group input[type="date"]::-webkit-calendar-picker-indicator,
.input-group input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

.input-group input[type="date"],
.input-group input[type="time"] {
    max-width: 250px;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(219, 0, 17, 0.2);
    background-color: #fafafa;
}

.input-row {
    display: flex;
    gap: 1rem;
}

.input-row .input-group {
    flex: 1;
}

/* Boutons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    font-family: inherit;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    /* Texte blanc sur fond rouge */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#btn-start-shift {
    background-color: var(--btn-punch-in) !important;
}

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

#btn-start-shift:hover {
    background-color: #059669 !important;
    /* Vert foncé au survol */
}

.btn-secondary {
    background-color: #eeeeee;
    color: var(--text-main);
    border: 1px solid #cccccc;
    font-weight: 700;
}

.btn-secondary:hover {
    background-color: #dddddd;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    color: var(--text-main);
    border-color: var(--text-muted);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-icon {
    padding: 0.5rem;
    background: transparent;
    color: var(--text-muted);
}

.btn-icon:hover {
    color: var(--primary-color);
    background-color: #e0e7ff;
}

/* Quart en Direct (Live Indicator) */
.live-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #ef4444;
    /* Rouge Tailwind */
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(239, 68, 68, 0.4);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* --- ÉCRAN PRINCIPAL EMPLOYÉ --- */
.app-header {
    background: var(--card-bg);
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 50;
    /* Augmenté */
}

/* Force les boutons de menu au premier plan */
#menu-btn,
#menu-btn-history {
    position: relative;
    z-index: 100;
}

.app-header h2 {
    font-size: 1.25rem;
    font-weight: 800;
}

.user-email {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.app-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: 80px;
    /* Espace pour la barre de navigation du bas */
}

/* --- BARRE DE NAVIGATION DU BAS (EMPLOYÉ) --- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0 1.5rem 0;
    /* Un peu plus de padding en bas pour iOS safe area */
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.03);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    flex: 1;
    cursor: pointer;
    transition: var(--transition);
}

.nav-item svg {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transition: var(--transition);
}

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

.nav-item.active svg {
    stroke-width: 2.5;
    background-color: #eeeeee;
    /* Gris très clair */
    color: var(--primary-color);
    padding: 4px;
    border-radius: 4px;
    width: 32px;
    height: 32px;
}

/* Widget Horloge */
.clock-widget {
    text-align: center;
    margin-bottom: 2rem;
}

.clock-widget .time {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-main);
    letter-spacing: -0.05em;
    font-variant-numeric: tabular-nums;
}

.clock-widget .date {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.25rem;
    text-transform: capitalize;
}

/* --- SECTION MANUELLE --- */
.manual-section {
    margin-bottom: 2rem;
}

.manual-section h3 {
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.manual-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.feedback-toast {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
    animation: fadeIn 0.3s ease;
}

.feedback-success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.feedback-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}




/* Historique */
.history-section h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.history-container {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.empty-state {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    padding: 1rem 0;
}

.punch-record {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.punch-record:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.record-info {
    display: flex;
    flex-direction: column;
}

.badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    width: fit-content;
}

.badge-in {
    background: #dcfce7;
    color: #166534;
}

.badge-out {
    background: #fee2e2;
    color: #991b1b;
}

.badge-manual {
    background: #e0e7ff;
    color: #4338ca;
}

.record-time {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
}

.record-location {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.record-desc {
    font-size: 0.75rem;
    color: var(--text-main);
    margin-top: 0.25rem;
    font-style: italic;
}

/* HISTORIQUE - VUE EN CARTES (MOBILE) */
.history-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.history-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}

.history-card-date {
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-main);
}

.history-card-duration {
    font-weight: 800;
    color: var(--primary-color);
    background: #e0e7ff;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.history-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.history-card-time {
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.history-card-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
}

.history-card-desc {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-main);
    background: #f8fafc;
    padding: 0.6rem;
    border-radius: 6px;
    margin-top: 0.25rem;
    border-left: 3px solid var(--primary-color);
}

.history-card-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--border-color);
    position: relative;
    z-index: 5;
}

/* S'assure que les icônes à l'intérieur des boutons d'action ne bloquent pas e.target */
.history-card-actions button svg {
    pointer-events: none;
}


/* --- ADMIN SCREEN --- */
.admin-body {
    background-color: #f1f5f9;
    /* Légèrement différent pour l'admin */
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--card-bg);
    padding: 1.5rem 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-header p {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.admin-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.stat-card h4 {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
}

.table-container {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow-x: auto;
}

.table-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.table-container th {
    background-color: #f8fafc;
    padding: 1rem 1.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.table-container td {
    padding: 1.25rem 1.5rem;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--border-color);
}

.table-container tr:last-child td {
    border-bottom: none;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
    text-align: center;
}

/* Spinners */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    position: absolute;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

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

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

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

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

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

/* --- CSS DE LA PAGE VITRINE (LANDING PAGE) --- */

.landing-body {
    background-color: #ffffff;
    overflow-x: hidden;
}

/* --- ÉCRAN PROFIL EMPLOYÉ --- */
#profile-screen {
    background-color: var(--bg-color);
}

.profile-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
}

.profile-avatar-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #818cf8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    text-transform: uppercase;
}

.profile-info-group {
    margin-bottom: 1.5rem;
}

.profile-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.profile-email {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.profile-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 1.5rem 0;
}

.profile-company-info {
    text-align: left;
    background-color: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    border: 1px dashed var(--border-color);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.info-row:not(:last-child) {
    border-bottom: 1px solid #e2e8f0;
}

.info-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
}

.info-value {
    font-size: 0.875rem;
    color: var(--text-main);
}

.font-bold {
    font-weight: 700;
}

.font-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    letter-spacing: 1px;
}

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

/* Navbar */
.landing-nav {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.landing-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.landing-logo .highlight {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-login {
    color: var(--text-main) !important;
    font-weight: 600 !important;
}

.nav-cta {
    padding: 10px 20px;
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background-color: #e0e7ff;
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), #818cf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.hero-guarantee {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Hero Mockup Animé */
.hero-image-wrapper {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 320px;
    height: 600px;
    background-color: var(--bg-color);
    border: 12px solid #1e293b;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    background-color: white;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid var(--border-color);
}

.mockup-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.mockup-time {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-top: 20px;
}

.mockup-btn {
    width: 100%;
    padding: 15px;
    border-radius: 50px;
    text-align: center;
    color: white;
    font-weight: bold;
}

.mockup-btn.green {
    background-color: var(--btn-punch-in);
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39);
}

.mockup-history-card {
    width: 100%;
    height: 60px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

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

.feature-card {
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: left;
    transition: var(--transition);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
}

.bg-indigo {
    background-color: var(--primary-color);
}

.bg-green {
    background-color: var(--btn-punch-in);
}

.bg-red {
    background-color: var(--btn-punch-out);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Pricing Section */
.admin-content {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background-color: var(--bg-light);
    padding-bottom: 80px;
    /* Espace pour la barre de navigation du bas */
}

.pricing-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background-color: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-sm);
    text-align: left;
    position: relative;
    border: 1px solid var(--border-color);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
}

.plan-name {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

.plan-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 10px;
}

.plan-period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: normal;
}

.plan-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.5;
}

.plan-features {
    list-style: none;
    margin-bottom: 40px;
}

.plan-features li {
    margin-bottom: 15px;
    color: var(--text-main);
    position: relative;
    padding-left: 30px;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--btn-punch-in);
    font-weight: bold;
}

/* Bottom CTA & Footer */
.bottom-cta-section {
    padding: 100px 0;
    background-color: white;
    text-align: center;
}

.bottom-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.bottom-cta-section p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.landing-footer {
    background-color: #0f172a;
    color: white;
    padding: 50px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-logo .highlight {
    color: var(--primary-color);
}

.footer-copy {
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }

    .pricing-card.popular {
        transform: scale(1);
    }
}