* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-input:focus {
    outline: none;
    border-color: #1e40af;
    background: white;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.register-link {
    text-align: center;
    margin-top: 24px;
}

.register-link a {
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
}

.register-link a:hover {
    text-decoration: underline;
}

.link-action-secondary {
    color: #757575 !important;
    text-decoration: none;
}

.link-action-secondary:hover {
    text-decoration: underline;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: none;
}

.error-message.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.demo-credentials {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 16px;
    margin-top: 24px;
    font-size: 0.85rem;
}

.demo-credentials h4 {
    color: #0369a1;
    margin-bottom: 8px;
    font-weight: 600;
}

.demo-credentials p {
    color: #0c4a6e;
    margin: 4px 0;
}

.footer {
    text-align: center;
    margin-top: 32px;
    color: #64748b;
    font-size: 0.7rem;
}

@media (max-width: 480px) {
    .login-container {
        margin: 20px;
        padding: 32px 24px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }
}

.resend-email-btn {
    color: #2563eb; /* azul suave */
    cursor: pointer;
    font-size: 0.875rem; /* 14px */
    float: right;
}

.resend-email-btn:hover {
    text-decoration: none;
    color: #1e40af; /* azul más oscuro al pasar el mouse */
}