:root {
    --primary: #009bb3; /* NovaMED Cyan */
    --bg-main: #1a2634;
    --bg-card: #2d3d4f;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --radius: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-main);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-container {
    background: var(--bg-card);
    width: 100%;
    max-width: 420px;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

/* Style de la boîte logo blanche des captures */
.nova-logo {
    background: white;
    width: 110px;
    height: 110px;
    margin: 0 auto 20px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.nova-logo i {
    font-size: 45px;
    color: var(--primary);
}

.logo-text {
    display: none; /* Masqué car on utilise l'icône dans la boîte */
}

h1 { 
    font-size: 1.6rem; 
    font-weight: 800; 
    margin-bottom: 8px; 
    color: var(--primary);
    text-transform: capitalize;
}

p { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }

.form-field {
    margin-bottom: 24px;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(26, 38, 52, 0.5); /* Plus sombre */
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
}

.custom-input:focus {
    border-color: var(--primary);
    background: rgba(26, 38, 52, 0.8);
    box-shadow: 0 0 0 4px rgba(0, 155, 179, 0.2);
}

.custom-input::placeholder {
    color: #4b5563;
}

.login-btn {
    width: 100%;
    padding: 15px;
    border-radius: 14px;
    border: none;
    background: var(--primary);
    color: white;
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(0, 155, 179, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 155, 179, 0.4);
    opacity: 0.95;
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.back-link:hover { color: var(--primary); }
.back-link i { margin-right: 8px; }
