*,:before,:after{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;padding:0;overflow-x:hidden}.login-overlay{background:linear-gradient(#0f172ab3,#0f172acc),url(/Fondo.png) 50%/cover no-repeat fixed;justify-content:center;align-items:center;width:100vw;min-height:100vh;padding:20px;font-family:Segoe UI,Roboto,Helvetica,Arial,sans-serif;display:flex}.login-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border-radius:16px;width:100%;max-width:400px;padding:40px 35px;box-shadow:0 20px 40px #0006,0 0 0 1px #fff3}.login-header{text-align:center;margin-bottom:28px}.login-title{color:#0f172a;letter-spacing:-.5px;margin:0;font-size:28px;font-weight:800}.login-subtitle{color:#64748b;margin:4px 0 0;font-size:14px;font-weight:500}.login-form,.login-input-group{flex-direction:column;gap:20px;display:flex}.login-input-group{gap:6px}.login-label{color:#334155;font-size:13px;font-weight:600}.login-input{color:#0f172a;background:#f8fafc;border:1.5px solid #cbd5e1;border-radius:8px;outline:none;width:100%;padding:12px 14px;font-size:14px;transition:all .2s}.login-input:focus{background:#fff;border-color:#008744;box-shadow:0 0 0 3px #00874426}.login-button{color:#fff;cursor:pointer;background:#008744;border:none;border-radius:8px;margin-top:8px;padding:14px;font-size:15px;font-weight:700;transition:all .2s;box-shadow:0 4px 12px #0087444d}.login-button:hover:not(:disabled){background:#006b36}.login-button:disabled{opacity:.7;cursor:not-allowed}.login-error-box{color:#991b1b;background:#fef2f2;border-left:4px solid #ef4444;border-radius:6px;margin-bottom:20px;padding:12px 14px;font-size:13px;font-weight:500}.login-footer{text-align:center;color:#94a3b8;border-top:1px solid #e2e8f0;margin-top:28px;padding-top:16px;font-size:12px}.login-password-wrapper{align-items:center;width:100%;display:flex;position:relative}.login-input-password{width:100%;padding-right:42px}.login-toggle-password{color:#94a3b8;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:4px;transition:color .2s;display:flex;position:absolute;right:10px}.login-toggle-password:hover{color:#fff}.layout-container{color:#1f2937;background-color:#f3f4f6;min-height:100vh;font-family:Arial,Helvetica,sans-serif;display:flex}.layout-sidebar{color:#1f2937;z-index:40;background-color:#fff;border-right:1px solid #d1d5db;flex-direction:column;flex-shrink:0;width:240px;display:flex}.sidebar-brand{color:#fff;background-color:#008a3e;border-bottom:1px solid #007032;align-items:center;gap:10px;padding:16px;display:flex}.brand-badge{color:#008a3e;background-color:#fff;border-radius:4px;justify-content:center;align-items:center;width:32px;height:32px;font-size:14px;font-weight:700;display:flex}.brand-text{flex-direction:column;display:flex}.brand-title{color:#fff;font-size:16px;font-weight:700}.brand-subtitle{color:#e5e7eb;font-size:11px}.sidebar-section-label{text-transform:uppercase;color:#6b7280;padding:14px 16px 6px;font-size:11px;font-weight:700}.sidebar-nav{flex-direction:column;flex:1;gap:4px;padding:6px 10px;display:flex;overflow-y:auto}.sidebar-link{color:#374151;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;align-items:center;gap:8px;width:100%;padding:10px 12px;font-size:14px;display:flex}.sidebar-link:hover{background-color:#f3f4f6;border-color:#e5e7eb}.sidebar-link.activo{color:#008a3e;background-color:#e6f4ec;border-color:#a7f3d0;font-weight:700}.sidebar-dot{background-color:currentColor;border-radius:50%;width:5px;height:5px}.sidebar-footer{background-color:#f9fafb;border-top:1px solid #e5e7eb;padding:12px 16px}.sidebar-role-pill{text-align:center;color:#374151;background-color:#e5e7eb;border-radius:4px;padding:5px 8px;font-size:12px;font-weight:700;display:block}.layout-main{flex-direction:column;flex:1;min-width:0;display:flex}.layout-header{background-color:#fff;border-bottom:1px solid #d1d5db;justify-content:space-between;align-items:center;gap:12px;height:60px;padding:0 20px;display:flex}.header-left{align-items:center;gap:12px;display:flex}.header-menu-btn{cursor:pointer;color:#1f2937;background:#f3f4f6;border:1px solid #d1d5db;border-radius:4px;padding:5px 9px;font-size:16px;display:none}.header-page-title{color:#111827;margin:0;font-size:17px;font-weight:700}.header-breadcrumb{color:#6b7280;font-size:12px}.header-right{align-items:center;gap:14px;display:flex}.header-user-info{text-align:right;flex-direction:column;display:flex}.header-user-name{color:#111827;font-size:13px;font-weight:700}.header-user-role{color:#008a3e;font-size:11px;font-weight:700}.header-logout-btn{color:#dc2626;cursor:pointer;background-color:#fff;border:1px solid #dc2626;border-radius:4px;padding:7px 12px;font-size:13px}.header-logout-btn:hover{color:#fff;background-color:#dc2626}.layout-content{box-sizing:border-box;flex:1;width:100%;padding:20px}@media (width<=768px){.layout-sidebar{position:fixed;top:0;bottom:0;left:0;transform:translate(-100%)}.layout-sidebar.abierto{transform:translate(0)}.sidebar-backdrop{z-index:30;background-color:#0006;position:fixed;inset:0}.header-menu-btn{display:block}.header-user-info{display:none}}.modulo-card{background:#fff;border:1px solid #d1d5db;border-radius:4px;padding:20px}.modulo-toolbar{flex-wrap:wrap;justify-content:space-between;gap:12px;margin-bottom:16px;display:flex}.modulo-input-buscar{border:1px solid #d1d5db;border-radius:4px;min-width:260px;padding:8px 12px;font-size:14px}.btn-primario{color:#fff;cursor:pointer;background:#008a3e;border:none;border-radius:4px;padding:9px 14px;font-size:14px;font-weight:700}.btn-primario:hover{background:#007032}.btn-secundario,.btn-estado{color:#374151;cursor:pointer;background:#f9fafb;border:1px solid #d1d5db;border-radius:4px;padding:5px 10px;font-size:13px}.btn-secundario:hover,.btn-estado:hover{background:#f3f4f6}.tabla-contenedor{overflow-x:auto}.modulo-tabla{border-collapse:collapse;width:100%;font-size:14px}.modulo-tabla th,.modulo-tabla td{text-align:left;border-bottom:1px solid #e5e7eb;padding:10px 12px}.modulo-tabla th{color:#374151;background:#f9fafb;font-weight:700}.acciones-celda{gap:6px;display:flex}.badge-estado{border-radius:4px;padding:3px 8px;font-size:12px;font-weight:700}.badge-estado.activo{color:#008a3e;background:#e6f4ec}.badge-estado.inactivo{color:#b91c1c;background:#fee2e2}.modulo-alerta-error{color:#b91c1c;background:#fee2e2;border-radius:4px;margin-bottom:14px;padding:10px 12px;font-size:13px}.modal-fondo{z-index:50;background:#00000073;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal-caja{background:#fff;border:1px solid #d1d5db;border-radius:4px;width:100%;max-width:480px;padding:20px}.modal-cabecera{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;margin-bottom:14px;padding-bottom:10px;display:flex}.modal-cabecera h3{margin:0;font-size:16px}.modal-cerrar{cursor:pointer;background:0 0;border:none;font-size:20px}.modal-form{flex-direction:column;gap:12px;display:flex}.form-grupo{flex-direction:column;gap:4px;display:flex}.form-grupo label{color:#374151;font-size:13px;font-weight:700}.form-grupo input,.form-grupo select,.form-grupo textarea{border:1px solid #d1d5db;border-radius:4px;padding:8px 10px;font-size:14px}.modal-pie{border-top:1px solid #e5e7eb;justify-content:flex-end;gap:8px;margin-top:8px;padding-top:12px;display:flex}.reportes{flex-direction:column;gap:22px;width:100%;display:flex}.reportes-encabezado,.reportes-herramientas{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;display:flex}.reportes-encabezado h2,.reportes-herramientas h3{color:#1f2937;margin:0}.reportes-encabezado p,.reportes-titulo-pdf p{color:#6b7280;margin:6px 0 0;font-size:13px}.reportes-btn-pdf{color:#fff;cursor:pointer;background:#1d4ed8;border:none;border-radius:7px;padding:11px 18px;font-weight:600}.reportes-btn-pdf:hover{background:#1e40af}.reportes-btn-pdf:disabled{opacity:.5;cursor:not-allowed}.reportes-catalogo{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.reportes-tarjeta{text-align:left;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;align-items:flex-start;gap:9px;min-height:135px;padding:17px;transition:all .2s;display:flex}.reportes-tarjeta:hover{border-color:#93c5fd;transform:translateY(-2px)}.reportes-tarjeta.activa{background:#eff6ff;border:2px solid #2563eb}.reportes-icono{font-size:25px}.reportes-titulo{color:#1f2937;font-weight:700}.reportes-descripcion{color:#6b7280;font-size:12px;line-height:1.5}.reportes-contenido{background:#fff;border:1px solid #e5e7eb;border-radius:10px;min-width:0;padding:20px}.reportes-titulo-pdf{display:none}.reportes-herramientas{margin-bottom:18px}.reportes-herramientas span{color:#6b7280;margin-top:5px;font-size:12px;display:block}.reportes-herramientas input{border:1px solid #d1d5db;border-radius:7px;outline:none;width:260px;max-width:100%;padding:10px 12px}.reportes-herramientas input:focus{border-color:#2563eb}.reportes-tabla-contenedor{width:100%;overflow-x:auto}.reportes-tabla{border-collapse:collapse;width:100%;font-size:13px}.reportes-tabla th{text-align:left;white-space:nowrap;color:#374151;background:#f3f4f6;border-bottom:1px solid #e5e7eb;padding:13px 12px}.reportes-tabla td{color:#4b5563;border-bottom:1px solid #e5e7eb;padding:12px}.reportes-tabla tbody tr:hover{background:#f9fafb}.reportes-vacio{text-align:center;color:#6b7280!important;padding:25px!important}.reportes-error{color:#b91c1c;background:#fee2e2;border-radius:7px;margin-bottom:15px;padding:12px}@media (width<=900px){.reportes-catalogo{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=500px){.reportes-catalogo{grid-template-columns:1fr}}@media print{@page{size:landscape;margin:12mm}body *{visibility:hidden}#reportes-pdf,#reportes-pdf *{visibility:visible}#reportes-pdf{border:none;width:100%;padding:0;position:absolute;top:0;left:0}.reportes-titulo-pdf{margin-bottom:20px;display:block}.reportes-titulo-pdf h2{color:#111827}.reportes-herramientas input{display:none}.reportes-tabla{font-size:10px}.reportes-tabla th,.reportes-tabla td{color:#000;border:1px solid #d1d5db;padding:8px}.reportes-tabla th{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#e5e7eb!important}.reportes-tabla tr{break-inside:avoid}}
