/* Extrait automatiquement de connexion.php */
* { box-sizing: border-box; }

        body {
            margin: 0;
            font-family: Arial, sans-serif;
            background: #f5f1ea;
            color: #2b2b2b;
        }

        .search-zone { background: #3e2f23; padding: 12px 16px; }
        .search-bar { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: auto auto 1fr auto auto auto; gap: 12px; align-items: center; }
        .search-form { display: block; width: 100%; }
        .search-box { width: 100%; background: #fff; border-radius: 30px; padding: 6px 8px 6px 18px; display: flex; align-items: center; justify-content: space-between; color: #777; font-size: 15px; min-height: 48px; gap: 10px; }
        .search-box input { border: none; outline: none; width: 100%; font-size: 15px; background: transparent; color: #333; }
        .search-box button { border: none; background: #3e2f23; color: #fff; border-radius: 22px; padding: 10px 14px; cursor: pointer; font-weight: bold; }
        .top-action, .top-select { background: #fff; color: #3e2f23; border: none; border-radius: 30px; min-height: 48px; padding: 0 16px; font-size: 14px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; min-width: 120px; }
        .top-select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #3e2f23 50%), linear-gradient(135deg, #3e2f23 50%, transparent 50%); background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 32px; }
        .top-menu-button { background: rgba(0,0,0,0.55); color: #fff; border: none; border-radius: 8px; padding: 10px 12px; font-size: 22px; cursor: pointer; min-height: 48px; min-width: 48px; display: inline-flex; align-items: center; justify-content: center; }

        .page-hero { background: linear-gradient(135deg, #eadfce, #e0cfbb); padding: 36px 20px; }
        .page-hero-inner { max-width: 1150px; margin: 0 auto; }
        .page-hero h1 { margin: 0 0 10px 0; font-family: 'Montserrat', sans-serif; font-size: 38px; font-weight: 800; color: #2f241b; }
        .page-hero p { margin: 0; max-width: 760px; font-size: 17px; line-height: 1.7; color: #4e4137; }

        .sidebar { position: fixed; top: 0; left: -320px; width: 320px; height: 100%; background: #3e2f23; color: white; z-index: 9999; padding: 20px; transition: left 0.3s ease; overflow-y: auto; }
        .sidebar.open { left: 0; }
        .sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
        .sidebar-title { font-family: 'Oswald', sans-serif; font-size: 24px; }
        .close-btn { background: none; border: none; color: white; font-size: 28px; cursor: pointer; }
        .sidebar a { display: block; color: white; text-decoration: none; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.15); font-weight: bold; }
        .sidebar-group-title { margin-top: 18px; margin-bottom: 8px; font-size: 13px; text-transform: uppercase; opacity: 0.75; letter-spacing: 1px; }
        .overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.35); z-index: 9998; display: none; }
        .overlay.show { display: block; }

        .auth-section { max-width: 1150px; margin: 0 auto; padding: 30px 20px 40px 20px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; }
        .auth-card, .benefits-card { background: #fff; border-radius: 22px; padding: 24px; box-shadow: 0 5px 14px rgba(0,0,0,0.08); }
        .auth-card h2, .benefits-card h2 { margin: 0 0 16px 0; font-family: 'Montserrat', sans-serif; font-size: 28px; font-weight: 800; color: #2f241b; }

        /* Bandeau article en attente */
        .panier-attente-info { background: #dff0df; color: #245b2a; border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; font-weight: 700; font-size: 15px; }

        .message-box { background: #efe6da; color: #3e2f23; border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; font-weight: 700; }
        .form-group { margin-bottom: 18px; }
        .form-group label { display: block; margin-bottom: 8px; font-weight: 700; color: #3e2f23; }
        .form-group input { width: 100%; padding: 14px; border: 1px solid #d9cdbc; border-radius: 14px; background: #fcfaf7; font-size: 15px; }
        .form-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
        .form-links a { color: #3e2f23; text-decoration: none; font-weight: 700; font-size: 14px; }
        .btn-primary { display: inline-block; width: 100%; border: none; border-radius: 999px; background: #3e2f23; color: #fff; padding: 15px 20px; font-size: 15px; font-weight: 700; cursor: pointer; }
        .register-box { margin-top: 20px; padding-top: 18px; border-top: 1px solid #eadfce; }
        .register-box p { margin: 0 0 12px 0; color: #5a4d43; line-height: 1.6; }
        .btn-secondary { display: inline-block; background: #efe6da; color: #3e2f23; text-decoration: none; padding: 12px 18px; border-radius: 999px; font-weight: 700; }

        .benefit-list { display: grid; gap: 14px; }
        .benefit-item { background: #f7f2eb; border-radius: 16px; padding: 16px; }
        .benefit-item strong { display: block; margin-bottom: 6px; color: #2f241b; font-size: 17px; }
        .benefit-item span { color: #5e5147; line-height: 1.6; font-size: 14px; }
        .promo-box { margin-top: 18px; background: linear-gradient(135deg, #3e2f23, #5c4737); color: #fff; border-radius: 18px; padding: 18px; }
        .promo-box strong { display: block; font-size: 24px; margin-bottom: 8px; font-family: 'Oswald', sans-serif; letter-spacing: 1px; }
        .promo-box p { margin: 0; line-height: 1.6; font-size: 14px; color: #f4ede5; }

        footer { background: #3e2f23; color: #fff; text-align: center; padding: 18px; }

        @media (max-width: 900px) { .search-bar { grid-template-columns: 1fr 1fr; } .auth-section { grid-template-columns: 1fr; } }
        @media (max-width: 640px) { .search-bar { grid-template-columns: 1fr; } .page-hero h1 { font-size: 30px; } .auth-card h2, .benefits-card h2 { font-size: 24px; } }