/* ------------------------------
   RESET
------------------------------ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    min-height: 100vh;
    background: url("../img/background3.png") no-repeat center center fixed;
    background-size: cover;
    color: #f5f5f5;
    position: relative;
    overflow-x: hidden;
}

/* Background glow elements */
body::before,
body::after {
    content: "";
    position: fixed;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
    filter: blur(2px);
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}
body::before {
    top: -100px;
    right: -50px;
}
body::after {
    bottom: -120px;
    left: -30px;
}

/* Links */
a {
    color: #f5f5f5;
    text-decoration: none;
    transition: opacity 0.2s ease, color 0.2s ease;
}
a:hover {
    opacity: 0.8;
}

/* ============================================
   HEADER BLACK MARKET NEON
============================================ */

.main-header {
    position: sticky;
    top: 0;
    z-index: 80;
    backdrop-filter: blur(18px);
    background: rgba(10, 10, 15, 0.9);
    border-bottom: 1px solid rgba(255, 0, 0, 0.12);
    padding: 14px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo style crime */
.logo {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ff3b3b;
    text-shadow: 0 0 12px rgba(255, 0, 0, 0.6);
}

/* Navigation container */
.nav {
    display: flex;
    gap: 14px;
}

/* Boutons navigation style Black Market */
.nav a {
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 50, 50, 0.08);
    border: 1px solid rgba(255, 60, 60, 0.25);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;

    transition: 0.2s ease;
    box-shadow: 0 0 0 rgba(255, 0, 0, 0);
}

/* Hover neon rouge */
.nav a:hover {
    border-color: rgba(255, 70, 70, 0.7);
    background: rgba(255, 60, 60, 0.18);
    box-shadow: 0 0 15px rgba(255, 20, 20, 0.35);
    transform: translateY(-2px);
}

/* Bouton déconnexion plus agressif */
.nav a:last-child {
    background: linear-gradient(90deg,#ff3b3b, #b00000);
    color: #000;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 50, 50, 0.4);
}
.nav a:last-child:hover {
    box-shadow: 0 4px 20px rgba(255, 80, 80, 0.55);
}


/* Layout container */
.main-content {
    max-width: 1100px;
    margin: 26px auto 40px;
    padding: 0 18px 40px;
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 14px 10px 22px;
    font-size: 0.8rem;
    color: #b0b0b0;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: radial-gradient(circle at top, rgba(255,255,255,0.03), transparent 60%);
}

/* ------------------------------
   CARDS & LAYOUT
------------------------------ */
.section-title {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 0.9rem;
    color: #b5b5c5;
    margin-bottom: 18px;
}

.card {
    background: radial-gradient(circle at top left, rgba(240, 1, 1, 0.025), rgba(248, 3, 3, 0.97));
    border-radius: 18px;
    padding: 18px 18px 20px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 18px 42px rgba(240, 2, 2, 0.7),
        0 0 0 1px rgba(250, 0, 0, 0.02);
    margin-bottom: 18px;
    animation: fadeInUp 0.4s ease forwards;
    transform-origin: top;
}

.card + .card {
    animation-delay: 0.05s;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 500;
}

.card-badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(233, 9, 9, 0.55);
    color: #fc0000;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ------------------------------
   FORMS & BUTTONS
------------------------------ */

form {
    margin-top: 8px;
}

label {
    display: block;
    margin: 8px 0 4px;
    font-size: 0.82rem;
    color: #c4c4d4;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 10px 11px;
    margin-bottom: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    background: radial-gradient(circle at top, rgba(255,255,255,0.02), rgba(8,8,16,0.96));
    color: #f5f5f5;
    outline: none;
    font-size: 0.88rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.08s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(255, 6, 6, 0.75);
    box-shadow: 0 0 0 1px rgba(241, 4, 4, 0.35);
    transform: translateY(-1px);
}

textarea {
    min-height: 80px;
    resize: vertical;
}

button,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #ff3b3b, #b00000);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow:
        0 12px 25px rgba(0,0,0,0.75),
        0 0 20px rgba(255, 0, 0, 0.555);
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

button:hover,
input[type="submit"]:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
    box-shadow:
        0 16px 30px rgba(0,0,0,0.85),
        0 0 26px rgba(255, 0, 0, 0.555);
}

button:active,
input[type="submit"]:active {
    transform: translateY(1px) scale(0.98);
    box-shadow:
        0 8px 16px rgba(0,0,0,0.85),
        0 0 20px rgba(255, 0, 0, 0.555);
}

/* Secondary / subtle button */
.btn-secondary {
    background: rgba(255,255,255,0.02);
    color: #f5f5f5;
    box-shadow: none;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.16);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.65);
}

/* Checkbox inline */
.form-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 0.83rem;
    color: #c4c4d4;
}
.form-inline input[type="checkbox"] {
    width: auto;
}

/* Alerts */
.alert {
    padding: 10px 12px;
    margin-bottom: 12px;
    border-radius: 12px;
    font-size: 0.85rem;
}

.alert-error {
    background: linear-gradient(135deg, rgba(178,34,34,0.09), rgba(120,0,10,0.85));
    border: 1px solid rgba(255,77,109,0.7);
    color: #ffcdd2;
}

.alert-success {
    background: linear-gradient(135deg, rgba(46,125,50,0.08), rgba(0,60,30,0.9));
    border: 1px solid rgba(129,199,132,0.7);
    color: #c8e6c9;
}

/* ------------------------------
   TABLES
------------------------------ */

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.85rem;
}

th, td {
    padding: 9px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

th {
    background: linear-gradient(90deg, rgba(15,15,26,0.9), rgba(25,25,36,0.9));
    font-weight: 500;
}

tbody tr:hover {
    background: rgba(255,255,255,0.02);
}

/* ============================================================
   🍷 BLACK MARKET — STYLE ROUGE POUR LE CATALOGUE
   ============================================================ */

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 30px;
}

/* 🟥 STYLE EXTREME RED pour les cards produit */
.product-card {
    background: radial-gradient(circle at top left,
        rgba(255,30,30,0.08),
        rgba(10,10,15,0.96)
    );
    border-radius: 18px;
    padding: 20px;
    text-align: center;

    border: 1px solid rgba(255,40,40,0.15);

    box-shadow:
        0 10px 26px rgba(0,0,0,0.8),
        0 0 15px rgba(255,0,0,0.10),
        inset 0 0 12px rgba(255,0,0,0.06);

    transition: 0.25s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,60,60,0.55);
    box-shadow:
        0 18px 40px rgba(0,0,0,0.85),
        0 0 22px rgba(255,0,0,0.5),
        inset 0 0 18px rgba(255,0,0,0.15);
}

/* 🖼 Amélioration des images */
.product-card img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    object-position: center;

    display: block;
    margin: 0 auto 16px auto;

    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.05);

    box-shadow: inset 0 0 18px rgba(255,0,0,0.15);
}

/* 🔥 Nom du produit */
.product-card h3 {
    color: #ff4040;
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-shadow: 0 0 8px rgba(255,0,0,0.4);
}

/* 💸 Prix */
.product-card .price {
    color: #ff8080;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

/* 🧮 Champ quantité */
.product-card input[type="number"] {
    width: 80px;
    margin: 0 auto 14px auto;

    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,50,50,0.25);
    border-radius: 10px;
    color: #fff;

    text-align: center;
    font-weight: 600;

    transition: 0.2s;
}

.product-card input[type="number"]:focus {
    border-color: #ff3333;
    box-shadow: 0 0 10px rgba(255,0,0,0.5);
}

/* 🔴 BOUTON RED-MARKET */
.product-card button {
    width: 100%;
    padding: 12px 0;
    border-radius: 999px;
    margin-top: 5px;

    background: linear-gradient(90deg, #ff3b3b, #b00000);
    color: #fff;
    font-weight: 700;
    border: none;

    box-shadow:
        0 8px 20px rgba(255,0,0,0.35),
        inset 0 0 12px rgba(0,0,0,0.35);

    transition: 0.2s ease;
}

.product-card button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 14px 30px rgba(255,0,0,0.55),
        inset 0 0 15px rgba(0,0,0,0.45);
}



/* ------------------------------
   LOGIN PAGE SPECIAL
------------------------------ */

.login-wrapper {
    max-width: 380px;
    margin: 40px auto 0;
    animation: fadeInUp 0.45s ease forwards;
}

.login-title {
    text-align: center;
    margin-bottom: 18px;
}
.login-title h1 {
    font-size: 1.4rem;
    font-weight: 500;
}
.login-title p {
    font-size: 0.85rem;
    color: #b0b0c5;
    margin-top: 4px;
}

/* ------------------------------
   RESPONSIVE
------------------------------ */

@media (max-width: 720px) {
    .main-header {
        padding: 10px 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .nav {
        flex-wrap: wrap;
        gap: 6px;
    }
    .main-content {
        margin-top: 20px;
        padding: 0 14px 30px;
    }
}
/* ------------------------------
   DASHBOARD PREMIUM
------------------------------ */

.dashboard {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
}

.dash-header {
    text-align: center;
    margin-bottom: 25px;
}

.dash-logo {
    width: 210px;
    height: 210px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 12px rgba(255,0,0,0.35));
}

.dash-sub {
    opacity: 0.7;
    margin-top: -5px;
}

.dash-intro {
    text-align: center;
    font-size: 1rem;
    padding: 25px;
    margin-bottom: 35px;
}

.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.dash-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.dash-box:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: rgba(255, 0, 0, 0.35) !important;
    box-shadow:
        0 20px 45px rgba(0,0,0,0.8),
        0 0 25px rgba(255,0,0,0.45);
}


a.dash-btn,
.dash-btn {
    display: inline-block !important;
    margin-top: 10px !important;
    background: linear-gradient(90deg, #f50b03, #fd1919) !important;
    padding: 10px 22px !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: opacity 0.15s !important;
}


.dash-btn:hover {
    opacity: 0.8;
}
.btn-luxe-delete {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 999px;
    color: #000;
    text-decoration: none;
    background: linear-gradient(90deg, #ff3b3b, #b00000);
    box-shadow: 0 8px 22px rgba(255, 107, 129, 0.28);
    transition: all 0.2s ease;
}

.btn-luxe-delete:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 28px rgba(255, 107, 129, 0.45);
    opacity: 0.9;
}
.pagination {
    margin-top: 25px;
    text-align: center;
}

.page-btn {
    display: inline-block;
    padding: 8px 16px;
    margin: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

.page-btn:hover {
    background: linear-gradient(90deg,#ff3b3b, #b00000);
    color: #000;
    box-shadow: 0 8px 22px rgba(255,0,0,0.35);
    transform: translateY(-2px);
}

.page-btn.active {
    background: linear-gradient(90deg,#ff3b3b, #b00000);
    color: #000;
    border-color: rgba(245,215,123,0.2);
    box-shadow: 0 8px 22px rgba(255,0,0,0.35);
}
/* ===== SELECT DARK LUXE ===== */
select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(20,20,35,0.9);
    color: #fff;
    font-size: 0.95rem;
    appearance: none;
    outline: none;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: inset 0 0 15px rgba(255,255,255,0.03);
}

/* Beautify au hover */
select:hover {
    border-color: rgba(245,215,123,0.45);
    box-shadow: 0 0 15px rgba(255,0,0,0.35);
}

/* Focus */
select:focus {
    border-color: rgba(245,215,123,0.9);
    box-shadow: 0 0 20px rgba(255,0,0,0.35);
}

/* Option dropdown */
select option {
    background: rgba(20,20,35,0.95);
    color: #fff;
    padding: 12px;
}

/* Option sélectionnée */
select option:checked {
    background: linear-gradient(90deg,#ff3b3b, #b00000);
    color: #000;
}

/* Option hover (fonctionne sur Chrome/Edge) */
select option:hover {
    background: rgba(255,255,255,0.1);
}
select {
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5.516 7.548a.625.625 0 01.884-.884l3.6 3.6 3.6-3.6a.625.625 0 11.884.884l-4.042 4.042a.625.625 0 01-.884 0L5.516 7.548z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}
.grade-badge {
    display: inline-block;
    padding: 12px 26px;
    font-size: 22px;
    font-weight: 600;
    border-radius: 40px;
    text-align: center;
    color: #fff;
    margin: 20px auto;
    box-shadow: 0 0 25px rgba(0,0,0,0.4), inset 0 0 10px rgba(255,255,255,0.1);
    backdrop-filter: blur(6px);
    letter-spacing: 0.5px;
    transform: translateY(0);
    transition: 0.25s ease-in-out;
}

.grade-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 35px rgba(0,0,0,0.6), inset 0 0 15px rgba(255,255,255,0.15);
}
.dashboard {
    text-align: center;
}
/* ========================================
   BLACK MARKET CRIMINEL - STYLE 2
======================================== */

.criminal-theme {
    padding-top: 40px;
}

/* ------------------------------
   ENTÊTE / TITRE
------------------------------ */
.dash-header-crime {
    text-align: center;
    margin-bottom: 20px;
}

.dash-logo-crime {
    width: 110px;
    opacity: 0.85;
    filter: drop-shadow(0 0 12px rgba(255,0,0,0.15));
}

.title-crime {
    margin-top: 10px;
    font-size: 1.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e04646;
    text-shadow: 0 0 12px rgba(255,0,0,0.25);
}

/* ------------------------------
   BADGE GANG
------------------------------ */
.grade-badge-crime {
    margin: 18px auto;
    display: inline-block;
    padding: 8px 22px;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid;
    border-radius: 5px;
    text-transform: uppercase;
    background: rgba(20, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    box-shadow: 0 0 15px currentColor;
}

/* ------------------------------
   INTRO / TEXTE
------------------------------ */
.intro-crime {
    background: rgba(30, 0, 0, 0.25);
    border: 1px solid rgba(255, 60, 60, 0.2);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.08);
    text-align: center;
}

/* ------------------------------
   GRID
------------------------------ */
.dash-grid-crime {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 35px;
}

/* ------------------------------
   BOXES STYLE FICHE CRIMINELLE
------------------------------ */
.crime-box {
    background: linear-gradient(145deg, rgba(20,20,20,0.9), rgba(10,10,10,0.95));
    border-left: 4px solid #d13a3a;
    padding: 22px;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(255, 20, 20, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: rotate(-0.4deg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.crime-box:hover {
    transform: rotate(0deg) scale(1.03);
    box-shadow: 0 0 30px rgba(255, 30, 30, 0.2);
}

/* ------------------------------
   ICONES
------------------------------ */
.crime-icon {
    font-size: 2.1rem;
    margin-bottom: 10px;
    color: #d13a3a;
    text-shadow: 0 0 10px rgba(255,0,0,0.4);
}

/* ------------------------------
   BOUTONS
------------------------------ */
.crime-btn {
    display: inline-block;
    margin-top: 14px;
    background: linear-gradient(135deg, #d83a3a, #8a1a1a);
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 50px;
    color: #fff;
    transition: background 0.2s ease, transform 0.2s ease;
}

.crime-btn:hover {
    background: linear-gradient(135deg, #ff5050, #a41f1f);
    transform: scale(1.05);
}
/* ============================
   LOGIN DARK / RED THEME
============================ */

.login-container-red {
    max-width: 420px;
    margin: 60px auto 0;
    text-align: center;
    animation: fadeInUp 0.6s ease forwards;
}

.login-header-red h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ff3b3b;
    text-shadow: 0 0 12px rgba(255, 40, 40, .8);
}

.login-header-red p {
    margin-top: 6px;
    font-size: .85rem;
    opacity: .8;
    color: #ffb8b8;
}

.login-box-red {
    background: rgba(20,0,0,0.35);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 26px;
    margin-top: 20px;
    border: 1px solid rgba(255, 40, 40, .25);
    box-shadow: 0 0 35px rgba(255,0,0,0.25), inset 0 0 12px rgba(255,60,60,0.15);
}

/* Inputs */
.login-box-red input[type="email"],
.login-box-red input[type="password"] {
    width: 100%;
    background: rgba(30,0,0,0.55);
    border: 1px solid rgba(255,50,50,0.25);
    color: #fff;
    padding: 12px;
    margin-bottom: 14px;
    border-radius: 12px;
    outline: none;
    transition: .2s;
}

.login-box-red input:focus {
    border-color: #ff3b3b;
    box-shadow: 0 0 12px rgba(255,40,40,0.4);
}

/* Bouton rouge BlackMarket */
.btn-login-red {
    width: 100%;
    padding: 12px 0;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    background: linear-gradient(90deg, #8a0000, #ff2f2f);
    box-shadow: 0 6px 25px rgba(255,0,0,0.35);
    color: #fff;
    letter-spacing: .5px;
    transition: .2s;
}

.btn-login-red:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255,0,0,0.55);
}

.btn-login-red:active {
    transform: translateY(1px) scale(.98);
}

/* Checkbox texte */
.login-box-red .form-inline span {
    color: #ffcdcd;
}
.btn-del-panier {
    background: #7a0000;
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 0 12px rgba(255,0,0,0.35);
}

.btn-del-panier:hover {
    background: #ff2f2f;
    transform: scale(1.15);
}
.dashboard-hero {
    position: relative;
    display: inline-block;
    padding: 40px 60px;
}

.dashboard-hero::before {
    content: "";
    position: absolute;
    inset: -40px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(255,0,0,0.25) 0%,
        rgba(255,0,0,0.05) 60%,
        transparent 80%
    );
    filter: blur(40px);
    animation: pulseGlow 4s infinite ease-in-out;
    z-index: -1;
}

@keyframes pulseGlow {
    0%,100% { opacity: 0.55; transform: scale(1); }
    50%     { opacity: 1; transform: scale(1.15); }
}
.dash-sub-banner {
    margin: 20px auto 40px;
    padding: 18px 24px;
    max-width: 900px;
    backdrop-filter: blur(10px);
    background: rgba(10, 0, 0, 0.35);
    border-radius: 14px;
    border: 1px solid rgba(255, 0, 0, 0.25);
    box-shadow: 0 0 25px rgba(255,0,0,0.25);
}
/* --- BANDEAU INFO (card horizontale) --- */
.info-banner {
    width: 90%;
    margin: 40px auto 0;
    background: rgba(0, 0, 0, 0.50);
    border: 1px solid rgba(255, 0, 0, 0.25);
    border-radius: 18px;
    padding: 25px 35px;
    text-align: center;

    /* Glow rouge */
    box-shadow: 
        0 0 25px rgba(255, 0, 0, 0.20),
        inset 0 0 18px rgba(255, 0, 0, 0.08);

    backdrop-filter: blur(6px);
    transition: 0.25s ease;
}

/* Titre */
.info-banner h3 {
    color: #ff3b3b;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
}

/* Texte */
.info-banner p {
    color: #dddddd;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Effet hover : glow + léger lift */
.info-banner:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 0 35px rgba(255, 0, 0, 0.35),
        inset 0 0 22px rgba(255, 0, 0, 0.15);
}
.notif-banner {
    width: 100%;
    max-width: 900px;
    margin: 20px auto;
    padding: 18px 22px;

    background: rgba(0,0,0,0.65);
    border-left: 4px solid #ff2b2b; /* trait rouge */
    border-radius: 10px;

    box-shadow: 0 0 20px rgba(255,0,0,0.25);

    color: #fff;
    font-size: 0.95rem;

    word-wrap: break-word;       /* casse les mots trop longs */
    overflow-wrap: break-word;   /* même chose mais plus moderne */
    word-break: break-word;      /* force la coupure si besoin */
    white-space: normal;         /* empêche qu’une seule ligne */
}

.notif-title {
    font-weight: 600;
    letter-spacing: 1px;
    color: #ff4d4d;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.notif-text {
    opacity: 0.9;
}

.notif-close button {
    background: transparent;
    border: none;
    color: #ff4d4d;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s;
}

.notif-close button:hover {
    transform: scale(1.2);
    color: #ff0000;
}
.chat-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #ff1e1e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 26px;
    color: white;
    box-shadow: 0 0 15px red;
    transition: .2s;
    z-index: 9999;
}

.chat-button:hover {
    transform: scale(1.15);
    box-shadow: 0 0 25px red;
}
.chat-popup {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 450px;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid red;
    border-radius: 10px;
    display: none;
    flex-direction: column;
    z-index: 99999;
    backdrop-filter: blur(8px);
}

.chat-header {
    padding: 10px;
    background: #ff1e1e;
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-close {
    cursor: pointer;
    font-size: 22px;
}

.chat-messages {
    padding: 10px;
    overflow-y: auto;
    flex-grow: 1;
}

.chat-message {
    margin-bottom: 10px;
    background: #111;
    border-left: 3px solid red;
    padding: 6px 8px;
    border-radius: 6px;
}
.chat-message {
    white-space: normal;        /* Permet les retours à la ligne naturels */
    word-break: break-word;     /* Coupe les mots trop longs */
    overflow-wrap: break-word;  /* Compatible avec tous les navigateurs */
    line-height: 1.4;           /* Améliore la lisibilité */
    max-width: 100%;            /* Empêche dépassements de conteneur */
}

.chat-input-area {
    display: flex;
    padding: 10px;
    gap: 8px;
}

#chatInput {
    flex: 1;
    padding: 8px;
    background: #222;
    border: 1px solid #444;
    color: white;
}

