@import 'css/tvshow_list.css';
@import 'css/tvshow_detail.css';
@import 'css/season_detail.css';
@import 'css/add_review.css';
@import 'css/dark-theme.css';
@import 'css/user_profile.css';

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

.lien-retour {
    margin-bottom: 20px;
}

.carte {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.bouton {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.contraste {
    background-color: #3498db;
    color: white;
}

.contraste:hover {
    background-color: #2980b9;
}

.contour {
    border: 2px solid #3498db;
    color: #3498db;
}

.contour:hover {
    background-color: #3498db;
    color: white;
}

.badge {
    background-color: #3498db;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 16px;
}

.affichage-note {
    margin-top: 5px;
    text-align: center;
}

.conteneur-etoiles {
    display: inline-flex;
    align-items: center;
    font-size: 1.2rem;
}

.enveloppe-etoile {
    position: relative;
    width: 1.2em;
    height: 1.2em;
    display: inline-block;
}

.etoile-arriere {
    position: absolute;
    width: 100%;
    height: 100%;
    color: #ddd;
}

.etoile-avant {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    color: #f39c12;
    overflow: hidden;
    white-space: nowrap;
}

.note-texte {
    font-size: 1.2rem;
    font-weight: bold;
    margin-left: 5px;
    display: inline-block;
    vertical-align: middle;
}


.menu-principal li {
    margin-right: 15px;
}

.menu-principal li:last-child {
    margin-right: 0;
}

.erreur-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px 15px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    text-align: center;
}

.erreur-champ {
    font-size: 0.85em;
    padding: 8px 12px;
    margin-top: 5px;
}

.erreur-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px 15px;
    margin-bottom: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    text-align: left;
    font-size: 0.95em;
    display: flex;
    align-items: center;
}

.erreur-message::before {
    content: "\f071";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 10px;
    color: #e74c3c;
    font-size: 1.1em;
}