/* ARCHIVO: ecosistema/auth/css/login_split.css
   Versión: 3.5 - Unificado y Limpio
*/

:root {
    --primary: #0055ff;
    --accent: #00d4ff;
    --dark: #1e293b;
    --text-slate: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.3);
}

* { box-sizing: border-box; }
body, html { 
    margin: 0; padding: 0; min-height: 100vh; 
    font-family: 'Inter', sans-serif; 
    background-color: #fff; color: var(--dark);
    line-height: 1.5;
}

/* --- HEADER --- */
.main-header {
    position: fixed; top: 0; left: 0; width: 100%; height: 90px;
    z-index: 1000; background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex; align-items: center;
}
.header-content {
    max-width: 1300px; width: 100%; margin: 0 auto;
    padding: 0 60px; display: flex; justify-content: space-between; align-items: center;
}
.header-left { display: flex; align-items: center; gap: 18px; }
.header-logo { height: 55px; width: auto; }
.header-text { display: flex; flex-direction: column; }
.ayto-name { font-weight: 850; font-size: 1.6rem; color: var(--dark); letter-spacing: -1px; line-height: 0.9; }
.portal-tag { font-size: 0.85rem; color: var(--primary); font-weight: 700; margin-top: 4px; text-transform: uppercase; }

.btn-nav-login {
    text-decoration: none; display: flex; align-items: center; gap: 10px;
    padding: 10px 24px; border-radius: 50px; background: rgba(0, 85, 255, 0.08);
    color: var(--primary); font-weight: 700; font-size: 0.9rem;
    border: 1px solid rgba(0, 85, 255, 0.2); transition: 0.3s;
}
.btn-nav-login:hover { background: var(--primary); color: white; transform: translateY(-2px); }

/* --- SPLIT LAYOUT --- */
.split-screen { display: flex; min-height: 100vh; width: 100%; }

.side-login {
    display: flex; align-items: center; justify-content: center;
    padding: 140px 60px 60px 60px; background: white; flex: 1;
}

.side-info {
    flex: 1.2; background-size: cover; background-position: center; position: relative;
    display: flex; align-items: center; justify-content: center; padding: 60px; color: white;
}
.side-info::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.3); z-index: 1; }
.info-content { position: relative; z-index: 2; text-align: center; width: 100%; }

/* --- CONTAINERS --- */
.login-container { width: 100%; max-width: 400px; animation: fadeIn 0.8s ease-out; }
.login-container.wide { max-width: 850px; }

.login-header h2 { font-size: 2.2rem; font-weight: 800; margin: 0; color: var(--dark); }
.login-header p { color: var(--text-slate); margin-bottom: 30px; }

/* --- FORM & INPUTS --- */
.form-section-title {
    font-size: 0.9rem; color: var(--primary); font-weight: 800;
    text-transform: uppercase; letter-spacing: 1.5px;
    margin: 35px 0 15px 0; padding-bottom: 5px;
    border-bottom: 2px solid #f1f5f9;
}
.input-row { display: flex; gap: 20px; width: 100%; }
.input-row .input-group { flex: 1; }
.input-group { margin-bottom: 20px; width: 100%; text-align: left; }
.input-group label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 8px; }
.input-group label i { color: var(--primary); margin-right: 5px; opacity: 0.8; }
.input-group input {
    width: 100%; padding: 14px; border: 1.5px solid #e2e8f0;
    border-radius: 12px; font-size: 0.95rem; background: #f8fafc; transition: 0.3s;
}
.input-group input:focus { outline: none; border-color: var(--primary); background: white; box-shadow: 0 0 0 4px rgba(0, 85, 255, 0.1); }

/* --- FOOTER INICIO --- */
.login-footer-info {
    margin-top: 50px; padding-top: 30px; border-top: 1px solid #f1f5f9; text-align: center; width: 100%;
}
.support-title { font-weight: 800; font-size: 0.9rem; color: var(--dark); margin-bottom: 12px; display: block; }
.footer-contacts { display: flex; justify-content: center; align-items: center; gap: 15px; margin-bottom: 25px; }
.footer-contacts a { color: var(--primary); text-decoration: none; font-weight: 700; font-size: 0.9rem; }
.footer-contacts .sep { color: #cbd5e1; }
.powered-by { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; }
.powered-by span { font-size: 0.75rem; color: #94a3b8; font-weight: 700; text-transform: uppercase; }
.powered-by img { height: 22px; opacity: 0.8; }
.copy { font-size: 0.75rem; color: #cbd5e1; margin: 0; font-weight: 500; }

/* --- BUTTONS & ACTIONS --- */
.form-actions { display: flex; justify-content: flex-start; margin-top: 30px; padding-top: 20px; border-top: 1px solid #f1f5f9; }
.btn-login {
    width: 100%; padding: 18px 40px; border-radius: 14px; border: none;
    color: white; font-size: 1.1rem; font-weight: 700; cursor: pointer;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    box-shadow: 0 10px 15px -3px rgba(0, 85, 255, 0.3); transition: 0.4s;
}
.btn-login:hover { transform: translateY(-3px); box-shadow: 0 20px 25px -5px rgba(0, 85, 255, 0.4); }

.link-forgot {
    text-decoration: none; color: var(--text-slate); font-size: 0.9rem; font-weight: 600;
    transition: 0.3s; display: inline-block; margin-top: 20px;
}
.link-forgot:hover { color: var(--primary); }

.terms-container {
    margin: 25px 0; padding: 20px; background: #f8fafc; border-radius: 12px; border: 1px solid #e2e8f0;
}
.checkbox-label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 0.9rem; text-align: left; }
.checkbox-label a { color: var(--primary); font-weight: 700; text-decoration: none; }

/* --- CARDS INICIO --- */
.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 550px; margin: 50px auto 0; }
.action-card {
    background: var(--glass-bg); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border); padding: 30px 20px; border-radius: 24px;
    text-decoration: none; color: white; display: flex; flex-direction: column; align-items: center; gap: 15px; transition: 0.4s;
}
.action-card i { font-size: 2.2rem; color: var(--accent); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .split-screen { flex-direction: column; }
    .side-info { display: none; }
    .input-row { flex-direction: column; gap: 0; }
    .quick-actions { grid-template-columns: 1fr; }
}

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