/*
###############################################################################################################################################################
LOGIN PAGE SPECIFIC STYLES
###############################################################################################################################################################
*/

html, body {
  height: 100%;
  overflow-y: auto; /* Let user scroll manually */
}

.login-form {
    max-width: 400px;
}

/* Animation pour l'icône œil */
@keyframes pulse {
    0% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-50%) scale(1.2);
    }
    100% {
        transform: translateY(-50%) scale(1);
    }
}

.pulse {
    animation: pulse 0.3s ease-in-out;
}

/* Lien mot de passe oublié avec icône */
.forgot-password a {
    position: relative;
    padding-left: 20px;
}

.forgot-password a:before {
    content: '\f084'; /* Icône clé Font Awesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9em;
}

.social-login {
    margin-top: var(--FORM_SECTION_MARGIN_BOTTOM);
    text-align: center;
}

.social-login-title {
    position: relative;
    margin-bottom: var(--FORM_FIELD_MARGIN_BOTTOM);
    font-size: 0.9rem;
    color: var(--COLOR_SURFACE_40);
}

.social-login-title::before,
.social-login-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background-color: var(--COLOR_SURFACE_60);
}

.social-login-title::before {
    left: 0;
}

.social-login-title::after {
    right: 0;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    transition: all var(--FORM_TRANSITION_DURATION) ease;
    cursor: pointer;
    box-shadow: var(--FORM_INPUT_SHADOW);
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--FORM_BUTTON_SHADOW_HOVER);
}

.social-button:active {
    transform: translateY(0);
    box-shadow: var(--FORM_BUTTON_SHADOW_ACTIVE);
}

.social-button svg {
    color: var(--COLOR_ACTION_50);
}

/********************** RESPONSIVE OVERRIDES **********************/

@media screen and (max-width: 480px) {
    .login-header-content h2 {
        font-size: 1.8rem;
    }
} 