*,:before,:after{box-sizing:border-box}body{-webkit-font-smoothing:antialiased;color:#1a1a1a;background:#f4f4f4;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}a{color:inherit;text-decoration:none}button{font-family:inherit}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#aaa}.login-page{min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;display:flex;position:relative;overflow:hidden}.login-bg{z-index:0;background-image:url(https://repuve-inscripcion.sspc.gob.mx/repuve-nuevo/fondo.png);background-position:50%;background-size:cover;position:absolute;inset:0}.login-panel{z-index:1;background:0 0;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;min-height:100vh;padding:40px 48px;display:flex;position:relative}.login-card{-webkit-backdrop-filter:blur(10px);background:#ffffffbf;border-radius:16px;flex-direction:column;align-items:center;width:300px;padding:32px 28px;display:flex;box-shadow:0 20px 60px #00000073}.login-logo-wrap{background:#6b1a2a;border:2px solid #ffffff4d;border-radius:50%;justify-content:center;align-items:center;width:80px;height:80px;margin-bottom:16px;padding:10px;display:flex}.login-logo-wrap img{object-fit:contain;filter:brightness(0)invert();width:100%;height:100%}.login-title{color:#1a1a1a;letter-spacing:.08em;text-align:center;margin-bottom:4px;font-size:22px;font-weight:700}.login-subtitle{color:#888;text-align:center;margin-bottom:24px;font-size:11px}.login-form{flex-direction:column;gap:12px;width:100%;display:flex}.neu-input{color:#333;background:#f5f5f5;border:1px solid #ddd;border-radius:8px;outline:none;width:100%;height:44px;padding:0 14px;font-size:13px;transition:all .2s}.neu-input::placeholder{color:#aaa}.neu-input:focus{background:#fff;border-color:#6b1a2a}.neu-btn{color:#fff;cursor:pointer;letter-spacing:.03em;background:#6b1a2a;border:none;border-radius:8px;width:100%;height:44px;margin-top:6px;font-size:14px;font-weight:600;transition:opacity .2s}.neu-btn:hover{opacity:.9}.neu-btn:disabled{opacity:.5;cursor:not-allowed}.login-footer{color:#aaa;text-align:center;margin-top:20px;font-size:9px;line-height:1.7}*{box-sizing:border-box;margin:0;padding:0}.layout{background:#f4f4f4;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.navbar{z-index:100;background:#6b1a2a;align-items:center;height:64px;padding:0 16px;display:flex;position:sticky;top:0}.navbar-brand{border-right:1px solid #fff3;flex-shrink:0;align-items:center;gap:10px;padding-right:20px;text-decoration:none;display:flex}.brand-icon{background:#ffffff26;border-radius:6px;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.brand-name{color:#fff;letter-spacing:.05em;font-size:15px;font-weight:700;line-height:1.2;display:block}.brand-sub{color:#ffffff8c;font-size:10px;display:block}.navbar-menu{flex-wrap:wrap;flex:1;align-items:center;gap:6px;height:64px;padding:0 8px;display:flex;overflow:visible}.nav-btn{color:#f3d9e3;cursor:pointer;white-space:nowrap;background:#ffffff1a;border:none;border-radius:999px;flex-shrink:0;align-items:center;gap:6px;height:auto;padding:8px 16px;font-family:inherit;font-size:13px;font-weight:500;text-decoration:none;transition:background .15s,color .15s;display:flex}.nav-btn:hover{color:#fff;background:#ffffff2e}.nav-btn.act{color:#6b1a2a;background:#fff}.arr{opacity:.7;font-size:9px}.nav-dropdown{flex-shrink:0;align-items:center;height:64px;display:flex;position:relative}.dropdown{z-index:999;background:#4a1221;border-radius:12px;min-width:200px;position:absolute;top:64px;left:0;overflow:hidden;box-shadow:0 4px 16px #0006}.dd-item{color:#ffffffd9;padding:12px 18px;font-size:13px;text-decoration:none;transition:background .15s;display:block}.dd-item:hover{color:#fff;background:#ffffff1f}.navbar-right{border-left:1px solid #fff3;flex-shrink:0;align-items:center;gap:10px;padding-left:16px;display:flex}.refresh-btn{color:#fff;cursor:pointer;background:#ffffff1f;border:none;border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;font-size:15px;transition:background .15s;display:flex}.refresh-btn:hover{background:#ffffff38}.refresh-btn.spinning{animation:.8s linear infinite spin}.user-info{flex-direction:column;align-items:flex-end;display:flex}.user-name{color:#fff;font-size:13px;font-weight:500}.user-role{color:#ffffff8c;font-size:10px}.logout-btn{color:#fff;cursor:pointer;background:#ffffff26;border:none;border-radius:4px;padding:6px 16px;font-family:inherit;font-size:13px;font-weight:500}.logout-btn:hover{background:#ffffff40}.main-content{max-width:1400px;margin:0 auto;padding:20px}.page-wrap{flex-direction:column;gap:16px;display:flex}.page-header{justify-content:space-between;align-items:center;display:flex}.page-title{color:#333;font-size:15px;font-weight:500}.hdr-actions{align-items:center;gap:8px;display:flex}.srch-input{border:1px solid #ddd;border-radius:6px;outline:none;width:200px;height:32px;padding:0 10px;font-size:12px}.srch-input:focus{border-color:#6b1a2a}.icon-btn{cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;font-size:13px;display:flex}.icon-btn:hover{background:#f5f5f5}.card{background:#fff;border:1px solid #e8e8e8;border-radius:8px;overflow:hidden}.card-header{color:#333;border-bottom:1px solid #f0f0f0;padding:12px 16px;font-size:13px;font-weight:500}.card-body{padding:20px}.form-grid{grid-template-columns:1fr 1fr;gap:16px 24px;display:grid}.form-group{flex-direction:column;gap:5px;display:flex}.form-label{color:#444;font-size:13px;font-weight:500}.form-input{border:1px solid #ccc;border-radius:6px;outline:none;height:38px;padding:0 12px;font-family:inherit;font-size:13px}.form-input:focus{border-color:#6b1a2a}.form-select{background:#fff;border:1px solid #ccc;border-radius:6px;outline:none;height:38px;padding:0 12px;font-family:inherit;font-size:13px}.btn-primary{color:#fff;cursor:pointer;background:#6b1a2a;border:none;border-radius:6px;height:38px;padding:0 20px;font-family:inherit;font-size:13px;font-weight:500}.btn-primary:hover{opacity:.9}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{color:#6b1a2a;cursor:pointer;background:#fff;border:1px solid #6b1a2a;border-radius:6px;height:38px;padding:0 20px;font-family:inherit;font-size:13px}.btn-danger{color:#a32d2d;cursor:pointer;background:0 0;border:1px solid #e0e0e0;border-radius:4px;height:32px;padding:0 12px;font-family:inherit;font-size:11px}.btn-danger:hover{background:#fcebeb;border-color:#a32d2d}.btn-edit{color:#185fa5;cursor:pointer;background:0 0;border:1px solid #e0e0e0;border-radius:4px;height:32px;padding:0 12px;font-family:inherit;font-size:11px}.btn-edit:hover{background:#e6f1fb;border-color:#185fa5}.btn-warn{color:#854f0b;cursor:pointer;background:0 0;border:1px solid #e0e0e0;border-radius:4px;height:32px;padding:0 12px;font-family:inherit;font-size:11px}.btn-warn:hover{background:#faeeda;border-color:#854f0b}.tbl-wrap{background:#fff;border:1px solid #e8e8e8;border-radius:8px;overflow:hidden}.tbl-info{color:#6b1a2a;background:#fafafa;border-bottom:1px solid #f0f0f0;padding:10px 16px;font-size:13px;font-weight:600}.tbl-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:600px}th{text-align:left;color:#888;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;background:#fafafa;border-bottom:1px solid #e8e8e8;padding:9px 12px;font-size:10px;font-weight:500}td{color:#333;white-space:nowrap;border-bottom:1px solid #f0f0f0;padding:9px 12px;font-size:12px}tr:last-child td{border-bottom:none}tr:hover td{background:#fafafa}.td-mono{color:#6b1a2a;font-family:monospace;font-size:11px}.badge-err{color:#a32d2d;background:#fcebeb;border-radius:4px;padding:2px 8px;font-size:11px;font-weight:500}.badge-ok{color:#3b6d11;background:#eaf3de;border-radius:4px;padding:2px 8px;font-size:11px;font-weight:500}.badge-warn{color:#854f0b;background:#faeeda;border-radius:4px;padding:2px 8px;font-size:11px;font-weight:500}.loading-wrap{color:#666;flex-direction:column;align-items:center;gap:12px;padding:40px;font-size:13px;display:flex}@keyframes spin{to{transform:rotate(360deg)}}.msg-empty{text-align:center;color:#999;padding:20px;font-size:13px}.msg-warn{color:#856404;background:#fff8e1;border:1px solid #ffe082;border-radius:6px;padding:10px 16px;font-size:13px}.filtro-row{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.filtro-group{flex-direction:column;gap:4px;display:flex}.filtro-group label{color:#666;font-size:11px}.filtro-input{border:1px solid #ddd;border-radius:6px;outline:none;min-width:260px;height:36px;padding:0 12px;font-family:inherit;font-size:13px}.filtro-input:focus{border-color:#6b1a2a}.dashboard{flex-direction:column;gap:20px;display:flex}.dash-loading{color:#666;flex-direction:column;justify-content:center;align-items:center;gap:16px;height:400px;display:flex}.spinner{border:3px solid #eee;border-top-color:#6b1a2a;border-radius:50%;width:36px;height:36px;animation:.8s linear infinite spin}.dash-error{color:#c0392b;text-align:center;padding:20px}.stats-row{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.stat-card{border-radius:10px;justify-content:space-between;align-items:center;min-height:100px;padding:20px 24px;display:flex}.stat-green{background:#1d9e75}.stat-amber{background:#ba7517}.stat-dark{background:#2c3e50}.stat-info{flex-direction:column;gap:4px;display:flex}.stat-num{color:#fff;font-size:32px;font-weight:700;line-height:1}.stat-label{color:#fffc;font-size:13px}.stat-link{color:#ffffffb3;cursor:pointer;text-align:left;background:0 0;border:none;margin-top:4px;padding:0;font-size:12px;text-decoration:underline}.stat-link:hover{color:#fff}.charts-row{grid-template-columns:1fr 1fr;gap:16px;display:grid}.chart-card{background:#fff;border:1px solid #e8e8e8;border-radius:10px;overflow:hidden}.chart-header{border-bottom:1px solid #f0f0f0;padding:14px 20px}.chart-header h3{color:#333;font-size:13px;font-weight:500}.chart-body{padding:16px 12px}.chart-legend{color:#666;border-top:1px solid #f5f5f5;align-items:center;gap:8px;padding:10px 20px;font-size:12px;display:flex}.legend-dot{border-radius:50%;flex-shrink:0;width:10px;height:10px}.cols-panel{z-index:100;background:#fff;border:1px solid #e0e0e0;border-radius:8px;min-width:220px;max-height:360px;padding:12px;position:absolute;top:36px;right:0;overflow-y:auto;box-shadow:0 4px 12px #0000001a}.cols-title{color:#666;text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px;font-size:11px;font-weight:500}.col-item{color:#444;cursor:pointer;align-items:center;gap:8px;padding:4px 0;font-size:12px;display:flex}.col-item input{cursor:pointer;accent-color:#6b1a2a}
