body {
    background: #181818;
    color: #f1f1f1;
    font-family: Arial, sans-serif;
}

.btn-retour {
    display: inline-block;
    background: #232323;
    color: #f7b731;
    border: 2px solid #f7b731;
    border-radius: 8px;
    padding: 7px 19px;
    font-size: 1.08em;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 18px;
    transition: background 0.15s, color 0.15s;
}
.btn-retour:hover {
    background: #f7b731;
    color: #232323;
}
.btn-retour i {
    margin-right: 6px;
}


.cycle-header {
    margin: 32px auto 18px auto;
    text-align: center;
    font-size: 1.14em;
    font-weight: bold;
    color: #f5b638;
}
.cycle-header form {
    display: inline-block;
    margin-left: 12px;
}
.rewatch-selector {
    border-radius: 8px;
    font-size: 1.09em;
    padding: 6px 20px 6px 9px;
    background: #222;
    color: #f1c40f;
    border: 1px solid #323232;
}
.suivi-bloc-3col {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 30px;
}
.col-gauche, .col-centre, .col-droite {
    background: #23252c;
    border-radius: 16px;
    min-width: 280px;
    max-width: 330px;
    padding: 24px 22px 22px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.col-centre { min-width: 340px; max-width: 380px;}
.col-droite { min-width: 220px; max-width: 280px;}
.serie-title {
    font-size: 1.45em;
    font-weight: bold;
    margin-bottom: 7px;
    color: #fff;
    text-align: center;
}
.plateformes-list {
    margin-bottom: 8px;
}
.plateforme {
    background: #11191f;
    color: #f1c40f;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    padding: 3px 11px;
    margin: 0 3px 2px 0;
    display: inline-block;
}
.serie-image {
    width: 150px;
    border-radius: 14px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px #0007;
    object-fit: cover;
    display: block;
}
.progress-bar-bloc {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 8px 0 10px 0;
}
.progress-bar {
    flex: 1 1 0;
    height: 13px;
    border-radius: 10px;
    background: #313131;
    overflow: hidden;
    position: relative;
}
.progress-bar-inner {
    background: #22c55e;
    height: 100%;
    transition: width 0.3s;
}
.progress-bar-label {
    min-width: 46px;
    font-weight: bold;
    color: #60e3be;
    text-align: right;
    font-size: 1.13em;
}
.stats-bloc {
    font-size: 1.08em;
    margin-bottom: 8px;
    color: #fff;
    width: 100%;
}
.stats-bloc div { margin-bottom: 2px; }

.saison-box {
    width: 100%;
    margin-top: 16px;
    background: #222428;
    border-radius: 13px;
    padding: 12px 12px 10px 12px;
}
.saison-titre {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 6px;
    color: #60e3be;
    text-align: left;
}
.prochain-box {
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.prochain-titre {
    font-size: 1.17em;
    font-weight: bold;
    color: #e6a93a;
    margin-bottom: 10px;
    text-align: center;
}
.prochain-ep {
    font-size: 1.09em;
    margin-bottom: 6px;
    color: #fff;
    text-align: center;
}
.next-episode-form input[type="date"],
.next-episode-form input[type="time"] {
    background: #18191a;
    color: #fff;
    border: 1px solid #343536;
    border-radius: 6px;
    padding: 4px 10px;
    margin-right: 7px;
    font-size: 1em;
}
.btn-vu {
    background: #60e3be;
    color: #232323;
    border: none;
    font-weight: bold;
    border-radius: 6px;
    padding: 7px 18px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.18s;
}
.btn-vu:hover {
    background: #24b68b;
    color: #fff;
}

.btn-maintenant {
    background: #f7b731;
    color: #181818;
    border: none;
    border-radius: 6px;
    padding: 7px 12px;
    margin-right: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.18s;
}
.btn-maintenant:hover {
    background: #cf9306;
    color: #fff;
}

.inputs-flex {
    display: flex;
    gap: 9px;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 8px;
}
.btn-maintenant-container {
    text-align: center;
    width: 100%;
}
.btn-maintenant {
    margin-top: 2px;
}



.episodes-suivants-titre {
    font-size: 1.13em;
    color: #22c55e;
    font-weight: bold;
    text-align: center;
    margin-bottom: 12px;
}
.episodes-suivants-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.next-mini {
    background: #282f30;
    color: #fff;
    border-radius: 7px;
    padding: 5px 13px;
    font-size: 1.05em;
    margin: 0 auto 0 auto;
    border: 1px solid #313e36;
    text-align: center;
    max-width: 160px;
}

.suivi-saisons-accordion {
    margin-top: 28px;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 5%;
}
.saison-accordion {
    margin-bottom: 13px;
    background: #212226;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px #0003;
}
.saison-accordion-header {
    font-size: 1.07em;
    font-weight: bold;
    padding: 12px 19px;
    background: #232323;
    cursor: pointer;
    border-bottom: 1px solid #232323;
    color: #62d7e3;
    user-select: none;
    letter-spacing: 0.02em;
    transition: background 0.18s, color 0.18s;
}
.saison-accordion-header:hover {
    background: #1d1f1f;
    color: #22c55e;
}
.saison-accordion-content {
    padding: 12px 18px 18px 18px;
    display: block;
    animation: fadein 0.22s;
}
@keyframes fadein {
    from { opacity: 0;}
    to { opacity: 1;}
}
.episodes-table {
    width: 100%;
    border-collapse: collapse;
    background: #232323;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 7px;
}
.episodes-table th, .episodes-table td {
    padding: 7px 0;
    text-align: center;
    font-size: 0.99em;
}
.episodes-table th {
    background: #23282c;
    color: #60e3be;
    font-weight: bold;
}
.episodes-table tr.vu {
    background: #253e30;
}
.episodes-table tr {
    border-bottom: 1px solid #222;
}
.episodes-table tr:last-child {
    border-bottom: none;
}
.episodes-table td {
    color: #fff;
}
.episodes-table td:first-child {
    font-weight: bold;
}
@media (max-width: 1100px) {
    .suivi-bloc-3col {
        flex-direction: column;
        gap: 22px;
        align-items: center;
        margin-left: 5px;
        margin-right: 5px;
    }
    .col-gauche, .col-centre, .col-droite {
        min-width: 0; max-width: 100%;
        width: 100%;
    }
}

#ajout-message {
    background: #60e3be;
    color: #232323;
    border-radius: 8px;
    padding: 12px 22px;
    font-weight: bold;
    text-align: center;
    font-size: 1.09em;
    margin: 0 auto 18px auto;
    box-shadow: 0 2px 8px #0003;
    width: fit-content;
}

.btn-effacer {
    display: block;
    margin: 10px auto 0;
    padding: 6px 14px;
    font-size: 0.9rem;
    background: #c0392b;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-effacer:hover {
    background: #e74c3c;
}
