body {
    background-image: url('/static/images/niveau_0_bg.jpg');
    background-size: cover;
    background-repeat: repeat;
    background-position: center;
    font-family: monospace;
    color: #f5d73d;
    margin: 0;
    padding: 0;
}


.forum-container {
    max-width: 800px;
    margin: 60px auto;
    background-color: #1f1f1f;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(245, 215, 61, 0.2);
    color: #f5d73d;
    text-align: center;
}

.forum-title {
    font-size: 30px;
    margin-bottom: 30px;
    color: #f5d73d;
    text-shadow: 0 0 4px black;
}

.forum-container img {
    display: block;
    margin: 0 auto 20px auto;
    border: 3px solid #f5d73d;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(245, 215, 61, 0.25);
    max-width: 150px;
}

.forum-container p {
    font-size: 1rem;
    margin: 10px 0;
}

.forum-container .text-start {
    text-align: left;
}

.btn-retro {
    background-color: #000;
    color: #f5d73d;
    border-radius: 8px;
    border: 2px solid #f5d73d;
    box-shadow: 0 0 8px #f5d73d;
    transition: all 0.2s ease-in-out;
    padding: 10px 25px;
    margin: 10px;
    font-family: monospace;
}

.btn-retro:hover {
    background-color: #111;
    color: #fff;
    box-shadow: 0 0 12px #f5d73d;
}

.forum-container {
    max-width: 800px;
    margin: 60px auto;
    background-color: #0f0f0f; /* bien opaque */
    padding: 40px 50px;
    border-radius: 12px;
    border: 2px solid #f5d73d;
    box-shadow: 0 0 20px rgba(245, 215, 61, 0.3);
    color: #f5d73d;
    text-align: center;
}

/* Style formulaire */
.form-profil {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #f5d73d;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: #2c2c2c;
    color: #f5d73d;
    border: 2px solid #f5d73d;
    padding: 10px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 1rem;
}

.form-group small {
    font-size: 0.85rem;
    color: #aaa;
}

.alert {
    position: relative;
    background-color: #1a1a1a;
    color: #f5d73d;
    border: 1px solid #f5d73d;
    font-weight: bold;
    font-family: monospace;
    padding: 12px 40px 12px 16px;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 20px;
}

.alert .close {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #f5d73d;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.alert-danger {
    background-color: #1a1a1a; /* fond foncé rétro */
    color: #f5d73d;            /* jaune rétro cohérent avec ton thème */
    border: 1px solid #f5d73d;
    font-weight: bold;
    font-family: monospace;
    padding: 10px 16px;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #1a1a1a;
    color: #3fff8c;
    border: 1px solid #3fff8c;
    font-weight: bold;
    font-family: monospace;
    padding: 10px 16px;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 20px;
}


.alert-dismissible .btn-close {
    filter: invert(1);
}

/* === NAVBAR CLEAN === */
.navbar-backrooms {
    background-color: #f5d73d;
    border-bottom: 1px solid #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    flex-wrap: wrap;
}

.navbar-backrooms .navbar-brand {
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    color: #000;
    text-decoration: none;
}

.navbar-backrooms .navbar-links a {
    font-family: monospace;
    font-size: 1.1rem;
    color: #000;
    margin: 0 10px;
    text-decoration: none;
}

.navbar-backrooms .navbar-links a:hover {
    text-decoration: underline;
}

.navbar-backrooms .nav-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #f5d73d;
    object-fit: cover;
    vertical-align: middle;
}

/* Icône burger propre */
.navbar-backrooms .custom-toggler {
    border: 2px solid #000;
    border-radius: 5px;
}

.navbar-backrooms .custom-toggler .navbar-toggler-icon {
    background-image: none;
    width: 30px;
    height: 3px;
    background-color: #000;
    display: block;
    margin: 6px auto;
}

/* Responsive : masquer le pseudo sur petit écran */
@media (max-width: 576px) {
    .navbar-backrooms .nav-user-link span {
        display: none;
    }
}

nav{
    background-color: #dfd579;
}

.nav-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #f5d73d;
    object-fit: cover;
    vertical-align: middle;
}
.profil-header {
    margin-bottom: 20px;
}

.profil-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    border: 2px solid #f5d73d;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(245, 215, 61, 0.3);
    margin-bottom: 10px;
}

.profil-username {
    color: #f5d73d;
    font-size: 1.8rem;
}

.badge-role {
    display: inline-block;
    color: #fff;
    border: 2px solid #fff;
    padding: 3px 8px;
    border-radius: 5px;
    margin-top: 5px;
    font-weight: bold;
}

.profil-infos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    text-align: left;
}

.profil-bio, .profil-stats {
    max-width: 45%;
}

.profil-actions {
    margin-top: 20px;
}

