:root {
    --primary-color: #1c3b70;
    --white-color: #ffffff;
    --dark-color: #2c3e50;
    --gray-color: #5c5c5d;
}

body {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--gray-color) 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* --- Ajustes para hacer el login compacto pero un poco más grande --- */
.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 36px 24px 24px 24px;
    max-width: 410px;
    max-height: 97vh;
    overflow-y: auto;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-container {
    margin-bottom: 24px;
}

.logo {
    max-width: 24vw;
    min-width: 60px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.welcome-title {
    color: var(--dark-color);
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-subtitle {
    color: var(--gray-color);
    font-size: 1.08rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.google-btn {
    background: linear-gradient(135deg, #4285f4, #1c3b70);
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(66, 133, 244, 0.3);
    width: 100%;
    justify-content: center;
}

.google-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(66, 133, 244, 0.4);
    color: white;
    text-decoration: none;
}

.google-btn:active {
    transform: translateY(0);
}

.google-icon {
    font-size: 1.3rem;
}

.features {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 14px;
}

.feature-item {
    text-align: center;
    padding: 12px;
    border-radius: 15px;
    background: rgba(116, 220, 249, 0.1);
    border: 1px solid rgba(116, 220, 249, 0.2);
}

.feature-icon {
    font-size: 1.45rem;
    color: var(--primary-color);
    margin-bottom: 7px;
}

.feature-text {
    font-size: 0.9rem;
    color: var(--gray-color);
    font-weight: 500;
}

.footer-text {
    margin-top: 18px;
    color: var(--gray-color);
    font-size: 0.93rem;
}

@media (max-width: 576px) {
    .login-card {
        padding: 20px 10px;
        margin: 4px;
        max-width: 99vw;
    }
    
    .welcome-title {
        font-size: 1.35rem;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}
/* --- Fin de ajustes compactos --- */

/* --- Ajustes responsivos para el login --- */
.login-card {
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    max-width: 90vw;
    min-width: 260px;
    width: 100%;
    max-height: 95vh;
    min-height: 320px;
    overflow-y: auto;
}

.logo {
    max-width: 24vw;
    min-width: 60px;
    width: 100%;
}

@media (min-width: 600px) {
    .login-card {
        max-width: 410px;
        padding: 2.5rem 2rem 2rem 2rem;
    }
    .logo {
        max-width: 110px;
    }
}
/* --- Fin de ajustes responsivos --- */

.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

/* Bootstrap Toast Customization */
.toast {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.toast-header {
    background: rgba(248, 249, 250, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px 12px 0 0;
}

.toast-body {
    padding: 20px;
    font-size: 15px;
    line-height: 1.4;
}

@keyframes spin {
    to { transform: rotate(360deg); }
} 