:root { font-family: Arial, sans-serif; color: #17212b; background: #eef3f7; }
* { box-sizing: border-box; } body { margin: 0; } .contenedor { max-width: 1100px; margin: 0 auto; padding: 2rem 1rem; }
.tarjeta { background: white; border-radius: 10px; padding: 1.25rem; margin-bottom: 1rem; box-shadow: 0 2px 12px #17212b18; }
.boton-secundario { display: inline-block; padding: .65rem 1rem; margin-top: 1rem; border: 1px solid #075985; border-radius: 6px; color: #075985; background: white; text-decoration: none; text-align: center; cursor: pointer; }
.boton-secundario:hover { background: #e0f2fe; }
.boton-regreso { width: 100%; }
.acciones-encabezado { display: none; }
h1, h2 { margin-top: 0; } label { display: block; margin-top: .75rem; font-weight: bold; } input, select, button { width: 100%; padding: .65rem; margin-top: .3rem; border: 1px solid #bdc8d2; border-radius: 6px; font: inherit; } button { background: #075985; color: white; border: 0; cursor: pointer; margin-top: 1rem; } button:hover { background: #0c4a6e; }
.encabezado { display: flex; justify-content: space-between; align-items: center; gap: 1rem; } .encabezado button { width: auto; margin: 0; } .oculto { display: none; } .rejilla { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } .cuentas { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 1rem; } .cuenta { background: #075985; color: white; border-radius: 10px; padding: 1rem; } .cuenta h3 { margin: 0 0 .5rem; } .saldo { font-size: 1.5rem; font-weight: bold; } .mensaje { min-height: 1.5rem; margin-bottom: 1rem; } .error { color: #b91c1c; } .exito { color: #166534; }
.formulario-horizontal { display: grid; grid-template-columns: 1fr 1fr auto; gap: .75rem; } .formulario-horizontal input, .formulario-horizontal button { margin-top: 0; } .formulario-horizontal button { width: auto; } .tabla-contenedor { overflow-x: auto; } table { width: 100%; border-collapse: collapse; } th, td { text-align: left; padding: .6rem; border-bottom: 1px solid #dbe3e8; white-space: nowrap; }
@media (max-width: 700px) { .rejilla, .formulario-horizontal { grid-template-columns: 1fr; } .encabezado { align-items: flex-start; flex-direction: column; } .encabezado button { width: 100%; } }

:root { --primario: #006b5f; --primario-oscuro: #063f46; --borde: #dce9e5; }
body { min-height: 100vh; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: radial-gradient(circle at 8% 10%, #d7f0ea 0, transparent 22rem), radial-gradient(circle at 96% 90%, #e8e2f7 0, transparent 24rem), #f6faf9; }
.contenedor { max-width: 1180px; padding: 2.5rem 1.25rem; }
#login-view { max-width: 500px; margin: 8vh auto; padding: 2.2rem; border: 1px solid var(--borde); border-radius: 24px; box-shadow: 0 24px 60px #16443c18; }
#login-view h1 { font-size: 2.25rem; color: var(--primario-oscuro); letter-spacing: -.05em; }
.tarjeta { border: 1px solid var(--borde); border-radius: 18px; box-shadow: 0 12px 30px #16443c0d; }
.encabezado { padding: 1.35rem 1.5rem; margin-bottom: 1rem; border-radius: 20px; color: white; background: linear-gradient(125deg, var(--primario-oscuro), var(--primario)); box-shadow: 0 14px 30px #006b5f2c; }
.encabezado h1 { margin-bottom: .3rem; } .encabezado p { margin: 0; color: #ccece6; } .encabezado button { background: #ffffff18; border: 1px solid #ffffff55; color: white; }
input, select, button { border-radius: 10px; } input:focus, select:focus { outline: 3px solid #00a88f2e; border-color: #00a88f; }
button { background: var(--primario); font-weight: 700; transition: transform .15s, box-shadow .15s, background .15s; } button:hover { background: #008573; transform: translateY(-1px); box-shadow: 0 7px 16px #006b5f25; }
.boton-secundario { color: var(--primario); border-color: #9ed8ce; background: white; } .cuenta { position: relative; overflow: hidden; border-radius: 18px; background: linear-gradient(135deg, var(--primario-oscuro), var(--primario)); box-shadow: 0 12px 25px #006b5f2b; } .cuenta::after { content: ''; position: absolute; width: 130px; height: 130px; right: -35px; top: -40px; border: 1px solid #ffffff35; border-radius: 50%; }
th { color: #52706a; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; } tbody tr:hover { background: #f0faf7; }
