/* src/styles/fragments/auth.css */
/* DISEÑO PREMIUM PARA AUTENTICACIÓN */

.auth-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: transparent;
    z-index: 10;
    position: relative;
    width: 100%;
}

.auth-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 50px 45px;
    width: 100%;
    max-width: 560px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: fadeInAuth 0.6s ease-out;
}

@media (max-width: 600px) {
    .auth-card {
        padding: 30px 20px;
    }
}

@keyframes fadeInAuth {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-logo {
    font-size: 60px;
    margin-bottom: 15px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-title {
    font-size: 2rem;
    color: var(--azul-mar);
    font-weight: 900;
    margin-bottom: 5px;
}

.auth-subtitle {
    color: var(--gris-oscuro);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.auth-input-group {
    position: relative;
    width: 100%;
}

.auth-input {
    width: 100%;
    padding: 18px 25px;
    border-radius: 18px;
    border: 2px solid transparent;
    background: white;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    transition: 0.3s;
    outline: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.auth-input:focus {
    border-color: var(--celeste);
    box-shadow: 0 0 0 4px rgba(76, 201, 240, 0.1);
}

.auth-btn-primary {
    background: var(--violeta);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 6px 0 #7b2cbf;
    margin-top: 10px;
}

.auth-btn-primary:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #7b2cbf;
}

.auth-toggle {
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--texto);
}

.auth-toggle-btn {
    color: var(--violeta);
    font-weight: 800;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    text-decoration: underline;
}

.auth-loading {
    display: none;
    margin-top: 15px;
}

.auth-error {
    color: var(--rojo);
    font-size: 0.85rem;
    margin: 0;
    font-weight: 700;
    min-height: 1rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: var(--gris-oscuro);
    font-size: 0.8rem;
    font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.auth-divider span {
    padding: 0 10px;
}

.auth-btn-google {
    background: white;
    color: var(--texto);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 12px;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.auth-btn-google img {
    width: 20px;
    height: 20px;
}

.auth-btn-google:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.auth-btn-google:active {
    transform: translateY(0);
}