/* Login de Coworkithm */
:root {
    --tinta: #141B2B; --tinta-2: #444E66; --tinta-3: #6B7489;
    --azul: #2563EB; --azul-osc: #1D4ED8; --azul-claro: #EBF1FE;
    --borde: #DCE2EC; --noche: #0C1220; --noche-2: #141C2E;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--tinta); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2 { font-family: 'Outfit', 'Inter', sans-serif; letter-spacing: -.025em; margin: 0; line-height: 1.1; }
p { margin: 0; }
a { color: var(--azul); text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.lg { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; }

/* Panel de marca */
.lg-marca { position: relative; overflow: hidden; background: var(--noche); color: #fff; padding: 48px 56px; display: flex; flex-direction: column; }
.lg-marca::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(160deg, #000 20%, transparent 85%); -webkit-mask-image: linear-gradient(160deg, #000 20%, transparent 85%); pointer-events: none; }
.lg-marca > * { position: relative; }
.lg-logo { display: flex; align-items: center; gap: 12px; }
.lg-logo .ic { height: 36px; width: auto; }
.lg-logo .nm { height: 23px; width: auto; }
.lg-centro { margin: auto 0; padding: 48px 0; max-width: 520px; }
.lg-centro h1 { font-size: clamp(36px, 3.6vw, 54px); font-weight: 700; }
.lg-centro h1 span { color: #7FAAFF; }
.lg-centro > p { margin-top: 18px; color: #AAB4C8; font-size: 18px; line-height: 1.55; }

/* El equipo trabajando */
.lg-feed { margin-top: 40px; background: var(--noche-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 8px; }
.lg-feed .cab { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 12px; font-size: 13px; color: #8894AD; }
.lg-feed .cab b { color: #fff; font-weight: 600; font-size: 14px; }
.lg-feed .vivo { display: inline-flex; align-items: center; gap: 7px; }
.lg-feed .vivo::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.lg-feed ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lg-feed li { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; background: rgba(255, 255, 255, .04); border-radius: 12px; padding: 10px 12px; opacity: 0; transform: translateY(8px); animation: entra .5s ease forwards; }
.lg-feed li:nth-child(1) { animation-delay: .2s; } .lg-feed li:nth-child(2) { animation-delay: .9s; }
.lg-feed li:nth-child(3) { animation-delay: 1.6s; } .lg-feed li:nth-child(4) { animation-delay: 2.3s; }
.lg-feed .av { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.lg-feed .t { font-size: 14px; line-height: 1.35; }
.lg-feed .t small { display: block; color: #8894AD; font-size: 12.5px; }
.lg-feed .h { font-size: 12px; color: #6B7A99; font-family: ui-monospace, 'SF Mono', monospace; }
@keyframes entra { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lg-feed li { animation: none; opacity: 1; transform: none; } }
.lg-pie { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; color: #6B7A99; }
.lg-pie a { color: #8894AD; }

/* Formulario */
.lg-form { display: flex; flex-direction: column; padding: 40px 56px; }
.lg-form .arriba { display: flex; justify-content: flex-end; font-size: 14px; color: var(--tinta-3); }
.lg-form .arriba a { font-weight: 600; }
.lg-caja { width: 100%; max-width: 400px; margin: auto; padding: 32px 0; }
.lg-caja .logo-movil { display: none; }
.lg-caja h2 { font-size: 34px; font-weight: 700; }
.lg-caja .sub { color: var(--tinta-3); margin-top: 8px; font-size: 16px; }
.lg-campos { margin-top: 32px; display: grid; gap: 18px; }
.campo label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.campo .in { position: relative; }
.campo .in svg.ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #8A93A6; pointer-events: none; }
.campo input { width: 100%; height: 50px; border: 1.5px solid var(--borde); border-radius: 12px; padding: 0 14px 0 44px; font: inherit; font-size: 16px; color: var(--tinta); background: #fff; transition: border-color .15s, box-shadow .15s; }
.campo input::placeholder { color: #A3ABBC; }
.campo input:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 4px rgba(37, 99, 235, .14); }
.campo .ver { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 8px 10px; border-radius: 8px; color: var(--tinta-3); cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; }
.campo .ver:hover { background: #F2F4F8; color: var(--tinta); }
.campo .ayuda { font-size: 13px; color: var(--tinta-3); margin-top: 6px; }
.recordar { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--tinta-2); cursor: pointer; user-select: none; }
.recordar input { width: 18px; height: 18px; accent-color: var(--azul); margin: 0; }
.lg-btn { margin-top: 6px; height: 52px; border: 0; border-radius: 12px; background: var(--azul); color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 12px 24px -12px rgba(37, 99, 235, .8); transition: background .15s, transform .15s; }
.lg-btn:hover { background: var(--azul-osc); }
.lg-btn:active { transform: translateY(1px); }
.lg-btn[disabled] { opacity: .75; cursor: wait; }
.lg-alerta { display: flex; gap: 10px; align-items: flex-start; border-radius: 12px; padding: 12px 14px; font-size: 14.5px; margin-top: 24px; }
.lg-alerta.error { background: #FEF0EF; color: #9B1C1C; border: 1px solid #FBD5D2; }
.lg-alerta.ok { background: #ECFBF2; color: #0F6B3D; border: 1px solid #C8F0D8; }
.lg-alerta svg { flex: none; margin-top: 1px; }
.lg-nota { margin-top: 28px; padding-top: 22px; border-top: 1px solid #EEF1F6; font-size: 14px; color: var(--tinta-3); line-height: 1.5; }
.lg-form .abajo { text-align: center; font-size: 13px; color: #9AA2B4; }
.lg-form .abajo a { color: var(--tinta-3); }

@media (max-width: 960px) {
    .lg { grid-template-columns: 1fr; }
    .lg-marca { display: none; }
    .lg-form { padding: 24px 16px; min-height: 100vh; }
    .lg-form .arriba { justify-content: center; }
    .lg-caja .logo-movil { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
    .lg-caja .logo-movil .ic { height: 34px; width: auto; }
    .lg-caja .logo-movil .nm { height: 21px; width: auto; }
    .lg-caja .lema-movil { display: block; }
}
.lema-movil { display: none; margin-top: 4px; font-size: 14px; color: var(--azul); font-weight: 600; }
