/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Body */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #121212, #1c1c1c);
    color: #e0e0e0;
    padding: 20px;
}

/* Titres */
h1 {
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: #90caf9;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

h2 {
    margin-bottom: 16px;
    font-size: 1.4rem;
    color: #90caf9;
}

/* Liens */
a {
    color: #90caf9;
    text-decoration: underline;
    margin-bottom: 30px;
    transition: color 0.3s;
}

a:hover {
    color: #64b5f6;
}

/* Formulaire */
form {
    background: rgba(28, 28, 28, 0.9);
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

/* Labels */
label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 5px;
    font-weight: 600;
    color: #e0e0e0;
}

/* Inputs */
input {
    width: 100%;
    padding: 12px 15px;
    margin-top: 5px;
    margin-bottom: 20px;
    border: 1px solid #424242;
    border-radius: 8px;
    transition: border 0.3s, box-shadow 0.3s;
    font-size: 1rem;
    background: rgba(40, 40, 40, 0.8);
    color: #e0e0e0;
}

input:focus {
    border-color: #64b5f6;
    box-shadow: 0 0 12px rgba(100, 181, 246, 0.6);
    outline: none;
}

/* Boutons */
button {
    padding: 12px;
    background: #37474f;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}

button:hover {
    background: #546e7a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(84, 110, 122, 0.5);
}

button.btn-danger {
    background: transparent;
    color: #ef9a9a;
    border: 1px solid #A32D2D;
    font-weight: normal;
    font-size: 0.9rem;
}

button.btn-danger:hover {
    background: rgba(163, 45, 45, 0.15);
    color: #ef5350;
    border-color: #ef5350;
    box-shadow: 0 4px 15px rgba(163, 45, 45, 0.3);
    transform: translateY(-2px);
}

/* Groupe de boutons */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

/* Footer */
footer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: #90caf9;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

footer a {
    color: #64b5f6;
    text-decoration: underline;
}

footer a:hover {
    color: #fff;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(28, 28, 28, 0.9);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 15px 0;
    margin: 0;
}

nav ul li {
    margin: 0 20px;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

p {
    margin-top: 20px;
}