:root {
    --rouge: #C0252A;
    --rouge-hover: #e02e34;
}

body {
    min-height: 100vh;
    background-image: url('../download/bg_manga.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #060b18;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 20, 0.72);
    z-index: 0;
}

.card {
    background: rgba(10, 12, 28, 0.88) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-top: 2px solid var(--rouge) !important;
    backdrop-filter: blur(6px);
}

.logo-circle {
    width: 58px; height: 58px;
    border-radius: 50%;
    background: rgba(192,37,42,0.12);
    border: 2px solid var(--rouge);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(192,37,42,0.3);
}

.manga-strip {
    display: flex; height: 3px; overflow: hidden; border-radius: 2px;
}
.manga-strip .s1 { flex:1; background: var(--rouge); }
.manga-strip .s2 { flex:1; background: rgba(255,255,255,0.1); }
.manga-strip .s3 { flex:3; background: var(--rouge); }
.manga-strip .s4 { flex:1; background: rgba(255,255,255,0.06); }
.manga-strip .s5 { flex:1; background: var(--rouge); }

/* Onglets */
.nav-tabs { border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-tabs .nav-link {
    color: rgba(255,255,255,0.35);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    border-bottom: 2px solid transparent;
    background: none;
    padding: 10px 16px;
}
.nav-tabs .nav-link:hover { color: rgba(255,255,255,0.6); border-color: transparent; }
.nav-tabs .nav-link.active {
    color: var(--rouge);
    background: none;
    border-color: transparent transparent var(--rouge);
}

/* Inputs */
.form-label {
    font-size: 0.68rem;
    color: var(--rouge);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
}
.form-control {
    background: rgba(255,255,255,0.05);
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    border-radius: 0;
    color: #f0f0f0;
    padding: 9px 2px;
}
.form-control::placeholder { color: rgba(255,255,255,0.25); }
.form-control:focus {
    background: rgba(192,37,42,0.05);
    border-bottom: 2px solid var(--rouge);
    box-shadow: none;
    color: #fff;
}

/* Bouton */
.btn-main {
    background: var(--rouge);
    border: none;
    border-radius: 3px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    box-shadow: 0 0 16px rgba(192,37,42,0.3);
    transition: background 0.2s;
}
.btn-main:hover { background: var(--rouge-hover); color: #fff; }
.btn-main:active { transform: scale(0.98); }

/* Textes */
.text-manga-muted { color: rgba(255,255,255,0.4); font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; }
.text-footer { font-size: 0.65rem; color: rgba(255,255,255,0.15); letter-spacing: 1.5px; text-transform: uppercase; }

/* Alertes */
.alert-manga-err {
    background: rgba(192,37,42,0.12);
    border-left: 2px solid var(--rouge);
    border-top: none; border-right: none; border-bottom: none;
    color: #f09595;
    border-radius: 0 3px 3px 0;
    font-size: 0.8rem;
}
.alert-manga-ok {
    background: rgba(76,175,80,0.12);
    border-left: 2px solid #4caf50;
    border-top: none; border-right: none; border-bottom: none;
    color: #81c784;
    border-radius: 0 3px 3px 0;
    font-size: 0.8rem;
}