@import url(https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;500;600;700&display=swap);code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}body.lang-bn{font-family:Noto Sans Bengali,Hind Siliguri,Noto Sans,sans-serif}.notice-detail-page{margin:0 auto;max-width:1140px;padding-left:1rem;padding-right:1rem}*{box-sizing:border-box}*,body{margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f5f5;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;overflow-x:hidden}html{margin:0;padding:0}.App{display:flex;flex-direction:column;min-height:100vh}.navbar{background-color:#2c3e50;box-shadow:0 2px 4px #0000001a;color:#fff;padding:1rem 0}.nav-container{justify-content:space-between;margin:0 auto;max-width:1140px;padding:0 2rem}.nav-container,.nav-logo{align-items:center;display:flex}.nav-logo{color:#fff;font-size:1.5rem;font-weight:700;gap:.75rem;text-decoration:none}.nav-logo img{background:#fff;flex-shrink:0;height:50px;object-fit:contain;padding:8px;width:auto}.nav-logo .logo-text,.nav-logo img{border-radius:6px;box-shadow:0 2px 4px #0000001a}.nav-logo .logo-text{background:#fffffff2;color:#2c3e50;display:inline-block;font-weight:700;padding:6px 12px;white-space:nowrap}.nav-toggle{background:#0000;border:0;cursor:pointer;display:none;padding:.25rem}.nav-toggle .bar{background:#fff;display:block;height:2px;margin:5px 0;transition:all .2s ease;width:24px}.nav-menu{gap:2rem}.nav-language,.nav-menu{align-items:center;display:flex}.nav-language{background:#ffffff1f;border-radius:999px;gap:.5rem;padding:.35rem .75rem}.nav-language label{color:#ffffffbf;font-size:.75rem;letter-spacing:.05em;text-transform:uppercase}.nav-language select{background:#0000;border:none;color:#fff;cursor:pointer;font-weight:600;outline:none}.nav-language select option{color:#2c3e50}.nav-link{border-radius:4px;color:#fff;padding:.5rem 1rem;text-decoration:none;transition:background-color .3s}.nav-link:hover{background-color:#ffffff1a}.nav-user{color:#ecf0f1;margin-right:1rem}.logout-btn{background:none;border-radius:4px;padding:.5rem 1rem;transition:background-color .3s}.logout-btn:hover{background-color:#ffffff1a}.public-home{padding:2rem 2rem 120px}.events-section,.features,.galleries-section,.notices-section,.videos-section{box-sizing:border-box;margin-left:auto;margin-right:auto;max-width:1140px;width:100%}.public-home .hero-slider{left:50%;margin:-2rem -50vw 3rem;max-width:none;padding:0;position:relative;right:50%}.hero-slider{height:90vh;margin-bottom:3rem;min-height:600px;overflow:hidden;padding:0;position:relative;width:100%}.hero-slider[style*="height: auto"]{height:auto;min-height:500px}.hero-slider[style*="height: 400px"]{height:400px;min-height:400px}.hero-slider[style*="height: 500px"]{height:500px;min-height:500px}.hero-slider[style*="height: 600px"]{height:600px;min-height:600px}.hero-slider[style*="height: 700px"]{height:700px;min-height:700px}.hero-slider[style*="height: 80vh"]{height:80vh;min-height:500px}.hero-slider[style*="height: 100vh"]{height:100vh;min-height:600px}.hero-slider[style*="width: 100%"]{max-width:none!important;width:100%!important}.hero-slider[style*="width: 100vw"],.public-home .hero-slider{max-width:none!important;width:100vw!important}.public-home .hero-slider{left:50%!important;margin-left:-50vw!important;margin-right:-50vw!important;margin-top:-2rem!important;padding:0!important;position:relative!important;right:50%!important;top:0!important}.public-home{position:relative}.public-home .hero-slider{left:0;position:absolute;right:0;top:0;width:100vw;z-index:1}@media (max-width:768px){.public-home .hero-slider{margin-bottom:2rem;margin-top:0}.hero-slider{height:55vh;min-height:320px}.slide{min-height:400px}.events-section,.features,.notices-section,.videos-section{margin-left:0;margin-right:0;max-width:100%;width:100%}}.transition-fade .slide{opacity:0;transition:opacity .5s ease-in-out}.transition-fade .slide.active{opacity:1!important}.transition-slide .slide{transform:translateX(100%);transition:transform .5s ease-in-out}.transition-slide .slide.active{transform:translateX(0)}.transition-zoom .slide{transform:scale(1.1);transition:transform .5s ease-in-out}.transition-zoom .slide.active{transform:scale(1)}.transition-flip .slide{transform:rotateY(90deg);transition:transform .5s ease-in-out}.transition-flip .slide.active{transform:rotateY(0deg)}.slider-container{overflow:hidden;position:relative}.slide,.slider-container{height:100%;min-height:600px;width:100%}.slide{align-items:center;background-position:50%!important;background-repeat:no-repeat!important;background-size:cover!important;display:flex;justify-content:center;left:0;opacity:0;position:absolute;top:0;transition:opacity 1s ease-in-out}.slide.active{opacity:1}.slide,.slide[style*=background-image],.slide[style*=backgroundImage]{background-position:50%!important;background-repeat:no-repeat!important;background-size:cover!important}.slide-overlay{background:linear-gradient(#0006,#0009);height:100%;left:0;position:absolute;top:0;width:100%}.slide-content{align-items:center;color:#fff;display:flex;flex-direction:column;justify-content:center;left:50%;max-width:800px;padding:2rem;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);z-index:2}.slide-content[style*="justify-content: left"]{left:20%;transform:translateY(-50%)}.slide-content[style*="justify-content: right"]{left:80%;transform:translateY(-50%)}.slide-content[style*="align-items: top"]{top:20%;transform:translateX(-50%)}.slide-content[style*="align-items: bottom"]{top:80%;transform:translateX(-50%)}.slide-content[style*="justify-content: left"][style*="align-items: top"]{left:20%;top:20%;transform:none}.slide-content[style*="justify-content: right"][style*="align-items: top"]{left:80%;top:20%;transform:none}.slide-content[style*="justify-content: left"][style*="align-items: bottom"]{left:20%;top:80%;transform:none}.slide-content[style*="justify-content: right"][style*="align-items: bottom"]{left:80%;top:80%;transform:none}.slide-title{animation:slideInUp .8s ease-out;font-size:3.5rem;font-weight:700;margin-bottom:1rem;text-shadow:2px 2px 4px #000000b3}.slide-subtitle{animation:slideInUp .8s ease-out .2s both;color:#ecf0f1;font-size:2rem;font-weight:300;margin-bottom:1.5rem;text-shadow:1px 1px 2px #000000b3}.slide-description{animation:slideInUp .8s ease-out .4s both;font-size:1.2rem;line-height:1.6;margin-bottom:2rem;text-shadow:1px 1px 2px #000000b3}.cta-button{animation:slideInUp .8s ease-out .6s both;background-color:#3498db;border-radius:50px;box-shadow:0 4px 15px #3498db4d;color:#fff;display:inline-block;font-size:1.1rem;font-weight:600;padding:1rem 2rem;text-decoration:none;transition:all .3s ease}.cta-button:hover{background-color:#2980b9;box-shadow:0 6px 20px #3498db66;transform:translateY(-2px)}.slider-nav{background:#00000080;border:none;border-radius:50%;color:#fff;cursor:pointer;font-size:1.2rem;height:50px;position:absolute;top:50%;transform:translateY(-50%);transition:all .3s ease;width:50px;z-index:3}.slider-nav:hover{background:#000c;transform:translateY(-50%) scale(1.1)}.slider-nav.prev{left:2rem}.slider-nav.next{right:2rem}.slider-dots{bottom:2rem;display:flex;gap:1rem;left:50%;position:absolute;transform:translateX(-50%);z-index:3}.dot{background:#ffffff80;border:none;border-radius:50%;cursor:pointer;height:12px;transition:all .3s ease;width:12px}.dot.active{background:#fff;transform:scale(1.2)}.default-slide{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;justify-content:center}.loading-spinner{color:#7f8c8d;font-size:1.5rem;height:100%}@keyframes slideInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.hero{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px;color:#fff;margin-bottom:3rem;padding:4rem 0;text-align:center}.hero h1{font-size:3rem;margin-bottom:1rem}.hero p{font-size:1.2rem;opacity:.9}.features{margin-bottom:3rem;position:relative;width:100%;z-index:1}.feature-grid{grid-gap:2.5rem;display:grid;gap:2.5rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));margin-bottom:3rem}.feature-card{background:#fff;border-radius:12px;box-shadow:0 4px 15px #0000001a;display:flex;flex-direction:column;justify-content:center;min-height:200px;padding:2.5rem;text-align:center;transition:transform .3s ease}.feature-card:hover{box-shadow:0 8px 25px #00000026;transform:translateY(-5px)}.feature-card h3{color:#2c3e50;font-size:1.25rem;margin-bottom:1rem}.events-section,.galleries-section,.notices-section,.videos-section{background:#fff;border-radius:8px;box-shadow:0 2px 10px #0000001a;margin-bottom:2rem;padding:2rem;position:relative;width:100%;z-index:1}.events-section h2,.galleries-section h2,.notices-section h2,.videos-section h2{color:#2c3e50;margin-bottom:2rem}.events-grid,.notices-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(350px,1fr))}.event-card,.notice-card{background:#f9f9f9;border:1px solid #e0e0e0;border-radius:8px;padding:1.5rem}.event-card h3,.notice-card h3{color:#2c3e50;margin-bottom:.5rem}.auth-form select option:disabled{background-color:#f5f5f5;color:#999;font-style:italic}.auth-form select option:disabled:hover{background-color:#f5f5f5;cursor:not-allowed}.auth-container{align-items:center;display:flex;justify-content:center;min-height:80vh;padding:2rem}.auth-form{background:#fff;border-radius:8px;box-shadow:0 4px 20px #0000001a;max-width:400px;padding:3rem;width:100%}.auth-form h2{color:#2c3e50;margin-bottom:2rem;text-align:center}.form-group input,.form-group select{border:1px solid #ddd;border-radius:4px;padding:.75rem;width:100%}.form-group input:focus,.form-group select:focus{border-color:#3498db}.submit-btn{background-color:#3498db;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:1rem;padding:.75rem;transition:background-color .3s;width:100%}.submit-btn:hover:not(:disabled){background-color:#2980b9}.submit-btn:disabled{background-color:#bdc3c7;cursor:not-allowed}.auth-link{margin-top:1rem;text-align:center}.auth-link a{color:#3498db;text-decoration:none}.auth-link a:hover{text-decoration:underline}.error-message{background-color:#e74c3c;border-radius:4px;color:#fff;margin-bottom:1rem;padding:.75rem}.dashboard-header{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px;color:#fff;margin-bottom:2rem;padding:2rem;text-align:center}.admin-dashboard,.manager-dashboard,.resident-dashboard{padding-bottom:120px}.dashboard-header h1{font-size:2.5rem;margin-bottom:.5rem}.dashboard-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));margin-bottom:2rem}.dashboard-card{background:#fff;border-radius:8px;box-shadow:0 2px 10px #0000001a;padding:2rem}.dashboard-card h3{border-bottom:2px solid #3498db;color:#2c3e50;margin-bottom:1.5rem;padding-bottom:.5rem}.bills-list,.buildings-list,.complaints-list,.notices-list,.users-list{margin-bottom:1rem}.bill-item,.building-item,.complaint-item,.notice-item,.user-item{background:#f9f9f9;border:1px solid #e0e0e0;border-radius:4px;margin-bottom:1rem;padding:1rem}.complaint-item h4,.notice-item h4{color:#2c3e50;margin-bottom:.5rem}.bill-info{align-items:center;display:flex;justify-content:space-between;margin-bottom:.5rem}.status{border-radius:4px;font-weight:700;padding:.25rem .5rem}.status.pending{background-color:#f39c12;color:#fff}.status.paid,.status.resolved{background-color:#27ae60;color:#fff}.status.in-progress{background-color:#3498db;color:#fff}.view-all-link{color:#3498db;font-weight:500;text-decoration:none}.view-all-link:hover{text-decoration:underline}.quick-actions{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.action-btn{background-color:#3498db;border-radius:4px;color:#fff;display:block;padding:.75rem;text-align:center;text-decoration:none;transition:background-color .3s}.action-btn:hover{background-color:#2980b9}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(100px,1fr));text-align:center}.stat-item{align-items:center;display:flex;flex-direction:column}.stat-number{color:#3498db}.loading,.stat-label{color:#7f8c8d}.loading{font-size:1.2rem;padding:2rem;text-align:center}.cms-container{margin:0 auto;max-width:1200px;padding:2rem}.cms-header{margin-bottom:2rem}.cms-header h1{color:#2c3e50;margin-bottom:.5rem}.cms-tabs{border-bottom:2px solid #e0e0e0;gap:1rem;margin-bottom:2rem}.tab-btn{border-bottom:2px solid #0000;color:#7f8c8d;font-size:1rem;transition:all .3s}.tab-btn.active{border-bottom-color:#3498db;color:#3498db}.cms-content{border-radius:8px;box-shadow:0 2px 10px #0000001a;padding:2rem}.btn-primary{background-color:#3498db;border:none;border-radius:4px;cursor:pointer;display:inline-block;padding:.75rem 1.5rem;text-decoration:none;transition:background-color .3s}.btn-primary:hover{background-color:#2980b9}.btn-secondary{background-color:#95a5a6;border:none;border-radius:4px;cursor:pointer;margin-left:1rem;padding:.75rem 1.5rem}.footer{background:linear-gradient(135deg,#2c3e50,#34495e);color:#fff;margin-top:auto;position:relative}.footer-container{margin:0 auto;max-width:1200px;padding:0 2rem}.footer-content{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:80px;padding:3rem 0 2rem}.footer-section h3{color:#ecf0f1;font-size:1.5rem;margin-bottom:1rem}.footer-section h4{color:#ecf0f1;font-size:1.2rem;margin-bottom:1rem}.footer-section p{color:#bdc3c7;line-height:1.6;margin-bottom:1rem}.social-links{display:flex;gap:1rem;margin-top:1rem}.social-link{align-items:center;background-color:#3498db;border-radius:50%;color:#fff;display:flex;font-size:1.2rem;height:40px;justify-content:center;text-decoration:none;transition:all .3s ease;width:40px}.social-link:hover{background-color:#2980b9;transform:translateY(-2px)}.footer-links{list-style:none;padding:0}.footer-links li{margin-bottom:.5rem}.footer-links a{color:#bdc3c7;text-decoration:none;transition:color .3s ease}.footer-links a:hover{color:#3498db}.contact-info{display:flex;flex-direction:column;gap:.75rem}.contact-item{align-items:center;color:#bdc3c7;display:flex;gap:.75rem}.contact-item i{color:#3498db;text-align:center;width:20px}.footer-bottom{background:linear-gradient(135deg,#2c3e50,#34495e);border-top:1px solid #34495e;bottom:0;box-shadow:0 -2px 10px #0000004d;left:0;padding:1.5rem 0;position:fixed;right:0;z-index:1000}.footer-bottom-content{align-items:center;display:flex;flex-wrap:wrap;gap:2rem;justify-content:center;text-align:center}.copyright{align-items:center;display:flex;gap:.5rem}.copyright p{color:#bdc3c7;font-size:.9rem;font-weight:400;margin:0}.developer-info{align-items:center;background:#3498db1a;border:1px solid #3498db4d;border-radius:25px;display:flex;gap:.5rem;padding:.75rem 1.5rem;transition:all .3s ease}.developer-info:hover{background:#3498db33;border-color:#3498db80;transform:translateY(-1px)}.developer-info p{color:#ecf0f1;font-size:.9rem;font-weight:500;margin:0}.developer-link{color:#3498db;font-size:1rem;font-weight:700;position:relative;text-decoration:none;transition:all .3s ease}.developer-link:hover{color:#2980b9;text-decoration:none;transform:scale(1.05)}.developer-link:after{background:linear-gradient(90deg,#3498db,#2980b9);bottom:-2px;content:"";height:2px;left:0;position:absolute;transition:width .3s ease;width:0}.developer-link:hover:after{width:100%}.btn-edit{background-color:#f39c12;margin-right:.5rem}.btn-delete,.btn-edit{border:none;border-radius:4px;cursor:pointer;padding:.5rem 1rem}.btn-delete{background-color:#e74c3c}.page-form-modal{align-items:center;background:#00000080;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:1000}.modal-content{border-radius:8px;max-width:600px}.pages-list{grid-gap:1rem;display:grid;gap:1rem}.page-item{align-items:center;background:#f9f9f9;border:1px solid #e0e0e0;border-radius:4px;display:flex;justify-content:space-between;padding:1rem}.page-info h3{color:#2c3e50;margin-bottom:.5rem}.page-info p{color:#7f8c8d;margin-bottom:.5rem}.status.published{background-color:#27ae60}.status.draft,.status.published{border-radius:4px;color:#fff;font-size:.8rem;padding:.25rem .5rem}.status.draft{background-color:#f39c12}.upload-area{gap:1rem}.upload-btn{background-color:#3498db;border-radius:4px;text-decoration:none}.media-item{border:1px solid #e0e0e0;border-radius:4px}.media-preview img{border-radius:4px;height:150px}.file-icon{font-size:3rem;margin:1rem 0}.media-info h4{margin-bottom:.5rem}.media-info p{margin-bottom:.25rem}.settings-form{max-width:500px}@media (max-width:768px){.nav-container{padding:0 1rem;position:relative}.nav-toggle{display:block}.nav-menu{background:#2c3e50;border-bottom-left-radius:8px;border-bottom-right-radius:8px;box-shadow:0 6px 12px #00000026;display:none;gap:.75rem;left:0;padding:1rem 1.25rem;position:absolute;right:0;top:64px;z-index:1000}.nav-menu.open{display:flex}.nav-container,.nav-menu{flex-direction:column;gap:1rem}.nav-logo img{height:60px;padding:6px}.nav-logo .logo-text{font-size:1rem;padding:4px 8px}.hero h1{font-size:2rem}.dashboard-grid,.feature-grid{grid-template-columns:1fr}.cms-tabs{flex-direction:column}.content-header{align-items:stretch}.content-header,.page-item{flex-direction:column;gap:1rem}.media-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.footer-content{grid-template-columns:1fr;text-align:center}.footer-bottom-content{flex-direction:column;gap:1rem;text-align:center}.developer-info{font-size:.8rem;padding:.5rem 1rem}.social-links{justify-content:center}}.dashboard-footer{background:linear-gradient(135deg,#2c3e50,#34495e);border-top:1px solid #34495e;bottom:0;color:#fff;margin-top:auto;padding:1rem 0;position:-webkit-sticky;position:sticky;z-index:1000}.dashboard-footer-content{margin:0 auto;max-width:1200px;padding:0 2rem;text-align:center}.dashboard-footer .footer-branding{align-items:center;display:flex;flex-direction:column;gap:.5rem}.dashboard-footer .footer-branding p{font-size:.9rem;margin:0;opacity:.9}.dashboard-footer .footer-branding a{color:#3498db;font-weight:500;text-decoration:none;transition:color .3s ease}.dashboard-footer .footer-branding a:hover{color:#5dade2;text-decoration:underline}.admin-sidebar.collapsed .nav-group-header span,.admin-sidebar.collapsed .nav-item span,.admin-sidebar.collapsed .sidebar-brand h2,.admin-sidebar.collapsed .sidebar-brand p,.admin-sidebar.collapsed .user-details{opacity:0;visibility:hidden}.admin-sidebar.collapsed .nav-group-items{display:none}.sidebar-header{position:relative}.admin-sidebar-header{align-items:center;border-bottom:1px solid #34495e;display:flex;justify-content:space-between;padding:1.5rem;position:relative}.sidebar-brand h2{color:#fff;font-size:1.5rem;font-weight:600;margin:0;transition:all .3s ease}.sidebar-brand p{color:#bdc3c7;font-size:.9rem;margin:.25rem 0 0;transition:all .3s ease}.admin-nav{flex:1 1;padding:1rem 0}.nav-section{margin-bottom:.5rem}.nav-group-header{position:relative}.nav-group-header i:first-child{margin-right:.75rem;text-align:center;width:20px}.nav-group-header span{flex:1 1;font-weight:500;transition:all .3s ease}.nav-group-header:hover .nav-arrow{transform:rotate(180deg)}.nav-group-header.active{background:#3498db33;border-left-color:#3498db;color:#fff}.nav-group-header.active .nav-arrow{transform:rotate(180deg)}.nav-group-items{background:#0000001a;border-left:3px solid #3498db;border-radius:0 4px 4px 0;margin-left:1.5rem;max-height:0;opacity:0;overflow:hidden;transition:all .3s ease}.nav-group-items.expanded{max-height:500px;opacity:1}.nav-item.active{background:#3498db33}.nav-item i{margin-right:.75rem;text-align:center;width:20px}.admin-header{border-bottom:1px solid #e9ecef;box-shadow:0 2px 4px #0000000d}.header-left{align-items:center;display:flex;gap:1rem}.mobile-sidebar-toggle{background:none;border:none;border-radius:4px;color:#6c757d;cursor:pointer;display:none;font-size:1.2rem;padding:.5rem;transition:all .3s ease}.mobile-sidebar-toggle:hover{background:#f8f9fa;color:#495057}.breadcrumb{align-items:center;color:#6c757d;display:flex;font-size:.9rem;gap:.5rem}.breadcrumb i{font-size:.7rem}.header-btn{background:none;border:none;border-radius:4px;color:#6c757d;cursor:pointer;padding:.5rem;position:relative;transition:all .3s ease}.header-btn:hover{background:#f8f9fa;color:#495057}.badge{background:#dc3545;border-radius:10px;color:#fff;font-size:.7rem;min-width:16px;padding:.2rem .4rem;position:absolute;right:-2px;text-align:center;top:-2px}.admin-sidebar-footer{border-top:1px solid #34495e;margin-top:auto;padding:1rem 1.5rem}.user-avatar{background:#ffffff1a}.user-details{transition:all .3s ease}.user-name{font-weight:500}.user-role{color:#bdc3c7}.cms-container{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000000d;overflow:hidden}.cms-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:2rem;text-align:center}.cms-header h1{color:#fff;font-size:2rem;font-weight:600;margin:0 0 .5rem}.cms-header p{color:#ffffffe6;font-size:1.1rem;margin:0}.cms-tabs{background:#f8f9fa;border-bottom:1px solid #e9ecef;display:flex;margin:0;padding:0}.tab-btn{padding:1rem 2rem;position:relative}.tab-btn.active{border-bottom-color:#007bff;color:#495057}.tab-btn.active:after{background:#007bff;bottom:-1px;content:"";height:3px;left:0;position:absolute;right:0}.cms-content{background:#fff;padding:0}.content-header{align-items:center;background:#f8f9fa;border-bottom:1px solid #e9ecef;display:flex;justify-content:space-between;margin-bottom:2rem;padding:1.5rem 2rem}.content-header h2{color:#2c3e50;font-size:1.5rem;font-weight:600;margin:0}.page-form-modal,.slide-form-modal{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:2000}.optional-text{color:#6c757d;font-size:.9rem;font-weight:400}.required-text{color:#dc3545;font-weight:600}.header-actions{align-items:center}.header-actions .btn-secondary{align-items:center;background:#6c757d;border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:.9rem;gap:.5rem;padding:.75rem 1.5rem;transition:all .2s ease}.header-actions .btn-secondary:hover{background:#5a6268;transform:translateY(-1px)}.cms-content.full-width{margin:0;max-width:100%;padding:2rem}.cms-content.full-width .content-header{margin-bottom:2rem}.cms-content.full-width .content-header p{color:#6c757d;font-size:1rem;margin:.5rem 0 0}.slider-settings-form{background:#fff;border:1px solid #e9ecef;border-radius:12px;box-shadow:0 4px 12px #0000001a;max-width:100%;padding:2rem}.slider-settings-form .form-section{border-bottom:1px solid #e9ecef;margin-bottom:2.5rem;padding-bottom:2rem}.slider-settings-form .form-section:last-of-type{border-bottom:none;margin-bottom:0}.slider-settings-form .form-section h3{align-items:center;color:#333;display:flex;font-size:1.25rem;font-weight:600;gap:.5rem;margin:0 0 1.5rem}.slider-settings-form .form-section h3:before{background:linear-gradient(135deg,#007bff,#0056b3);border-radius:2px;content:"";height:20px;width:4px}.slider-settings-form .form-row{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:1fr 1fr;margin-bottom:1.5rem}.slider-settings-form .form-row:last-child{margin-bottom:0}.slider-settings-form .form-group{display:flex;flex-direction:column}.slider-settings-form .form-group label{color:#333;font-size:.9rem;font-weight:500;margin-bottom:.5rem}.slider-settings-form .form-group input,.slider-settings-form .form-group select{background:#fff;border:2px solid #e9ecef;border-radius:8px;font-size:.9rem;padding:.75rem;transition:all .2s ease}.slider-settings-form .form-group input:focus,.slider-settings-form .form-group select:focus{border-color:#007bff;box-shadow:0 0 0 3px #007bff1a;outline:none}.slider-settings-form .form-actions{border-top:1px solid #e9ecef;display:flex;gap:1rem;justify-content:flex-start;margin-top:2rem;padding-top:2rem}.slider-settings-form .form-actions .btn-primary,.slider-settings-form .form-actions .btn-secondary{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;font-weight:500;gap:.5rem;padding:.75rem 1.5rem;transition:all .2s ease}.slider-settings-form .form-actions .btn-primary{background:linear-gradient(135deg,#007bff,#0056b3);color:#fff}.slider-settings-form .form-actions .btn-primary:hover{background:linear-gradient(135deg,#0056b3,#004085);box-shadow:0 4px 12px #007bff4d;transform:translateY(-1px)}.slider-settings-form .form-actions .btn-secondary{background:#6c757d;color:#fff}.slider-settings-form .form-actions .btn-secondary:hover{background:#5a6268;box-shadow:0 4px 12px #6c757d4d;transform:translateY(-1px)}@media (max-width:768px){.slider-settings-form .form-row{gap:1rem;grid-template-columns:1fr}.slider-settings-form .form-actions{flex-direction:column}.slider-settings-form .form-actions .btn-primary,.slider-settings-form .form-actions .btn-secondary{justify-content:center;width:100%}}.form-section{border:1px solid #e9ecef;border-radius:8px;margin:2rem 0}.form-section h4{border-bottom:2px solid #007bff;color:#495057;font-size:1.1rem;font-weight:600;margin:0 0 1.5rem;padding-bottom:.5rem}.form-row{margin-bottom:1rem}.form-row .form-group{margin-bottom:0}@media (max-width:768px){.form-row{gap:.5rem;grid-template-columns:1fr}}.modal-content{border:1px solid #e9ecef;border-radius:16px;box-shadow:0 20px 40px #00000026;max-width:700px;padding:2rem}.modal-content h3{border-bottom:2px solid #f8f9fa;color:#2c3e50;font-size:1.5rem;font-weight:600;padding-bottom:1rem}.form-group,.modal-content h3{margin-bottom:1.5rem}.form-group label{color:#2c3e50}.form-group input,.form-group textarea{background:#f8f9fa;border:2px solid #e9ecef;border-radius:8px;font-size:1rem;padding:.875rem 1rem;transition:all .3s ease;width:100%}.form-group input:focus,.form-group textarea:focus{background:#fff;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a;outline:none}.form-group input[type=checkbox]{margin-right:.5rem;width:auto}.form-actions{margin-top:2rem}.pages-list,.slides-list{grid-gap:1.5rem;display:grid;gap:1.5rem}.page-item,.slide-item{align-items:center;background:#f8f9fa;border:1px solid #ecf0f1;border-radius:8px;display:flex;padding:1.5rem;transition:all .3s ease}.page-item:hover,.slide-item:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.page-info,.slide-info{flex:1 1}.page-info h3,.slide-info h3{color:#2c3e50;margin:0 0 .5rem}.page-info p,.slide-info p{color:#7f8c8d;margin:0 0 .5rem}.slide-preview{border-radius:8px;height:60px;margin-right:1rem;overflow:hidden;width:100px}.slide-preview img{height:100%;object-fit:cover;width:100%}.status{border-radius:20px;display:inline-block;font-size:.8rem;font-weight:500;margin-right:.5rem;padding:.25rem .75rem}.status.active,.status.published{background:#d5f4e6;color:#27ae60}.status.draft,.status.inactive{background:#fadbd8;color:#e74c3c}.order{color:#7f8c8d;font-size:.9rem}.page-actions,.slide-actions{display:flex;gap:.5rem}.btn-delete,.btn-edit{border:none;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;padding:.5rem 1rem;transition:all .3s ease}.btn-edit{background:#007bff;box-shadow:0 2px 4px #007bff33;color:#fff}.btn-edit:hover{background:#0056b3;box-shadow:0 4px 8px #007bff4d;transform:translateY(-1px)}.btn-delete{background:#dc3545;box-shadow:0 2px 4px #dc354533;color:#fff}.btn-delete:hover{background:#c82333;box-shadow:0 4px 8px #dc35454d;transform:translateY(-1px)}.media-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.media-item{background:#f8f9fa;border:1px solid #ecf0f1;padding:1rem;text-align:center;transition:all .3s ease}.media-item:hover{box-shadow:0 4px 12px #0000001a}.media-preview{align-items:center;background:#ecf0f1;border-radius:8px;display:flex;justify-content:center;margin-bottom:1rem}.media-preview img{height:100%;object-fit:cover;width:100%}.file-icon{color:#7f8c8d;font-size:2rem}.media-info h4{color:#2c3e50;font-size:.9rem;margin:0 0 .5rem;word-break:break-all}.media-info p{color:#7f8c8d;font-size:.8rem;margin:0}.upload-area{align-items:center;display:flex}.upload-btn{background:#3498db;border-radius:8px;color:#fff;cursor:pointer;display:inline-block;font-weight:500;padding:.75rem 1.5rem;transition:all .3s ease}.upload-btn:hover{background:#2980b9}.settings-form{max-width:600px}.settings-form .form-group{margin-bottom:2rem}@media (max-width:768px){.admin-sidebar{transform:translateX(-100%)}.admin-sidebar.open{transform:translateX(0)}.admin-main{margin-left:0}.admin-content{padding:1rem}.admin-layout{flex-direction:column}.media-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.modal-content{margin:1rem;padding:1rem;width:95%}.nav-item{font-size:.9rem;padding:.5rem 1rem}}.rich-text-editor{background:#fff;border:2px solid #e9ecef;border-radius:8px;overflow:hidden}.rich-text-editor .ql-toolbar{background:#f8f9fa;border-bottom:1px solid #e9ecef;padding:.5rem}.rich-text-editor .ql-container{border:none;font-size:1rem}.rich-text-editor .ql-editor{line-height:1.6;min-height:150px;padding:1rem}.rich-text-editor .ql-editor.ql-blank:before{color:#6c757d;font-style:italic}.rich-text-editor .ql-toolbar .ql-stroke{stroke:#495057}.rich-text-editor .ql-toolbar .ql-fill{fill:#495057}.rich-text-editor .ql-toolbar button:hover{color:#007bff}.rich-text-editor .ql-toolbar button.ql-active{background:#007bff1a;color:#007bff}.rich-text-editor .ql-toolbar .ql-picker-label{color:#495057}.rich-text-editor .ql-toolbar .ql-picker-options{background:#fff;border:1px solid #e9ecef;border-radius:6px;box-shadow:0 4px 6px #0000001a}.rich-text-editor .ql-toolbar .ql-picker-item{color:#495057}.rich-text-editor .ql-toolbar .ql-picker-item:hover{background:#f8f9fa;color:#007bff}.ql-snow .ql-tooltip{background:#fff;border:1px solid #e9ecef;border-radius:6px;box-shadow:0 4px 6px #0000001a}.ql-snow .ql-tooltip input{border:1px solid #e9ecef;border-radius:4px;padding:.5rem}.ql-snow .ql-tooltip a{color:#007bff;text-decoration:none}.ql-snow .ql-tooltip a:hover{text-decoration:underline}.rich-text-editor:focus-within{border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}@media (max-width:768px){.rich-text-editor .ql-toolbar{padding:.25rem}.rich-text-editor .ql-toolbar .ql-formats{margin-right:.5rem}.rich-text-editor .ql-editor{min-height:120px;padding:.75rem}}.rich-text-toolbar{align-items:center;background:#f8f9fa;border-bottom:1px solid #ddd;display:flex;flex-wrap:wrap;gap:4px;padding:8px 12px}.rich-text-toolbar button{align-items:center;background:#0000;border:1px solid #0000;border-radius:4px;color:#495057;cursor:pointer;display:flex;height:32px;justify-content:center;transition:all .2s ease;width:32px}.rich-text-toolbar button:hover{background:#e9ecef;border-color:#ccc}.rich-text-toolbar button:active{background:#007bff;border-color:#007bff;color:#fff}.rich-text-toolbar button[title*=RTL]{background:#f8f9fa;border:1px solid #28a745;color:#28a745}.rich-text-toolbar button[title*=LTR]{background:#f8f9fa;border:1px solid #007bff;color:#007bff}.rich-text-toolbar button[title*=RTL]:hover{background:#28a745;color:#fff}.rich-text-toolbar button[title*=LTR]:hover{background:#007bff;color:#fff}.toolbar-separator{background:#ccc;height:24px;margin:0 4px;width:1px}.rich-text-content{direction:ltr!important;font-size:14px;line-height:1.5;min-height:120px;outline:none;overflow-y:auto;padding:12px;text-align:left!important;unicode-bidi:normal}.rich-text-content:empty:before{color:#999;content:attr(data-placeholder);font-style:italic}.rich-text-content:focus{outline:none}.rich-text-content p{margin:0 0 8px}.rich-text-content ol,.rich-text-content ul{margin:8px 0;padding-left:20px}.rich-text-content li{margin:4px 0}.rich-text-content a{color:#007bff;text-decoration:underline}.rich-text-content a:hover{color:#0056b3}.rich-text-content[dir=rtl]{direction:rtl;text-align:right}.rich-text-content[dir=ltr]{direction:ltr;text-align:left}.rich-text-content p[dir=rtl]{direction:rtl;text-align:right}.rich-text-content p[dir=ltr]{direction:ltr;text-align:left}@media (max-width:768px){.rich-text-toolbar{gap:2px;padding:6px 8px}.rich-text-toolbar button{height:28px;width:28px}.rich-text-content{min-height:100px;padding:8px}}.media-library-modal{align-items:center!important;background:#000c!important;display:flex!important;height:100%!important;justify-content:center!important;left:0!important;position:fixed!important;top:0!important;width:100%!important;z-index:99999!important}.media-library-content{display:flex;flex-direction:column;gap:1rem;height:100%}.media-filters{background:#f8f9fa;border-radius:8px;display:flex;gap:.5rem;padding:1rem}.filter-btn{border-radius:4px}.media-grid{grid-gap:1rem;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));max-height:400px;overflow-y:auto;padding:1rem}.media-item{background:#fff;border:2px solid #0000;border-radius:8px;cursor:pointer;overflow:hidden;padding:.5rem;position:relative;transition:all .2s ease}.media-item:hover{border-color:#007bff;box-shadow:0 4px 12px #007bff26;transform:translateY(-2px)}.media-item.selected{background:#f8fff9;border-color:#28a745;box-shadow:0 4px 12px #28a74526}.media-preview-container{border-radius:6px;overflow:hidden;position:relative}.media-overlay{align-items:center;background:#000000b3;bottom:0;display:flex;gap:.5rem;justify-content:center;left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .2s ease}.media-preview-container:hover .media-overlay{opacity:1}.media-icon-container{border-radius:6px;overflow:hidden;position:relative}.media-icon-container:hover .media-overlay{opacity:1}.preview-btn,.select-btn{align-items:center;border:none;border-radius:50%;cursor:pointer;display:flex;font-size:14px;height:36px;justify-content:center;transition:all .2s ease;width:36px}.preview-btn{background:#ffffffe6;color:#333}.preview-btn:hover{background:#fff;transform:scale(1.1)}.select-btn{background:#28a745;color:#fff}.select-btn:hover{background:#218838;transform:scale(1.1)}.media-preview{border-radius:6px;cursor:pointer;height:120px;object-fit:cover;transition:transform .2s ease;width:100%}.media-preview:hover{transform:scale(1.05)}.media-item:hover .media-preview{transform:scale(1.02)}.media-icon{border-radius:4px;font-size:2rem;height:100px}.media-info{margin-top:.5rem;padding:.25rem}.media-name{font-size:.875rem;font-weight:500;margin-bottom:.25rem}.media-details{font-size:.75rem}.media-size,.media-type{font-weight:500}.media-type{background:#e9ecef;border-radius:3px;color:#495057;padding:.125rem .375rem}.media-selection{align-items:center;background:#f8f9fa;border-radius:8px;display:flex;justify-content:space-between;padding:1rem}.selected-media-info{color:#333}.btn-browse-media{align-items:center;background:#007bff;border:none;border-radius:4px;color:#fff;cursor:pointer;display:inline-flex;gap:.5rem;margin-bottom:1rem;padding:.5rem 1rem;transition:all .2s ease}.btn-browse-media:hover{background:#0056b3}.content-actions{margin-bottom:1rem}.input-with-button{align-items:center;display:flex;gap:.5rem}.input-with-button input{flex:1 1}.input-with-button .btn-browse-media{margin-bottom:0;white-space:nowrap}@media (max-width:768px){.media-library-modal .modal-content{height:90vh;width:95%}.media-grid{gap:.5rem;grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.media-filters{flex-wrap:wrap;gap:.25rem}.filter-btn{font-size:.875rem;padding:.25rem .5rem}.media-selection{flex-direction:column;gap:1rem;text-align:center}}.image-preview-modal{align-items:center;background:#000000e6;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:1001}.preview-modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;max-height:90vh;max-width:90vw;overflow:hidden}.preview-header{align-items:center;background:#f8f9fa;border-bottom:1px solid #e9ecef;display:flex;justify-content:space-between;padding:1rem 1.5rem}.preview-header h3{color:#333;font-size:1.25rem;margin:0;max-width:400px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-body{display:flex;max-height:70vh}.preview-image{border-radius:0 0 0 12px;max-height:60vh;max-width:60vw;object-fit:contain}.preview-info{background:#f8f9fa;border-radius:0 0 12px 0;min-width:300px;padding:1.5rem}.info-row{font-size:.875rem;margin-bottom:.75rem}.info-row strong{color:#495057;display:inline-block;min-width:80px}.preview-actions{background:#fff;border-top:1px solid #e9ecef;display:flex;gap:.75rem;justify-content:flex-end;padding:1rem 1.5rem}@media (max-width:768px){.preview-body{flex-direction:column;max-height:80vh}.preview-image{border-radius:0;max-height:50vh;max-width:100%}.preview-info{border-radius:0;min-width:auto}.preview-actions{flex-direction:column}.preview-actions button{width:100%}}.notice-card{background:#fff;border:1px solid #e9ecef;border-left:4px solid #3498db;border-radius:8px;box-shadow:0 2px 8px #00000014;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;margin-bottom:0;max-width:94%;padding:1.75rem 1.75rem 1.75rem .75rem;position:relative;transition:all .3s ease}.notice-card:hover{border-color:#dee2e6;box-shadow:0 8px 20px #0000001f;transform:translateY(-4px)}.notice-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:1rem}.notice-meta{display:flex;flex-direction:column;gap:.5rem}.notice-type{align-items:center;color:#6c757d;display:flex;font-size:.875rem;font-weight:500;gap:.5rem}.type-icon{font-size:1.2rem}.building-name{color:#495057;font-weight:500}.notice-priority{align-items:center;display:flex;gap:.5rem}.priority-badge{font-weight:600;text-transform:uppercase}.priority-badge,.urgent-badge{border-radius:4px;color:#fff;font-size:.75rem;padding:.25rem .5rem}.urgent-badge{animation:pulse 2s infinite;background:#dc3545}@keyframes pulse{0%{opacity:1}50%{opacity:.7}to{opacity:1}}.notice-date{color:#6c757d;font-size:.8125rem;font-weight:500;white-space:nowrap}.notice-status{display:flex;gap:.5rem;margin-bottom:1rem}.status-badge{border-radius:4px;font-size:.75rem}.status-badge.expired{background:#f8d7da;color:#721c24}.status-badge.scheduled{background:#d1ecf1;color:#0c5460}.status-badge.draft{background:#fff3cd;color:#856404}.status-badge.archived{background:#e2e3e5;color:#383d41}.notice-title{color:#2c3e50;font-size:1.35rem;font-weight:600;letter-spacing:-.2px;line-height:1.5}.notice-content,.notice-title{margin-bottom:1rem}.notice-excerpt{color:#495057;font-size:.95rem;font-weight:400;line-height:1.7}.notice-full-content{color:#495057;line-height:1.6}.notice-full-content img{border-radius:6px;display:block;height:auto;margin:1rem 0;max-width:100%}.notice-full-content h1,.notice-full-content h2,.notice-full-content h3,.notice-full-content h4,.notice-full-content h5,.notice-full-content h6{color:#2c3e50;margin-bottom:.5rem;margin-top:1.5rem}.notice-full-content p{margin-bottom:1rem}.notice-full-content ol,.notice-full-content ul{margin-bottom:1rem;padding-left:1.5rem}.notice-full-content li{margin-bottom:.25rem}.notice-footer{align-items:center;border-top:1px solid #e9ecef;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;padding-top:1rem}.notice-stats{color:#6c757d;display:flex;font-size:.85rem;gap:1rem}.creator,.views-count{align-items:center;display:flex;gap:.25rem}.attachment{font-size:.85rem}.attachment a{color:#0d6efd;text-decoration:none}.attachment a:hover{text-decoration:underline}.notice-actions{align-items:center}.admin-actions,.notice-actions{display:flex;gap:.5rem}.notice-list{background:#f8f9fa;border-radius:8px;padding:1.5rem}.notice-list-header{flex-wrap:wrap;justify-content:space-between;margin-bottom:1.5rem}.list-controls,.notice-list-header{align-items:center;display:flex;gap:1rem}.list-controls h2{color:#2c3e50;margin:0}.view-controls{gap:.25rem}.view-btn{background:#fff;border:1px solid #dee2e6;border-radius:4px;padding:.5rem;transition:all .2s ease}.view-btn.active{background:#0d6efd;border-color:#0d6efd}.list-filters{align-items:center;display:flex;gap:1rem}.search-form{display:flex}.search-input-group{background:#fff;border:1px solid #dee2e6;border-radius:4px}.search-input{min-width:250px;padding:.5rem .75rem}.search-btn{background:#0d6efd;padding:.5rem .75rem}.filter-toggle-btn{background:#fff;border:1px solid #dee2e6;border-radius:4px;cursor:pointer;padding:.5rem 1rem;transition:all .2s ease}.filter-toggle-btn:hover{background:#e9ecef}.advanced-filters{background:#fff;border:1px solid #dee2e6;border-radius:8px;margin-bottom:1.5rem;padding:1.5rem}.filter-row{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1rem}.filter-group{gap:.25rem;min-width:150px}.filter-group label{color:#495057;font-size:.85rem}.filter-group input,.filter-group select{border:1px solid #dee2e6;border-radius:4px;font-size:.9rem;padding:.5rem}.filter-actions{align-items:end;display:flex}.notices-container{grid-gap:1rem;gap:1rem}.notices-container.list .notice-card{padding:1rem}.empty-state p{margin-bottom:1.5rem}.pagination-btn{border:1px solid #dee2e6;border-radius:4px;padding:.5rem 1rem;transition:all .2s ease}.pagination-btn:hover:not(:disabled){background:#e9ecef}.notice-manager{background:#fff;border-radius:8px;overflow:hidden}.notice-manager-header{align-items:center;background:#f8f9fa;border-bottom:1px solid #dee2e6;display:flex;justify-content:space-between;padding:1.5rem}.notice-manager-header h1{color:#2c3e50;margin:0}.header-actions{gap:.5rem}.notice-tabs{background:#f8f9fa;border-bottom:1px solid #dee2e6;display:flex}.tab-btn{background:none;border-bottom:3px solid #0000;transition:all .2s ease}.tab-btn:hover{background:#e9ecef}.tab-btn.active{background:#fff;border-bottom-color:#0d6efd;color:#0d6efd}.notice-tab-content{padding:1.5rem}.notice-form-container{margin:0 auto;max-width:800px}.form-header{margin-bottom:2rem}.form-header h2{color:#2c3e50;margin:0}.notice-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{gap:.5rem}.form-group input,.form-group select,.form-group textarea{border:1px solid #dee2e6;border-radius:4px;font-size:.9rem;padding:.75rem;transition:border-color .2s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#0d6efd;box-shadow:0 0 0 2px #0d6efd40}.checkbox-group{display:flex;flex-wrap:wrap;gap:1rem}.checkbox-label{font-weight:400}.form-actions{border-top:1px solid #dee2e6;padding-top:1rem}.notice-detail-container{margin:0 auto;max-width:800px}.detail-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:2rem}.detail-header h2{color:#2c3e50;margin:0}.detail-actions{display:flex;gap:.5rem}.notice-statistics{background:#f8f9fa;border-radius:8px;padding:1.5rem}.notice-statistics h2{color:#2c3e50;margin-bottom:1.5rem}.stats-grid{grid-gap:1rem;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.stat-card{border-radius:8px;box-shadow:0 2px 4px #0000001a;text-align:center}.stat-card h3{color:#6c757d;font-size:.9rem;letter-spacing:.5px;margin-bottom:.5rem;text-transform:uppercase}.stat-number{color:#0d6efd}.notice-list-loading,.notice-manager-loading{align-items:center;color:#6c757d;display:flex;flex-direction:column;justify-content:center;padding:3rem}.loading-spinner{border-top-color:#0d6efd;margin-bottom:1rem}.notice-list-error{align-items:center;display:flex;justify-content:center;padding:3rem}.error-message{border-radius:8px;padding:2rem;text-align:center}.error-message h3{margin-bottom:1rem}@media (max-width:768px){.notice-list-header{align-items:stretch;flex-direction:column}.list-filters{flex-direction:column;gap:.5rem}.search-input{min-width:100%}.filter-row{flex-direction:column}.notices-container.grid{grid-template-columns:1fr}.notices-container.list .notice-card{align-items:stretch;flex-direction:column}.form-row{grid-template-columns:1fr}.notice-manager-header{align-items:stretch;flex-direction:column;gap:1rem}.header-actions{justify-content:stretch}.notice-tabs{flex-wrap:wrap}.tab-btn{flex:1 1;min-width:120px}}.public-notices{background:#fff;border-radius:8px;box-shadow:0 2px 10px #0000001a;margin:0 auto 2rem;max-width:1140px;padding:2rem}.notices-header{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:2rem}.notices-header h2{color:#2c3e50;font-size:1.5rem;margin:0}.notices-filters{display:flex;flex-wrap:wrap;gap:.5rem}.filter-btn{border:1px solid #dee2e6;border-radius:20px;color:#6c757d}.filter-btn:hover{color:#495057}.filter-btn.active{background:#0d6efd;border-color:#0d6efd}.notices-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));margin-bottom:2rem}.public-notice-card{border-left-color:#0d6efd}.public-notice-card .notice-priority .priority-badge{font-size:.7rem;padding:.2rem .4rem}.public-notice-card .notice-title{font-size:1.1rem;margin-bottom:.75rem}.public-notice-card .notice-excerpt{font-size:.9rem;line-height:1.5}.notices-actions{border-top:1px solid #e9ecef;padding-top:1rem;text-align:center}.public-notices-loading{align-items:center;color:#6c757d;display:flex;flex-direction:column;justify-content:center;padding:3rem}.public-notices-error{background:#f8d7da;border:1px solid #f5c6cb;border-radius:8px;color:#721c24;padding:2rem;text-align:center}.public-notices-error h3{color:#721c24;margin-bottom:1rem}.public-notices-error p{margin-bottom:1.5rem}.no-notices{padding:3rem}.empty-state h3{margin-bottom:.5rem}@media (max-width:768px){.notices-header{align-items:stretch;flex-direction:column}.notices-filters{justify-content:center}.notices-grid{gap:1rem;grid-template-columns:1fr}.public-notices{padding:1rem}}.notices-page{background:#f8f9fa;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;margin:0 auto;max-width:1140px;min-height:100vh;padding:0 1rem}.notices-page-loading{align-items:center;background:#f8f9fa;display:flex;justify-content:center;min-height:100vh}.loading-container{box-shadow:0 20px 40px #0000001a}.notices-page-error{align-items:center;background:#f8f9fa;display:flex;justify-content:center;min-height:100vh}.error-container{box-shadow:0 20px 40px #0000001a}.notices-hero{background:linear-gradient(135deg,#2c3e50,#34495e);color:#fff;overflow:hidden;padding:4rem 2rem;position:relative;text-align:center}.notices-hero:before{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3Cpattern id='a' width='100' height='100' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='25' cy='25' r='1' fill='%23fff' opacity='.05'/%3E%3Ccircle cx='75' cy='75' r='1' fill='%23fff' opacity='.05'/%3E%3C/pattern%3E%3C/defs%3E%3Cpath fill='url(%23a)' d='M0 0h100v100H0z'/%3E%3C/svg%3E");bottom:0;content:"";left:0;opacity:.5;position:absolute;right:0;top:0}.hero-content{margin:0 auto;max-width:900px;position:relative;z-index:2}.hero-content h1{color:#fff;font-size:2.8rem;font-weight:600;letter-spacing:-.5px;margin-bottom:1rem}.hero-content p{color:#ecf0f1;font-size:1.1rem;font-weight:400;line-height:1.7;margin-bottom:2rem;opacity:.95}.hero-stats{display:flex;gap:3rem;justify-content:center;margin-top:2rem;position:relative;z-index:2}.stat-item{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff26;border:1px solid #fff3;border-radius:12px;padding:1.5rem 2rem;transition:transform .3s ease}.stat-item:hover{background:#fff3;transform:translateY(-2px)}.stat-number{color:#fff;font-size:2.2rem;font-weight:600;margin-bottom:.5rem}.stat-label{color:#ecf0f1;font-size:.85rem;font-weight:500;letter-spacing:.5px;opacity:.9;text-transform:uppercase}.notices-filters-section{background:#fff;border-bottom:1px solid #e9ecef;box-shadow:0 2px 8px #00000014;padding:2.5rem 2rem;position:relative;top:0;z-index:100}.filters-container{align-items:center;display:flex;flex-wrap:wrap;gap:2rem;justify-content:space-between;margin:0 auto;max-width:1200px}.search-form{flex:1 1;min-width:300px}.search-input-group{background:#f8f9fa;border:2px solid #e9ecef;border-radius:25px;display:flex;overflow:hidden;transition:all .3s ease}.search-input-group:focus-within{border-color:#2c3e50;box-shadow:0 0 0 3px #2c3e501a}.search-input{background:#0000;border:none;color:#495057;flex:1 1;font-size:.9375rem;font-weight:400;outline:none;padding:.875rem 1.5rem}.search-input::placeholder{color:#adb5bd}.search-btn{background:#2c3e50;font-size:1.125rem;padding:.875rem 1.5rem;transition:background .2s ease}.search-btn:hover{background:#34495e}.filter-group{flex-direction:column}.filter-group label{color:#2c3e50;font-size:.875rem;font-weight:600;letter-spacing:.5px;margin-bottom:.5rem;text-transform:uppercase}.filter-btn{border:1.5px solid #dee2e6;color:#495057;font-size:.875rem;padding:.625rem 1.25rem;white-space:nowrap}.filter-btn:hover{background:#f8f9fa;border-color:#adb5bd;color:#2c3e50}.filter-btn.active{background:#2c3e50;border-color:#2c3e50;font-weight:600}.filter-btn.urgent.active{background:#e74c3c;border-color:#e74c3c;color:#fff}.filter-btn.high.active{background:#f39c12;border-color:#f39c12;color:#fff}.filter-btn.medium.active{background:#3498db;border-color:#3498db;color:#fff}.filter-btn.low.active{background:#27ae60;border-color:#27ae60;color:#fff}.view-controls{display:flex;gap:.5rem}.view-btn{background:#f8f9fa;border:2px solid #e9ecef;border-radius:10px;cursor:pointer;font-size:1.2rem;padding:.75rem;transition:all .3s ease}.view-btn:hover{background:#e9ecef}.view-btn.active{background:#667eea;border-color:#667eea;color:#fff}.clear-filters-btn{background:#6c757d;border:none;border-radius:25px;color:#fff;cursor:pointer;font-weight:500;padding:.75rem 1.5rem;transition:all .3s ease}.clear-filters-btn:hover{background:#5a6268}.urgent-notices-section{background:linear-gradient(135deg,#e74c3c,#c0392b);border-radius:0;color:#fff;margin:2rem 0;padding:3rem 2rem}.section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:2rem;margin-left:auto;margin-right:auto;max-width:1200px}.section-header h2{color:#fff;font-size:1.875rem;font-weight:600;letter-spacing:-.3px}.urgent-badge{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border-radius:20px;font-weight:600;padding:.5rem 1rem}.regular-notices-section{background:#0000;margin:0 auto;max-width:1200px;padding:3rem 2rem}.regular-notices-section .section-header{color:#2c3e50;margin-bottom:2rem}.regular-notices-section .section-header h2{color:#2c3e50;font-size:1.75rem;font-weight:600;letter-spacing:-.3px;margin:0}.results-count{background:#e9ecef;border-radius:6px;color:#495057;font-size:.875rem;font-weight:500;padding:.5rem 1rem}.notices-container{grid-gap:2rem;display:grid;gap:2rem;margin-bottom:3rem}.notices-container.grid{grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.notices-container.list{grid-template-columns:1fr}.notices-container.urgent{grid-template-columns:repeat(auto-fill,minmax(400px,1fr))}.notices-container.list .notice-card{align-items:center;display:flex;flex-direction:row;padding:1.5rem}.notices-container.list .notice-card .notice-header{flex:1 1;margin-bottom:0}.notices-container.list .notice-card .notice-content{flex:2 1;margin-bottom:0}.notices-container.list .notice-card .notice-footer{border-top:none;flex:1 1;justify-content:flex-end;padding-top:0}.urgent-notice-card{animation:urgentPulse 2s infinite;background:#fff;border:1px solid #f8d7da;box-shadow:0 4px 12px #e74c3c40}@keyframes urgentPulse{0%{box-shadow:0 4px 12px #e74c3c40}50%{box-shadow:0 6px 16px #e74c3c59}to{box-shadow:0 4px 12px #e74c3c40}}.no-notices{padding:4rem 2rem;text-align:center}.empty-state{border-radius:20px;box-shadow:0 10px 30px #0000001a;margin:0 auto;max-width:500px;padding:3rem}.empty-icon{font-size:4rem;margin-bottom:1rem}.empty-state h3{color:#6c757d;margin-bottom:1rem}.empty-state p{color:#adb5bd;line-height:1.6;margin-bottom:2rem}.pagination-section{align-items:center;display:flex;flex-direction:column;gap:1rem;margin-top:3rem}.pagination-info{color:#6c757d;font-size:.9rem}@media (max-width:768px){.notices-hero{padding:2rem 1rem}.hero-content h1{font-size:2.5rem}.hero-stats{flex-direction:column;gap:1rem}.filters-container{align-items:stretch;flex-direction:column}.search-form{min-width:auto}.filter-buttons{justify-content:center}.notices-container.grid{grid-template-columns:1fr}.notices-container.list .notice-card{align-items:stretch;flex-direction:column}.notices-container.list .notice-card .notice-content,.notices-container.list .notice-card .notice-header{margin-bottom:1rem}.notices-container.list .notice-card .notice-footer{border-top:1px solid #e9ecef;justify-content:space-between;padding-top:1rem}.pagination,.pagination-numbers{flex-wrap:wrap;justify-content:center}}.building-manager{background:#f8f9fa;min-height:100vh;padding:2rem}.building-manager-loading{align-items:center;background:#f8f9fa;display:flex;justify-content:center;min-height:100vh}.loading-container{background:#fff;border-radius:20px;box-shadow:0 10px 30px #0000001a;padding:3rem;text-align:center}.loading-container h3{color:#2c3e50;margin:1rem 0 .5rem}.loading-container p{color:#6c757d;margin:0}.building-header{align-items:center;background:#fff;border-radius:15px;box-shadow:0 4px 20px #0000001a;display:flex;justify-content:space-between;margin-bottom:2rem;padding:2rem}.header-content h1{color:#2c3e50;font-size:2.5rem;font-weight:700}.header-actions .btn{font-size:1.1rem;font-weight:600;padding:1rem 2rem}.building-tabs{background:#fff;border-radius:15px;box-shadow:0 4px 20px #0000001a;gap:.5rem;overflow-x:auto;padding:.5rem}.building-tabs,.error-message{display:flex;margin-bottom:2rem}.error-message{align-items:center;background:#f8d7da;border:1px solid #f5c6cb;border-radius:10px;color:#721c24;gap:1rem;padding:1rem 1.5rem}.error-icon{font-size:1.5rem}.error-text{flex:1 1}.error-close{background:none;border:none;color:#721c24;cursor:pointer;font-size:1.5rem}.building-content{background:#fff;border-radius:15px;box-shadow:0 4px 20px #0000001a;overflow:hidden}.buildings-list{padding:2rem}.building-filters{align-items:center;display:flex;flex-wrap:wrap;gap:2rem;margin-bottom:2rem}.search-box{border:2px solid #e9ecef;border-radius:25px;overflow:hidden}.search-box input{padding:1rem 1.5rem}.search-box input:focus{outline:none}.search-btn{border:none;padding:1rem 1.5rem;transition:background .3s ease}.filter-buttons{flex-wrap:wrap}.filter-btn{background:#f8f9fa;border:2px solid #e9ecef;border-radius:25px;font-weight:500;padding:.75rem 1.5rem;transition:all .3s ease}.filter-btn:hover{border-color:#dee2e6}.filter-btn.active{background:#667eea;border-color:#667eea}.buildings-grid{grid-gap:1.25rem;display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));margin-bottom:2rem}.building-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 10px 24px #0f172a0f;display:flex;flex-direction:column;transition:transform .2s ease,box-shadow .2s ease}.building-card:hover{box-shadow:0 18px 32px #0f172a14;transform:translateY(-4px)}.building-card-header{align-items:flex-start;background:linear-gradient(0deg,#0000,#0000);border-bottom:1px solid #f1f5f9;display:flex;justify-content:space-between;padding:1.2rem 1.4rem 1rem}.building-card-header .header-info h3{color:#1f2937;font-size:1.05rem;font-weight:600;margin:0}.building-card-header .header-info .building-address{color:#64748b;font-size:.82rem;margin:.35rem 0 0}.status-pill{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;color:#475569;display:inline-flex;font-size:.72rem;font-weight:600;gap:.35rem;padding:.3rem .75rem;text-transform:capitalize}.status-pill.status-active{background:#ecfdf5;border-color:#10b98140;color:#0f766e}.status-pill.status-inactive{background:#f8fafc;border-color:#94a3b859;color:#475569}.status-pill.status-maintenance{background:#fffbeb;border-color:#f59e0b59;color:#b45309}.building-card-content{display:flex;flex-direction:column;gap:1.1rem;padding:1rem 1.4rem 0}.building-description{color:#475569;font-size:.9rem;line-height:1.45;margin:0}.building-metrics{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:repeat(3,minmax(0,1fr))}.metric{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;display:flex;flex-direction:column;gap:.3rem;padding:.75rem}.metric-label{color:#94a3b8;font-size:.68rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}.metric-value{color:#1f2937;font-size:1.1rem;font-weight:600}.building-meta{display:flex;flex-wrap:wrap;gap:1.25rem}.meta-item{display:flex;flex-direction:column;gap:.3rem;min-width:130px}.meta-label{color:#94a3b8;font-size:.7rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}.meta-value{color:#1f2937;font-size:.95rem;font-weight:500}.building-card-footer{background:#fff;border-top:1px solid #f1f5f9;display:flex;gap:.75rem;margin-top:1.2rem;padding:1rem 1.4rem 1.3rem}.card-btn{border:1px solid #0000;border-radius:8px;flex:1 1;font-size:.85rem;font-weight:600;padding:.65rem 1rem;transition:all .2s ease}.card-btn.primary{background:#3b82f6;color:#fff}.card-btn.primary:hover{background:#2563eb}.card-btn.secondary{background:#f8fafc;border-color:#d1d5db;color:#1f2937}.card-btn.secondary:hover{background:#e2e8f0}.building-statistics{padding:2rem}.building-statistics h2{color:#2c3e50;margin-bottom:2rem;text-align:center}.stats-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:3rem}.stat-card{gap:1.5rem;padding:2rem}.stat-icon{font-size:3rem}.stat-content h3{font-size:2.5rem;margin:0 0 .5rem}.stat-content p{font-size:1.1rem}.charts-section{background:#fff;border-radius:15px;box-shadow:0 4px 20px #0000001a;padding:2rem}.charts-section h3{color:#2c3e50;margin-bottom:1.5rem}.chart-placeholder{background:#f8f9fa;border-radius:10px;color:#6c757d;padding:3rem;text-align:center}.building-form{padding:2rem}.building-form h2{color:#2c3e50;margin-bottom:2rem;text-align:center}.form-group label{font-size:.95rem}.form-group input,.form-group select,.form-group textarea{padding:1rem}.form-section{background:#f8f9fa;border-radius:10px;margin-bottom:2rem;padding:1.5rem}.form-section h3{color:#2c3e50;margin-bottom:1rem}.amenities-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.amenity-checkbox{align-items:center;background:#fff;border-radius:8px;cursor:pointer;display:flex;gap:.5rem;padding:.75rem;transition:background .3s ease}.amenity-checkbox:hover{background:#e9ecef}.amenity-checkbox input[type=checkbox]{margin:0}.amenity-label{color:#495057;font-weight:500}.rule-input-group{align-items:center;display:flex;gap:.5rem;margin-bottom:.5rem}.rule-input-group input{flex:1 1}.pagination{gap:1rem;justify-content:center;margin-top:2rem}.pagination-btn{border:2px solid #e9ecef;border-radius:10px;font-weight:500;padding:.75rem 1.5rem}.pagination-numbers{display:flex;gap:.5rem}.pagination-number{background:#fff;border:2px solid #e9ecef;border-radius:10px;cursor:pointer;font-weight:500;min-width:45px;padding:.75rem 1rem;transition:all .3s ease}.pagination-number:hover{background:#f8f9fa;border-color:#667eea}.pagination-number.active{background:#667eea;border-color:#667eea;color:#fff}@media (max-width:768px){.building-manager{padding:1rem}.building-header{gap:1rem;text-align:center}.building-filters,.building-header,.building-tabs{flex-direction:column}.building-filters{align-items:stretch}.search-box{min-width:auto}.buildings-grid{grid-template-columns:1fr}.building-stats{gap:1rem}.building-card-actions,.building-stats{flex-direction:column}.amenities-grid,.form-grid{grid-template-columns:1fr}.form-actions{flex-direction:column}.pagination{flex-wrap:wrap}}.resident-card{position:relative}.edit-owner-btn{background:#007bff;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.9rem;padding:.5rem;transition:background-color .3s ease}.edit-owner-btn:hover{background:#0056b3}.owner-edit-form{background:#f8f9fa;border:1px solid #dee2e6;border-radius:8px;margin-top:1rem;padding:1rem}.owner-edit-form .form-group{margin-bottom:1rem}.owner-edit-form label{color:#495057;display:block;font-weight:600;margin-bottom:.5rem}.owner-edit-form input,.owner-edit-form select{border:1px solid #ced4da;border-radius:4px;font-size:.9rem;padding:.5rem;width:100%}.owner-edit-form input:focus,.owner-edit-form select:focus{border-color:#007bff;box-shadow:0 0 0 2px #007bff40;outline:none}.form-actions{gap:.5rem;margin-top:1rem}.save-btn{align-items:center;background:#28a745;border:none;border-radius:4px;color:#fff;cursor:pointer;display:flex;font-size:.9rem;gap:.5rem;padding:.5rem 1rem;transition:background-color .3s ease}.save-btn:hover{background:#218838}.cancel-btn{align-items:center;background:#6c757d;border:none;border-radius:4px;color:#fff;cursor:pointer;display:flex;font-size:.9rem;gap:.5rem;padding:.5rem 1rem;transition:background-color .3s ease}.cancel-btn:hover{background:#5a6268}.user-type{border-radius:4px;font-size:.8rem;font-weight:600;padding:.25rem .5rem;text-transform:capitalize}.user-type.owner{background:#d4edda;color:#155724}.user-type.family_member{background:#d1ecf1;color:#0c5460}.user-type.tenant{background:#fff3cd;color:#856404}.user-type.guest{background:#f8d7da;color:#721c24}.owners-list{margin-top:1rem}.owners-list h5{color:#495057;font-size:1rem;font-weight:600;margin-bottom:1rem}.owner-item{background:#fff;border:1px solid #dee2e6;border-radius:8px;margin-bottom:1rem;padding:1rem;position:relative}.owner-header{align-items:center;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem}.owner-name{color:#2c3e50;font-size:1rem}.primary-badge{background:#28a745;border-radius:4px;color:#fff;font-size:.75rem;font-weight:600;padding:.25rem .5rem}.owner-details{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:1fr 1fr;margin-bottom:.75rem}.detail-row{display:flex;flex-direction:column;gap:.25rem}.detail-row .label{color:#6c757d;font-size:.8rem;font-weight:500}.detail-row .value{color:#495057;font-size:.9rem}.owner-actions{position:absolute;right:1rem;top:1rem}.edit-owner-btn-small{background:#007bff;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.8rem;padding:.375rem;transition:background-color .3s ease}.edit-owner-btn-small:hover{background:#0056b3}.no-owners{color:#6c757d;padding:2rem}.assign-owner-btn{align-items:center;background:#28a745;border:none;border-radius:4px;color:#fff;cursor:pointer;display:flex;font-size:.9rem;gap:.5rem;margin:1rem auto 0;padding:.5rem 1rem;transition:background-color .3s ease}.assign-owner-btn:hover{background:#218838}@media (max-width:768px){.owner-details{grid-template-columns:1fr}.owner-header{align-items:flex-start;flex-direction:column}.owner-actions{margin-top:.5rem;position:static}}.building-details{background:#f8f9fa;min-height:100vh;padding:2rem}.building-details-error,.building-details-loading{align-items:center;background:#f8f9fa;display:flex;justify-content:center;min-height:100vh}.error-container{background:#fff;border-radius:20px;box-shadow:0 10px 30px #0000001a;max-width:500px;padding:3rem;text-align:center}.error-icon{font-size:4rem;margin-bottom:1rem}.error-container h3{color:#dc3545;margin-bottom:1rem}.error-container p{color:#6c757d;margin-bottom:2rem}.building-details-header{border-radius:15px;box-shadow:0 4px 20px #0000001a;margin-bottom:2rem;padding:2rem}.back-btn{background:#6c757d;border-radius:25px;color:#fff;font-weight:500;margin-bottom:1rem;padding:.75rem 1.5rem;transition:all .3s ease}.back-btn:hover{background:#5a6268}.building-title{gap:1rem;margin-bottom:.5rem}.building-title h1{color:#2c3e50;font-size:2.5rem;font-weight:700}.building-address{color:#6c757d;font-size:1.1rem}.header-actions{flex-direction:column;gap:1rem}.building-stats-cards{grid-gap:1.5rem;gap:1.5rem;margin-bottom:2rem}.stat-card{border-radius:15px;box-shadow:0 4px 20px #0000001a;gap:1rem;padding:1.5rem;transition:transform .3s ease}.stat-card:hover{transform:translateY(-5px)}.stat-icon{font-size:2.5rem;opacity:.8}.stat-content h3{color:#2c3e50;font-size:2rem;font-weight:700;margin:0 0 .25rem}.stat-content p{color:#6c757d;font-size:.9rem;font-weight:500;margin:0}.building-details-tabs{border-radius:15px;box-shadow:0 4px 20px #0000001a;gap:.5rem;margin-bottom:2rem;overflow-x:auto;padding:.5rem}.tab-btn{border-radius:10px;color:#6c757d;padding:1rem 1.5rem;white-space:nowrap}.tab-btn:hover{background:#f8f9fa;color:#495057}.tab-btn.active{background:#667eea;box-shadow:0 2px 10px #667eea4d}.building-details-content{border-radius:15px;box-shadow:0 4px 20px #0000001a}.overview-tab{padding:2rem}.overview-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(400px,1fr))}.overview-section{background:#f8f9fa;border-radius:10px;padding:1.5rem}.overview-section h3{color:#2c3e50;font-size:1.3rem;margin-bottom:1rem}.info-grid{display:flex;flex-direction:column;gap:.75rem}.info-item{align-items:center;border-bottom:1px solid #e9ecef;justify-content:space-between;padding:.5rem 0}.info-item:last-child{border-bottom:none}.info-item label{color:#495057;font-weight:600;min-width:120px}.info-item span{color:#6c757d;text-align:right}.amenities-list{display:flex;flex-wrap:wrap;gap:.5rem}.amenity-tag{background:#667eea;border-radius:20px;color:#fff;font-size:.8rem;font-weight:500;padding:.5rem 1rem}.rules-list{display:flex;flex-direction:column;gap:.5rem}.rule-item{color:#495057;padding:.25rem 0}.floors-tab{padding:2rem}.floors-header{margin-bottom:2rem}.floors-header h3{color:#2c3e50}.floor-filter select{border:2px solid #e9ecef;border-radius:10px;font-size:1rem;padding:.75rem 1rem}.floors-grid{gap:2rem}.floor-card{background:#f8f9fa;border-radius:15px;padding:1.5rem}.floor-header{border-bottom:2px solid #e9ecef;margin-bottom:1rem;padding-bottom:1rem}.floor-header h4{color:#2c3e50;font-size:1.5rem}.floor-stats{gap:1rem}.floor-stats .stat{border-radius:20px;font-size:.9rem;font-weight:600;padding:.5rem 1rem}.floor-stats .stat.occupied{background:#d4edda;color:#155724}.floor-stats .stat.available{background:#d1ecf1;color:#0c5460}.floor-stats .stat.maintenance{background:#fff3cd;color:#856404}.flats-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.flat-card:hover{box-shadow:0 4px 15px #0000001a}.flat-card.available{border-left:4px solid #17a2b8}.flat-card.reserved{border-left:4px solid #6f42c1}.flat-header{margin-bottom:.75rem}.flat-number{color:#2c3e50;font-size:1.1rem;font-weight:700}.flat-type{border-radius:15px;font-size:.8rem;font-weight:600;padding:.25rem .75rem}.flat-type.info{background:#d1ecf1;color:#0c5460}.flat-type.success{background:#d4edda;color:#155724}.flat-type.warning{background:#fff3cd;color:#856404}.flat-type.danger{background:#f8d7da;color:#721c24}.flat-type.dark{background:#d1d3d4;color:#1b1e21}.flat-details{display:flex;flex-direction:column;gap:.5rem}.flat-info{color:#6c757d;display:flex;font-size:.9rem;justify-content:space-between}.flat-status .status{border-radius:15px;font-size:.8rem;font-weight:600;padding:.25rem .75rem;text-transform:uppercase}.flat-status .status.success{background:#d4edda;color:#155724}.flat-status .status.primary{background:#cce5ff;color:#004085}.flat-status .status.warning{background:#fff3cd;color:#856404}.flat-status .status.info{background:#d1ecf1;color:#0c5460}.flat-owner{color:#495057;font-size:.8rem;font-style:italic}.residents-tab{padding:2rem}.residents-tab h3{color:#2c3e50;margin-bottom:2rem}.residents-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.resident-card{background:#f8f9fa;border:1px solid #e9ecef;border-radius:15px;padding:1.5rem;transition:all .3s ease}.resident-card:hover{box-shadow:0 4px 15px #0000001a;transform:translateY(-2px)}.resident-header{align-items:center;border-bottom:2px solid #e9ecef;display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:1rem}.resident-header h4{color:#2c3e50;font-size:1.3rem;margin:0}.resident-info{display:flex;flex-direction:column;gap:.75rem}.committee-tab{padding:2rem}.committee-tab h3{color:#2c3e50;margin-bottom:2rem}.committee-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(400px,1fr))}.committee-card{background:#f8f9fa;border:1px solid #e9ecef;border-radius:15px;padding:1.5rem;transition:all .3s ease}.committee-card:hover{box-shadow:0 4px 15px #0000001a;transform:translateY(-2px)}.member-header{align-items:center;border-bottom:2px solid #e9ecef;display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:1rem}.member-header h4{color:#2c3e50;font-size:1.3rem;margin:0}.position{border-radius:20px;font-size:.9rem;font-weight:600;padding:.5rem 1rem;text-transform:uppercase}.position.president{background:#f8d7da;color:#721c24}.position.secretary{background:#cce5ff;color:#004085}.position.treasurer{background:#d4edda;color:#155724}.position.member{background:#d1ecf1;color:#0c5460}.member-info{display:flex;flex-direction:column;gap:.75rem}.maintenance-tab{padding:2rem}.maintenance-tab h3{color:#2c3e50;margin-bottom:2rem}.maintenance-list{display:flex;flex-direction:column;gap:1.5rem}.maintenance-card{background:#f8f9fa;border:1px solid #e9ecef;border-radius:15px;padding:1.5rem;transition:all .3s ease}.maintenance-card:hover{box-shadow:0 4px 15px #0000001a;transform:translateY(-2px)}.maintenance-header{align-items:center;border-bottom:2px solid #e9ecef;display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:1rem}.maintenance-header h4{color:#2c3e50;font-size:1.3rem;margin:0}.maintenance-badges{display:flex;flex-wrap:wrap;gap:.5rem}.maintenance-badges span{border-radius:15px;font-size:.8rem;font-weight:600;padding:.25rem .75rem}.type{background:#e2e3e5;color:#383d41}.priority.success{background:#d4edda;color:#155724}.priority.warning{background:#fff3cd;color:#856404}.priority.danger{background:#f8d7da;color:#721c24}.priority.dark{background:#d1d3d4;color:#1b1e21}.status.info{background:#d1ecf1;color:#0c5460}.status.warning{background:#fff3cd;color:#856404}.status.success{background:#d4edda;color:#155724}.status.secondary{background:#e2e3e5;color:#383d41}.maintenance-content p{color:#495057;line-height:1.6;margin-bottom:1rem}.maintenance-details{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:1rem}.maintenance-notes{background:#fff;border:1px solid #e9ecef;border-radius:10px;padding:1rem}.maintenance-notes label{color:#495057;display:block;font-weight:600;margin-bottom:.5rem}.maintenance-notes p{color:#6c757d;font-style:italic;margin:0}@media (max-width:768px){.building-details{padding:1rem}.building-details-header{flex-direction:column;gap:1rem}.building-title{align-items:flex-start;flex-direction:column;gap:.5rem}.building-stats-cards{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.building-details-tabs{flex-direction:column}.overview-grid{grid-template-columns:1fr}.floors-header{align-items:stretch;flex-direction:column;gap:1rem}.committee-grid,.flats-grid,.maintenance-details,.residents-grid{grid-template-columns:1fr}.maintenance-badges{justify-content:center}}.media-manager{background:#f8f9fa;min-height:100vh;padding:2rem}.media-header{align-items:center;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;display:flex;justify-content:space-between;margin-bottom:2rem;padding:2rem}.header-content h1{color:#333;font-size:2rem;margin:0 0 .5rem}.header-content p{color:#6c757d;font-size:1.1rem;margin:0}.header-actions .btn-primary{align-items:center;background:#007bff;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:1rem;gap:.5rem;padding:.75rem 1.5rem;transition:all .2s ease}.header-actions .btn-primary:hover{background:#0056b3;transform:translateY(-2px)}.media-controls{align-items:center;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;display:flex;justify-content:space-between;margin-bottom:2rem;padding:1.5rem}.search-box{align-items:center;background:#f8f9fa;border-radius:8px;padding:.75rem 1rem;position:relative}.search-box i{color:#6c757d;margin-right:.5rem}.search-box input{background:#0000;border:none;outline:none;width:100%}.filter-buttons{display:flex;gap:.5rem}.filter-btn{background:#fff;border:1px solid #ddd;border-radius:6px;cursor:pointer;font-size:.9rem;padding:.5rem 1rem;transition:all .2s ease}.filter-btn:hover{background:#e9ecef}.filter-btn.active{background:#007bff;border-color:#007bff;color:#fff}.media-stats{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;display:flex;gap:2rem;margin-bottom:2rem;padding:1.5rem}.stat-item{text-align:center}.stat-number{color:#007bff;display:block;font-size:2rem;font-weight:700;margin-bottom:.25rem}.stat-label{color:#6c757d;font-size:.9rem}.media-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));margin-bottom:2rem}.media-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;overflow:hidden;transition:all .2s ease}.media-card:hover{box-shadow:0 8px 25px #00000026;transform:translateY(-4px)}.media-preview{height:200px;overflow:hidden;position:relative}.media-image{height:100%;object-fit:cover;width:100%}.media-icon{align-items:center;background:#f8f9fa;color:#6c757d;display:flex;font-size:3rem;height:100%;justify-content:center;width:100%}.media-info{padding:1.5rem}.media-name{color:#333;font-size:1.1rem;font-weight:600;margin:0 0 .75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-details{align-items:center;color:#6c757d;display:flex;font-size:.9rem;justify-content:space-between;margin-bottom:1rem}.file-size,.file-type{font-weight:500}.file-type{background:#e9ecef;border-radius:4px;color:#495057;padding:.25rem .5rem}.media-actions{display:flex;gap:.5rem}.btn-copy,.btn-delete,.btn-view{align-items:center;border:none;border-radius:6px;cursor:pointer;display:flex;font-size:.9rem;height:36px;justify-content:center;transition:all .2s ease;width:36px}.btn-view{background:#e9ecef;color:#495057}.btn-view:hover{background:#007bff;color:#fff}.btn-copy{background:#e9ecef;color:#495057}.btn-copy:hover{background:#28a745;color:#fff}.btn-delete{background:#e9ecef;color:#495057}.btn-delete:hover{background:#dc3545;color:#fff}.empty-state{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:4rem 2rem}.empty-state i{color:#6c757d;font-size:4rem}.empty-state h3{color:#333}.empty-state p{color:#6c757d;font-size:1.1rem;margin:0 0 2rem}.upload-modal{align-items:center;background:#000c;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:1000}.upload-modal .modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;max-height:80vh;max-width:600px;overflow:hidden;width:90%}.upload-modal .modal-header{align-items:center;background:#f8f9fa;border-bottom:1px solid #e9ecef;display:flex;justify-content:space-between;padding:1.5rem}.upload-modal .modal-header h3{color:#333;margin:0}.upload-modal .modal-body{padding:2rem}.upload-zone{align-items:center;background:#f8f9ff;border:2px dashed #007bff;border-radius:12px;cursor:pointer;display:flex;flex-direction:column;justify-content:center;padding:3rem 2rem;text-align:center;transition:all .2s ease}.upload-zone:hover{background:#e6f3ff;border-color:#0056b3}.upload-zone i{color:#007bff;font-size:3rem;margin-bottom:1rem}.upload-zone h4{color:#333;font-size:1.25rem;margin:0 0 .5rem}.upload-zone p{color:#6c757d;margin:0 0 .5rem}.upload-hint{color:#6c757d;font-size:.9rem;font-style:italic}.selected-files{background:#f8f9fa;border-radius:8px;margin-top:1.5rem;padding:1rem}.selected-files-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.selected-files h4{color:#333;font-size:1.1rem;margin:0}.btn-clear{align-items:center;background:#dc3545;border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:.9rem;gap:.5rem;padding:.5rem 1rem;transition:all .2s ease}.btn-clear:hover{background:#c82333;transform:translateY(-1px)}.file-previews{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));max-height:300px;overflow-y:auto}.file-preview-item{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden;transition:all .2s ease}.file-preview-item:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.file-preview{align-items:center;background:#f8f9fa;display:flex;height:120px;justify-content:center;overflow:hidden;position:relative}.preview-image{height:100%;object-fit:cover;width:100%}.preview-icon{color:#6c757d;font-size:2.5rem}.file-info{padding:.75rem}.file-name{color:#333;font-size:.9rem;font-weight:600;margin-bottom:.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-details{align-items:center;color:#6c757d;display:flex;font-size:.8rem;justify-content:space-between}.file-details .file-size{font-weight:500}.file-details .file-type{background:#e9ecef;border-radius:3px;color:#495057;font-weight:500;padding:.125rem .375rem}.upload-modal .modal-actions{background:#f8f9fa;border-top:1px solid #e9ecef;display:flex;gap:1rem;justify-content:flex-end;padding:1.5rem}@media (max-width:768px){.media-manager{padding:1rem}.media-header{text-align:center}.media-controls,.media-header{flex-direction:column;gap:1rem}.search-box{min-width:auto;width:100%}.media-stats{flex-direction:column;gap:1rem}.media-grid{grid-template-columns:1fr}.upload-modal .modal-content{margin:1rem;width:95%}.file-previews{gap:.75rem;grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.file-preview{height:100px}.preview-icon{font-size:2rem}.selected-files-header{align-items:flex-start;flex-direction:column;gap:.75rem}}.form-row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr}.editor-container{background:#fff;border:2px solid #e9ecef;border-radius:8px;overflow:hidden}.content-preview{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;margin-top:1rem;padding:1rem}.content-preview h4{color:#495057;font-size:1rem;font-weight:600;margin:0 0 1rem}.preview-content{background:#fff;border:1px solid #dee2e6;border-radius:6px;line-height:1.6;padding:1.5rem}.preview-content h1,.preview-content h2,.preview-content h3{color:#2c3e50;margin-top:0}.preview-content p{margin-bottom:1rem}.preview-content ol,.preview-content ul{margin-bottom:1rem;padding-left:2rem}.preview-content blockquote{border-left:4px solid #007bff;color:#6c757d;font-style:italic;margin:1rem 0;padding-left:1rem}.preview-content code{background:#f8f9fa;border-radius:3px;font-family:Courier New,monospace;font-size:.9rem;padding:.2rem .4rem}.preview-content pre{background:#f8f9fa;border-radius:6px;margin:1rem 0;overflow-x:auto;padding:1rem}.page-stats{align-items:center;display:flex;gap:1rem}.page-stats .stat{background:#e9ecef;border-radius:20px;color:#495057;font-size:.875rem;font-weight:500;padding:.25rem .75rem}.page-slug{font-family:Courier New,monospace;margin:.25rem 0}.page-meta,.page-slug{color:#6c757d;font-size:.9rem}.page-meta{line-height:1.4;margin:.5rem 0}.page-meta-info{align-items:center;display:flex;gap:1rem;margin-top:.5rem}.form-group small,.page-meta-info .date{color:#6c757d;font-size:.8rem}.form-group small{display:block;margin-top:.25rem}.form-actions button i{margin-right:.5rem}@media (max-width:768px){.form-row{grid-template-columns:1fr}.page-meta-info,.page-stats{align-items:flex-start;flex-direction:column;gap:.5rem}}.user-search-container{width:100%}.search-input-wrapper{align-items:center;display:flex;position:relative}.user-search-input{border:2px solid #e1e5e9;border-radius:8px;font-size:14px;padding-right:40px;transition:all .3s ease}.user-search-input:focus{box-shadow:0 0 0 3px #007bff1a}.search-icon{color:#6c757d;pointer-events:none;position:absolute;right:12px}.user-dropdown{background:#fff;border:2px solid #e1e5e9;border-radius:0 0 8px 8px;border-top:none;box-shadow:0 4px 12px #0000001a;left:0;position:absolute;right:0;top:100%;z-index:1000}.user-dropdown,.user-list{max-height:300px;overflow-y:auto}.user-option{border-bottom:1px solid #f1f3f4;cursor:pointer;display:flex;flex-direction:column;gap:4px;padding:12px 16px;transition:all .2s ease}.user-option:hover{background-color:#f8f9fa}.user-option.selected{background-color:#e3f2fd;border-left:3px solid #2196f3}.user-option-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:4px}.user-name{font-size:14px}.user-type{border-radius:12px;font-size:11px;font-weight:500;padding:2px 8px;text-transform:uppercase}.user-type.owner{background-color:#e8f5e8;color:#2e7d32}.user-type.family_member{background-color:#e3f2fd;color:#1976d2}.user-type.tenant{background-color:#fff3e0;color:#f57c00}.user-type.guest{background-color:#f3e5f5;color:#7b1fa2}.user-option-details{color:#6c757d;display:flex;font-size:12px;gap:12px}.user-email{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-phone{color:#495057;font-weight:500}.user-properties{align-items:center;color:#28a745;display:flex;font-size:11px;gap:4px;margin-top:4px}.dropdown-loading,.no-users-found{color:#6c757d;font-size:14px;padding:20px;text-align:center}.no-users-found{flex-direction:column}.no-users-found,.selected-user-info{align-items:center;display:flex;gap:8px}.selected-user-info{background-color:#d4edda;border:1px solid #c3e6cb;border-radius:6px;color:#155724;font-size:13px;margin-top:8px;padding:8px 12px}.selected-user-info i{color:#28a745}.artisan-commands{margin:0 auto;max-width:1400px;padding:2rem}.artisan-content{display:flex;flex-direction:column;gap:2rem}.artisan-section{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:1.5rem}.section-header{border-bottom:2px solid #e9ecef;margin-bottom:1.5rem;padding-bottom:1rem}.section-header h2{align-items:center;color:#2c3e50;display:flex;font-size:1.5rem;gap:.75rem;margin:0}.section-header h2 i{color:#3498db}.token-input-group{display:flex;gap:1rem;margin-bottom:1rem}.token-input{border:1px solid #ddd;border-radius:4px;flex:1 1;font-size:1rem;padding:.75rem}.help-text{align-items:center;color:#6c757d;display:flex;font-size:.875rem;gap:.5rem;margin:0}.help-text i{color:#3498db}.commands-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.command-card{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;display:flex;flex-direction:column;gap:1rem;padding:1.5rem;transition:all .3s ease}.command-card:hover{box-shadow:0 4px 8px #0000001a;transform:translateY(-2px)}.command-icon{align-items:center;background:linear-gradient(135deg,#3498db,#2980b9);border-radius:8px;color:#fff;display:flex;font-size:1.5rem;height:48px;justify-content:center;width:48px}.command-info{flex:1 1}.command-info h3{color:#2c3e50;font-size:1.1rem;margin:0 0 .5rem}.command-info p{color:#6c757d;font-size:.9rem;margin:0 0 .75rem}.command-name{background:#e9ecef;border-radius:4px;color:#495057;display:inline-block;font-family:Courier New,monospace;font-size:.85rem;padding:.25rem .5rem}.command-card .btn{margin-top:auto;width:100%}.command-output{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;max-height:400px;overflow-y:auto;padding:1rem}.command-output.success{background:#d4edda;border-color:#28a745}.command-output.error{background:#f8d7da;border-color:#dc3545}.command-output pre{word-wrap:break-word;color:#2c3e50;font-family:Courier New,monospace;font-size:.875rem;margin:0;white-space:pre-wrap}.command-output.success pre{color:#155724}.command-output.error pre{color:#721c24}.no-scroll{overflow:hidden}.nav-backdrop{display:none}.nav-backdrop.show{background:#00000059;display:block;inset:0;position:fixed;z-index:900}@media (max-width:768px){.events-section,.features,.notices-section,.videos-section{padding:1.25rem 1rem}.features .feature-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr}.feature-card{padding:1rem}.events-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr}.events-section h2,.features h2,.notices-header h2,.videos-section h2{font-size:1.25rem;margin-bottom:.75rem}}.admin-layout{background:#f8f9fa;display:flex;min-height:100vh}.admin-sidebar{background:linear-gradient(180deg,#2c3e50,#34495e);box-shadow:2px 0 10px #0000001a;color:#fff;display:flex;flex-direction:column;height:100vh;left:0;overflow-y:auto;position:fixed;top:0;transition:all .3s ease;width:280px;z-index:1000}.admin-sidebar.collapsed{width:70px}.admin-sidebar.collapsed .nav-arrow,.admin-sidebar.collapsed .nav-text,.admin-sidebar.collapsed .user-details{opacity:0;visibility:hidden}.admin-sidebar.collapsed .nav-group-content{display:none}.sidebar-header{background:#0000001a;border-bottom:1px solid #ffffff1a;justify-content:space-between;padding:1.5rem}.logo,.sidebar-header{align-items:center;display:flex}.logo{color:#fff;font-size:1.25rem;font-weight:700;gap:.75rem}.logo img{background:#fff;flex-shrink:0;height:40px;object-fit:contain;padding:6px;width:auto}.logo .logo-text,.logo img{border-radius:6px;box-shadow:0 2px 4px #0000001a}.logo .logo-text{background:#fffffff2;color:#2c3e50;font-weight:700;padding:6px 12px;white-space:nowrap}.logo i{color:#3498db;font-size:1.5rem}.sidebar-toggle{background:#ffffff1a;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:1rem;padding:.5rem;transition:all .3s ease}.sidebar-toggle:hover{background:#fff3}.sidebar-nav{flex:1 1;overflow-y:auto;padding:1rem 0}.nav-group{margin-bottom:.5rem}.nav-group-header{align-items:center;background:none;border:none;color:#ecf0f1;cursor:pointer;display:flex;font-size:.95rem;padding:.75rem 1.5rem;text-align:left;transition:all .3s ease;width:100%}.nav-group-header:hover{background:#ffffff1a;border-left-color:#3498db;color:#fff}.nav-group-header.expanded{background:#3498db33;border-left-color:#3498db;color:#fff}.nav-icon{font-size:1rem;margin-right:.75rem;text-align:center;width:20px}.nav-text{flex:1 1;font-weight:500;transition:all .3s ease}.nav-arrow{font-size:.8rem;transition:transform .3s ease}.nav-group-header.expanded .nav-arrow{transform:rotate(180deg)}.nav-group-content{background:#0000001a;border-left:3px solid #3498db;border-radius:0 4px 4px 0;margin-left:1.5rem;overflow:hidden}.nav-item{align-items:center;background:none;border:none;color:#ecf0f1;cursor:pointer;display:flex;font-size:.95rem;margin:0;padding:.75rem 1.5rem;text-align:left;text-decoration:none;transition:all .3s ease;width:100%}.nav-item:hover{background:#ffffff1a;text-decoration:none}.nav-item.active,.nav-item:hover{border-left-color:#3498db;color:#fff}.nav-item.active{background:#3498db4d;font-weight:600}.nav-item.active .nav-icon{color:#3498db}.nav-item:focus{background:#ffffff1a;color:#fff;outline:none}.sidebar-footer{background:#0000001a;border-top:1px solid #ffffff1a;padding:1rem}.user-info{background:#ffffff1a;border-radius:8px;margin-bottom:1rem;padding:.5rem}.user-avatar{background:#3498db;font-size:1.2rem}.user-name{color:#fff;font-size:.9rem}.user-role{color:#ffffffb3;font-size:.8rem;text-transform:capitalize}.logout-btn{align-items:center;background:#e74c3c;border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:.9rem;gap:.5rem;padding:.75rem;transition:background-color .3s ease;width:100%}.logout-btn:hover{background:#c0392b}.admin-main{background:#f8f9fa;flex:1 1;margin-left:280px;min-height:100vh;transition:margin-left .3s ease}.admin-sidebar.collapsed+.admin-main{margin-left:70px}.admin-header{align-items:center;background:#fff;box-shadow:0 2px 10px #0000001a;display:flex;justify-content:space-between;padding:1rem 2rem;position:-webkit-sticky;position:sticky;top:0;z-index:100}.header-left h1{color:#2c3e50;font-size:1.5rem;font-weight:700;margin:0}.header-right{align-items:center;display:flex;gap:1rem}.language-switcher{align-items:center;background:#f1f5f9;border-radius:8px;color:#334155;display:flex;font-size:.85rem;gap:.5rem;padding:.4rem .75rem}.language-switcher label{color:#475569;font-weight:600;letter-spacing:.05em;text-transform:uppercase}.language-switcher select{background:#0000;border:none;color:#1f2937;cursor:pointer;font-size:.85rem;font-weight:600;outline:none}.language-switcher select option{color:#1f2937}.admin-content{min-height:calc(100vh - 80px);padding:2rem}@media (max-width:768px){.admin-sidebar{transform:translateX(-100%)}.admin-sidebar.open{transform:translateX(0)}.admin-main{margin-left:0}.admin-content{padding:1rem}}.building-details{margin:0 auto;max-width:1400px;padding:20px}.building-details-error,.building-details-loading{align-items:center;display:flex;justify-content:center;min-height:400px}.loading-spinner{height:50px;width:50px}.error-icon{font-size:48px;margin-bottom:20px}.building-details-header{align-items:flex-start;background:#fff;border-radius:12px;box-shadow:0 2px 10px #0000001a;display:flex;justify-content:space-between;margin-bottom:30px;padding:20px}.header-content{flex:1 1}.back-btn{background:none;border:none;color:#007bff;cursor:pointer;font-size:16px;margin-bottom:10px;padding:8px 0}.back-btn:hover{text-decoration:underline}.building-title{align-items:center;display:flex;gap:15px;margin-bottom:10px}.building-title h1{color:#333;font-size:28px;margin:0}.status-badge{border-radius:20px;font-size:14px;font-weight:500;padding:6px 12px}.status-badge.success{background:#28a74526}.status-badge.secondary{background:#6c757d26;color:#6c757d}.status-badge.warning{background:#ffc10726;color:#ffc107}.building-address{color:#666;font-size:16px;margin:0}.header-actions{display:flex;gap:10px}.building-stats-cards{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:30px}.stat-card{background:#fff;border-radius:12px;box-shadow:0 2px 10px #0000001a;gap:15px;padding:20px}.stat-card,.stat-icon{align-items:center;display:flex}.stat-icon{background:#007bff1a;border-radius:50%;font-size:32px;height:50px;justify-content:center;width:50px}.stat-content h3{color:#333;font-size:24px;margin:0}.stat-content p{color:#666;font-size:14px;margin:5px 0 0}.building-details-tabs{background:#fff;border-radius:12px;box-shadow:0 2px 10px #0000001a;display:flex;gap:5px;margin-bottom:30px;padding:5px}.tab-btn{background:#0000;border:none;border-radius:8px;color:#666;flex:1 1;font-size:14px;font-weight:500;padding:12px 20px}.tab-btn:hover{background:#007bff1a;color:#007bff}.tab-btn.active{background:#007bff;box-shadow:0 2px 8px #007bff4d}.building-details-content{background:#fff;border-radius:12px;box-shadow:0 2px 10px #0000001a;overflow:hidden}.floors-tab{padding:30px}.floors-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:30px}.floors-header h3{color:#333;font-size:24px;margin:0}.floor-filter select{background:#fff;border:1px solid #ddd;border-radius:8px;font-size:14px;padding:8px 15px}.floors-grid{display:flex;flex-direction:column;gap:30px}.floor-card{background:#fff;border:1px solid #e9ecef;border-radius:12px;overflow:hidden}.floor-header{align-items:center;background:#f8f9fa;border-bottom:1px solid #e9ecef;display:flex;justify-content:space-between;padding:15px 20px}.floor-header h4{color:#333;font-size:18px;margin:0}.floor-stats{display:flex;gap:15px}.floor-stats .stat{border-radius:6px;font-size:12px;font-weight:500;padding:4px 8px}.floor-stats .stat.occupied{background:#28a74526;color:#28a745}.floor-stats .stat.available{background:#007bff26;color:#007bff}.floor-stats .stat.maintenance{background:#ffc10726;color:#ffc107}.flats-grid{grid-gap:15px;gap:15px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));padding:20px}.flat-card{background:#fff;border:1px solid #e9ecef;border-radius:8px;padding:15px}.flat-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.flat-card.occupied{background:#28a7450d;border-left:4px solid #28a745}.flat-card.available{background:#007bff0d;border-left:4px solid #007bff}.flat-card.maintenance{background:#ffc1070d;border-left:4px solid #ffc107}.flat-header{margin-bottom:10px}.flat-number{color:#333;font-size:16px;font-weight:600}.flat-actions{display:flex;gap:5px}.flat-details{margin-top:10px}.flat-owner-info{display:flex;flex-direction:column;justify-content:center;min-height:60px}.owner-details{text-align:left}.owner-name{color:#333;display:block;font-size:14px;font-weight:600;margin-bottom:4px}.owner-phone{color:#666;display:block;font-size:12px;margin-bottom:2px}.owner-type{color:#007bff;font-size:11px;font-weight:500;text-transform:capitalize}.no-owner{color:#999;text-align:center}.no-owner-text{display:block;font-size:12px;margin-bottom:8px}.assign-btn{background:#007bff;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:11px;padding:6px 12px;transition:all .3s ease}.assign-btn:hover{background:#0056b3;transform:translateY(-1px)}.btn{border-radius:6px;font-size:14px;gap:5px;padding:8px 16px}.btn-primary{background:#007bff}.btn-primary:hover{background:#0056b3}.btn-sm{font-size:12px;padding:6px 10px}.modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.modal-content{background:#fff;border-radius:12px;max-height:90vh;overflow-y:auto;width:90%}.owner-assignment-modal{padding:0}.modal-header{align-items:center;border-bottom:1px solid #e9ecef;display:flex;justify-content:space-between;padding:20px}.modal-header h3{color:#333;margin:0}.modal-close{background:none;border:none;color:#999;cursor:pointer;font-size:20px}.modal-close:hover{color:#333}.assignment-form{padding:20px}.form-group{margin-bottom:20px}.form-group label{color:#333;display:block;font-weight:500;margin-bottom:5px}.form-control{border:1px solid #ddd;border-radius:6px;font-size:14px;padding:10px;width:100%}.form-control:focus{border-color:#007bff;box-shadow:0 0 0 2px #007bff40;outline:none}.checkbox-label{gap:8px}.form-actions{gap:10px;margin-top:30px;padding-top:20px}@media (max-width:768px){.building-details{padding:10px}.building-details-header{flex-direction:column;gap:15px}.building-stats-cards{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.floors-grid{gap:20px}.flats-grid{gap:10px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));padding:15px}.building-details-tabs{flex-wrap:wrap}.tab-btn{flex:none;min-width:120px}}.owner-manager{background:#f8f9fa;min-height:100vh;padding:2rem}.owner-manager-loading{align-items:center;background:#f8f9fa;display:flex;justify-content:center;min-height:100vh}.owner-header{align-items:flex-start;background:#fff;border-radius:15px;box-shadow:0 4px 20px #0000001a;display:flex;justify-content:space-between;margin-bottom:2rem;padding:2rem}.owner-header h1{color:#2c3e50;font-size:2.5rem;font-weight:700;margin:0 0 .5rem}.owner-header p{color:#6c757d;font-size:1.1rem;margin:0}.owner-tabs{display:flex;gap:.5rem;margin-bottom:2rem;overflow-x:auto;padding:.5rem}.owner-content,.owner-tabs{background:#fff;border-radius:15px;box-shadow:0 4px 20px #0000001a}.owner-content{overflow:hidden}.owners-list{padding:2rem}.owner-filters{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:2rem}.owners-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));margin-bottom:2rem}.owner-card{background:#fff;border:1px solid #e9ecef;border-radius:15px;box-shadow:0 2px 10px #0000001a;display:flex;flex-direction:column;max-height:600px;min-height:400px;overflow:hidden;transition:all .3s ease}.owner-card:hover{box-shadow:0 8px 25px #00000026;transform:translateY(-5px)}.owner-card-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;flex-shrink:0;justify-content:space-between;padding:1rem 1.25rem}.owner-card-header h3{font-size:1.25rem;font-weight:700;margin:0}.owner-badges{display:flex;flex-wrap:wrap;gap:.5rem}.badge.primary{background:#667eea33;color:#667eea}.owner-card-content{flex:1 1;padding:1rem 1.25rem}.owner-card-content,.owner-info{display:flex;flex-direction:column}.owner-info{flex:1 1;gap:.5rem}.owner-info .info-item{align-items:center;border-bottom:1px solid #f8f9fa;display:flex;font-size:.85rem;justify-content:space-between;padding:.4rem 0}.owner-info .info-item:last-child{border-bottom:none}.owner-info .info-item label{color:#495057;font-weight:600;min-width:100px}.owner-info .info-item span{color:#6c757d;text-align:right}.owner-card-actions{background:#f8f9fa;border-top:1px solid #e9ecef;display:flex;flex-shrink:0;gap:.5rem;padding:1rem 1.25rem}.owner-card-actions .btn{flex:1 1;font-size:.85rem;font-weight:500;min-height:40px;padding:.6rem .8rem;white-space:nowrap}.owner-form,.transfer-form{padding:2rem}.owner-form h2,.transfer-form h2{color:#2c3e50;font-size:2rem;font-weight:700;margin-bottom:2rem}.form-group input,.form-group select,.form-group textarea{border:2px solid #e9ecef;border-radius:10px;padding:.75rem 1rem}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.no-owners{padding:3rem;text-align:center}.no-owners i{color:#6c757d;margin-bottom:1rem}.no-owners h3{color:#6c757d;margin-bottom:.5rem}.no-owners p{color:#6c757d;margin:0}@media (max-width:768px){.owner-manager{padding:1rem}.owner-header{flex-direction:column;gap:1rem}.owner-filters{align-items:stretch;flex-direction:column}.search-box{min-width:auto}.filter-group{flex-direction:column}.owners-grid{grid-template-columns:1fr}.owner-card-actions{flex-direction:column}.form-grid{grid-template-columns:1fr}.form-actions{flex-direction:column}}.user-search-container{position:relative}.user-search-input{border:1px solid #ced4da;border-radius:4px;font-size:.9rem;margin-bottom:.5rem;padding:.75rem;width:100%}.user-search-input:focus{border-color:#007bff;box-shadow:0 0 0 2px #007bff40;outline:none}.user-select{background-color:#fff;border:1px solid #ced4da;border-radius:4px;font-size:.9rem;padding:.75rem;width:100%}.user-select:focus{border-color:#007bff;box-shadow:0 0 0 2px #007bff40;outline:none}.user-select:disabled{background-color:#f8f9fa;color:#6c757d;cursor:not-allowed}.owner-assignment{background:#f8f9fa;min-height:100vh;padding:2rem}.assignment-header{background:#fff;border-radius:15px;box-shadow:0 4px 20px #0000001a;margin-bottom:2rem;padding:2rem}.assignment-header h1{color:#2c3e50;font-size:2.5rem;font-weight:700;margin:0 0 .5rem}.assignment-header p{color:#6c757d;font-size:1.1rem;margin:0}.assignment-content{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:1fr 1fr}.assignment-form{background:#fff;border-radius:15px;box-shadow:0 4px 20px #0000001a;padding:2rem}.assignment-form h2{color:#2c3e50;font-size:1.8rem;font-weight:700;margin-bottom:2rem}.form-grid{grid-template-columns:1fr}.form-group select:disabled{background-color:#f8f9fa;color:#6c757d;cursor:not-allowed}.flats-preview{background:#fff;border-radius:15px;box-shadow:0 4px 20px #0000001a;padding:2rem}.flats-preview h3{color:#2c3e50;font-size:1.5rem;font-weight:700;margin-bottom:1.5rem}.flats-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.flat-card{border:2px solid #e9ecef;border-radius:10px;padding:1rem;transition:all .3s ease}.flat-card.available{background:#28a7450d;border-color:#28a745}.flat-card.occupied{background:#dc35450d;border-color:#dc3545;opacity:.7}.flat-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.5rem}.flat-header h4{color:#2c3e50;font-size:1.1rem;font-weight:700;margin:0}.status-badge{border-radius:15px;font-weight:600;letter-spacing:.5px;padding:.25rem .5rem}.status-badge.success{background:#28a74533;color:#28a745}.status-badge.danger{background:#dc354533;color:#dc3545}.flat-details p{color:#6c757d;font-size:.85rem;margin:.25rem 0}.text-muted{color:#6c757d;font-size:.8rem;margin-top:.5rem}@media (max-width:768px){.owner-assignment{padding:1rem}.assignment-content{grid-template-columns:1fr}.form-actions{flex-direction:column}.flats-grid{grid-template-columns:1fr}}.user-data-table{background:#f8f9fa;min-height:100vh;padding:2rem}.table-header{align-items:center;background:#fff;border-radius:15px;box-shadow:0 4px 20px #0000001a;display:flex;justify-content:space-between;margin-bottom:2rem;padding:1.5rem 2rem}.table-header h2{color:#2c3e50;font-size:2rem;font-weight:700;margin:0}.table-filters{align-items:center;background:#fff;border-radius:12px;box-shadow:0 4px 16px #00000014;display:flex;flex-wrap:wrap;gap:.75rem;justify-content:space-between;margin-bottom:1.25rem;padding:1rem 1.25rem}.search-box{max-width:400px;min-width:280px}.search-box input{border:1px solid #e3e6ea;border-radius:8px 0 0 8px;font-size:.95rem;height:40px;padding:0 .9rem}.search-btn{border:1px solid #667eea;border-radius:0 8px 8px 0;height:40px;padding:0 .9rem;transition:all .2s ease}.filter-group{align-items:center;flex-wrap:wrap;gap:.5rem}.filter-group select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 8px center;background-repeat:no-repeat;background-size:16px;border:1px solid #e3e6ea;border-radius:8px;font-size:.9rem;height:40px;max-width:160px;min-width:140px;padding:0 32px 0 .75rem}.table-container{background:#fff;border-radius:15px;box-shadow:0 4px 20px #0000001a;margin-bottom:2rem;overflow:hidden}.data-table{border-collapse:collapse;font-size:.9rem;width:100%}.data-table thead{background:#f8f9fa;border-bottom:2px solid #e9ecef}.data-table th{border-bottom:2px solid #e9ecef;color:#495057;font-weight:600;padding:1rem;text-align:left}.data-table td{border-bottom:1px solid #f1f3f4;padding:1rem;vertical-align:middle}.data-table tbody tr:hover{background:#f8f9fa}.user-info{align-items:center;display:flex;gap:.75rem}.user-avatar{background:#667eea;color:#fff;flex-shrink:0;font-size:1rem;height:40px;width:40px}.user-name{color:#2c3e50;font-weight:600;margin-bottom:.25rem}.user-id{color:#6c757d;font-size:.8rem}.badge{display:inline-block}.action-buttons{align-items:center;display:flex;gap:.5rem}.admin-protected{align-items:center;background:#6c757d1a;border:1px solid #6c757d33;border-radius:6px;color:#6c757d;display:flex;font-size:.8rem;font-weight:500;gap:.25rem;padding:.25rem .5rem}.btn{font-size:.85rem;font-weight:500;gap:.5rem;padding:.5rem 1rem}.btn:disabled{cursor:not-allowed;opacity:.6}.btn-sm{align-items:center;display:flex;font-size:.8rem;height:40px;justify-content:center;min-width:40px;padding:.375rem .75rem}.btn-primary{background:#667eea}.btn-primary:hover:not(:disabled){background:#5a6fd8}.btn-secondary:hover:not(:disabled){background:#5a6268}.btn-info{background:#17a2b8;color:#fff}.btn-info:hover:not(:disabled){background:#138496}.btn-success{background:#28a745;color:#fff}.btn-success:hover:not(:disabled){background:#218838}.btn-warning{background:#ffc107;color:#212529}.btn-warning:hover:not(:disabled){background:#e0a800}.btn-danger{background:#dc3545;color:#fff}.btn-danger:hover:not(:disabled){background:#c82333}.empty-cell,.loading-cell{padding:3rem;text-align:center}.loading-spinner{align-items:center;color:#6c757d;display:flex;font-size:1.1rem;gap:.5rem;justify-content:center}.empty-state{color:#6c757d;text-align:center}.empty-state i{font-size:3rem;margin-bottom:1rem;opacity:.5}.empty-state h3{font-size:1.5rem;margin:0 0 .5rem}.empty-state p{font-size:1rem;margin:0}.table-footer{align-items:center;background:#fff;border-radius:15px;box-shadow:0 4px 20px #0000001a;display:flex;justify-content:space-between;padding:1.5rem 2rem}.table-info{color:#6c757d;font-size:.9rem}.pagination{align-items:center;display:flex;gap:.5rem}.pagination-btn{background:#fff;border:1px solid #e9ecef;border-radius:8px;color:#495057;cursor:pointer;font-size:.9rem;padding:.5rem .75rem;transition:all .3s ease}.pagination-btn:hover:not(:disabled){background:#f8f9fa;border-color:#667eea}.pagination-btn.active{background:#667eea;border-color:#667eea;color:#fff}.pagination-btn:disabled{cursor:not-allowed;opacity:.5}.user-form{background:#fff;border-radius:15px;box-shadow:0 4px 20px #0000001a}.alert{border-radius:10px;gap:.5rem;margin-bottom:1.5rem;padding:1rem 1.5rem}.alert-error{background:#dc35451a;border:1px solid #dc354533;color:#dc3545}.alert-success{background:#28a7451a;border:1px solid #28a74533;color:#28a745}@media (max-width:768px){.user-data-table{padding:1rem}.table-filters,.table-header{align-items:stretch;flex-direction:column;gap:1rem}.search-box{max-width:none;min-width:auto}.filter-group{flex-direction:row;flex-wrap:wrap;gap:.5rem}.filter-group select{flex:1 1;max-width:150px;min-width:120px}.data-table{font-size:.8rem}.data-table td,.data-table th{padding:.75rem .5rem}.action-buttons,.table-footer{flex-direction:column}.table-footer{align-items:stretch;gap:1rem}.pagination{flex-wrap:wrap;justify-content:center}.form-grid{grid-template-columns:1fr}.form-actions{flex-direction:column}}.user-manager{background:#f8f9fa;min-height:100vh;padding:2rem}.user-manager-loading{align-items:center;background:#f8f9fa;display:flex;justify-content:center;min-height:100vh}.user-header{align-items:flex-start;background:#fff;border-radius:15px;box-shadow:0 4px 20px #0000001a;display:flex;justify-content:space-between;margin-bottom:2rem;padding:2rem}.user-header h1{color:#2c3e50;font-size:2.5rem;font-weight:700;margin:0 0 .5rem}.user-header p{color:#6c757d;font-size:1.1rem;margin:0}.user-tabs{display:flex;gap:.5rem;margin-bottom:2rem;overflow-x:auto;padding:.5rem}.user-content,.user-tabs{background:#fff;border-radius:15px;box-shadow:0 4px 20px #0000001a}.user-content{overflow:hidden}.users-list{padding:2rem}.user-filters{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:2rem}.search-box{display:flex;flex:1 1;min-width:300px}.search-box input{border:2px solid #e9ecef;border-radius:10px 0 0 10px;border-right:none;flex:1 1;font-size:1rem;padding:.75rem 1rem}.search-btn{background:#667eea;border:2px solid #667eea;border-radius:0 10px 10px 0;color:#fff;cursor:pointer;padding:.75rem 1rem;transition:all .3s ease}.search-btn:hover{background:#5a6fd8;border-color:#5a6fd8}.filter-group{display:flex;gap:1rem}.filter-group select{background:#fff;border:2px solid #e9ecef;border-radius:10px;font-size:1rem;min-width:150px;padding:.75rem 1rem}.users-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(400px,1fr))}.user-card{background:#fff;border:1px solid #e9ecef;border-radius:15px;box-shadow:0 2px 10px #0000001a;display:flex;flex-direction:column;max-height:500px;min-height:300px;overflow:hidden;transition:all .3s ease}.user-card:hover{box-shadow:0 8px 25px #00000026;transform:translateY(-5px)}.user-card-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;flex-shrink:0;padding:1rem 1.25rem}.user-avatar,.user-card-header{align-items:center;display:flex}.user-avatar{background:#fff3;border-radius:50%;font-size:1.5rem;font-weight:700;height:50px;justify-content:center;margin-right:1rem;width:50px}.user-info{flex:1 1}.user-info h3{font-size:1.25rem;font-weight:700;margin:0 0 .25rem}.user-info p{font-size:.9rem;margin:0;opacity:.9}.user-badges{display:flex;flex-wrap:wrap;gap:.5rem}.badge{border-radius:15px;font-size:.75rem;letter-spacing:.5px;padding:.25rem .75rem}.badge.primary{background:#0d6efd26;color:#0d6efd}.badge.success{background:#28a74533;color:#28a745}.badge.info{background:#17a2b833;color:#17a2b8}.badge.warning{background:#ffc10733;color:#ffc107}.badge.danger{background:#dc354533;color:#dc3545}.badge.secondary{background:#6c757d33;color:#6c757d}.status-badge{border-radius:999px;display:inline-block;font-size:.7rem;font-weight:700;padding:.25rem .6rem;text-transform:uppercase}.status-badge.active{background:#28a74526;color:#28a745}.status-badge.inactive{background:#6c757d26;color:#6c757d}.user-card-content{flex:1 1;padding:1rem 1.25rem}.user-card-content,.user-details{display:flex;flex-direction:column}.user-details{flex:1 1;gap:.5rem}.detail-item{align-items:center;border-bottom:1px solid #f8f9fa;display:flex;font-size:.85rem;justify-content:space-between;padding:.4rem 0}.detail-item:last-child{border-bottom:none}.detail-item label{color:#495057;font-weight:600;min-width:80px}.detail-item span{color:#6c757d;text-align:right}.user-card-actions{background:#f8f9fa;border-top:1px solid #e9ecef;display:flex;flex-shrink:0;gap:.5rem;padding:1rem 1.25rem}.user-card-actions .btn{flex:1 1;font-size:.85rem;font-weight:500;min-height:40px;padding:.6rem .8rem;white-space:nowrap}.user-form{padding:2rem}.user-form h2{color:#2c3e50;font-size:2rem;font-weight:700;margin-bottom:2rem}.form-grid{grid-gap:1.5rem;gap:1.5rem;margin-bottom:2rem}.form-group label{color:#495057;font-size:.9rem;font-weight:600;margin-bottom:.5rem}.form-group input,.form-group select{border:2px solid #e9ecef;border-radius:10px;font-size:1rem;padding:.75rem 1rem;transition:border-color .3s ease}.form-group input:focus,.form-group select:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.checkbox-label{align-items:center;cursor:pointer;display:flex;font-weight:500;gap:.5rem}.checkbox-label input[type=checkbox]{margin:0;width:auto}.form-actions{border-top:1px solid #e9ecef;gap:1rem;padding-top:2rem}.no-users{padding:3rem;text-align:center}.no-users i{color:#6c757d;margin-bottom:1rem}.no-users h3{color:#6c757d;margin-bottom:.5rem}.no-users p{color:#6c757d;margin:0}@media (max-width:768px){.user-manager{padding:1rem}.user-header{flex-direction:column;gap:1rem}.user-filters{align-items:stretch;flex-direction:column}.search-box{min-width:auto}.filter-group{flex-direction:column}.users-grid{grid-template-columns:1fr}.user-card-actions{flex-direction:column}.form-grid{grid-template-columns:1fr}.form-actions{flex-direction:column}}.user-profile{margin:0 auto;max-width:1100px;min-height:100vh;padding:24px}.user-profile-error,.user-profile-loading{align-items:center;display:flex;justify-content:center;min-height:60vh}.error-container,.loading-container{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;padding:40px;text-align:center}.loading-spinner{animation:spin 1s linear infinite;border:4px solid #f3f3f3;border-radius:50%;border-top-color:#007bff;height:40px;margin:0 auto 20px;width:40px}.profile-header{grid-gap:24px;align-items:center;background:#1f2d3d;border-radius:12px;box-shadow:0 6px 16px #00000026;color:#fff;display:grid;gap:24px;grid-template-columns:auto 1fr auto;margin-bottom:20px;padding:24px}.profile-avatar,.profile-avatar-section{position:relative}.profile-avatar{background:#2f3b52;border:4px solid #ffffff59;border-radius:50%;box-shadow:0 8px 24px #00000040;height:112px;overflow:hidden;width:112px}.avatar-image{height:100%;object-fit:cover;width:100%}.avatar-placeholder{background:#2f3b52;color:#cbd5e1;font-size:44px;height:100%;width:100%}.avatar-overlay,.avatar-placeholder{align-items:center;display:flex;justify-content:center}.avatar-overlay{background:#00000073;border-radius:50%;bottom:0;gap:10px;left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .3s ease}.profile-avatar:hover .avatar-overlay{opacity:1}.delete-btn,.upload-btn{align-items:center;background:#fffffff2;border:none;border-radius:50%;color:#1f2d3d;cursor:pointer;display:flex;height:42px;justify-content:center;transition:all .3s ease;width:42px}.upload-btn:hover{background:#3c8dbc;color:#fff}.delete-btn{color:#dd4b39}.delete-btn:hover{background:#dd4b39;color:#fff}.upload-spinner{align-items:center;background:#ffffffe6;border-radius:50%;color:#3c8dbc;display:flex;font-size:20px;height:52px;justify-content:center;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:52px}.profile-info{display:flex;flex:1 1;flex-direction:column;gap:6px}.profile-info h1{color:#fff;font-size:1.8rem;font-weight:700;letter-spacing:.2px;margin:0}.profile-email{color:#ffffffd9;font-size:.95rem;margin:0}.profile-badges{display:flex;gap:8px;margin-top:6px}.badge{border-radius:20px;font-size:.8rem;font-weight:600;padding:6px 12px;text-transform:uppercase}.badge-danger{background:#dc3545;color:#fff}.badge-primary{background:#3c8dbc;color:#fff}.badge-info{background:#17a2b8;color:#fff}.badge-warning{background:#ffc107;color:#212529}.badge-success{background:#28a745;color:#fff}.badge-secondary{background:#6c757d;color:#fff}.ownership-card,.profile-content,.profile-header,.profile-tabs{border:1px solid #dee2e6}.user-profile{background:#ecf0f5}.profile-building{align-items:center;color:#ffffffe6;display:flex;font-size:.92rem}.profile-actions{display:flex;flex-direction:column;gap:10px}.alert{align-items:center;border-radius:8px;display:flex;font-weight:500;margin-bottom:20px;padding:14px 18px}.alert-danger{background:#f8d7da;border:1px solid #f5c6cb;color:#721c24}.alert-success{background:#d4edda;border:1px solid #c3e6cb;color:#155724}.profile-tabs{background:#0000;display:flex;gap:8px;margin:12px 0 20px}.tab-btn{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:999px;box-shadow:0 2px 6px #0000000a;color:#475569;cursor:pointer;display:inline-flex;font-weight:600;gap:8px;justify-content:center;padding:10px 16px;transition:all .3s ease}.tab-btn:hover{background:#f3f4f6;border-color:#e5e7eb;color:#3c8dbc}.tab-btn.active{background:#3c8dbc;border-color:#3c8dbc;box-shadow:0 4px 10px #3c8dbc40;color:#fff}.profile-content{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 8px 20px #0000000f;overflow:hidden}.profile-section{padding:24px}.profile-section h3{border-bottom:1px solid #eef2f7;color:#1f2d3d;font-size:1.25rem;font-weight:700;margin:0 0 16px;padding-bottom:12px}.form-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));margin-bottom:16px}.form-group{display:flex;flex-direction:column}.form-group.full-width{grid-column:1/-1}.form-group label{color:#334155;font-weight:700;margin-bottom:6px}.form-group input,.form-group select,.form-group textarea{background:#fff;border:1px solid #e5e7eb;border-radius:8px;font-size:1rem;padding:10px 12px;transition:border-color .3s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#3c8dbc;box-shadow:0 0 0 3px #3c8dbc1f;outline:none}.form-group textarea{min-height:90px;resize:vertical}.form-actions{border-top:1px solid #eef2f7;display:flex;gap:12px;justify-content:flex-end;padding-top:16px}.info-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.info-item{display:flex;flex-direction:column;gap:6px}.info-item.full-width{grid-column:1/-1}.info-item label{color:#64748b;font-size:.85rem;font-weight:700;letter-spacing:.5px;text-transform:uppercase}.info-item span{color:#1f2d3d;font-size:1rem;padding:6px 0}.ownerships-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));margin-top:12px}.ownership-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 6px 16px #0000000f;padding:16px;transition:all .25s ease}.ownership-card:hover{box-shadow:0 10px 24px #0000001a;transform:translateY(-3px)}.ownership-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px}.ownership-header h4{color:#1f2d3d;font-size:1.2rem;margin:0}.ownership-details{display:flex;flex-direction:column;gap:6px}.ownership-info{display:flex;flex-direction:column;gap:5px}.building-name{color:#334155;font-weight:700}.flat-type{color:#64748b;font-size:.9rem}.ownership-percentage{color:#3c8dbc}.btn,.ownership-percentage{font-size:.9rem;font-weight:700}.btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:inline-flex;gap:8px;padding:10px 18px;text-decoration:none;transition:all .3s ease}.btn-primary{background:#3c8dbc;box-shadow:0 6px 14px #3c8dbc40;color:#fff}.btn-primary:hover{background:#357ca5;transform:translateY(-1px)}.btn-warning{background:#f39c12;color:#fff}.btn-warning:hover{background:#d38910;transform:translateY(-1px)}.btn-secondary{background:#6c757d;color:#fff}.btn-secondary:hover{background:#545b62;transform:translateY(-1px)}@media (max-width:768px){.user-profile{padding:12px}.profile-header{gap:16px;grid-template-columns:1fr;text-align:center}.profile-info h1{font-size:1.6rem}.profile-tabs{flex-wrap:wrap}.tab-btn{width:100%}.form-grid,.info-grid,.ownerships-grid{grid-template-columns:1fr}.form-actions{flex-direction:column}}@media (max-width:480px){.profile-avatar{height:96px;width:96px}.profile-info h1{font-size:1.5rem}.profile-section{padding:16px}}.dash-shell{background:#ecf0f5;display:grid;grid-template-areas:"topbar topbar" "sidebar main";grid-template-columns:240px 1fr;grid-template-rows:56px 1fr;min-height:100vh}.dash-shell.sidebar-collapsed{grid-template-columns:72px 1fr}.dash-topbar{align-items:center;background:#1f2d3d;box-shadow:0 2px 8px #00000026;color:#fff;display:flex;grid-area:topbar;justify-content:space-between;padding:0 16px}.dash-topbar .brand a{color:#fff;font-weight:700;text-decoration:none}.dash-topbar .icon-btn{background:#0000;border:none;color:#fff;cursor:pointer;font-size:18px}.dash-topbar .top-actions .link{color:#fff;margin-left:12px;opacity:.9;text-decoration:none}.dash-topbar .top-actions .link:hover{opacity:1}.dash-sidebar{background:#2f3b52;box-shadow:inset -1px 0 0 #0000001a;color:#cbd5e1;grid-area:sidebar;padding:12px 8px}.dash-sidebar .user-panel{grid-gap:10px;align-items:center;border-bottom:1px solid #ffffff14;display:grid;gap:10px;grid-template-columns:40px 1fr;margin-bottom:8px;padding:8px 8px 12px}.dash-sidebar .user-panel .avatar{align-items:center;background:#ffffff1f;border-radius:50%;color:#e2e8f0;display:flex;height:40px;justify-content:center;width:40px}.dash-sidebar .user-panel .meta .welcome{color:#94a3b8;font-size:11px}.dash-sidebar .user-panel .meta .name{color:#e2e8f0;font-weight:700;line-height:1.2}.dash-sidebar .user-panel .meta .role{color:#cbd5e1;font-size:11px;opacity:.9;text-transform:capitalize}.dash-sidebar .menu{display:flex;flex-direction:column;gap:6px}.dash-sidebar .menu-item{align-items:center;border-radius:8px;color:#e2e8f0;display:flex;gap:10px;padding:10px 12px;text-decoration:none}.dash-sidebar .menu-item:hover{background:#ffffff14}.dash-shell.sidebar-collapsed .dash-sidebar .menu-item span{display:none}.dash-main{grid-area:main;padding:16px}.user-dash .dash-header{grid-gap:16px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 8px 20px #0000000f;display:grid;gap:16px;grid-template-columns:auto 1fr auto;margin-bottom:16px;padding:16px}.dash-avatar{background:#f1f5f9;border:3px solid #e5e7eb;border-radius:50%;height:72px;overflow:hidden;width:72px}.dash-avatar img{height:100%;object-fit:cover;width:100%}.dash-avatar-placeholder{align-items:center;color:#94a3b8;display:flex;font-size:28px;height:100%;justify-content:center;width:100%}.dash-meta h1{color:#1f2d3d;font-size:1.25rem;margin:0}.muted{color:#64748b;margin:2px 0 6px}.dash-badges{display:flex;flex-wrap:wrap;gap:6px}.badge{border-radius:999px;font-size:12px;font-weight:700;padding:4px 8px}.badge.role{background:#3c8dbc;color:#fff}.badge.owner{background:#22c55e;color:#fff}.badge.renter{background:#f59e0b;color:#111827}.badge.resident{background:#0ea5e9;color:#fff}.badge.active{background:#16a34a;color:#fff}.badge.inactive{background:#94a3b8;color:#fff}.dash-actions .btn{margin-left:8px}.dash-grid{grid-gap:14px;display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.dash-card{grid-gap:12px;align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 6px 16px #0000000f;color:#1f2d3d;display:grid;gap:12px;grid-template-columns:44px 1fr;padding:14px;text-decoration:none}.dash-card:hover{box-shadow:0 10px 24px #00000014;transform:translateY(-2px)}.dash-card .icon{align-items:center;background:#f1f5f9;border-radius:10px;color:#3c8dbc;display:flex;font-size:18px;height:44px;justify-content:center;width:44px}.dash-card h3{font-size:1rem;margin:0 0 4px}.dash-card p{color:#64748b;font-size:.9rem;margin:0}.dash-section{margin-top:18px}.dash-section h2{color:#1f2d3d;font-size:1.1rem;margin:0 0 10px}.dash-ownerships{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.dash-own-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:12px}.dash-own-card .top{align-items:center;display:flex;justify-content:space-between;margin-bottom:6px}.dash-own-card .flat{color:#1f2d3d;font-weight:700}.dash-own-card .type{background:#3c8dbc;border-radius:999px;color:#fff;font-size:12px;font-weight:800;padding:3px 8px}.dash-own-card .type.owner{background:#22c55e}.dash-own-card .type.renter{background:#f59e0b;color:#111827}.dash-own-card .type.resident{background:#0ea5e9}.dash-own-card .sub{color:#64748b;display:flex;font-size:.9rem;gap:8px}.flat-people-wrap{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.flat-people-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 6px 16px #0000000f;padding:12px}.flat-people-card .head{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.flat-people-card .head .flat{color:#1f2d3d;font-weight:700}.people-list{grid-gap:8px;display:grid;gap:8px;list-style:none;margin:0;padding:0}.person{border:1px solid #eef2f7;border-radius:8px;justify-content:space-between;padding:8px}.person,.person .left{align-items:center;display:flex}.person .left{gap:8px}.person .avatar{align-items:center;background:#f1f5f9;border-radius:50%;color:#3c8dbc;display:flex;height:36px;justify-content:center;width:36px}.person .info .name{color:#1f2d3d;font-weight:700}.person .info .sub{align-items:center;color:#64748b;display:flex;font-size:.9rem;gap:6px}.person .info .sub .dot{opacity:.6}.person .right .link{color:#3c8dbc;text-decoration:none}.person .right .link:hover{text-decoration:underline}.add-member-row{background:#f8fafc;border:1px dashed #e5e7eb;border-radius:8px;display:flex;gap:8px;margin:8px 0;padding:8px}.add-member-row select{border:1px solid #e5e7eb;border-radius:8px;padding:8px 10px}.dash-modal{align-items:center;background:#00000059;display:flex;inset:0;justify-content:center;padding:16px;position:fixed;z-index:50}.dash-modal-content{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 20px 48px #0003;max-width:520px;width:100%}.dash-modal-header{align-items:center;border-bottom:1px solid #eef2f7;display:flex;justify-content:space-between;padding:12px 14px}.dash-modal-body{padding:12px 14px}.dash-modal-footer{border-top:1px solid #eef2f7;display:flex;gap:8px;justify-content:flex-end;padding:10px 14px}.profile-quick .row{display:flex;gap:8px;padding:6px 0}.profile-quick .row strong{color:#334155;width:100px}.dash-error,.dash-loading{padding:24px;text-align:center}.dash-spinner{animation:spin 1s linear infinite;border:3px solid #e5e7eb;border-radius:50%;border-top-color:#3c8dbc;height:32px;margin:0 auto 8px;width:32px}@keyframes spin{to{transform:rotate(1turn)}}@media (max-width:992px){.dash-shell{grid-template-columns:72px 1fr}}
/*# sourceMappingURL=main.592bb9f9.css.map*/