/* ==========================================================================
   Authentication Specific Styles - FACEAM Style
   ========================================================================== */

.auth-wrapper {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../../assets/img/PORTADA_FACEAM.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    padding: 40px 20px;
}

/* Background overlay with premium gradient */
.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 40, 86, 0.88) 0%, rgba(0, 40, 86, 0.55) 100%);
    z-index: 1;
}

/* Container of the glass card */
.auth-card {
    width: 100%;
    max-width: 520px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--border-radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    padding: 40px;
    position: relative;
    z-index: 2;
    text-align: center;
    transition: var(--transition);
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 25px 50px rgba(0, 40, 86, 0.3);
}

/* Header & Brand within Auth Card */
.auth-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.auth-logo {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 40, 86, 0.2));
    transition: var(--transition);
}

.auth-card:hover .auth-logo {
    transform: scale(1.05) rotate(3deg);
}

.auth-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--uas-blue);
    margin-top: 5px;
}

.auth-title span {
    color: var(--uas-gold);
}

.auth-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 5px;
}

/* Forms layout adjustments */
.auth-form {
    margin-top: 10px;
}

/* Double column form fields for registry page */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Form footer controls */
.auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 25px;
    font-size: 0.88rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-light);
}

.remember-me input[type="checkbox"] {
    accent-color: var(--uas-blue);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.forgot-password {
    color: var(--uas-blue-light);
    font-weight: 500;
}

.forgot-password:hover {
    color: var(--uas-gold);
    text-decoration: underline;
}

/* Submission block */
.auth-submit-btn {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-switch {
    font-size: 0.92rem;
    color: var(--text-light);
}

.auth-switch-link {
    color: var(--uas-blue);
    font-weight: 700;
    margin-left: 5px;
}

.auth-switch-link:hover {
    color: var(--uas-gold);
    text-decoration: underline;
}

/* Select custom styling to match inputs */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002856' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
    padding-right: 40px;
    cursor: pointer;
}

/* Password confirmation eye icon (if needed) */
.password-toggle {
    position: absolute;
    right: 15px;
    top: 38px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--uas-blue);
}

/* Keyframes animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
