﻿/* Modo oscuro del login (clase "tema-oscuro" en <html>; la misma que usa el resto de SION, ver Scripts/ModoOscuro.js). */
html.tema-oscuro { color-scheme: dark; background: #0f1623; }
html.tema-oscuro body { background: #0f1623; color: #e5e9f0; }

/* panel izquierdo */
html.tema-oscuro .Informacion { background-color: #1a2233; }
html.tema-oscuro .Informacion_Acciones_Movil { background-color: #1a2233; }
html.tema-oscuro .accion-card { background-color: #1f2839; color: #e5e9f0; }
html.tema-oscuro .accion-card p { color: #e5e9f0; }
html.tema-oscuro .accion-card:hover { background-color: #263148; }
html.tema-oscuro .bg-red { background: rgba(220,38,38,.22); color: #f87171; }
html.tema-oscuro .bg-yellow { background: rgba(202,138,4,.22); color: #facc15; }
html.tema-oscuro .bg-green { background: rgba(22,163,74,.22); color: #4ade80; }
html.tema-oscuro .bg-blue { background: rgba(37,99,235,.25); color: #60a5fa; }
html.tema-oscuro .bg-purple { background: rgba(124,58,237,.25); color: #a78bfa; }
html.tema-oscuro .accion-card[style] { box-shadow: 0 4px 14px rgba(0,0,0,.35) !important; }
html.tema-oscuro .titulo { color: #f5b301; }
html.tema-oscuro .texto { color: #e5e9f0; }
html.tema-oscuro .Footer_Texto { color: rgba(229,233,240,.45); }

/* panel del formulario */
html.tema-oscuro .Login { background-color: #0f1623; }
html.tema-oscuro .Login_Card { background: #151f31; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }
html.tema-oscuro .Login::after { opacity: .04; filter: invert(1); }
html.tema-oscuro .Login_Enabezado img { filter: brightness(0) invert(1); }
html.tema-oscuro .Login_Enabezado h2 { color: #e5e9f0; }
html.tema-oscuro .Login_Enabezado p { color: #94a0b4; }
html.tema-oscuro .Login_Enabezado h3 { color: #c3cad6; }
html.tema-oscuro .formulario_input label { color: #c3cad6; }
html.tema-oscuro .formulario_input label span { color: #f87171; }
html.tema-oscuro .formulario_input input { background-color: #131c2c; border-color: #2a3446; color: #e5e9f0; }
html.tema-oscuro .formulario_input input::placeholder { color: #6b778c; }
html.tema-oscuro .formulario_input input:focus { border-color: #4f7cff; box-shadow: 0 0 0 3px rgba(79,124,255,.2); }
html.tema-oscuro input:-webkit-autofill,
html.tema-oscuro input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #131c2c inset; -webkit-text-fill-color: #e5e9f0; caret-color: #e5e9f0; }
html.tema-oscuro .password_box .icono { color: #94a0b4; }
html.tema-oscuro .extras { color: #94a0b4; }
html.tema-oscuro .extras a { color: #6b9bff; }
html.tema-oscuro .lblMensaje { color: #f87171; }
html.tema-oscuro .btn_iniciar { background-color: #e5e9f0; color: #0f1623; font-weight: 600; }
html.tema-oscuro .btn_iniciar:hover { background-color: #ffffff; }
html.tema-oscuro .btn_iniciar.cargando,
html.tema-oscuro .btn_iniciar.cargando:hover {
    background-color: #e5e9f0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%230f1623' stroke-opacity='.25' stroke-width='3'/%3E%3Cpath d='M12 3a9 9 0 0 1 9 9' fill='none' stroke='%230f1623' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='0.8s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E");
}
html.tema-oscuro .text-Azul { color: #6b9bff; }

/* interruptor claro/oscuro (abajo a la derecha) */
.tema-toggle-login { position: fixed; right: 8px; bottom: 90px; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
    background: #4f5bff; color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,.3); z-index: 5; transition: transform .2s; }
.tema-toggle-login:hover { transform: scale(1.08); }
.tema-toggle-login .fa { font-size: 16px; }
