body{
    background: #5f5c5c;
}

/* Barre de navigation personnalisée */
.navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
    padding-bottom: 0px;
}

/* Chaque item prend seulement la largeur de son contenu */
.navbar-nav .nav-item {
    width: auto;
    flex: 0 0 auto;
    margin: 0 15px;
}

.navbar-nav .nav-link {
    font-size: 18px;
    padding: 10px 40px;
    color: #fff;
    position: relative;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    white-space: nowrap;
    display: inline-block;
}

/* Séparateur | (un seul entre 2 items) */
.navbar-nav .nav-item + .nav-item .nav-link::before {
    content: "|";
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

/* Hover & active */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-item:hover .nav-link {
    border-bottom: 4px solid #fff;
}

.navbar-nav .nav-item.active .nav-link {
    border-bottom: 4px solid #b8162c;
}

.navbar-nav .nav-item.active:hover .nav-link {
    border-bottom: 4px solid #fff;
}

/* Mode mobile */
@media (max-width: 991.98px) {
  .navbar-nav .nav-item + .nav-item .nav-link::before {
    display: none !important;
  }
  .navbar-nav {
    flex-direction: column;
  }
  .navbar-nav .nav-link {
    width: 100%;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ========== 🔥 MENU MY LIST — LOG OUT À DROITE 🔥 ========== */

/* Desktop : pousse Log Out complètement à droite de la navbar */
@media (min-width: 992px) {
    .navbar-nav.mylist-menu {
        justify-content: flex-start !important;
        width: 100%;
    }

    .navbar-nav.mylist-menu .logout-item {
        margin-left: auto !important;   /* 🚀 pousse totalement à droite */
    }

    /* Pas de séparateur | avant Log Out */
    .navbar-nav.mylist-menu .logout-item .nav-link::before {
        content: none !important;
    }
}

/* Mobile : comportement normal */
@media (max-width: 991.98px) {
    .navbar-nav.mylist-menu {
        flex-direction: column;
        align-items: center;
    }

    .navbar-nav.mylist-menu .logout-item {
        margin-left: 0 !important;
    }
}

/* ========== FIN DU BLOC LOGOUT MYLIST ========== */



/* Ancien header */
.header {
    background: #191919;
    padding: 10px;
    border-radius: 10px;
    margin: 20px 0;
}

.content-container{
    margin:20px 0;
}
.news-section-container {
    background: #fff;
    padding: 20px;
    margin:15px 0;
    border-radius: 10px;
}
.footer-container {
    background: #191919;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; /* espace moderne */
}

.footer-link {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 400;
    position: relative;
    padding: 0 10px;
}

/* 🔥 Séparateur moderne entre les liens */
.footer-link + .footer-link::before {
    content: "|";
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;  /* gris moderne */
    font-size: 16px;
}

/* hover moderne */
.footer-link:hover {
    color: #f3b21e !important;    /* Belle couleur dorée au survol */
    transition: 0.3s;
}




.content-container img{
    max-width:100% !important;
}
.error-message {
    margin-top: 5px;
    margin-left: 5px;
    color: #ff0000;
    height: 0;
    overflow: hidden;
    transition:  height 0.5s;
}
.form-group.has-error .error-message{
    height: 25px;
}

.status-modal-header {
    background: #ffc107 !important;
    text-align: center;
    padding: 40px;
    display: block;
}
#success-modal .status-modal-header{
    background: #3dce19 !important;
}
.status-message-icon {
    font-size: 100px;
    color: #dc3545;
    width: 90px;
    height: 90px;
    text-align: center;
    margin: 0 auto;
    border: 2px solid;
    line-height: 90px;
    border-radius: 50% !important;
}
#success-modal .status-message-icon{
    font-size: 55px;
    line-height: 90px;
}
.status-message-content {
    text-align: center;
    padding: 40px 30px;
    color: #000;
    font-size: 22px;
}

#error-modal .status-message-content{
    color: #ff0000;
}
.status-message-btn{
    width: 200px;
    text-align: center;
    display: block;
    margin: 0 auto;
    background: #dc3545;
    margin-bottom: 20px;
    color: #fff;
    font-size: 22px;
    border-radius: 5px !important;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.body {
	height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
footer {
    margin-top: auto;
}

.modal-confirm {
	 width: 325px;
    position: relative;
    margin-top: 80px;
}

.modal-confirm .modal-content {
    padding: 20px;
    border-radius: 6px;
    border: none;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.modal-confirm .modal-header {
    border-bottom: none;
    position: relative;
    padding: 0;
    margin-bottom: 20px;
}

.modal-confirm .icon-box {
    position: absolute;
    top: -47.5px;
    left: 50%;
    transform: translateX(-50%);
    width: 95px;
    height: 95px;
    background: #ef513a;
    border-radius: 50%;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.modal-confirm .icon-box i {
    font-size: 48px;
    color: #fff;
    line-height: 1;
}

.modal-confirm .btn {
    background: #ef513a;
    border: none;
    border-radius: 4px;
    padding: 12px 0;
    font-size: 16px;
    color: #fff;
    width: 80%;
    margin: 0 auto;
    display: block;
    transition: background 0.3s;
}

.modal-confirm .btn:hover {
    background: #da2c12;
}
