body {
    font-family: 'Verdana', sans-serif;
    background-color: #121212;
    color: #f0f0f0;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 900px;
    margin: 20px auto;
    background-color: #1f1f1f;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.7);
}

h1 {
    color: #ffcc00;
    text-align: center;
    margin-bottom: 20px;
}

/* Navbar */
.navbar {
    text-align: center;
    margin-bottom: 20px;
}
.navbar a {
    margin: 0 10px;
    color: #ffcc00;
    font-weight: bold;
}
.navbar a:hover { text-decoration: underline; }

/* Sujets */
ul { list-style: none; padding: 0; }
ul li {
    background-color: #2a2a2a;
    padding: 15px;
    margin-bottom: 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    transition: 0.2s;
}
ul li:hover { background-color: #3b3b3b; }
ul li img.avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

/* Messages */
.message {
    background-color: #2a2a2a;
    padding: 15px;
    margin-bottom: 12px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
}
.message img.avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}
.message-content {
    flex: 1;
}
.message-content b { color: #ffcc00; }
.message-content small { color: #cccccc; }

/* Formulaires */
form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: none;
    background-color: #3a3a3a;
    color: #f0f0f0;
}
form button {
    background-color: #ffcc00;
    color: #121212;
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}
form button:hover { background-color: #e6b800; }
/* Liens propres (plus de violet souligné) */
a {
    color: #ffcc00;
    text-decoration: none;
}
a:visited {
    color: #ffcc00;
}
a:hover {
    text-decoration: underline;
}

/* Sujet lu / non lu */
.topic {
    background-color: #2a2a2a;
    padding: 15px;
    margin-bottom: 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    transition: 0.2s;
    border: 2px solid transparent;
}

.topic:hover {
    background-color: #3b3b3b;
}

/* Sujet NON LU */
.topic.unread {
    border: 2px solid #ffcc00;
    box-shadow: 0 0 10px rgba(255,204,0,0.3);
}

/* Sujet LU */
.topic.read {
    opacity: 0.7;
}

/* Badge NOUVEAU */
.badge-new {
    background: #ff4444;
    color: white;
    font-weight: bold;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 8px;
    margin-left: 10px;
}
/* FORCER la couleur des liens du forum */
/* Liens normaux mais pas les boutons */
.container a:not(.button-link):link,
.container a:not(.button-link):visited,
.container a:not(.button-link):active {
    color: #ffcc00 !important;
    text-decoration: none !important;
    font-weight: bold;
}

.container a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}