@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Fira+Code:wght@400;500&display=swap");:root{--bg-main:#0b0f19;--bg-card:rgba(30,41,59,.7);--bg-card-hover:rgba(30,41,59,.9);--bg-subtle:#1e293b;--bg-input:#0f172a;--bg-header:#090d16;--bg-modal:#0f172a;--bg-dropdown:#090d16;--accent:#38bdf8;--accent-gradient:linear-gradient(135deg,#38bdf8,#0284c7);--accent-gold:#fbbf24;--text-primary:#f8fafc;--text-secondary:#94a3b8;--border-color:rgba(51,65,85,.6);--glass-border:hsla(0,0%,100%,.1);--shadow-glow:0 0 25px rgba(56,189,248,.15)}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,sans-serif;background-color:var(--bg-main);color:var(--text-primary);min-height:100vh;overflow-x:hidden;line-height:1.5;transition:background-color .3s ease,color .3s ease}.glass-card{background:var(--bg-card);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid var(--glass-border);border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.4);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease,background .3s ease}.glass-card:hover{transform:translateY(-3px);border-color:var(--accent);box-shadow:var(--shadow-glow)}.btn-primary{background:var(--accent-gradient);color:#0f172a!important;font-weight:700;border:none;padding:12px 24px;border-radius:10px;cursor:pointer;display:inline-flex;align-items:center;gap:8px;transition:all .2s ease;font-size:.95rem}.btn-primary:hover{opacity:.92;transform:scale(1.02);box-shadow:0 0 15px rgba(56,189,248,.4)}.btn-secondary{background:var(--bg-subtle);color:var(--text-primary);border:1px solid var(--border-color);padding:12px 24px;border-radius:10px;cursor:pointer;display:inline-flex;align-items:center;gap:8px;transition:all .2s ease;font-size:.95rem}.btn-secondary:hover{background:var(--bg-card-hover);border-color:var(--accent)}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.animate-fade-in{animation:fadeIn .4s ease-out forwards}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:var(--bg-main)}::-webkit-scrollbar-thumb{background:#334155;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--accent)}.table-responsive-container{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:12px;position:relative}.table-responsive-container::-webkit-scrollbar{height:6px}.table-responsive-container::-webkit-scrollbar-thumb{background:rgba(56,189,248,.3);border-radius:4px}.modal-responsive-card{width:100%;max-width:680px;max-height:90vh;overflow-y:auto;-webkit-overflow-scrolling:touch;border-radius:16px}a,button,input,select,textarea{touch-action:manipulation}@media (max-width:768px){input,select,textarea{font-size:16px!important}}@media (max-width:1024px){.responsive-grid-4{grid-template-columns:repeat(2,1fr)!important}}@media (max-width:768px){.responsive-grid-4{grid-template-columns:1fr!important}.navbar-container{padding:10px 14px!important;gap:8px!important}.navbar-links{gap:8px!important;flex-wrap:wrap;justify-content:flex-end}.hero-title{font-size:1.85rem!important;line-height:1.25!important}}.sgp-sidebar{width:260px;flex-shrink:0;background:var(--bg-header);border-right:1px solid var(--border-color);padding:20px 16px;display:flex;flex-direction:column;justify-content:space-between;position:fixed;top:70px;bottom:0;left:0;z-index:50;overflow-y:auto;transition:left .3s cubic-bezier(.4,0,.2,1),transform .3s ease}.sgp-main-content{flex:1 1;margin-left:260px;padding:28px 36px;min-width:0;transition:margin-left .3s cubic-bezier(.4,0,.2,1)}@media (max-width:768px){.sgp-sidebar{top:0!important;left:-320px!important;width:280px!important;max-width:85vw!important;z-index:1000!important;box-shadow:4px 0 30px rgba(0,0,0,.8)!important}.sgp-sidebar.open{left:0!important}.sgp-main-content{margin-left:0!important;padding:14px 10px!important;width:100%!important}.sgp-header-title{font-size:1.05rem!important}.sgp-header-subtitle{display:none!important}}body.light-theme{--bg-main:#f8fafc;--bg-card:#fff;--bg-card-hover:#f1f5f9;--bg-subtle:#f1f5f9;--bg-input:#fff;--bg-header:#fff;--bg-modal:#fff;--bg-dropdown:#fff;--accent:#0284c7;--accent-gradient:linear-gradient(135deg,#0284c7,#0369a1);--accent-gold:#d97706;--text-primary:#0f172a;--text-secondary:#475569;--border-color:#cbd5e1;--glass-border:#e2e8f0;--shadow-glow:0 4px 20px rgba(2,132,199,.15);background-color:#f8fafc!important;color:#0f172a!important}body.light-theme .glass-card{background:#fff!important;border:1px solid #cbd5e1!important;box-shadow:0 4px 18px rgba(0,0,0,.05)!important;color:#0f172a!important}body.light-theme aside{background:#fff!important;border-right:1px solid #cbd5e1!important}body.light-theme input,body.light-theme select,body.light-theme textarea{background:#fff!important;color:#0f172a!important;border-color:#cbd5e1!important}body.light-theme select option{background:#fff!important;color:#0f172a!important}body.light-theme div[style*="background: '#090d16'"],body.light-theme div[style*="background: '#0f172a'"],body.light-theme div[style*="background: '#1e293b'"],body.light-theme div[style*="background: rgb(15, 23, 42)"],body.light-theme div[style*="background: rgb(30, 41, 59)"],body.light-theme form[style*="background: '#0f172a'"]{background:#f1f5f9!important;color:#0f172a!important;border-color:#cbd5e1!important}body.light-theme tr[style*="background: '#0f172a'"],body.light-theme tr[style*="background: rgb(15, 23, 42)"]{background:#e2e8f0!important;color:#0f172a!important}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.sgp-popover-card{background:#0f172a!important;border:1.5px solid var(--accent)!important;box-shadow:0 10px 25px rgba(0,0,0,.6)!important;border-radius:10px}body.light-theme .sgp-popover-card{background:#fff!important;border:1.5px solid #0284c7!important;box-shadow:0 10px 25px rgba(0,0,0,.18)!important}.sgp-popover-input{width:100%!important;padding:6px 10px!important;font-size:.78rem!important;border-radius:6px!important;background:hsla(0,0%,100%,.08)!important;border:1px solid var(--border-color)!important;color:#fff!important;margin-bottom:6px!important}body.light-theme .sgp-popover-input{background:#f1f5f9!important;border:1px solid #cbd5e1!important;color:#0f172a!important}.sgp-popover-item{color:#f8fafc!important;background:transparent;border:none;border-radius:6px;cursor:pointer;width:100%;text-align:left;padding:7px 10px;font-size:.78rem;font-weight:600;transition:all .15s ease}.sgp-popover-item:hover{background:rgba(56,189,248,.2)!important;color:#38bdf8!important}.sgp-popover-item.selected{background:rgba(56,189,248,.25)!important;color:#38bdf8!important;font-weight:800!important}body.light-theme .sgp-popover-item{color:#0f172a!important}body.light-theme .sgp-popover-item:hover{background:#e0f2fe!important;color:#0284c7!important}body.light-theme .sgp-popover-item.selected{background:#0284c7!important;color:#fff!important}.sgp-custom-datepicker-popover{background:var(--bg-card)!important;border:1.5px solid var(--accent);border-radius:16px;box-shadow:0 12px 35px rgba(0,0,0,.8)}body.light-theme .sgp-custom-datepicker-popover{background:#fff!important;border:1.5px solid #0284c7!important;box-shadow:0 12px 35px rgba(0,0,0,.15)!important}body.light-theme .sgp-custom-datepicker-popover button.nav-btn{background:#f1f5f9!important;color:#0f172a!important}body.light-theme .sgp-custom-datepicker-popover span.day-header{color:#475569!important}body.light-theme .sgp-custom-datepicker-popover button.day-btn{background:#f8fafc!important;color:#0f172a!important}body.light-theme .sgp-custom-datepicker-popover button.day-btn.selected{background:#0284c7!important;color:#fff!important}.sgp-parroquia-popover{background:var(--bg-card)!important;border:1.5px solid var(--accent);box-shadow:0 10px 25px rgba(0,0,0,.6)}body.light-theme .sgp-parroquia-popover{background:#fff!important;border:1.5px solid #cbd5e1!important;box-shadow:0 10px 25px rgba(0,0,0,.15)!important}body.light-theme .sgp-parroquia-popover .parroquia-item{color:#0f172a!important}body.light-theme .sgp-parroquia-popover .parroquia-item:hover{background:rgba(2,132,199,.1)!important}body.light-theme .sgp-parroquia-popover .parroquia-item.selected{background:rgba(2,132,199,.15)!important;color:#0284c7!important}body.light-theme .sgp-btn-continue-editing{background:#fff!important;color:#0f172a!important;border:1px solid #cbd5e1!important}body.light-theme .sgp-btn-discard-changes{background:#ef4444!important;color:#fff!important}