/**
 * Hoja de Estilos: Pantalla de Inicio de Sesión
 * Sistema de Control Interno (COCODI 2025) - CECyTE Nayarit
 */

:root {
    --bg-page: #edf2f7;
    --emerald-green: #059669;
    --emerald-hover: #047857;
    --border-color: #e2e8f0;
}

body {
    background-color: var(--bg-page);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: #1e293b;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

/* Regla global de bordes a 4px */
*, .card, .btn, .form-control, .alert {
    border-radius: 4px !important;
}

.login-card {
    background: #ffffff;
    width: 100%;
    max-width: 460px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.06), 0 5px 15px rgba(0, 0, 0, 0.02);
    padding: 2.5rem 2.25rem;
}

.header-logos {
    text-align: center;
    margin-bottom: 1.5rem;
}

.header-logos img {
    max-height: 65px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.03));
}

.login-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin-bottom: 0.35rem;
    letter-spacing: -0.5px;
}

.login-subtitle {
    font-size: 0.92rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 2rem;
}

.field-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.custom-input {
    height: 48px;
    border-radius: 4px;
    border: 1.5px solid #e2e8f0;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    color: #1e293b;
    background-color: #f8fafc;
    transition: all 0.2s ease;
}

.custom-input:focus {
    background-color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    outline: none;
}

.btn-login {
    background-color: var(--emerald-green);
    color: #ffffff;
    border: 1px solid transparent;
    border-radius: 4px;
    height: 50px;
    width: 100%;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: none;
    transition: all 0.2s ease;
    margin-top: 1.5rem;
}

.btn-login:hover {
    background-color: var(--emerald-hover);
    transform: translateY(-1px);
    color: #ffffff;
}

.security-badge {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0.6rem 0.85rem;
    font-size: 0.78rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
