/* BACKGROUND GLOBAL */
body {
    background: url("../image/bg-login.png") no-repeat center center;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CONTAINER */
.container {
    max-width: 420px;
    width: 100%;
}

/* CARTE */
.login-card {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding-top: 0px;
    padding-inline: 30px;
    padding-bottom: 25px;
    box-shadow: 0 25px 60px rgba(0,0,0,.15);
    text-align: center;
}

/* SEPARATION */
.separator {
    height: 1px;
    background: #e5e7eb;
    margin: 1px 0 20px;
}

/* TITRE */
.login-title {
    font-size: 1.4rem;
    margin-bottom: 18px;
}

/* INPUTS */
.input-group {
    position: relative;
    margin-bottom: 15px;
}

.input-group input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
}

.input-group span {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
}

/* BOUTONS */
.primary-btn {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 4px;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(135deg,#3b82f6,#2563eb);
    color: white;
    font-weight: 600;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37,99,235,.4);
}

.secondary-btn {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 12px;
    background: #f1f5f9;
    font-size: 16px;
    color: #334155;
    border: none;
    cursor: pointer;
}

.secondary-btn:hover {
    background: #e2e8f0;
}

/* RESPONSIVE POUR PETITS ÉCRANS */
@media (max-width: 480px) {

    /* BODY : centrage et padding */
    body {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 20px;
        min-height: 100vh;
    }
    /* CONTAINER : s'adapte à la largeur écran */
    .container {
        width: 100%;
        max-width: 360px;
    }
    /* LOGIN CARD : padding et arrondi réduits */
    .login-card {
        padding: 20px 15px;
        border-radius: 18px;
        box-shadow: 0 20px 40px rgba(0,0,0,.1);
    }
    /* TITRE */
    .login-card h1 {
        font-size: 1.4rem;
        margin-bottom: 4px;
        text-align: center;
    }
    .subtitle {
        font-size: 0.9rem;
        text-align: center;
        margin-bottom: 15px;
    }
    .login-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    /* INPUTS : réduire padding */
    .input-group input {
        padding: 10px 12px 10px 36px;
    }
    .input-group span {
        left: 10px;
    }
    /* BOUTONS */
    .primary-btn,
    .secondary-btn {
        padding: 10px;
        font-size: 0.95rem;
    }
    /* FOOTER */
    .footer {
        font-size: 0.75rem;
        bottom: 15px;
    }
}
/* LOGO */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 105px;
}

.logo img {
    width: 261px;
    height: 174px;
    transform: translate(0px, 10px);
}

/* FOOTER */
.footer {
    position: absolute;
    bottom: 35px;
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}
