@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #07070a;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

/* Panneaux style SaaS pro (Sobres, bordures fines, arrondis propres) */
.glass-panel {
    background: #15151e;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* Typographie */
h1, h2, h3 {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

p, label {
    color: #8b8b9f;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Formulaires */
.input-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8b8b9f;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    background-color: #0b0b10;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 11px 14px;
    border-radius: 8px;
    outline: none;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border-color: #00f2fe;
    box-shadow: 0 0 0 2px rgba(0, 242, 254, 0.15);
}

/* Boutons primaires modernes et sobres */
.btn-primary {
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    color: #07070a;
    border: none;
    padding: 11px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.1s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
    width: 100%;
}

.btn-primary:hover {
    opacity: 0.92;
}

.btn-primary:active {
    transform: scale(0.99);
}

/* Liens Discord / Secondaires */
.discord-link {
    color: #00f2fe;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.discord-link:hover {
    color: #4facfe;
    text-decoration: underline;
}

/* Structure des pages d'authentification */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-color: #07070a;
}

.auth-box {
    width: 100%;
    max-width: 400px;
    padding: 36px;
    text-align: left;
}

.auth-box h2 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    text-align: center;
}

.auth-box p {
    margin-bottom: 1.75rem;
    font-size: 0.85rem;
    text-align: center;
}

.auth-switch {
    margin-top: 20px;
    font-size: 0.85rem;
    text-align: center;
}

.auth-switch a {
    color: #4facfe;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
}

.auth-switch a:hover {
    text-decoration: underline;
}