/* Police et reset */
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1f1f1f;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* En-tête */
.header {
    background-color: #1f1f1f;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #444;
}

.logo {
    height: 50px;
    margin-right: 15px;
}

.header h1 {
    font-size: 24px;
    color: #f1f1f1;
}

/* Conteneur principal */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: #2e2e2e;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    flex: 1;
    position: relative;
    top: 50%; /* Moves the section to approximately the middle of the page */
    transform: translateY(0); /* Adjusts for centering */
    margin-top: 20px; /* Fine-tune to align with the blue line */
}

/* Titres */
h1, h2, h3 {
    text-align: center;
    color: #f1f1f1;
}

/* Formulaires */
form {
    display: flex;
    flex-direction: column;
}

input, select, button {
    padding: 12px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid #666;
    background-color: #1f1f1f;
    color: #fff;
    font-size: 16px;
}

/* Boutons */
button, .btn {
    background-color: #d4af37;
    color: #1f1f1f;
    font-weight: bold;
    text-align: center;
    border: none;
    cursor: pointer;
    text-decoration: none;
    padding: 12px;
    transition: background-color 0.3s ease;
}

button:hover, .btn:hover {
    background-color: #b89024;
}

/* Notes */
.note {
    background-color: #3a3a3a;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 16px;
}

/* Centre les éléments */
.center {
    text-align: center;
}

/* Liens standards */
a {
    color: #d4af37;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Pied de page */
.footer {
    background-color: #1a1a1a;
    color: #aaa;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #444;
    font-size: 14px;
    margin-top: auto;
}

.footer p {
    margin: 5px 0;
    line-height: 1.5;
}

.footer a {
    color: #d4af37;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #b89024;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        margin: 0 15px;
        padding: 20px;
    }
    
    .header {
        padding: 10px 15px;
    }
    
    .logo {
        height: 40px;
    }
    
    .footer {
        padding: 15px 0;
    }
}