:root{--bg-color:#0f172a;--text-color:#f8fafc;--primary-color:#3b82f6;--secondary-color:#1e293b;--glass-bg:#1e293bb3;--glass-border:#ffffff1a;--card-shadow:0 8px 32px 0 #0000005e;--radius-lg:16px;--radius-md:12px}*{box-sizing:border-box;margin:0;padding:0}body{background-color:var(--bg-color);color:var(--text-color);background-image:radial-gradient(at 0 0,#3b82f626 0,#0000 50%),radial-gradient(at 100% 100%,#8b5cf626 0,#0000 50%);background-attachment:fixed;flex-direction:column;min-height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;display:flex}main{flex:1;width:100%;max-width:1200px;margin:0 auto;padding:2rem}.header{text-align:center;margin-bottom:3rem}.title{background:linear-gradient(90deg,#60a5fa,#a78bfa);-webkit-text-fill-color:transparent;-webkit-background-clip:text;margin-bottom:1rem;font-size:3rem;font-weight:800}.subtitle{color:#94a3b8;font-size:1.125rem}.glass-card{background:var(--glass-bg);-webkit-backdrop-filter:blur(12px);border:1px solid var(--glass-border);border-radius:var(--radius-lg);box-shadow:var(--card-shadow);padding:2rem;transition:transform .3s,box-shadow .3s}.glass-card:hover{transform:translateY(-5px);box-shadow:0 12px 40px #00000073}.grid-container{grid-template-columns:repeat(4,1fr);gap:2rem;display:grid}@media (max-width:1024px){.grid-container{grid-template-columns:repeat(3,1fr);gap:1.5rem}}@media (max-width:768px){.grid-container{grid-template-columns:repeat(3,1fr);gap:1.25rem}.article-card-img{height:180px}.article-card-content{padding:1rem}.article-card-title{margin-bottom:.5rem;font-size:1.1rem}.article-card-desc{-webkit-line-clamp:3;-webkit-box-orient:vertical;margin-bottom:1rem;font-size:.85rem;display:-webkit-box;overflow:hidden}}@media (max-width:480px){.grid-container{grid-template-columns:repeat(2,1fr);gap:1rem}.article-card-img{height:140px}.article-card-content{padding:.75rem}.article-card-title{margin-bottom:.25rem;font-size:.95rem;line-height:1.2}.article-card-desc{-webkit-line-clamp:2;margin-bottom:.75rem;font-size:.8rem}.article-badge{padding:.15rem .5rem!important;font-size:.65rem!important;top:.5rem!important;left:.5rem!important}.btn-outline{padding:.5rem;font-size:.85rem}.glass-card{padding:1rem}.person-item .person-name{font-size:1.05rem}.person-item .contact-info{font-size:.8rem}}.person-item{flex-direction:column;gap:.5rem;display:flex}.person-name{color:#fff;font-size:1.25rem;font-weight:600}.person-meta{color:#cbd5e1;justify-content:space-between;align-items:center;font-size:.875rem;display:flex}.status-badge{text-transform:uppercase;border-radius:9999px;padding:.25rem .75rem;font-size:.75rem;font-weight:600}.status-active{color:#34d399;background-color:#10b98133}.status-deceased{color:#f87171;background-color:#ef444433}.btn{border-radius:var(--radius-md);cursor:pointer;border:none;justify-content:center;align-items:center;padding:.75rem 1.5rem;font-family:inherit;font-size:1rem;font-weight:600;transition:all .2s;display:inline-flex}.btn-primary{background-color:var(--primary-color);color:#fff}.btn-primary:hover{background-color:#2563eb;transform:scale(1.02)}.btn-sm{padding:.5rem 1rem;font-size:.875rem}.btn-outline{border:1px solid var(--glass-border);color:#e2e8f0;background-color:#0000}.btn-outline:hover{background-color:#ffffff0d}.empty-state{text-align:center;color:#94a3b8;grid-column:1/-1;padding:4rem 2rem}.form-input{border-radius:var(--radius-md);color:#fff;background:#0003;border:1px solid #ffffff1a;outline:none;width:100%;padding:.875rem 1rem;font-family:inherit;font-size:1rem;transition:all .2s}.form-input:focus{background:#0000004d;border-color:#3b82f680;box-shadow:0 0 0 3px #3b82f626}.form-input::placeholder{color:#64748b}@keyframes fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.animate-fade-in{animation:.6s cubic-bezier(.16,1,.3,1) forwards fadeIn}.delay-1{animation-delay:.1s}.delay-2{animation-delay:.2s}.delay-3{animation-delay:.3s}.app-container{flex-direction:column;min-height:100vh;display:flex}.content-area{flex:1;width:100%;max-width:1200px;margin-top:70px;margin-left:auto;margin-right:auto;padding:2rem}.glass-panel{background:var(--glass-bg);-webkit-backdrop-filter:blur(12px);border:1px solid var(--glass-border)}.topbar{z-index:1000;border-bottom-width:1px;height:70px;position:fixed;top:0;left:0;right:0}.topbar-content{grid-template-columns:1fr auto 1fr;align-items:center;width:100%;max-width:1200px;height:100%;margin:0 auto;padding:0 2rem;display:grid}.brand{justify-self:start;align-items:center;gap:.5rem;display:flex}.brand-logo{font-size:1.5rem}.brand-text{color:#fff;font-size:1.25rem;font-weight:700}.topbar-actions{justify-self:end;align-items:center;gap:1.5rem;display:flex}.search-input{border:1px solid var(--glass-border);border-radius:var(--radius-md);color:#fff;background:#ffffff1a;outline:none;padding:.5rem 1rem;transition:all .2s}.search-input:focus{border-color:var(--primary-color);background:#ffffff26}.avatar{color:#fff;cursor:pointer;background:linear-gradient(135deg,#60a5fa,#8b5cf6);border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;font-weight:700;transition:transform .2s;display:flex}.avatar:hover{transform:scale(1.05)}.profile-container{position:relative}.profile-dropdown{border-radius:var(--radius-md);width:220px;box-shadow:var(--card-shadow);z-index:100;flex-direction:column;padding:.5rem 0;animation:.2s ease-out fadeIn;display:flex;position:absolute;top:calc(100% + 10px);right:0}.profile-dropdown:before{content:"";background:0 0;height:15px;position:absolute;top:-15px;left:0;right:0}.profile-header{border-bottom:1px solid var(--glass-border);flex-direction:column;gap:.25rem;padding:1rem;display:flex}.profile-name{color:#fff;font-size:.9rem;font-weight:600}.profile-email{color:#94a3b8;font-size:.8rem}.profile-menu{flex-direction:column;padding:.5rem 0;list-style:none;display:flex}.profile-menu li a,.profile-menu li button{text-align:left;color:#cbd5e1;cursor:pointer;background:0 0;border:none;width:100%;padding:.5rem 1rem;font-family:inherit;font-size:.875rem;text-decoration:none;transition:all .2s;display:block}.profile-menu li a:hover,.profile-menu li button:hover{color:#fff;background:#ffffff1a}.profile-menu .divider{background:var(--glass-border);height:1px;margin:.5rem 0}.text-danger{color:#f87171!important}.profile-menu li button.text-danger:hover{background:#ef44441a;color:#fca5a5!important}.mobile-auth-section{display:none}.mobile-auth-section .divider{background:var(--glass-border);height:1px;margin:1rem 2rem}.w-full{width:100%}.text-left{text-align:left}.mt-2{margin-top:.5rem}.mobile-profile-header{border-bottom:none;padding:.5rem 2rem 1rem}.sidebar-nav{padding:2rem 1rem}.nav-list{flex-direction:column;gap:.5rem;list-style:none;display:flex}.nav-link{-webkit-backdrop-filter:blur(8px);color:#cbd5e1;background:#ffffff08;border:1px solid #ffffff14;border-radius:8px;justify-content:center;align-items:center;width:96px;height:44px;text-decoration:none;transition:all .2s cubic-bezier(.4,0,.2,1);display:flex;box-shadow:0 4px 10px #0003,inset 0 1px #ffffff1a}.nav-link:hover{color:#fff;background:#ffffff1f;border-color:#ffffff26;transform:translateY(-2px);box-shadow:0 6px 15px #0000004d,inset 0 1px #fff3}.nav-link:active{transform:scale(.95)translateY(0);box-shadow:0 2px 5px #0003}.nav-link.active{color:#60a5fa;background:#3b82f626;border-color:#3b82f64d;transform:translateY(-1px);box-shadow:0 4px 15px #3b82f633,inset 0 1px #ffffff1a}.bottombar{border-top-width:1px;height:70px;margin-top:auto}.bottombar-content{color:#94a3b8;justify-content:space-between;align-items:center;width:100%;max-width:1200px;height:100%;margin:0 auto;padding:0 2rem;font-size:.875rem;display:flex}.footer-links{gap:1.5rem;display:flex}.footer-links span{cursor:pointer}.footer-links span:hover{color:#fff}.mobile-menu-btn{color:#fff;cursor:pointer;background:0 0;border:none;padding:.5rem;font-size:1.5rem;display:none}.menubar{justify-self:center;align-items:center;margin-left:0;display:flex}.menubar-list{gap:16px;list-style:none;display:flex}.menubar-item{color:#cbd5e1;cursor:pointer;padding:.5rem;font-weight:500;transition:color .2s}.menubar-item:hover{color:#fff}@media (max-width:768px){.content-area{padding:1rem}.bottombar{text-align:center;flex-direction:column;gap:1rem}.topbar{height:auto;padding:.5rem 0}.topbar-content{flex-wrap:wrap;justify-content:space-between;gap:.5rem;padding:0 1rem;display:flex}.mobile-menu-btn{order:2;display:block}.topbar-actions{border-radius:0 0 var(--radius-md) var(--radius-md);background:#1e293bf2;order:5;justify-content:center;width:100%;padding-bottom:1rem;display:none}.desktop-auth{display:none}.mobile-auth-section{display:block}.menubar{border-radius:var(--radius-md);background:#1e293bf2;flex-direction:column;order:4;width:100%;margin-top:1rem;margin-left:0;padding:1rem 0;display:none;box-shadow:0 4px 6px -1px #0000001a}.menubar.open{border-radius:var(--radius-md) var(--radius-md) 0 0;padding-bottom:.5rem;display:flex}.menubar.open+.topbar-actions{display:flex}.menubar-list{flex-direction:column;gap:0;width:100%}.nav-link{border-radius:0;justify-content:flex-start;width:auto;height:auto;padding:.75rem 2rem;font-size:1rem}.nav-link:hover{box-shadow:none;background:#ffffff0d;transform:none}.nav-link:active{transform:none}.nav-link.active{box-shadow:none;border-left:3px solid var(--primary-color);background:#ffffff0d;transform:none}.search-input{width:100%;max-width:300px}.brand-text{display:none}.title{font-size:2rem}}.auth-container{justify-content:center;align-items:center;min-height:calc(100vh - 140px);padding:2rem;display:flex}.auth-card{-webkit-backdrop-filter:blur(16px);background:#0f172a66;border:1px solid #ffffff1a;border-radius:20px;width:100%;max-width:560px;padding:2rem 2.5rem;box-shadow:0 20px 40px #0006,inset 0 1px #ffffff1a}.auth-title{text-align:center;background:linear-gradient(90deg,#fff,#94a3b8);color:#0000;-webkit-background-clip:text;margin-bottom:.5rem;font-size:1.75rem;font-weight:600}.auth-subtitle{text-align:center;color:#94a3b8;margin-bottom:2rem;font-size:.95rem}.auth-form{flex-direction:column;gap:1.25rem;display:flex}.auth-input-group{flex-direction:column;gap:.5rem;display:flex}.auth-input-group label{color:#cbd5e1;font-size:.875rem;font-weight:500}.auth-input{color:#fff;background:#0003;border:1px solid #ffffff1a;border-radius:10px;outline:none;width:100%;padding:.65rem 1rem;font-size:1rem;transition:all .2s}.auth-input:focus{background:#0000004d;border-color:#3b82f680;box-shadow:0 0 0 3px #3b82f626}.auth-button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#3b82f6,#60a5fa);border:none;border-radius:10px;width:100%;margin-top:.5rem;padding:.875rem;font-size:1rem;font-weight:600;transition:all .2s;box-shadow:0 4px 15px #3b82f64d}.auth-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #3b82f666}.auth-button:active{transform:scale(.98)}.auth-link{color:#60a5fa;text-align:center;margin-top:1.5rem;font-size:.875rem;text-decoration:none;transition:color .2s;display:block}.auth-link:hover{color:#93c5fd;text-decoration:underline}.auth-error{color:#fca5a5;text-align:center;background:#ef44441a;border:1px solid #ef444433;border-radius:8px;padding:.75rem;font-size:.875rem}.articles-grid{grid-template-columns:repeat(4,1fr);gap:2rem;display:grid}.article-card-img{height:220px}.article-card-content{padding:1.5rem}.article-card-title{margin-bottom:.75rem;font-size:1.25rem}.article-card-desc{margin-bottom:1.5rem;font-size:.95rem}@media (max-width:1024px){.articles-grid{grid-template-columns:repeat(3,1fr);gap:1.5rem}}@media (max-width:768px){.articles-grid{grid-template-columns:repeat(3,1fr);gap:1.25rem}.article-card-img{height:180px}.article-card-content{padding:1rem}.article-card-title{margin-bottom:.5rem;font-size:1.1rem}.article-card-desc{-webkit-line-clamp:3;-webkit-box-orient:vertical;margin-bottom:1rem;font-size:.85rem;display:-webkit-box;overflow:hidden}}@media (max-width:480px){.articles-grid{grid-template-columns:repeat(2,1fr);gap:1rem}.article-card-img{height:140px}.article-card-content{padding:.75rem}.article-card-title{margin-bottom:.25rem;font-size:.95rem;line-height:1.2}.article-card-desc{-webkit-line-clamp:2;margin-bottom:.75rem;font-size:.8rem}.article-badge{padding:.15rem .5rem!important;font-size:.65rem!important;top:.5rem!important;left:.5rem!important}.btn-outline{padding:.5rem;font-size:.85rem}}.mobile-menu-text{margin-left:.5rem;display:none}@media (max-width:768px){.mobile-menu-text{display:inline}}
