@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap";.language-switcher{position:fixed;top:20px;right:20px;z-index:1200}.flag-icon{width:24px;height:24px;border-radius:4px;box-shadow:0 2px 4px #0000001a}.flag-icon-menu{width:20px;height:20px;margin-right:12px;border-radius:2px}.language-name{font-size:14px;color:#1f2937}.login-page{min-height:100vh;display:flex;flex-direction:column;background-color:#f3f4f6;margin-top:100px}.login-container{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1rem;margin-top:80px;position:relative}.navbar{position:fixed;top:0;left:0;right:0;z-index:1000}.footer{position:relative;z-index:1}.login-card{background-color:#fff;border-radius:12px;box-shadow:0 4px 6px -1px #0000001a;padding:2rem;width:100%;max-width:400px}.login-header{text-align:center;margin-bottom:2rem;padding:1rem}.login-logo{width:240px;height:auto;margin-bottom:1.5rem;object-fit:contain}.login-header h1{font-size:1.875rem;font-weight:600;color:#111827;margin-bottom:.5rem}.login-header p{color:#6b7280;font-size:1rem}.error-message{display:flex;align-items:center;gap:.5rem;background-color:#fee2e2;color:#dc2626;padding:.75rem;border-radius:.375rem;margin-bottom:1.5rem}.login-form{display:flex;flex-direction:column;gap:1.5rem;padding:0 1rem}.form-group{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.form-group label{display:flex;align-items:center;gap:.5rem;font-size:.875rem;font-weight:500;color:#374151}.form-group input{width:100%;padding:.75rem;border:1px solid #d1d5db;border-radius:.375rem;font-size:.875rem;transition:border-color .2s}.login-container .login-card .login-form .login-button{width:100%;height:44px;background-color:#c2000e!important;color:#fff!important;padding:.75rem;border:none;border-radius:.375rem;font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;margin-top:1rem;margin-bottom:1rem}.login-container .login-card .login-form .login-button:hover{background-color:#c2000e!important}.login-container .login-card .login-form .login-button:disabled{background-color:#94a3b8!important;color:#fff!important;cursor:not-allowed;opacity:.7}.login-button span{display:inline-block;color:currentColor;opacity:1}.login-footer{margin-top:1.5rem;text-align:center;padding:0 1rem}.login-links{margin-bottom:1rem}.forgot-password-link{color:#c2000e;text-decoration:none;font-size:.875rem;font-weight:500}.forgot-password-link:hover{text-decoration:underline}.register-prompt{color:#6b7280;font-size:.875rem}.register-link{color:#c2000e;text-decoration:none;font-weight:500}.register-link:hover{text-decoration:underline}.back-link{position:absolute;top:20px;left:20px;display:flex;align-items:center;gap:8px;color:#1a365d;text-decoration:none;font-weight:500;transition:all .3s ease;padding:8px 16px;border-radius:6px;background-color:#fff;box-shadow:0 2px 4px #0000001a}.back-link:hover{color:#c2000e;transform:translate(-3px)}.back-link svg{font-size:20px;transition:transform .3s ease}.back-link:hover svg{transform:translate(-2px)}@media (max-width: 768px){.back-link{top:10px;left:10px;font-size:14px;padding:6px 12px}}@media (max-width: 480px){.login-card{padding:1.5rem}.login-button{height:48px;padding:.875rem}}.back-to-home{position:absolute;top:20px;left:20px}.back-to-home a{display:flex;align-items:center;gap:8px;color:#1a365d;text-decoration:none;font-size:16px;font-weight:500;padding:10px;transition:color .3s ease}.back-to-home a:hover{color:#c2000e}.back-to-home svg{width:20px;height:20px}.broker-sidebar{position:fixed;top:0;left:0;height:100vh;width:240px;background:white;box-shadow:2px 0 4px #0000001a;z-index:40;transition:all .3s ease;display:flex;flex-direction:column}.broker-logo{width:100%;max-width:180px;height:auto;transition:opacity .3s ease}.sidebar-nav{flex:1;padding:16px 0;overflow-y:auto;min-height:0}.nav-link{display:flex;align-items:center;padding:12px 24px;color:#64748b;text-decoration:none;transition:all .2s ease;font-size:15px;margin:4px 12px;border-radius:8px}.nav-link svg{width:20px;height:20px;margin-right:12px;color:#64748b}.nav-link span{font-weight:500}.nav-link:hover{background-color:#f8fafc;color:#1976d2}.nav-link:hover svg{color:#1976d2}.nav-link.active svg{color:#1976d2}.sidebar-footer{padding:16px;border-top:1px solid #f0f0f0;background-color:#fff;flex-shrink:0;margin-top:auto}.user-info{display:flex;align-items:center;padding:12px;background-color:#f8fafc;border-radius:8px;margin-bottom:12px;gap:12px}.user-avatar{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f1f5f9;color:#64748b;font-weight:600;overflow:hidden}.user-role{display:block;font-size:12px;color:#64748b}.logout-button{width:100%;padding:12px;display:flex;align-items:center;gap:8px;color:#64748b;background:none;border:none;border-radius:8px;cursor:pointer;transition:all .2s ease}.logout-button:hover{background-color:#f1f5f9;color:#dc2626}@media (max-width: 1024px){.broker-sidebar{width:64px}.broker-sidebar:not(.expanded){width:0}.broker-sidebar:not(.expanded) .sidebar-header,.broker-sidebar:not(.expanded) .user-info,.broker-sidebar:not(.expanded) .user-details,.broker-sidebar:not(.expanded) .nav-label,.broker-sidebar:not(.expanded) .sidebar-footer,.broker-sidebar:not(.expanded) .logout-button{display:none}.broker-sidebar.expanded{width:240px}.broker-sidebar.expanded .sidebar-header,.broker-sidebar.expanded .user-info,.broker-sidebar.expanded .user-details,.broker-sidebar.expanded .nav-label,.broker-sidebar.expanded .sidebar-footer,.broker-sidebar.expanded .logout-button{display:flex}}@media (max-width: 768px){.broker-sidebar{transform:translate(-100%);width:0}.broker-sidebar.expanded{transform:translate(0);width:240px}.broker-sidebar.expanded .sidebar-header,.broker-sidebar.expanded .user-info,.broker-sidebar.expanded .user-details,.broker-sidebar.expanded .nav-label,.broker-sidebar.expanded .sidebar-footer,.broker-sidebar.expanded .logout-button{display:flex}}.sidebar-overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);z-index:35}@media (max-width: 768px){.sidebar-overlay.visible{display:block}}.sidebar-header{padding:20px;border-bottom:1px solid #eaeaea;flex-shrink:0}@media screen and (max-height: 600px){.sidebar-nav{padding:8px 0}.nav-item{padding:8px 24px}.user-info{padding:8px;margin-bottom:8px}.logout-button{padding:8px}}.applications-container{padding:2rem;max-width:1800px;margin:0 auto;position:relative;z-index:1}.section-header{margin-bottom:2rem}.section-header h1{font-size:1.875rem;font-weight:600;color:#1e293b;margin-bottom:.5rem}.section-header .subtitle{color:#64748b;font-size:.95rem}.applications-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(380px,1fr));gap:1.5rem;margin-top:1.5rem;position:relative;z-index:1}.application-card{background:#ffffff;border-radius:16px;border:1px solid #e2e8f0;transition:all .3s cubic-bezier(.4,0,.2,1);overflow:visible!important;position:relative;z-index:1;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.application-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px -10px #0000001a;border-color:#cbd5e1}.card-header{padding:1.5rem;border-bottom:1px solid #f1f5f9;display:flex;align-items:center;justify-content:space-between;gap:1rem}.applicant-info{display:flex;align-items:center;gap:1rem}.applicant-avatar{width:56px;height:56px;border-radius:50%;background:#f8fafc;display:flex;align-items:center;justify-content:center;border:2px solid #e2e8f0;overflow:hidden;transition:all .3s ease}.applicant-avatar img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.application-card:hover .applicant-avatar img{transform:scale(1.05)}.applicant-details{display:flex;flex-direction:column}.applicant-details h3{font-size:1.125rem;font-weight:600;color:#1e293b;margin-bottom:.25rem;transition:color .2s ease}.application-card:hover .applicant-details h3{color:#c2000e}.applicant-details p{font-size:.875rem;color:#64748b;transition:color .2s ease}.status-badge{display:inline-flex;align-items:center;padding:.5rem 1rem;border-radius:9999px;font-size:.875rem;font-weight:500;gap:.5rem;transition:all .3s ease}.status-badge .status-icon{width:16px;height:16px;transition:transform .3s ease}.application-card:hover .status-badge .status-icon{transform:scale(1.1) rotate(5deg)}.status-badge.pending{background:#fef9c3;color:#854d0e}.status-badge.active{background:#dcfce7;color:#166534}.status-badge.completed{background:#dbeafe;color:#1e40af}.status-badge.rejected{background:#fee2e2;color:#991b1b}.card-content{padding:1.5rem;transition:transform .3s ease}.application-details{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem}.detail-item{display:flex;flex-direction:column;gap:.375rem;transition:transform .3s ease}.application-card:hover .detail-item{transform:translateY(-2px)}.detail-label{font-size:.875rem;color:#64748b;font-weight:500}.detail-value{font-size:1rem;color:#1e293b;font-weight:600}.action-button{padding:.5rem 1rem;border-radius:8px;font-size:.875rem;font-weight:500;display:inline-flex;align-items:center;gap:.5rem;transition:all .2s ease;border:none;cursor:pointer}.action-button.primary{background:#c2000e;color:#fff}.action-button.primary:hover{background:#c2000e}.action-button.secondary{background:white;color:#475569;border:1px solid #e2e8f0}.action-button.secondary:hover{background:#f8fafc;border-color:#cbd5e1}.action-button.icon{position:relative;z-index:52;padding:.5rem;background:transparent}.action-button.icon:hover{background:#f1f5f9}.menu-container{position:relative;z-index:51}.menu-popup{position:absolute;right:0;top:calc(100% + .5rem);background:white;border-radius:8px;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;border:1px solid #e5e7eb;min-width:200px;z-index:53;animation:menuFadeIn .2s ease;transform-origin:top right}@keyframes menuFadeIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.menu-items-container{padding:.5rem}.menu-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;width:100%;border:none;background:transparent;color:#475569;font-size:.875rem;text-align:left;cursor:pointer;border-radius:6px;transition:all .2s ease}.menu-item:hover{background:#f8fafc}.menu-item.delete:hover{background:#fee2e2}@media (max-width: 1024px){.applications-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}}@media (max-width: 640px){.applications-container{padding:1rem}.applications-grid{grid-template-columns:1fr}.card-actions{flex-direction:column}.action-button{width:100%;justify-content:center}}.title-group{display:flex;align-items:center;gap:1.5rem}.view-options-container{display:flex;gap:.5rem;padding:.25rem;background:#f1f5f9;border-radius:8px}.view-button{padding:.5rem;border:none;background:transparent;color:#64748b;cursor:pointer;border-radius:6px;transition:all .2s ease}.view-button-content{display:flex;align-items:center;gap:.5rem;font-size:.875rem;font-weight:500}.applications-list{display:flex;flex-direction:column;gap:1rem;position:relative;z-index:1}.applications-list .application-card{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;padding:1rem;gap:1.5rem;position:relative;z-index:1}.applications-list .card-header{padding:0;border:none}.applications-list .card-content{padding:0}.applications-list .application-details{grid-template-columns:repeat(4,1fr);margin:0}.applications-list .card-actions{padding:0;border:none;background:transparent;gap:.5rem}@media (max-width: 1024px){.applications-list .application-card{grid-template-columns:auto 1fr auto}.applications-list .application-details{grid-template-columns:repeat(3,1fr)}.applications-list .card-actions{grid-column:1 / -1;justify-content:flex-start;padding-top:1rem}}@media (max-width: 768px){.applications-list .application-card{grid-template-columns:1fr}.applications-list .application-details{grid-template-columns:repeat(2,1fr);margin-top:1rem}}.applications-list .card-actions{padding-right:1rem}.applications-list .menu-popup{right:0;z-index:53}.menu-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:transparent;z-index:40}.application-card:has(.menu-container:focus-within),.application-card:has(.menu-popup){z-index:50!important}.applications-list .quick-actions,.applications-list .status-and-menu{display:none}.card-actions{position:relative;z-index:2;display:flex;align-items:center;gap:.75rem;justify-content:flex-end;padding:1rem 1.25rem;background:#f8fafc;border-top:1px solid #f1f5f9;overflow:visible!important}.broker-dashboard{display:flex;min-height:100vh;background-color:#f8fafc}.broker-page-container{position:fixed;left:250px;right:0;top:0;bottom:0;overflow-y:auto;background-color:#f8fafc;padding:88px 24px 24px}.broker-header{position:fixed;left:250px;right:0;top:0;height:64px;background:white;border-bottom:1px solid #e5e7eb;z-index:30;padding:0 24px;display:flex;align-items:center}.content-wrapper{max-width:1400px;margin:0 auto;width:100%}@media (max-width: 768px){.broker-page-container{left:0;padding:80px 16px 16px}.broker-header{left:0;padding:0 16px}}.broker-layout{display:flex;min-height:100vh;background:var(--broker-bg-primary)}.broker-content{flex:1;display:flex;flex-direction:column}.header-content{display:flex;justify-content:space-between;align-items:center;max-width:1400px;margin:0 auto;width:100%}.header-content h1{margin:0;font-size:1.5rem;color:#1f2937}.header-actions{display:flex;align-items:center;gap:1rem}.broker-main{flex:1;padding:2rem;background:#f9fafb}@media (min-width: 1024px){.broker-main{margin-left:0}}.broker-sidebar{display:flex;flex-direction:column;width:var(--admin-sidebar-width);height:100vh;background:#ffffff;border-right:1px solid #e5e7eb;position:fixed;left:0;top:0;z-index:40}.sidebar-toggle{display:none;position:fixed;top:20px;left:20px;z-index:50;background:white;border-radius:50%;width:40px;height:40px;box-shadow:0 2px 4px #0000001a;cursor:pointer;align-items:center;justify-content:center}@media (max-width: 1024px){.broker-sidebar{width:64px}.broker-sidebar.expanded{width:240px}.sidebar-toggle{display:flex}}@media (max-width: 768px){.broker-sidebar{transform:translate(-100%)}.broker-sidebar.expanded{transform:translate(0);width:240px}.sidebar-overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);z-index:35}.sidebar-overlay.visible{display:block}}.applications-container,.messages-container,.analytics-container,.settings-container{max-width:1200px;margin:0 auto;padding:24px;background:#ffffff;border-radius:8px;box-shadow:0 1px 3px #0000001a;transition:all .3s ease}@media (max-width: 1024px){.applications-container,.messages-container,.analytics-container,.settings-container{margin:0 auto;width:100%}}@media (max-width: 768px){.applications-container,.messages-container,.analytics-container,.settings-container{padding:16px;margin:0;width:100%;border-radius:0}.broker-page-container{padding:16px}}.sidebar-collapsed .broker-page-container{margin-left:0;width:100%}.section-header{margin-bottom:24px;border-bottom:1px solid #eaeaea;padding-bottom:16px}.form-group label{display:block;margin-bottom:8px;font-weight:500;color:#333}.form-group input{width:100%;padding:10px;border:1px solid #ddd;border-radius:4px;font-size:14px}button{padding:10px 16px;border-radius:4px;border:none;font-weight:500;cursor:pointer;display:inline-flex;align-items:center;gap:8px;transition:background-color .2s}button:disabled{opacity:.7;cursor:not-allowed}.card{background:#fff;border-radius:8px;padding:20px;box-shadow:0 1px 3px #0000001a;margin-bottom:20px}.grid{display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}@media (max-width: 768px){.broker-header{padding:1rem}.notifications-popover{width:calc(100vw - 32px);right:-16px}}.nav-items{flex:1;padding:1rem 0;display:flex;flex-direction:column;gap:.5rem}.sidebar-footer{border-top:1px solid #e5e7eb;padding:1rem;background:#f8fafc}.user-info{display:flex;align-items:center;gap:1rem;padding:1rem;margin-bottom:1rem}.user-avatar{width:40px;height:40px;background:#e5e7eb;border-radius:50%;display:flex;align-items:center;justify-content:center}.avatar-icon{width:24px;height:24px;color:#6b7280}.user-details{display:flex;flex-direction:column;overflow:hidden}.user-name{font-weight:600;color:#111827;font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-email{font-size:.8rem;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.logout-button{width:100%;display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#ffffff;border:1px solid #e5e7eb;border-radius:8px;color:#ef4444;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.logout-button:hover{background:#fef2f2;border-color:#ef4444}.logout-button .nav-icon{width:1.25rem;height:1.25rem}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#000000bf;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;justify-content:center;align-items:flex-start;padding:1rem;z-index:9998;overflow-y:auto}.modal-content{background-color:#fff;border-radius:20px;width:calc(100vw - 2rem);min-width:60%;max-width:100%;height:95vh;position:relative;z-index:9999;display:flex;overflow:hidden;box-shadow:0 25px 50px -12px #00000040;margin-left:calc(var(--admin-sidebar-width, 250px))}.modal-overlay,.modal-content{animation:none;opacity:1;transform:none}.modal-header{padding:1.5rem 2rem;border-bottom:1px solid #e5e7eb;background-color:#fff}.header-meta{display:flex;align-items:center;gap:1rem}.status-badge{padding:.5rem 1rem;border-radius:9999px;font-size:.75rem;font-weight:600;display:flex;align-items:center;gap:.5rem}.status-badge.active{background-color:#dcfce7;color:#16a34a}.status-badge.pending{background-color:#fef3c7;color:#d97706}.application-id{font-size:.875rem;color:#6b7280}.close-modal-button{width:2.5rem;height:2.5rem;border:none;border-radius:12px;background-color:transparent;color:#6b7280;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;font-size:1.5rem}.close-modal-button:hover{background-color:#f3f4f6;color:#111827}.modal-body{flex:1;overflow-y:auto;background-color:#f9fafb;padding:2rem}.detail-section{background:#ffffff;border-radius:16px;padding:2rem;margin-bottom:2rem;box-shadow:0 1px 3px #0000001a}.detail-section h3{color:#111827;font-size:1.25rem;font-weight:600;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;gap:.75rem}.detail-section h3 svg{color:#6b7280}.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.detail-group{display:flex;flex-direction:column;gap:.5rem}.detail-group.full-width{grid-column:1 / -1}.detail-group label{font-size:.875rem;color:#6b7280;font-weight:500}.detail-group p{color:#111827;font-size:1rem;font-weight:500}.currency-value{color:#047857;font-weight:600}.percentage-value{color:#6366f1;font-weight:600}.timeline-item{display:flex;align-items:flex-start;gap:1rem;border-left:2px solid #e5e7eb;padding:1rem 0 1rem 2rem;position:relative}.timeline-item:before{content:"";position:absolute;left:-5px;width:8px;height:8px;border-radius:50%;background-color:#3b82f6}.sync-section{background-color:#fff}.sync-link-form{display:flex;gap:1rem;margin-top:1.5rem}.sync-link-form input{flex:1;padding:.875rem 1rem;border:1px solid #e5e7eb;border-radius:8px;font-size:.875rem}.submit-sync-button{padding:.875rem 1.5rem;background-color:#3b82f6;color:#fff;border:none;border-radius:8px;font-weight:500;display:flex;align-items:center;gap:.5rem}@keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}@keyframes modalSlideIn{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes sectionFadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.modal-body.loading{display:flex;justify-content:center;align-items:center;min-height:300px}.loading-spinner{width:3rem;height:3rem;border:3px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin 1s linear infinite}@media (max-width: 1920px){.modal-content{width:95%}}@media (max-width: 1600px){.modal-content{width:98%}.tab-content{max-width:100%}}@media (max-width: 1200px){.modal-content{height:98vh}.modal-body{padding:1rem}.detail-section{padding:1.5rem}}@media (max-width: 1024px){.modal-content{margin-left:64px}}@media (max-width: 768px){.modal-content{margin-left:0}.modal-header{padding:1rem}.modal-tabs{padding:0 .5rem}.tab-button{padding:.75rem;font-size:.875rem}.tab-button span{display:none}.tab-button svg{margin:0;width:1.5rem;height:1.5rem}.detail-grid{grid-template-columns:1fr;gap:1rem}.detail-section{padding:1rem;margin-bottom:1rem}}@media (min-width: 1920px){.modal-content{max-width:1800px}.tab-content{max-width:1600px}}@media (min-width: 2560px){.modal-content{max-width:2200px}.tab-content{max-width:2000px}}@media (orientation: portrait) and (max-width: 768px){.modal-header h2{font-size:1.25rem}.status-badge{font-size:.75rem;padding:.25rem .75rem}}@media (max-height: 700px){.modal-content{height:100vh;margin:0}.modal-header{padding:.75rem 1rem}.detail-section{margin-bottom:1rem;padding:1rem}}.modal-tabs{-webkit-overflow-scrolling:touch;scrollbar-width:thin;scroll-behavior:smooth}.modal-content{transition:width .3s ease,height .3s ease}.detail-grid{transition:grid-template-columns .3s ease}@media (prefers-reduced-motion: reduce){.modal-overlay,.modal-content,.detail-section{animation:none;opacity:1;transform:none}}@media (prefers-contrast: high){.modal-header{border-bottom:2px solid #000}.detail-section,.sync-link-form input{border:2px solid #000}}.close-modal-button:focus,.sync-link-form input:focus,.submit-sync-button:focus{outline:none;box-shadow:0 0 0 3px #3b82f680}.modal-body::-webkit-scrollbar{width:8px}.modal-body::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.modal-body::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:4px}.modal-body::-webkit-scrollbar-thumb:hover{background:#9ca3af}.modal-tabs-container{position:relative;background-color:#fff;border-bottom:1px solid #e5e7eb}.modal-tabs{padding:0 4rem;background-color:#fff;display:flex;gap:.5rem;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none}.modal-tabs::-webkit-scrollbar{display:none}.tab-scroll-button{position:absolute;top:50%;transform:translateY(-50%);width:3rem;height:3rem;border:1px solid #e5e7eb;background-color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:.5;transition:all .3s ease;z-index:2;border-radius:10px;box-shadow:0 0 10px #0000001a;padding:0;margin:.5rem}.tab-scroll-button.left{left:0}.tab-scroll-button.right{right:0}.tab-scroll-button:hover{opacity:1;background-color:#f3f4f6}.scroll-arrow{width:24px!important;height:24px!important;color:#3b82f6;display:flex!important;align-items:center;justify-content:center}.tab-scroll-button:hover .scroll-arrow{transform:scale(1.1)}.tab-button{padding:1rem 1.5rem;border:none;background:transparent;color:#6b7280;font-weight:500;cursor:pointer;position:relative;transition:all .2s ease;white-space:nowrap;display:flex;align-items:center;gap:.5rem}.tab-button:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background-color:#3b82f6;transform:scaleX(0);transition:transform .3s ease}.tab-button:hover,.tab-button.active{color:#3b82f6}.tab-button.active:after{transform:scaleX(1)}.tab-content{max-width:1700px;width:100%;margin:0 auto;padding:0 2rem}.modal-tabs::-webkit-scrollbar{height:4px}.modal-tabs::-webkit-scrollbar-track{background:#f1f1f1;border-radius:2px}.modal-tabs::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:2px}.modal-tabs::-webkit-scrollbar-thumb:hover{background:#9ca3af}.detail-section{animation:slideIn .3s ease-out}.modal-open{position:relative;z-index:9997}.modal-overlay:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);z-index:-1}.analytics-container{height:calc(100vh - 80px);padding:0;background:white;margin:0;border-radius:8px;box-shadow:0 1px 3px #0000001a;overflow:auto}.analytics-container h1{margin-bottom:24px;color:#1f2937}.analytics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;margin-bottom:24px}.metric-card{background:white;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;display:flex;align-items:center;gap:1rem}.metric-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background-color:#e3f2fd;border-radius:12px;color:#1976d2}.metric-icon svg{width:24px;height:24px}.metric-content h3{color:#64748b;font-size:.875rem;margin:0 0 .5rem}.metric-value{color:#1e293b;font-size:1.5rem;font-weight:600;margin:0}.analytics-section{background:white;padding:1.5rem;border-radius:.5rem;box-shadow:0 1px 3px #0000001a;margin-bottom:2rem}.analytics-section h2{color:#1f2937;margin-bottom:1.5rem}.status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem}.status-card{padding:1rem;border-radius:.5rem;text-align:center}.status-card.pending{background:#fef3c7;color:#92400e}.status-card.processing{background:#e0f2fe;color:#0369a1}.status-card.approved{background:#dcfce7;color:#166534}.status-card.rejected{background:#fee2e2;color:#991b1b}.monthly-chart{display:flex;align-items:flex-end;gap:1rem;height:200px;padding-top:1rem}.month-bar{flex:1;display:flex;flex-direction:column;align-items:center;gap:.5rem}.month-bar .bar-container{width:100%;height:150px;background:transparent}.month-bar .bar{width:100%;background:#3b82f6;border-radius:4px 4px 0 0;transition:height .3s ease}.month-label{font-size:.75rem;color:#64748b}@media (max-width: 768px){.analytics-container{padding:16px}.analytics-grid{grid-template-columns:1fr}.status-grid{grid-template-columns:1fr 1fr}.monthly-chart{overflow-x:auto;padding-bottom:1rem}.month-bar{min-width:40px}}.analytics-container{padding:2rem;max-width:1200px;margin-left:80px}.analytics-container h1{margin-bottom:2rem;margin-left:250px;color:#1f2937}.analytics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem;margin-bottom:2rem}.analytics-card{background:white;border-radius:8px;padding:24px;box-shadow:0 1px 3px #0000001a;display:flex;align-items:center;gap:16px}.card-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px}.conversion-rate .card-icon{background:#ecfdf5;color:#059669}.processing-time .card-icon{background:#eff6ff;color:#3b82f6}.total-revenue .card-icon{background:#fef3c7;color:#d97706}.card-content h3{color:#6b7280;font-size:14px;margin-bottom:4px}.card-content .value{font-size:24px;font-weight:600;color:#111827;margin:0}.trend{font-size:12px;display:flex;align-items:center;gap:4px}.trend.positive{color:#059669}.trend.negative{color:#dc2626}.analytics-charts{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-top:24px}.chart-card{background:white;border-radius:8px;padding:24px;box-shadow:0 1px 3px #0000001a;transition:transform .2s ease,box-shadow .2s ease}.chart-card:hover{transform:translateY(-2px);box-shadow:0 4px 6px #0000001a}.chart-card h3{color:#1f2937;margin-bottom:16px;font-size:16px}.chart-content{margin-top:16px;height:300px}table{width:100%;border-collapse:collapse}th,td{padding:12px;text-align:left;border-bottom:1px solid #e5e7eb}th{font-weight:500;color:#6b7280}td{color:#1f2937}.approved{color:#059669}.rejected{color:#dc2626}.pending{color:#d97706}.status-distribution{display:flex;flex-direction:column;gap:16px}.status-bar{display:flex;flex-direction:column;gap:8px}.bar-label{display:flex;justify-content:space-between;font-size:14px;color:#6b7280}.bar-container{height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden}.bar-fill{height:100%;border-radius:4px;transition:width .3s ease}.approved .bar-fill{background:#059669}.rejected .bar-fill{background:#dc2626}.pending .bar-fill{background:#d97706}@media (max-width: 1024px){.analytics-charts{grid-template-columns:1fr}}@media (max-width: 640px){.analytics-container{padding:16px}.analytics-grid{grid-template-columns:1fr}.analytics-card{padding:16px}}.recharts-default-tooltip{background-color:#fffffff2!important;border:none!important;border-radius:8px!important;box-shadow:0 4px 6px #0000001a!important;padding:12px!important}.recharts-tooltip-label{color:#4b5563!important;margin-bottom:4px!important}.recharts-tooltip-item{color:#1f2937!important;padding:4px 0!important}.recharts-legend-item{padding:4px 8px!important;border-radius:4px!important;transition:background-color .2s ease!important}.recharts-legend-item:hover{background-color:#0000000d!important}.recharts-pie-label-text{font-size:12px!important;font-weight:500!important}.recharts-bar-rectangle:hover{opacity:.8}.recharts-active-dot{animation:pulse 2s infinite}@keyframes pulse{0%{transform:scale(1);opacity:1}50%{transform:scale(1.2);opacity:.8}to{transform:scale(1);opacity:1}}.broker-analytics{padding:2rem}.analytics-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:1.5rem;margin-top:2rem}.status-bars{display:flex;flex-direction:column;gap:1rem}.status-bar{display:flex;align-items:center;gap:1rem}.status-label{width:100px;font-size:.875rem;color:#64748b}.bar-container{flex:1;height:24px;background:#f1f5f9;border-radius:12px;position:relative;overflow:hidden}.bar{height:100%;background:#3b82f6;border-radius:12px;transition:width .3s ease}.bar.pending{background:#f59e0b}.bar.processing{background:#3b82f6}.bar.approved{background:#10b981}.bar.rejected{background:#ef4444}.bar-value{position:absolute;right:8px;top:50%;transform:translateY(-50%);font-size:.75rem;color:#fff;font-weight:500}.chart-container{background:white;border-radius:8px;padding:20px;box-shadow:0 1px 3px #0000001a;min-height:400px}.chart-container h2{margin:0 0 16px;font-size:1.125rem;color:#111827}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px;margin-bottom:24px}.stat-card{background:white;padding:20px;border-radius:8px;box-shadow:0 1px 3px #0000001a}.stat-card h3{margin:0 0 8px;font-size:.875rem;color:#6b7280;text-transform:uppercase;letter-spacing:.025em}.stat-card .value{font-size:1.875rem;font-weight:600;color:#111827;line-height:1}@media (max-width: 1024px){.analytics-container{margin:16px;padding:16px}.analytics-grid,.stats-grid{gap:16px}}@media (max-width: 640px){.analytics-container{margin:12px;padding:12px}.chart-container{min-height:300px}}.messages-container{height:calc(100vh - 112px);display:flex;flex-direction:column;background:#ffffff;border-radius:12px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.messages-content-wrapper{display:flex;height:calc(100vh - 180px);background:white;border-radius:8px;box-shadow:0 1px 3px #0000001a;margin:24px;overflow:hidden}.clients-sidebar{width:320px;border-right:1px solid #e5e7eb;display:flex;flex-direction:column;background:#f8fafc}.clients-header{padding:20px;border-bottom:1px solid #e5e7eb}.clients-header h2{margin:0 20px 24px 0;font-size:1.125rem;color:#111827}.search-box{position:relative;width:100%}.search-box input{width:100%;padding:8px 16px;border:1px solid #e5e7eb;border-radius:6px;font-size:.875rem;background:white;transition:all .2s}.search-box input:focus{outline:none;border-color:#c2000e;box-shadow:0 0 0 3px #2563eb1a}.search-icon{display:none}.clients-list{flex:1;overflow-y:auto;padding:8px}.client-item{display:flex;align-items:flex-start;padding:12px;border-radius:8px;cursor:pointer;transition:all .2s;margin-bottom:4px}.client-item:hover{background-color:#f1f5f9}.client-item.selected{background-color:#e2e8f0}.client-avatar{width:40px;height:40px;background-color:#c2000e;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:500;font-size:1rem;text-transform:uppercase;margin-right:12px;flex-shrink:0}.client-avatar.broker{background-color:#7bd377}.client-avatar.large{width:48px;height:48px;font-size:1.25rem;background-color:#c2000e;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:500;text-transform:uppercase;margin-right:12px;flex-shrink:0}.client-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.client-name{font-weight:500;color:#111827}.last-message{display:flex;flex-direction:column;gap:4px}.message-preview{font-size:.875rem;color:#6b7280;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:200px;line-height:1.2}.message-time{font-size:.75rem;color:#9ca3af}.message-preview strong{font-weight:500;color:#4b5563}.messages-content{flex:1;display:flex;flex-direction:column;overflow:hidden}.messages-header{padding:20px;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;gap:20px;background:#ffffff}.messages-header h2{margin:0;font-size:1.25rem;color:#111827;font-weight:600}.selected-client-info{display:flex;align-items:center;gap:12px}.client-details{display:flex;flex-direction:column;gap:4px}.client-details h2{margin:0;font-size:1.125rem;color:#111827;font-weight:500}.client-email{font-size:.875rem;color:#6b7280}.messages-list{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:16px}.message{max-width:70%;animation:fadeIn .3s ease}.message.sent{align-self:flex-end}.message.received{align-self:flex-start}.message-sender{display:flex;align-items:center;gap:8px;margin-bottom:4px}.sender-info{display:flex;flex-direction:column}.sender-name{font-size:.875rem;font-weight:500;color:#4b5563}.message-item{background:#f3f4f6;padding:12px 16px;border-radius:16px;position:relative}.message.sent .message-item{background:#7bd377;color:#fff}.message-content{margin-bottom:4px;line-height:1.5;word-wrap:break-word}.message-metadata{display:flex;align-items:center;gap:8px;font-size:.75rem}.message.sent .message-metadata{justify-content:flex-end;color:#ffffffe6}.message.received .message-metadata{color:#6b7280}.message-status{display:flex;align-items:center}.read-status{color:#7bd377}.sent-status{opacity:.7}.message-form{padding:20px;border-top:1px solid #e5e7eb;display:flex;gap:12px;background:#ffffff}.message-form textarea{flex:1;padding:12px 16px;border:1px solid #e5e7eb;border-radius:24px;font-size:.875rem;resize:none;max-height:100px;transition:all .2s ease}.message-form textarea:focus{outline:none;border-color:#7bd377;box-shadow:0 0 0 3px #7bd3771a}.message-form button{padding:12px;width:44px;height:44px;background-color:#7bd377;color:#fff;border:none;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.message-form button:hover:not(:disabled){background-color:#69c165;transform:scale(1.05)}.no-selection{flex:1;display:flex;align-items:center;justify-content:center;background-color:#f9fafb;text-align:center;padding:24px}.no-selection-content h3{color:#111827;font-size:1.25rem;margin-bottom:8px}.no-selection-content p{color:#6b7280;font-size:.875rem}.no-clients{padding:24px;text-align:center;color:#6b7280}@media (max-width: 768px){.messages-content-wrapper{margin:16px;height:calc(100vh - 160px)}.clients-sidebar{width:280px}.messages-header{padding:12px 16px}.messages-list{padding:16px}.message{max-width:85%}.message-form{padding:16px}.messages-container{height:calc(100vh - 80px);border-radius:0}.client-selector select{min-width:150px}}@media (max-width: 640px){.clients-sidebar{display:none}.messages-content-wrapper{margin:12px}}.loading-container{display:flex;align-items:center;justify-content:center;height:calc(100vh - 180px);width:100%;background-color:#f9fafb}.loading-spinner{width:40px;height:40px;border:3px solid #f3f3f3;border-top:3px solid #3498db;border-radius:50%;animation:spin 1s linear infinite}.message-avatar{width:40px;height:40px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#f1f5f9}.avatar-image{width:100%;height:100%;object-fit:cover}.avatar-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:1.2rem;font-weight:600;color:#64748b;background:#f8fafc}.client-selector{margin:0 20px}.client-selector select{padding:8px 12px;border:1px solid #e5e7eb;border-radius:8px;font-size:.875rem;min-width:200px;background-color:#fff;cursor:pointer;transition:all .2s ease}.client-selector select:focus{outline:none;border-color:#7bd377;box-shadow:0 0 0 3px #7bd3771a}.no-client-selected{flex:1;display:flex;align-items:center;justify-content:center;color:#6b7280;font-size:.875rem;background:#f9fafb}.new-message-dialog{position:fixed;bottom:0;right:20px;width:400px;background:white;border-radius:8px 8px 0 0;box-shadow:0 -2px 10px #0000001a;z-index:1000}.message-header{padding:15px;border-bottom:1px solid #eee}.recipient-info{display:flex;flex-direction:column;gap:5px;margin-top:10px;font-size:14px}.recipient-info span:first-child{font-weight:500;color:#c2000e}.recipient-info span:last-child{color:#666}.settings-container{padding:2rem;max-width:1800px;margin:0 auto}.settings-header{margin-bottom:2rem}.settings-header h1{font-size:1.875rem;font-weight:600;color:#1e293b}.settings-layout{display:flex;gap:2rem;background:#ffffff;border-radius:16px;box-shadow:0 1px 3px #0000001a}.settings-sidebar{width:240px;padding:1.5rem;border-right:1px solid #e5e7eb}.settings-tab{width:100%;padding:.75rem 1rem;text-align:left;border:none;background:transparent;color:#64748b;font-size:.875rem;font-weight:500;border-radius:8px;cursor:pointer;display:flex;align-items:center;gap:.75rem;transition:all .2s ease}.settings-tab svg{width:1.25rem;height:1.25rem}.settings-tab:hover{background:#f8fafc;color:#0f172a}.settings-tab.active{background:#f1f5f9;color:#0f172a;font-weight:600}.settings-content{flex:1;padding:1.5rem;max-width:1200px;margin:0 auto}.settings-section{max-width:800px}.settings-section h2{display:flex;align-items:center;gap:.75rem;color:#1e293b;margin-bottom:1.5rem}.settings-section h2 svg{width:1.5rem;height:1.5rem;color:#64748b}.settings-form{background:white;border-radius:8px;padding:24px;box-shadow:0 1px 3px #0000001a}.form-group label{display:block;margin-bottom:8px;color:#4b5563;font-weight:500}input[type=email],input[type=password],input[type=text]{width:100%;padding:10px 12px;border:1px solid #e5e7eb;border-radius:6px;font-size:14px;transition:border-color .2s}input[type=email]:focus,input[type=password]:focus,input[type=text]:focus{outline:none;border-color:#c2000e;box-shadow:0 0 0 3px #2563eb1a}.checkbox-group,.radio-group{display:flex;flex-direction:column;gap:12px}.checkbox-group label,.radio-group label{display:flex;align-items:center;gap:8px;cursor:pointer;color:#4b5563}input[type=checkbox],input[type=radio]{width:16px;height:16px;accent-color:#c2000e}.save-button{margin-top:1.5rem;background-color:#c2000e;color:#fff;padding:.75rem 1.5rem;border-radius:8px;font-weight:500;display:flex;align-items:center;justify-content:center;gap:.5rem;transition:all .2s ease}.save-button:hover:not(:disabled){background-color:#c2000e;transform:translateY(-1px)}@media (max-width: 768px){.settings-layout{flex-direction:column}.settings-sidebar{width:100%;border-right:none;border-bottom:1px solid #e5e7eb}}.profile-settings{max-width:400px;margin:0 auto}.avatar-section{display:flex;justify-content:center;margin-bottom:2rem}.avatar-wrapper{position:relative;width:120px;height:120px;border-radius:50%;cursor:pointer;overflow:hidden;background:#f1f5f9;border:3px solid #e2e8f0;transition:all .2s ease}.avatar-wrapper:hover{border-color:#c2000e}.avatar-wrapper:hover .avatar-overlay{opacity:1}.profile-avatar{width:100%;height:100%;object-fit:cover}.avatar-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:2.5rem;font-weight:600;color:#64748b;background:#f8fafc}.avatar-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s ease}.avatar-overlay svg{color:#fff;width:1.5rem;height:1.5rem}.hidden{display:none}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#000000bf;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.reauth-modal{background:white;border-radius:12px;width:90%;max-width:400px;box-shadow:0 20px 25px -5px #0000001a;overflow:hidden}.reauth-modal .modal-header{padding:1.5rem;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center}.reauth-modal .modal-header h2{font-size:1.25rem;margin:0;display:flex;align-items:center;gap:.5rem;color:#1e293b}.reauth-modal .close-button{background:none;border:none;font-size:1.5rem;color:#64748b;cursor:pointer;padding:.25rem;border-radius:4px;transition:all .2s}.reauth-modal .close-button:hover{background:#f1f5f9;color:#0f172a}.reauth-form{padding:1.5rem}.reauth-form p{margin:0 0 1rem;color:#4b5563}.modal-actions{display:flex;gap:1rem;margin-top:1.5rem}.modal-actions button{flex:1;padding:.75rem 1rem;border-radius:6px;font-weight:500;cursor:pointer;transition:all .2s}.cancel-button{background:#f1f5f9;border:1px solid #e2e8f0;color:#64748b}.cancel-button:hover{background:#e2e8f0;color:#1e293b}.confirm-button{background:#c2000e;border:none;color:#fff}.confirm-button:hover:not(:disabled){background:#c2000e}.confirm-button:disabled{background:#93c5fd;cursor:not-allowed}.password-section{border-top:1px solid #e5e7eb;margin-top:1.5rem;padding-top:1.5rem}.change-password-button{background-color:#c2000e;color:#fff;padding:.75rem 1.5rem;border-radius:8px;font-weight:500;display:flex;align-items:center;justify-content:center;gap:.5rem;transition:all .2s ease;width:auto;margin-top:1rem;border:none;cursor:pointer}.change-password-button:hover:not(:disabled){background-color:#c2000e;transform:translateY(-1px)}.change-password-button:disabled{background-color:#94a3b8;cursor:not-allowed}.change-password-button svg{width:1.25rem;height:1.25rem}.password-input-wrapper{position:relative}.password-requirements{margin-top:.75rem;padding:1rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.password-requirements h4{font-size:.875rem;color:#475569;margin-bottom:.75rem;font-weight:600}.password-requirements ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}.password-requirements li{font-size:.875rem;color:#64748b;display:flex;align-items:center;gap:.5rem;transition:all .2s ease}.password-requirements li.valid{color:#16a34a}.check-icon{width:1rem;height:1rem;display:inline-flex;align-items:center;justify-content:center;font-size:1rem;transition:all .2s ease}.valid .check-icon{color:#16a34a}.password-mismatch{color:#dc2626;font-size:.875rem;margin-top:.5rem;display:block}.change-password-button:disabled{background-color:#94a3b8;cursor:not-allowed;opacity:.7}.change-password-button:disabled:hover{transform:none}.password-strength{display:flex;align-items:center;gap:.5rem;font-size:.875rem;font-weight:600;margin:.75rem 0;padding:.375rem 1rem;border-radius:1rem;width:fit-content}.password-strength .strength-dot{width:8px;height:8px;border-radius:50%}.password-strength.weak{background-color:#fee2e2;color:#dc2626}.password-strength.weak .strength-dot{background-color:#dc2626}.password-strength.good{background-color:#fef3c7;color:#d97706}.password-strength.good .strength-dot{background-color:#d97706}.password-strength.strong{background-color:#dcfce7;color:#16a34a}.password-strength.strong .strength-dot{background-color:#16a34a}.password-strength,.password-requirements{animation:fadeIn .3s ease-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.password-requirements-error{color:#dc2626;font-size:.875rem;margin-top:.5rem;display:block;padding:.5rem;background:#fee2e2;border-radius:6px;text-align:center}.archive-section{margin-top:2rem;padding-top:2rem;border-top:1px solid #e5e7eb}.archive-container{background:white;border-radius:8px;padding:1.5rem;box-shadow:0 1px 3px #0000001a}.profile-form{max-width:400px;margin:0 auto}.profile-form .form-group{margin-bottom:1.5rem;text-align:left}.profile-form .form-group label{text-align:left;display:block;margin-bottom:.5rem;color:#4b5563;font-weight:500}.profile-form .form-group input{width:100%;padding:.75rem 1rem;border:1px solid #e5e7eb;border-radius:8px;font-size:.875rem;transition:all .2s ease}.name-fields{display:flex;gap:1rem;margin-top:1rem}.name-fields .form-group{flex:1}.profile-form .save-button{width:100%;margin-top:2rem}.archive-container{padding:24px;max-width:1400px;margin:0 auto}.archive-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:24px;margin-top:24px}.archive-card{background:white;border-radius:12px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.restore-button{display:flex;align-items:center;gap:8px;padding:8px 16px;background-color:#c2000e;color:#fff;border:none;border-radius:6px;cursor:pointer;transition:all .2s ease}.restore-button:hover{background-color:#c2000e}.restore-button svg{width:16px;height:16px}.archive-details{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;padding:16px}.no-archives{grid-column:1 / -1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px;background:white;border-radius:12px;border:2px dashed #e5e7eb;text-align:center}.no-archives .no-data-icon{width:48px;height:48px;color:#9ca3af;margin-bottom:16px}.no-archives h2{color:#374151;margin-bottom:8px}.no-archives p{color:#6b7280}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content{background:white;border-radius:12px;width:90%;max-width:800px;max-height:90vh;overflow-y:auto}.modal-header{padding:20px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center}.modal-header h2{margin:0;font-size:1.5rem;color:#1f2937}.close-modal-button{background:none;border:none;font-size:1.5rem;color:#6b7280;cursor:pointer}.modal-body{padding:20px}.detail-section{margin-bottom:24px}.detail-section h3{color:#374151;font-size:1.1rem;margin-bottom:16px}.detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.detail-item{display:flex;flex-direction:column}.detail-item label{font-size:.875rem;color:#6b7280;margin-bottom:4px}.detail-item span{color:#1f2937;font-size:1rem}.view-details-button{display:flex;align-items:center;gap:8px;padding:8px 16px;background-color:#f3f4f6;color:#374151;border:none;border-radius:6px;cursor:pointer;margin-right:8px;transition:all .2s ease}.view-details-button:hover{background-color:#e5e7eb}.card-actions{display:flex;align-items:center}.messages-list{background:#f9fafb;border-radius:8px;padding:16px;max-height:300px;overflow-y:auto}.message-item{background:white;border-radius:6px;padding:12px;margin-bottom:12px;box-shadow:0 1px 2px #0000000d}.message-header{display:flex;justify-content:space-between;margin-bottom:8px}.message-sender{font-weight:500;color:#c2000e}.message-date{font-size:.875rem;color:#6b7280}.message-content{color:#374151;line-height:1.5}.no-messages{text-align:center;color:#6b7280;padding:24px}.modal-content{display:flex;flex-direction:column;max-height:90vh}.modal-header{position:sticky;top:0;background:white;z-index:1}.modal-body{overflow-y:auto;padding:24px}.detail-item a{color:#c2000e;text-decoration:none;display:inline-flex;align-items:center;gap:4px}.detail-item a:hover{text-decoration:underline}.client-list-container{padding:24px;max-width:1400px;margin:0 auto;background-color:#f8fafc}.client-list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.client-list-header h1{color:#2c3e50;margin:0;font-size:24px}.add-client-btn{padding:10px 20px;background-color:#3498db;color:#fff;border:none;border-radius:6px;cursor:pointer;transition:background-color .2s ease}.add-client-btn:hover{background-color:#2980b9}.client-list-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:20px}.search-bar{flex:1;max-width:400px;margin-left:auto}.search-bar input{width:100%;padding:12px 16px 12px 40px;border:1px solid #e5e7eb;border-radius:12px;font-size:14px;transition:all .2s ease}.search-bar input:focus{outline:none;border-color:#c2000e;box-shadow:0 0 0 3px #2563eb1a}.search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#6b7280;width:20px;height:20px}.filter-controls{display:flex;gap:12px}.filter-select,.sort-select{padding:8px 12px;border:1px solid #dee2e6;border-radius:6px;background-color:#fff;color:#495057;cursor:pointer;font-size:14px}.header-controls{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:16px}.view-options-container{display:flex;align-items:center;gap:4px;background:#f3f4f6;padding:4px;border-radius:8px;margin-top:12px}.view-button{display:flex;align-items:center;padding:6px 12px;border:none;background:transparent;border-radius:6px;cursor:pointer;color:#6b7280;transition:all .2s ease}.view-button-content{display:flex;align-items:center;gap:6px}.view-button svg{width:16px;height:16px}.view-label{font-size:13px;font-weight:500}.view-button:hover{background:#e5e7eb;color:#374151}.view-button.active{background:#ffffff;color:#c2000e;box-shadow:0 1px 3px #0000001a}.toggle-button .tooltip{position:absolute;bottom:-28px;left:50%;transform:translate(-50%);background:#1f2937;color:#fff;padding:3px 6px;border-radius:4px;font-size:11px;white-space:nowrap;opacity:0;visibility:hidden;transition:all .2s ease;z-index:10}.toggle-button .tooltip:before{content:"";position:absolute;top:-4px;left:50%;transform:translate(-50%) rotate(45deg);width:8px;height:8px;background:#1f2937}.toggle-button:hover .tooltip{opacity:1;visibility:visible;bottom:-35px}@media (max-width: 768px){.view-toggle[role=group]:before{display:none}}.clients-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:32px;padding:24px 0;justify-items:stretch;align-items:stretch}.client-card{display:flex;flex-direction:column;height:100%;background:#ffffff;border-radius:16px;box-shadow:0 1px 2px #0000000d,0 4px 6px -1px #00000014,0 12px 16px -3px #0000000d;border:1px solid rgba(0,0,0,.05);overflow:visible;transition:all .3s ease;position:relative}.client-card:hover{transform:translateY(-4px);box-shadow:0 4px 6px -1px #0000001a,0 10px 15px -3px #0000001a,0 20px 25px -5px #0000001a;border-color:#3b82f61a}.client-card-header{padding:20px;display:flex;align-items:center;gap:16px;border-bottom:1px solid rgba(0,0,0,.06);background:linear-gradient(to right,rgba(255,255,255,.8),rgba(255,255,255,.95))}.client-avatar-wrapper{position:relative}.client-avatar{width:56px;height:56px;border-radius:16px;overflow:hidden;background:#f3f4f6;display:flex;align-items:center;justify-content:center}.client-avatar-img{width:100%;height:100%;object-fit:cover}.online-status{position:absolute;bottom:-2px;right:-2px;width:12px;height:12px;background-color:#22c55e;border:2px solid white;border-radius:50%}.client-info{flex:1}.client-info h3{font-size:18px;font-weight:600;color:#1f2937;margin:0 0 4px}.application-badge{display:inline-block;padding:4px 12px;background-color:#f3f4f6;border-radius:20px;font-size:13px;color:#6b7280}.client-card-content{flex:1;padding:20px;background-color:#fffffff2;display:flex;flex-direction:column}.contact-details{display:grid;grid-template-columns:1fr;gap:16px;margin-bottom:20px}.contact-item{display:flex;align-items:center;gap:12px}.contact-icon{width:20px;height:20px;color:#6b7280}.contact-text{display:flex;flex-direction:column}.contact-text label{font-size:12px;color:#6b7280;margin-bottom:2px}.contact-text span{color:#1f2937;font-size:14px}.client-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;padding:16px 0;border-top:1px solid rgba(0,0,0,.06);background-color:#f9fafbcc;margin-top:auto}.metric{display:flex;flex-direction:column;align-items:center;text-align:center}.metric-value{font-size:20px;font-weight:600;color:#1f2937}.metric-label{font-size:13px;color:#6b7280;margin-top:4px}.client-card-actions{padding:16px;display:grid;grid-template-columns:2fr 2fr auto;gap:12px;border-top:1px solid rgba(0,0,0,.06);background:linear-gradient(to bottom,rgba(249,250,251,.9),rgba(249,250,251,.95));position:relative;overflow:visible;z-index:2}.action-button{min-width:100px;padding:6px 16px;height:36px;font-size:13px;white-space:nowrap;display:flex;align-items:center;justify-content:center}.action-button.primary{background-color:#c2000e;color:#fff;flex:2}.action-button.primary:hover{background-color:#c2000e}.action-button.secondary{background-color:#f3f4f6;color:#1f2937;flex:2}.action-button.secondary:hover{background-color:#e5e7eb}.action-button.icon{position:relative;padding:8px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:6px;background-color:transparent;color:#6b7280;cursor:pointer;transition:all .2s ease;border:1px solid transparent}.action-button.icon:hover{background-color:#f3f4f6;color:#374151;border-color:#e5e7eb}.loading-spinner{display:flex;justify-content:center;align-items:center;min-height:200px;color:#6c757d}.no-results{text-align:center;padding:40px;color:#6c757d;background-color:#fff;border-radius:12px;margin-top:20px}.clients-list{display:flex;flex-direction:column;gap:12px;padding:4px}.clients-list .client-card{display:grid;grid-template-columns:auto minmax(200px,1.5fr) minmax(200px,1.5fr) auto;align-items:center;padding:16px;background:white;border-radius:12px;border:1px solid #e5e7eb;transition:all .2s ease;gap:32px}.clients-list .client-card:hover{border-color:#c2000e;box-shadow:0 4px 12px #0000000d;transform:translateY(-1px)}.clients-list .client-card-header{display:flex;align-items:center;gap:16px;padding:0;border:none;background:none}.clients-list .client-avatar{width:40px;height:40px;border-radius:10px}.clients-list .client-info{display:flex;flex-direction:column;gap:2px}.clients-list .client-info h3{font-size:15px;margin:0}.clients-list .application-badge{font-size:12px;padding:2px 8px}.clients-list .contact-details{display:flex;gap:24px}.clients-list .contact-item{display:flex;align-items:center;gap:8px}.clients-list .contact-icon{color:#6b7280;width:16px;height:16px}.clients-list .contact-text{font-size:14px}.clients-list .contact-text label,.clients-list .client-metrics{display:none}.clients-list .client-card-actions{display:flex;gap:8px;padding:0;border:none;background:none}.clients-list .action-button{flex:0 1 auto;min-width:120px}.clients-list .action-button.primary{background:#c2000e}.clients-list .action-button.secondary{background:#f3f4f6}.clients-list .action-button.icon{min-width:36px;width:36px;padding:0}@media (max-width: 1280px){.clients-list .client-card{grid-template-columns:auto 1fr auto;gap:24px}.clients-list .contact-details{display:none}.clients-list .client-metrics{justify-self:flex-end}}@media (max-width: 768px){.clients-list .client-card{grid-template-columns:auto 1fr;gap:16px;padding:12px}.clients-list .client-metrics{display:none}.clients-list .client-card-actions{grid-column:1 / -1;grid-row:2;padding-top:12px;margin-top:12px;border-top:1px solid #e5e7eb}.clients-list .action-button{flex:1;min-width:0}}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px;padding:8px 0}.title-group{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.title-group h1{font-size:24px;font-weight:600;color:#1f2937;margin:0;white-space:nowrap}.view-options-container{display:flex;align-items:center;gap:8px}.view-toggle[role=group]:before{content:"View Options:";font-size:13px;color:#6b7280;white-space:nowrap;position:static;transform:none}.view-toggle{display:flex;background:#1f2937;padding:3px;border-radius:6px;gap:3px;box-shadow:0 2px 4px #0003;position:static;margin-left:0}.search-bar{position:relative;width:300px}@media (max-width: 768px){.section-header{flex-direction:column;align-items:flex-start;gap:16px}.title-group{width:100%;justify-content:space-between}.search-bar{width:100%}}.menu-container{position:relative;display:inline-block;z-index:1000}.menu-popup{position:absolute;right:0;top:100%;transform:translateY(8px);background:white;border-radius:8px;box-shadow:0 2px 8px #00000026;z-index:9999;min-width:160px;padding:4px 0;border:1px solid #e5e7eb;overflow:visible}.menu-item{display:flex;align-items:center;gap:8px;padding:8px 16px;width:100%;border:none;background:none;font-size:14px;color:#374151;cursor:pointer;transition:all .2s ease}.menu-item.delete{color:#dc2626}.menu-item.delete:hover{background-color:#fee2e2}.menu-item svg{width:16px;height:16px}.action-button.icon{width:32px;height:32px;padding:0;display:flex;align-items:center;justify-content:center;border-radius:6px;background:transparent;border:none;color:#6b7280;cursor:pointer;transition:all .2s ease}.action-button.icon:hover{background-color:#f3f4f6;color:#374151}.client-card-actions{position:relative;overflow:visible;z-index:2}.menu-items-container{position:relative;z-index:9999;background:white;border-radius:8px;overflow:hidden}body.modal-open{overflow:hidden;padding-right:15px}.client-details-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000}.client-details-modal .modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#0f172abf;display:flex;justify-content:center;align-items:center;z-index:1000;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding-right:100px}.client-details-modal .modal-content{background:#ffffff;border-radius:20px;width:60%;max-width:1400px;height:85vh;display:flex;flex-direction:column;box-shadow:0 25px 50px -12px #00000040;overflow:hidden;position:relative;transform:translate(calc(var(--admin-sidebar-width) / 4))}.client-details-modal .modal-header{padding:1.75rem 2rem;background:#ffffff;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center}.client-details-modal .modal-header h2{font-size:1.75rem;font-weight:600;color:#0f172a;margin:0;letter-spacing:-.025em}.client-details-modal .close-button{background:none;border:none;color:#64748b;cursor:pointer;font-size:1.5rem;display:flex;align-items:center;justify-content:center;transition:all .2s ease;padding:.5rem;border-radius:8px}.client-details-modal .close-button:hover{color:#0f172a;background:#f1f5f9}.client-details-modal .modal-body{flex:1;overflow-y:auto;padding:2rem 2.5rem;background:#f8fafc}.client-details-modal .loading-overlay{display:flex;align-items:center;justify-content:center;height:100%;width:100%}.client-details-modal .loading-spinner{width:40px;height:40px;border:3px solid #f3f4f6;border-top-color:#c2000e;border-radius:50%;animation:spin 1s linear infinite}.client-details-modal .no-data-state{text-align:center;padding:2rem;color:#64748b}@media (max-width: 1920px){.client-details-modal .modal-content{width:75%}}@media (max-width: 1600px){.client-details-modal .modal-content{width:85%}}@media (max-width: 1200px){.client-details-modal .modal-content{width:90%;transform:translate(calc(var(--admin-sidebar-width) / 8))}.client-details-modal .modal-overlay{padding:2rem}}@media (max-width: 1024px){.client-details-modal .modal-content{width:95%;transform:translate(32px)}}@media (max-width: 768px){.client-details-modal .modal-overlay{padding:0}.client-details-modal .modal-content{width:100%;height:100vh;border-radius:0;transform:none}.client-details-modal .modal-header{padding:1rem 1.5rem}.client-details-modal .modal-header h2{font-size:1.25rem}.client-details-modal .modal-body{padding:1rem}.info-grid{grid-template-columns:1fr;gap:1rem}}@media (max-height: 700px){.client-details-modal .modal-content{height:100vh}.client-details-modal .modal-header{padding:.75rem 1rem}.client-details-modal .modal-body{padding:1rem}}.tabs-wrapper{position:relative;overflow:hidden;background:#ffffff;padding:.5rem 2rem}.tabs-container{display:flex;overflow-x:auto;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none;gap:3rem;margin-bottom:-1px;padding:0 1rem;justify-content:center}.scroll-arrow,.scroll-arrow.left,.scroll-arrow.right,.scroll-arrow.hidden{display:none}.tab-button{padding:1rem 0;border:none;background:none;color:#64748b;cursor:pointer;font-weight:500;position:relative;font-size:1rem;transition:color .2s ease;letter-spacing:.01em}.tab-button:hover{color:#0f172a}.tab-button.active{color:#c2000e}.tab-button.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#c2000e;border-radius:2px}.tab-content{display:flex;flex-direction:column;gap:2rem}.info-section{background:#ffffff;border-radius:16px;box-shadow:0 2px 4px #0000000d}.section-header{padding:1.5rem 1.75rem;border-bottom:1px solid #e5e7eb;background:#f8fafc}.section-header h3{font-size:1.1rem;color:#0f172a;font-weight:600;margin:0;letter-spacing:.01em}.info-grid,.details-grid,.employment-grid,.financial-grid,.property-grid{padding:1.75rem;display:grid;grid-template-columns:repeat(3,1fr);gap:1.75rem}.financial-metrics{background:white;border-radius:16px;margin-bottom:2rem;box-shadow:0 2px 4px #0000000d}.metrics-grid{padding:1.5rem;display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}.info-item{display:flex;flex-direction:column;gap:.5rem;padding:.75rem;border-radius:8px;background:#f8fafc;transition:background-color .2s ease}.info-item:hover{background:#f1f5f9}.info-label{font-size:.875rem;color:#64748b;font-weight:500}.info-value{font-size:1rem;color:#0f172a;font-weight:500}.info-input{width:100%;padding:.5rem;border:1px solid #e5e7eb;border-radius:6px;font-size:1rem;transition:all .2s ease}.info-input:focus{outline:none;border-color:#c2000e;box-shadow:0 0 0 2px #2563eb1a}.info-input.error{border-color:#ef4444}.error-message{font-size:.875rem;color:#ef4444;margin-top:.25rem}.info-value.currency{font-family:SF Mono,Monaco,monospace;font-size:1.125rem;color:#047857;letter-spacing:.02em}.info-value.date{font-size:1rem;color:#64748b;letter-spacing:.01em}.info-value.contact{display:flex;align-items:center;gap:.5rem;color:#c2000e;text-decoration:none;font-size:.875rem}.info-value.contact:hover{text-decoration:underline}.info-value:empty:before{content:"N/A";color:#94a3b8;font-style:italic;font-size:.875rem}.status-card{background:linear-gradient(to right,#f8fafc,white);border-radius:12px;padding:1.5rem;border:1px solid #e5e7eb;margin-bottom:2rem}.status-card-header{display:flex;justify-content:space-between;align-items:center}.status-card-title{font-size:.9rem;font-weight:600;color:#64748b}.status-badge{display:inline-flex;align-items:center;padding:.5rem 1rem;border-radius:8px;font-size:.875rem;font-weight:600;box-shadow:0 1px 2px #0000000d}.status-badge.active{background-color:#f0fdf4;color:#15803d}.status-badge.pending{background-color:#fef3c7;color:#b45309}.status-badge.completed{background-color:#eff6ff;color:#c2000e}.overview-grid{display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));max-width:100%;margin-bottom:2rem}.overview-card{background:white;border-radius:12px;padding:1.25rem;border:1px solid #e5e7eb;display:flex;flex-direction:column;gap:1rem;transition:all .2s ease}.overview-card:hover{box-shadow:0 4px 6px -1px #0000001a}.overview-card h3{display:none}.card-content{display:flex;flex-direction:column;gap:1.25rem}.card-group{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;margin-bottom:1rem}.info-card{background:white;border-radius:12px;padding:1.25rem;border:1px solid #e5e7eb;display:flex;flex-direction:column;gap:.75rem}.info-card-header{display:flex;align-items:center;gap:.5rem;color:#64748b;font-size:.9rem;font-weight:600}.info-card-content{display:flex;flex-direction:column;gap:.5rem}.currency-value{font-family:monospace;font-size:1.1rem;color:#0f172a}.date-value{color:#64748b;font-size:.9rem}.card-icon{width:1.25rem;height:1.25rem;color:#c2000e}.contact-info{display:flex;align-items:center;gap:.5rem;color:#c2000e;text-decoration:none}.contact-info:hover{text-decoration:underline}.edit-button{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border:1px solid #e5e7eb;border-radius:8px;background:white;color:#c2000e;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.edit-button:hover:not(:disabled){background:#f3f4f6;border-color:#c2000e}.edit-button.loading{background:#f3f4f6;cursor:not-allowed}.spinner{width:16px;height:16px;border:2px solid #e5e7eb;border-top-color:#c2000e;border-radius:50%;animation:spin .8s linear infinite}.error-message{color:#dc2626;font-size:.875rem;margin-top:.25rem}.info-input.error{border-color:#dc2626}.info-input.error:focus{border-color:#dc2626;box-shadow:0 0 0 3px #dc26261a}@keyframes highlight{0%{background-color:#2563eb1a}to{background-color:transparent}}.field-updated{animation:highlight 1s ease-out}.card-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:.75rem;border-bottom:1px solid #e5e7eb}.card-header h3{margin:0;font-size:1.1rem;color:#0f172a;font-weight:600;display:flex;align-items:center;gap:.75rem}.card-header h3 svg{width:1.25rem;height:1.25rem;color:#c2000e}.no-data-message{background:#f8fafc;border-radius:8px;padding:1rem;margin-bottom:1rem;color:#64748b;font-size:.875rem;text-align:center}.info-input::placeholder{color:#94a3b8;font-style:italic}.sync-link-button{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background-color:#c2000e;color:#fff;border:none;border-radius:6px;font-size:.875rem;text-decoration:none;cursor:pointer;transition:all .2s ease}.sync-link-button svg{width:1rem;height:1rem}.scroll-button{display:none;position:absolute;top:50%;transform:translateY(-50%);background:white;border:1px solid #e5e7eb;border-radius:8px;width:28px;height:28px;justify-content:center;align-items:center;cursor:pointer;z-index:20;transition:all .2s ease;box-shadow:0 2px 4px #0000001a;color:#374151;padding:0}.scroll-button:hover{background:#f3f4f6;border-color:#d1d5db;color:#c2000e}.scroll-button svg{width:20px;height:20px;stroke-width:2.5}.scroll-button.left{left:8px}.scroll-button.right{right:8px}@keyframes pulse{0%{box-shadow:0 0 #2563eb66}70%{box-shadow:0 0 0 6px #2563eb00}to{box-shadow:0 0 #2563eb00}}@media (max-width: 768px){.scroll-button:not(.hidden){animation:pulse 2s infinite}}.modal-content.client-details{width:1800px!important;min-width:90%;max-width:95%;height:95vh;margin:1rem auto;position:relative;z-index:1001;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 25px 50px -12px #00000040}.tabs-wrapper{position:relative;overflow:hidden;background:#ffffff;border-bottom:1px solid #e5e7eb}.tabs-container{display:flex;gap:.5rem;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none;padding:0 4rem}.tabs-container::-webkit-scrollbar{display:none}.scroll-button{position:absolute;top:50%;transform:translateY(-50%);width:3rem;height:3rem;border:1px solid #e5e7eb;background-color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:.5;transition:all .3s ease;z-index:2;border-radius:10px;box-shadow:0 0 10px #0000001a;padding:0;margin:.5rem}.scroll-button.left{left:0}.scroll-button.right{right:0}.scroll-button:hover{opacity:1;background-color:#f3f4f6}@media (max-width: 1920px){.modal-content.client-details{width:95%!important}}@media (max-width: 1600px){.modal-content.client-details{width:98%!important}}.notes-section{padding:1rem;background:#f8fafc;border-radius:8px}.notes-editor{width:100%;padding:1rem;border:1px solid #e5e7eb;border-radius:8px;font-size:.95rem;line-height:1.5;resize:vertical;min-height:200px;background:white}.notes-editor:focus{outline:none;border-color:#c2000e;box-shadow:0 0 0 3px #2563eb1a}.notes-display{white-space:pre-wrap;line-height:1.5;color:#374151;min-height:200px}.notes-display:empty:before{content:"No notes available";color:#9ca3af;font-style:italic}.broker-dashboard{display:flex;min-height:100vh;background-color:#f5f6fa}.broker-main-content{flex:1;padding:24px;margin-left:240px;width:calc(100% - 240px);overflow-y:auto;transition:all .3s ease}.broker-main{flex:1;display:flex;flex-direction:column}.broker-content{flex:1;width:100%}.dashboard-container{max-width:1200px;margin:0 auto;padding:0 20px;width:100%}.section-header{padding:24px;background:white;border-radius:8px;margin-bottom:24px;box-shadow:0 1px 3px #0000001a}.section-header h1{font-size:24px;font-weight:600;color:#1a1a1a;margin-bottom:8px}.section-header .subtitle{color:#666;font-size:14px}.header-controls{display:flex;align-items:center;gap:16px;margin-top:16px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:24px 0;width:100%}.stat-card{background:white;padding:24px;border-radius:12px;box-shadow:0 2px 4px #0000000d;display:flex;align-items:flex-start;gap:16px;transition:transform .2s ease}.stat-card:hover{transform:translateY(-4px)}.stat-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background-color:#e3f2fd;border-radius:12px;color:#1976d2}.stat-icon svg{width:24px;height:24px}.stat-content h3{color:#64748b;font-size:14px;margin:0 0 8px;font-weight:500}.stat-value{color:#2c3e50;font-size:24px;font-weight:600;margin:0 0 8px}.stat-trend{display:inline-flex;align-items:center;font-size:13px;gap:4px}.stat-trend.positive{color:#2ecc71}.stat-trend.negative{color:#e74c3c}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px;margin:24px 0;width:100%}.dashboard-card{background:white;border-radius:12px;box-shadow:0 2px 4px #0000000d;overflow:hidden}.card-header{padding:20px;border-bottom:1px solid #f1f5f9;display:flex;justify-content:space-between;align-items:center}.card-header h2{font-size:16px;color:#2c3e50;margin:0}.card-content{padding:20px;max-height:400px;overflow-y:auto}.list-item{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #f1f5f9;transition:background-color .2s ease}.list-item:last-child{border-bottom:none}.list-item:hover{background-color:#f8fafc}.item-info{flex:1}.item-info h4{color:#2c3e50;font-size:14px;margin:0 0 4px}.item-info p{color:#64748b;font-size:13px;margin:0}.item-date{font-size:13px;color:#64748b}.status{display:inline-block;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500}.status.pending{background-color:#fff8e1;color:#f57f17}.status.active{background-color:#e3f2fd;color:#1976d2}.status.completed{background-color:#e8f5e9;color:#2e7d32}.status.rejected{background-color:#ffebee;color:#c62828}.loading-spinner{display:flex;justify-content:center;align-items:center;min-height:400px}.error-message{padding:16px;margin:16px;background-color:#fee2e2;border:1px solid #fecaca;border-radius:8px;color:#991b1b;text-align:center}.card-content::-webkit-scrollbar{width:6px}.card-content::-webkit-scrollbar-track{background:#f1f5f9}.card-content::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.card-content::-webkit-scrollbar-thumb:hover{background:#94a3b8}.dashboard-container>*{animation:fadeIn .3s ease-out forwards}@media (max-width: 1024px){.broker-main-content{margin-left:64px;width:calc(100% - 64px)}.dashboard-container{padding:0 16px}}@media (max-width: 768px){.broker-main-content{margin-left:0;width:100%;padding:16px}.dashboard-container{padding:0 12px;max-width:100%}.stats-grid,.dashboard-grid{grid-template-columns:1fr;margin:16px 0}.section-header{padding:16px;margin-bottom:16px}.stat-card{padding:16px}}.sidebar-collapsed .broker-main-content,.sidebar-hidden .broker-main-content{margin-left:0;width:100%}.broker-main-content,.dashboard-container,.stats-grid,.dashboard-grid{transition:all .3s ease-in-out}.loading-container{display:flex;justify-content:center;align-items:center;min-height:400px;width:100%;font-size:1.125rem;color:#c2000e;font-weight:500}.broker-profile{padding:2rem;max-width:1200px;margin:0 auto}.profile-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.profile-header h1{margin:0}.edit-button,.cancel-button,.save-button{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:4px;border:none;cursor:pointer;font-weight:500}.edit-button{background-color:#007bff;color:#fff}.cancel-button{background-color:#dc3545;color:#fff}.save-button{background-color:#28a745;color:#fff}.error-message,.success-message{padding:1rem;border-radius:4px;margin-bottom:1rem}.error-message{background-color:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.success-message{background-color:#d4edda;color:#155724;border:1px solid #c3e6cb}.profile-form{background:white;padding:2rem;border-radius:8px;box-shadow:0 2px 4px #0000001a}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:1.5rem}.form-group label{font-weight:500;color:#2c3e50}.form-group input,.form-group textarea{padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem}.form-group input:disabled,.form-group textarea:disabled{background-color:#f8f9fa;cursor:not-allowed}.form-actions{display:flex;justify-content:flex-end;margin-top:2rem}.loading-state{display:flex;justify-content:center;align-items:center;min-height:400px;font-size:1.2rem;color:#666}@media (max-width: 768px){.profile-container{padding:1rem}.profile-header{flex-direction:column;gap:1rem;text-align:center}.form-grid{grid-template-columns:1fr}.form-group.full-width{grid-column:auto}}.dashboard-container{padding:2rem;max-width:1400px;margin:0 auto;background:#f8fafc}.dashboard-header{background:white;padding:2rem;border-radius:16px;margin-bottom:2rem;box-shadow:0 1px 3px #0000000d}.dashboard-header h1{color:#1f2937;font-size:2rem;margin-bottom:.5rem;font-weight:600}.last-login{color:#64748b;font-size:.875rem}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:1.5rem;align-items:start}.dashboard-section{background:white;border-radius:16px;padding:1.5rem;box-shadow:0 1px 3px #0000000d;transition:transform .2s ease}.dashboard-section:hover{transform:translateY(-2px)}.dashboard-section h2,.dashboard-card h2{color:#1f2937;font-size:1.25rem;font-weight:600;margin-bottom:1.5rem;display:flex;align-items:center;gap:.75rem}.card-icon{width:1.5rem;height:1.5rem;color:#c2000e}.dashboard-section.no-application-section{background:none;box-shadow:none;padding:0}.no-application{text-align:center;padding:2rem}.no-application h2{color:#1f2937;font-size:1.5rem;margin-bottom:1rem;font-weight:600}.no-application p{color:#64748b;font-size:1.1rem;margin-bottom:2rem;line-height:1.6}.start-application-button{padding:.875rem 2rem;background-color:#c2000e;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s ease}.start-application-button:hover{background-color:#c2000e;transform:translateY(-1px);box-shadow:0 4px 6px -1px #0000001a}.dashboard-card.messages-preview{background:white;border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000000d;height:auto;max-height:500px;overflow-y:auto}.messages-list{margin-top:1rem;display:flex;flex-direction:column;gap:.5rem}.message-preview{padding:.75rem;border-bottom:1px solid #e5e7eb;transition:background-color .2s;text-decoration:none;cursor:pointer}.message-preview:hover{background-color:#f3f4f6}.message-preview:last-child{border-bottom:none}.message-preview.unread{background-color:#f0f7ff}.message-header{display:flex;justify-content:space-between;align-items:center;gap:1rem}.sender-name{font-weight:500;color:#1f2937;font-size:.9375rem;flex-shrink:0}.message-time{font-size:.8125rem;color:#6b7280;margin-left:auto}.no-messages{text-align:center;color:#6b7280;padding:2rem 0}.view-all-link{display:block;text-align:center;padding:.75rem;margin-top:1rem;color:#c2000e;text-decoration:none;border-top:1px solid #e5e7eb;font-weight:500;transition:color .2s}.view-all-link:hover{color:#c2000e}.unread-badge{background:#ef4444;color:#fff;padding:.25rem .5rem;border-radius:9999px;font-size:.75rem;margin-left:.5rem}.documents-section{padding:1.5rem}.portal-status{text-align:center;padding:2rem}.portal-status .section-icon{width:3rem;height:3rem;color:#c2000e;margin-bottom:1rem}.portal-status p{color:#4b5563;margin-bottom:1.5rem;font-size:1.1rem}.portal-button{display:inline-flex;align-items:center;gap:.5rem;padding:.875rem 1.5rem;background-color:#c2000e;color:#fff;border-radius:8px;font-weight:500;text-decoration:none;transition:all .2s ease}.portal-button:hover{background-color:#c2000e;transform:translateY(-1px);box-shadow:0 4px 6px -1px #0000001a}.dashboard-card.messages-preview::-webkit-scrollbar{width:6px}.dashboard-card.messages-preview::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.dashboard-card.messages-preview::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.dashboard-card.messages-preview::-webkit-scrollbar-thumb:hover{background:#a1a1a1}@media (max-width: 768px){.dashboard-container{padding:1rem}.dashboard-header{padding:1.5rem}.dashboard-header h1{font-size:1.75rem}.dashboard-grid{grid-template-columns:1fr}.dashboard-section,.dashboard-card{padding:1.25rem}}.client-layout{display:flex;min-height:100vh;background:var(--admin-bg-primary)}.sidebar{width:250px;background-color:#fff;border-right:1px solid #e5e7eb;transition:transform .3s ease;position:fixed;height:100vh;z-index:1000;transform:translate(0)}.main-content{flex:1;margin-left:250px;transition:all .3s ease;display:flex;justify-content:center}.client-content{flex:1;min-height:100vh;margin-left:250px;margin-top:0rem;position:relative;background:var(--admin-bg-primary);max-width:1400px;width:100%;transition:all .3s ease}.client-main{padding:0rem 2rem 2rem;width:100%;background-color:#fff;margin:0 auto}.sidebar-header{margin-bottom:2rem;padding:1rem 0;border-bottom:1px solid #e9ecef}.sidebar-logo{width:100%;max-width:180px;height:auto;display:block;margin:0 auto}.nav-items{flex:1;overflow-y:auto}.nav-item{display:flex;align-items:center;padding:.75rem 1rem;color:#495057;text-decoration:none;border-radius:.5rem;margin-bottom:.5rem;transition:all .2s ease}.nav-item:hover{background-color:#e9ecef;color:#212529}.nav-item.active{background-color:#e9ecef;color:#0d6efd;font-weight:500}.nav-icon{font-size:1.25rem;margin-right:.75rem}.logout-button{display:flex;align-items:center;padding:.75rem 1rem;margin-top:auto;border:none;background:none;color:#dc3545;cursor:pointer;width:100%;text-align:left;border-radius:.5rem;transition:all .2s ease}.logout-button:hover{background-color:#ffe5e5}.top-bar{position:fixed;top:0;right:0;width:calc(100% - 250px);padding:1rem 2rem;z-index:100;display:flex;justify-content:flex-end;align-items:center;background:transparent;transition:all .3s ease}.notifications-wrapper{position:relative}.notifications-bell{background:none;border:none;font-size:1.5rem;color:#495057;cursor:pointer;padding:.5rem;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative;transition:all .2s ease}.notifications-bell:hover{background-color:#e9ecef}.notifications-badge{position:absolute;top:0;right:0;background-color:#dc3545;color:#fff;font-size:.75rem;padding:.25rem .5rem;border-radius:1rem;min-width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center}.notifications-dropdown{position:absolute;top:100%;right:0;background:white;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;width:300px;max-height:400px;overflow-y:auto;z-index:1000;margin-top:.5rem;border:1px solid #e9ecef}.notifications-header{padding:1rem;border-bottom:1px solid #e9ecef;display:flex;justify-content:space-between;align-items:center}.notifications-header h3{margin:0;font-size:1rem;color:#212529}.notification-count{font-size:.875rem;color:#6c757d}.notifications-list{max-height:300px;overflow-y:auto}.notification-item{cursor:pointer;padding:12px;border-bottom:1px solid #eee;transition:all .3s ease;display:flex;justify-content:space-between;align-items:center;background-color:#fff}.notification-content{flex:1}.read-indicator{width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-left:12px}.check-icon{color:#4caf50;opacity:0;transform:scale(.5);transition:all .3s ease}.check-icon.visible{opacity:1;transform:scale(1)}.marking-read{background-color:#f8f8f8;transform:translate(-4px)}.notification-item:hover{background-color:#f5f5f5}.marking-read .notification-content{opacity:.7}@keyframes markRead{0%{background-color:#fff}50%{background-color:#f0f0f0}to{background-color:#f8f8f8}}.marking-read{animation:markRead .3s ease forwards}.notification-item:last-child{border-bottom:none}.notification-item p{margin:0;color:#495057}.notification-time{font-size:.75rem;color:#6c757d;display:block;margin-top:.25rem}.no-notifications{padding:2rem;text-align:center;color:#6c757d}.no-notifications .empty-icon{font-size:2rem;margin-bottom:.5rem;opacity:.5}.no-notifications p{margin:0;font-size:.875rem}.notifications-actions{display:flex;align-items:center;gap:10px}.mark-all-read{background:none;border:none;color:#4a90e2;font-size:12px;cursor:pointer;padding:4px 8px;border-radius:4px}.mark-all-read:hover{background-color:#4a90e21a}.hamburger-menu{display:none;position:fixed;top:1rem;left:1rem;z-index:1001;background:white;border:none;padding:.5rem;border-radius:.375rem;cursor:pointer;box-shadow:0 1px 3px #0000001a}.hamburger-menu svg{width:24px;height:24px;color:#4b5563}.sidebar-overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;z-index:999}@media (max-width: 768px){.hamburger-menu{display:block}.sidebar{transform:translate(-100%)}.sidebar.open{transform:translate(0)}.sidebar-overlay.open{display:block}.main-content,.client-content{margin-left:0;padding:0 1rem}.client-main{padding:5rem 1rem 1rem}.top-bar{width:100%;right:0;padding:1rem}.client-layout{justify-content:center}.sidebar-header{padding:.5rem 0;margin-bottom:1rem}.sidebar-logo{max-width:40px}.nav-item span,.logout-button span{display:none}.nav-icon{margin-right:0;font-size:1.5rem}.notifications-dropdown{width:280px;right:-1rem}}@keyframes slideIn{0%{transform:translate(-100%)}to{transform:translate(0)}}.sidebar.open{animation:slideIn .3s ease forwards}.sidebar-overlay.open{animation:fadeIn .3s ease forwards}@media (min-width: 1400px){.client-content{margin:0 auto 0 250px}}.client-content,.main-content,.top-bar{transition:all .3s ease}.sidebar.open+.client-content{margin-left:0}.tutorial-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);z-index:1000}.tutorial-highlight{position:absolute;pointer-events:none}.tutorial-tooltip{position:absolute;background:white;padding:1.5rem;border-radius:12px;box-shadow:0 4px 6px -1px #0000001a;width:300px;pointer-events:auto}.tutorial-tooltip h3{color:#1f2937;font-size:1.25rem;margin-bottom:.75rem}.tutorial-tooltip p{color:#4b5563;font-size:.875rem;line-height:1.5;margin-bottom:1.5rem}.tutorial-navigation{display:flex;justify-content:space-between;align-items:center}.tutorial-navigation button{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border:none;background:#c2000e;color:#fff;border-radius:6px;cursor:pointer;transition:all .2s ease}.tutorial-navigation button:disabled{background:#94a3b8;cursor:not-allowed}.tutorial-progress{color:#64748b;font-size:.875rem}.close-tutorial{position:absolute;top:.75rem;right:.75rem;padding:.25rem;border:none;background:none;cursor:pointer;color:#64748b}:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: #e74c3c;--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-toast-width: 320px;--toastify-toast-background: #fff;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient( to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55 );--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error)}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;padding:4px;width:var(--toastify-toast-width);box-sizing:border-box;color:#fff}.Toastify__toast-container--top-left{top:1em;left:1em}.Toastify__toast-container--top-center{top:1em;left:50%;transform:translate(-50%)}.Toastify__toast-container--top-right{top:1em;right:1em}.Toastify__toast-container--bottom-left{bottom:1em;left:1em}.Toastify__toast-container--bottom-center{bottom:1em;left:50%;transform:translate(-50%)}.Toastify__toast-container--bottom-right{bottom:1em;right:1em}@media only screen and (max-width : 480px){.Toastify__toast-container{width:100vw;padding:0;left:0;margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:0;transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:0;transform:translate(0)}.Toastify__toast-container--rtl{right:0;left:initial}}.Toastify__toast{position:relative;min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:8px;border-radius:4px;box-shadow:0 1px 10px #0000001a,0 2px 15px #0000000d;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;max-height:var(--toastify-toast-max-height);overflow:hidden;font-family:var(--toastify-font-family);cursor:default;direction:ltr;z-index:0}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-body{margin:auto 0;-ms-flex:1 1 auto;flex:1 1 auto;padding:6px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.Toastify__toast-body>div:last-child{word-break:break-word;-ms-flex:1;flex:1}.Toastify__toast-icon{-webkit-margin-end:10px;margin-inline-end:10px;width:20px;-ms-flex-negative:0;flex-shrink:0;display:-ms-flexbox;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.7s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}@media only screen and (max-width : 480px){.Toastify__toast{margin-bottom:0;border-radius:0}}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;-ms-flex-item-align:start;align-self:flex-start}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:5px;z-index:var(--toastify-z-index);opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(110%,0,0)}}@keyframes Toastify__slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-110%,0,0)}}@keyframes Toastify__slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.settings-container{max-width:800px;margin:0 auto;padding:2rem}.settings-container h2{margin-bottom:2rem;color:#333}.settings-form{display:flex;flex-direction:column;gap:2rem}.form-section{background:white;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:1.5rem}.form-section h3{color:#333;margin-bottom:1.5rem;font-size:1.2rem}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.5rem;color:#666}.form-group input[type=text],.form-group input[type=email],.form-group input[type=tel]{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem}.form-group input[type=email]:disabled{background-color:#f5f5f5;cursor:not-allowed}.form-group.checkbox{margin-bottom:1rem}.form-group.checkbox label{display:flex;flex-direction:column;gap:.25rem;cursor:pointer}.checkbox-row{display:flex;align-items:center;gap:8px}.helper-text{color:#666;font-size:.875rem;margin-left:1.75rem}.form-group.checkbox input[type=checkbox]{width:18px;height:18px;margin-right:.5rem}.form-actions{display:flex;justify-content:center;margin-top:2rem}.save-button{width:auto;min-width:200px;padding:12px 24px;background-color:#c2000e;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s ease}.save-button:hover{background-color:#c2000e;transform:translateY(-1px)}.save-button:disabled{background-color:#94a3b8;cursor:not-allowed}.message{padding:1rem;border-radius:4px;margin-bottom:1rem}.message.success{background-color:#e8f5e9;color:#2e7d32;border:1px solid #c8e6c9}.message.error{background-color:#ffebee;color:#c62828;border:1px solid #ffcdd2}.settings-loading{display:flex;justify-content:center;align-items:center;min-height:200px;color:#666}@media (max-width: 768px){.settings-container{padding:1rem}.save-button{width:100%}}.test-email-section{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #eee}.test-email-button{background-color:#4caf50;color:#fff;padding:.75rem 1.5rem;border:none;border-radius:4px;font-size:.875rem;cursor:pointer;transition:background-color .2s}.test-email-button:hover{background-color:#43a047}.message.info{background-color:#e3f2fd;color:#1976d2;border:1px solid #bbdefb}.test-notifications-section{display:flex;gap:1rem;margin-top:1rem}.test-button{margin-left:8px;padding:2px 8px;font-size:12px;border-radius:4px;background-color:#f3f4f6;border:1px solid #e5e7eb;color:#6b7280;cursor:pointer}.test-button:disabled{opacity:.5;cursor:not-allowed}.test-button:hover:not(:disabled){background-color:#e5e7eb;color:#374151}.tutorial-description{color:#64748b;margin-bottom:1rem;font-size:.875rem}.replay-tutorial-button{width:100%;padding:12px;background-color:#f3f4f6;color:#1f2937;border:1px solid #e5e7eb;border-radius:8px;font-size:1rem;cursor:pointer;transition:all .2s ease;margin-bottom:1rem}.replay-tutorial-button:hover{background-color:#e5e7eb;transform:translateY(-1px)}.sidebar{display:flex;flex-direction:column;height:100%;background-color:#fff;border-right:1px solid #e5e7eb;width:260px;position:fixed;left:0;top:0;bottom:0}.sidebar-content{flex:1;display:flex;flex-direction:column;overflow-y:auto}.nav-links{padding:1rem .75rem;flex:1}.nav-link{display:flex;align-items:center;padding:.75rem 1rem;color:#4b5563;text-decoration:none;border-radius:.5rem;margin-bottom:.25rem;transition:all .2s ease}.nav-link:hover{background-color:#f3f4f6;color:#1f2937}.nav-link.active{background-color:#c2000e;color:#fff}.nav-link svg{width:1.25rem;height:1.25rem;margin-right:.75rem}.sidebar-footer{padding:1rem;border-top:1px solid #e5e7eb;margin-top:auto}.logout-button{display:flex;align-items:center;justify-content:center;width:100%;padding:.75rem;background-color:#fee2e2;color:#dc2626;border:none;border-radius:.5rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.logout-button:hover{background-color:#fecaca}.sidebar-content::-webkit-scrollbar{width:4px}.sidebar-content::-webkit-scrollbar-track{background:transparent}.sidebar-content::-webkit-scrollbar-thumb{background-color:#e5e7eb;border-radius:2px}.sidebar-content::-webkit-scrollbar-thumb:hover{background-color:#d1d5db}.client-sidebar{width:280px;height:100vh;background:white;border-right:1px solid #eee;display:flex;flex-direction:column;position:fixed;left:0;top:0}.sidebar-header{padding:1.5rem;border-bottom:1px solid #eee;display:flex;justify-content:center;align-items:center}.logo-container{width:100%;display:flex;justify-content:center;align-items:center}.logo-image{width:180px;height:auto;object-fit:contain}.sidebar-nav{padding:1.5rem;flex:1;display:flex;flex-direction:column;gap:.5rem}.nav-link{display:flex;align-items:center;padding:.75rem 1rem;color:#666;text-decoration:none;border-radius:8px;transition:all .2s}.nav-link svg{margin-right:.75rem;font-size:1.25rem}.nav-link:hover{background-color:#f5f5f5;color:#333}.nav-link.active{background-color:#e3f2fd;color:#1976d2}.sidebar-footer{padding:1.5rem;border-top:1px solid #eee}.user-info{display:flex;align-items:center;margin-bottom:1rem}.user-avatar{width:40px;height:40px;background-color:#e3f2fd;color:#1976d2;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;margin-right:.75rem}.user-details{display:flex;flex-direction:column}.user-email{color:#333;font-size:.875rem;margin-bottom:.25rem}.user-role{color:#666;font-size:.75rem}.logout-button{width:100%;display:flex;align-items:center;justify-content:center;padding:.75rem;background-color:#f5f5f5;border:none;border-radius:8px;color:#666;cursor:pointer;transition:all .2s;margin-bottom:50px}.logout-button svg{margin-right:.5rem}.logout-button:hover{background-color:#fee2e2;color:#dc2626}.logo{padding:20px;display:flex;justify-content:center;align-items:center;background-color:#039;margin-bottom:20px}.logo-image{width:200px;height:auto;object-fit:contain}</rewritten_file> .client-header{background-color:#fff;border-bottom:1px solid #e5e7eb;padding:1rem 2rem}.user-welcome h2{font-size:1.25rem;font-weight:600;color:#111827}.logout-button{padding:.5rem 1rem;background-color:#ef4444;color:#fff;border:none;border-radius:.375rem;font-weight:500;cursor:pointer;transition:background-color .2s}.logout-button:hover{background-color:#dc2626}.notification-bell-container{position:relative}.notification-bell-button{background:none;border:none;padding:8px;cursor:pointer;position:relative;color:#64748b;transition:transform .2s ease}.notification-bell-button svg{width:24px;height:24px}.notification-bell-button:hover{transform:scale(1.1)}.notification-badge{position:absolute;top:0;right:0;background-color:#ef4444;color:#fff;border-radius:50%;padding:2px 6px;font-size:12px;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center;transition:all .3s ease}.notification-dropdown{position:absolute;top:100%;right:0;width:320px;background:white;border-radius:8px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;margin-top:8px;z-index:50}.notification-header{padding:16px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:4px}.notification-header h3{margin:0;font-size:16px;color:#1f2937}.notification-count{font-size:12px;color:#6b7280}.notification-list{max-height:400px;overflow-y:auto}.notification-item{padding:12px 16px;border-bottom:1px solid #e5e7eb;cursor:pointer;transition:all .3s ease,border-left-color .3s ease;position:relative;overflow:hidden}.notification-item.unread{background-color:#f0f9ff;border-left:4px solid #3b82f6}.notification-item.unread:before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background-color:#3b82f6;animation:pulse 2s infinite}.notification-item.read{opacity:.8;background-color:transparent;border-left:4px solid transparent}.notification-item:hover{background-color:#f3f4f6;transform:translate(4px)}.notification-item.unread:hover{background-color:#e0f2fe}.notification-item.being-read{animation:readTransition .5s ease forwards}@keyframes pulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}@keyframes readTransition{0%{background-color:#f0f9ff;border-left-color:#3b82f6}to{background-color:transparent;border-left-color:transparent;opacity:.8}}.notification-content{position:relative}.notification-title{font-weight:600;margin:0 0 4px;color:#1f2937}.notification-item.unread .notification-title{color:#1e40af}.notification-item.unread .notification-time{font-weight:500;color:#3b82f6}.notification-item.new{animation:newNotification 1s ease}@keyframes newNotification{0%{background-color:#93c5fd;transform:translate(-4px)}to{background-color:#f0f9ff;transform:translate(0)}}.notification-content p{margin:0 0 4px;color:#1f2937;font-size:14px}.notification-time{font-size:12px;color:#6b7280}.no-notifications{padding:24px 16px;text-align:center;color:#6b7280;font-size:14px}@media (max-width: 640px){.notification-dropdown{position:fixed;top:60px;left:0;right:0;width:auto;margin:0;border-radius:0}}.notification-actions{display:flex;gap:8px;align-items:center}.mark-all-read,.clear-all,.close-notifications{background:none;border:none;padding:4px 8px;font-size:12px;color:#6b7280;cursor:pointer;display:flex;align-items:center;gap:4px;border-radius:4px;transition:all .2s ease}.mark-all-read:hover,.clear-all:hover,.close-notifications:hover{background-color:#f3f4f6;color:#1f2937}.clear-all{color:#ef4444}.clear-all:hover{background-color:#fee2e2;color:#dc2626}.mark-all-read:disabled,.clear-all:disabled{opacity:.5;cursor:not-allowed}.notification-actions button[disabled]{opacity:.5;cursor:not-allowed}.notification-item.unread{background-color:#f0f9ff}.notification-item.read{opacity:.8}.notification-meta{display:flex;justify-content:space-between;align-items:center;margin-top:4px}.delete-notification{background:none;border:none;padding:4px;color:#6b7280;cursor:pointer;opacity:0;transition:opacity .2s}.notification-item:hover .delete-notification{opacity:1}.delete-notification:hover{color:#ef4444}.notification-filters{display:flex;gap:8px;padding:8px 16px;border-bottom:1px solid #e5e7eb}.notification-filters select{padding:4px 8px;border:1px solid #e5e7eb;border-radius:4px;font-size:12px;color:#6b7280}.notification-group{margin-bottom:8px}.notification-date{padding:8px 16px;font-size:12px;color:#6b7280;background-color:#f9fafb;font-weight:500}.notification-preferences{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px;margin-top:16px}.preference-group{background-color:#f9fafb;padding:16px;border-radius:8px}.preference-group h4{margin:0 0 16px;color:#374151}.mark-read-button{background:none;border:none;padding:4px;color:#3b82f6;cursor:pointer;opacity:0;transition:opacity .2s;display:flex;align-items:center;justify-content:center}.notification-item:hover .mark-read-button{opacity:1}.mark-read-button:hover{color:#c2000e;background-color:#e0f2fe;border-radius:4px}.read-indicator{color:#10b981;display:flex;align-items:center;font-size:14px}.notification-item.read .notification-content{padding-right:24px;position:relative}.notification-item.read .read-indicator{position:absolute;top:8px;right:8px}.notification-item.being-read .read-indicator{animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.loading-notifications{padding:16px;text-align:center;color:#6b7280}.notification-bell-button:disabled{opacity:.5;cursor:not-allowed}@keyframes pulse{0%{opacity:.6}50%{opacity:1}to{opacity:.6}}.loading-notifications{animation:pulse 1.5s infinite}.application-progress{background:white;border-radius:8px;padding:20px;margin-bottom:24px;box-shadow:0 1px 3px #0000001a}.progress-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.progress-header h3{font-size:1.1rem;color:#1f2937;margin:0}.status-badge{padding:4px 12px;border-radius:12px;font-size:.875rem;font-weight:500}.status-badge.pending{background-color:#fef3c7;color:#92400e}.status-badge.submitted{background-color:#dcfce7;color:#166534}.status-badge.reviewing{background-color:#dbeafe;color:#1e40af}.progress-bar{height:8px;background-color:#e5e7eb;border-radius:4px;overflow:hidden;margin-bottom:12px}.progress-fill{height:100%;background-color:#10b981;transition:width .3s ease}.progress-stats{display:flex;justify-content:space-between;font-size:.875rem;color:#6b7280}.mortgage-application{max-width:1200px;margin:0 auto;padding:2rem;background-color:#f8fafc}.application-progress{margin-bottom:2rem;padding:2rem;background:white;border-radius:12px;box-shadow:0 2px 4px #0000000d}.form-section{background:white;border-radius:12px;padding:2rem;margin-bottom:2rem;box-shadow:0 2px 4px #0000000d;position:relative;overflow:hidden}.section-header{display:flex;align-items:center;gap:1.25rem;margin:-2rem -2rem 2rem;padding:1.5rem 2rem;background:#f8fafc;border-bottom:1px solid #e5e7eb}.section-header svg{width:28px;height:28px;color:#c2000e;background:white;padding:6px;border-radius:8px;box-shadow:0 2px 4px #2563eb1a}.section-header h2{color:#1f2937;font-size:1.5rem;font-weight:600;margin:0;flex:1}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:2rem;padding:1rem 0}.form-field{display:flex;flex-direction:column;gap:.75rem}.form-field.full-width{grid-column:1 / -1}.form-field label{font-size:.9375rem;font-weight:500;color:#374151;display:flex;align-items:center;gap:.375rem}.required{color:#dc2626;font-size:1.1em;line-height:1}.input-wrapper{position:relative;display:flex;align-items:center}input,select,textarea{width:100%;padding:.875rem 1rem;border:2px solid #e5e7eb;border-radius:.5rem;font-size:1rem;color:#1f2937;background-color:#fff;transition:all .2s}input:hover,select:hover,textarea:hover{border-color:#d1d5db}input:focus,select:focus,textarea:focus{border-color:#c2000e;outline:none;box-shadow:0 0 0 3px #2563eb1a}.currency-prefix{position:absolute;left:1rem;color:#4b5563;font-weight:500;pointer-events:none}input.has-currency-prefix{padding-left:2.25rem}.field-hint{display:flex;align-items:flex-start;gap:.5rem;font-size:.8125rem;color:#6b7280;margin-top:.25rem}.field-hint svg{width:16px;height:16px;flex-shrink:0;margin-top:2px;color:#9ca3af}.field-description{font-size:.8125rem;color:#6b7280;margin-top:.375rem;line-height:1.4}.spouse-information{margin-top:3rem;padding:2rem;background:#f8fafc;border-radius:8px;border:1px solid #e5e7eb}.subsection-title{color:#1f2937;font-size:1.25rem;font-weight:600;margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid #e5e7eb}.form-actions{display:flex;justify-content:flex-end;margin-top:3rem;padding-top:2rem;border-top:1px solid #e5e7eb}.submit-button{padding:1rem 2rem;background-color:#c2000e;color:#fff;border:none;border-radius:.5rem;font-size:1rem;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:.75rem;transition:all .2s}.submit-button:hover{background-color:#c2000e;transform:translateY(-1px)}.submit-button:disabled{background-color:#94a3b8;cursor:not-allowed}.spinner-small{width:1.25rem;height:1.25rem;border:2px solid rgba(255,255,255,.5);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.validation-errors{margin-top:1.5rem;padding:1.25rem;background-color:#fee2e2;border-radius:.5rem;border:1px solid #fecaca}.error-message{color:#dc2626;font-size:.9375rem;margin-bottom:.5rem;display:flex;align-items:center;gap:.5rem}@media (max-width: 1200px){.mortgage-application{max-width:100%;padding:1.5rem}.form-grid{grid-template-columns:repeat(2,1fr);gap:1.5rem}}@media (max-width: 992px){.form-grid{grid-template-columns:repeat(2,1fr);gap:1.25rem}.section-header{padding:1.25rem 1.5rem}.section-header h2{font-size:1.25rem}input,select,textarea{padding:.75rem .875rem;font-size:.9375rem}}@media (max-width: 768px){.mortgage-application{padding:1rem}.application-progress,.form-section{padding:1.5rem;margin-bottom:1.5rem}.section-header{margin:-1.5rem -1.5rem 1.5rem;padding:1.25rem}.section-header svg{width:24px;height:24px;padding:4px}.form-grid{grid-template-columns:1fr;gap:1.25rem;padding:.5rem 0}.spouse-information{margin-top:2rem;padding:1.5rem}.form-field{gap:.5rem}.form-field label{font-size:.875rem}.field-hint,.field-description{font-size:.75rem}}@media (max-width: 576px){.mortgage-application{padding:.75rem}.form-section{padding:1.25rem;margin-bottom:1rem}.section-header{margin:-1.25rem -1.25rem 1.25rem;padding:1rem;gap:.75rem}.section-header svg{width:20px;height:20px}.section-header h2{font-size:1.125rem}.form-grid{gap:1rem}.submit-button{padding:.875rem 1.5rem;font-size:.9375rem}.spouse-information{padding:1.25rem;margin-top:1.5rem}.subsection-title{font-size:1.125rem;margin-bottom:1.5rem;padding-bottom:.75rem}input,select,textarea{padding:.75rem;font-size:.875rem}.form-actions{margin-top:2rem;padding-top:1.5rem}}@media (hover: none){input,select,textarea{font-size:16px}.submit-button{padding:1rem 1.5rem}select{padding-right:2rem}}@media (max-height: 800px){.mortgage-application{padding-top:1rem;padding-bottom:1rem}.form-section{margin-bottom:1rem}.section-header{padding:1rem 1.5rem}}@media print{.mortgage-application{padding:0;max-width:none}.form-section{break-inside:avoid;page-break-inside:avoid;border:1px solid #e5e7eb;box-shadow:none;margin-bottom:1rem}.submit-button,.application-progress{display:none}}@media (-webkit-min-device-pixel-ratio: 2),(min-resolution: 192dpi){.form-section{box-shadow:0 1px 2px #0000000d}}.terms-section{margin-top:2rem;padding:1.5rem;background:white;border-radius:8px}.checkbox-wrapper{display:flex;align-items:flex-start;gap:12px}.checkbox-wrapper input[type=checkbox]{width:20px;height:20px;margin-top:2px;cursor:pointer}.checkbox-wrapper label{font-size:.95rem;line-height:1.5;color:#4b5563}.checkbox-wrapper a{color:#c2000e;text-decoration:none}.checkbox-wrapper a:hover{text-decoration:underline}.disclosure-content{background:#f8fafc;padding:1.5rem;border-radius:8px;margin-bottom:1.5rem;color:#4b5563;font-size:.95rem;line-height:1.6;border:1px solid #e5e7eb}.draft-notice{background-color:#e3f2fd;color:#1976d2;padding:1rem;margin-bottom:1rem;border-radius:4px;display:flex;align-items:center;gap:.5rem}.clear-draft-button{margin-left:auto;padding:.5rem 1rem;background-color:#fff;border:1px solid #1976d2;color:#1976d2;border-radius:4px;cursor:pointer;transition:all .2s}.clear-draft-button:hover{background-color:#1976d2;color:#fff}.field-group{background-color:#f8fafc;border-radius:8px;padding:20px;margin-top:16px;border:1px solid #e2e8f0;animation:slideIn .3s ease forwards}.field-group h4{color:#1f2937;font-size:1.1rem;margin-bottom:16px;padding-bottom:8px;border-bottom:1px solid #e2e8f0}@keyframes slideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.form-field{margin-bottom:16px}.form-field label{display:block;margin-bottom:8px;color:#374151;font-weight:500}.form-field input,.form-field select,.form-field textarea{width:100%;padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:1rem;transition:border-color .2s ease}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.form-field textarea{min-height:100px;resize:vertical}@media (max-width: 768px){.field-group{padding:16px}.form-field input,.form-field select,.form-field textarea{font-size:16px}}.mortgage-application{padding:24px;background:white;border-radius:8px;box-shadow:0 2px 4px #0000001a;max-width:1200px;margin:0 auto}.application-header{margin-bottom:32px}.application-header h1{font-size:28px;color:#2c3e50;margin-bottom:8px}.application-header p{color:#666;font-size:16px}.error-message{background-color:#fee2e2;border:1px solid #ef4444;color:#b91c1c;padding:12px;border-radius:6px;margin-bottom:24px}.feedback-message{padding:12px;margin:10px 0;border-radius:4px;background-color:#e3f2fd;color:#1976d2;text-align:center;font-size:14px}.loading{display:flex;justify-content:center;align-items:center;min-height:200px;font-size:16px;color:#666}.form-row{display:flex;gap:20px;margin-bottom:16px}.form-row .form-field{flex:1;margin-bottom:0}.form-field select{width:100%;padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:1rem;background-color:#fff;cursor:pointer}.form-field select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}@media (max-width: 768px){.form-row{flex-direction:column;gap:16px}.form-row .form-field{margin-bottom:0}}.submitting-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(255,255,255,.9);display:flex;justify-content:center;align-items:center;z-index:1000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.submitting-content{text-align:center;padding:32px;border-radius:8px;background:white;box-shadow:0 4px 6px #0000001a}.spinner{width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid #c2000e;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 16px}.submitting-content p{font-size:16px;color:#374151;margin:0}.success-container{display:flex;justify-content:center;align-items:center;min-height:60vh}.success-message{text-align:center;padding:40px;background:white;border-radius:8px;box-shadow:0 2px 10px #0000001a}.checkmark{width:56px;height:56px;margin:0 auto 20px}.checkmark-circle{stroke:#4caf50;stroke-width:2;stroke-dasharray:166;stroke-dashoffset:166;animation:stroke .6s cubic-bezier(.65,0,.45,1) forwards}.checkmark-check{stroke:#4caf50;stroke-width:2;stroke-dasharray:48;stroke-dashoffset:48;animation:stroke .3s cubic-bezier(.65,0,.45,1) .8s forwards}@keyframes stroke{to{stroke-dashoffset:0}}.test-data-button{margin-top:16px;padding:8px 16px;background-color:#6366f1;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:14px;transition:background-color .2s}.test-data-button:hover{background-color:#4f46e5}.test-data-button:active{background-color:#4338ca}.spinner-small{width:20px;height:20px;border:2px solid #f3f3f3;border-top:2px solid #ffffff;border-radius:50%;animation:spin 1s linear infinite;display:inline-block;margin-right:8px;vertical-align:middle}.form-actions{display:flex;justify-content:center;margin-top:32px}.submit-button{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 32px;background-color:#c2000e;color:#fff;border:none;border-radius:6px;font-size:16px;cursor:pointer;transition:background-color .2s;max-width:200px}.submit-button:hover{background-color:#c2000e}.submit-button:disabled{background-color:#93c5fd;cursor:not-allowed}.login-button{margin-top:16px;padding:8px 16px;background-color:#c2000e;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:14px;transition:background-color .2s;display:block;margin-left:auto;margin-right:auto}.login-button:hover{background-color:#c2000e}.error-message{text-align:center;padding:24px;margin:24px;background-color:#fee2e2;border:1px solid #ef4444;border-radius:8px;color:#b91c1c}.submitted-application{max-width:1000px;margin:0 auto;padding:32px;background:white;border-radius:12px;box-shadow:0 2px 4px #0000001a}.status-header{text-align:center;margin-bottom:40px}.status-icon{margin:0 auto 24px;width:72px;height:72px}.status-header h1{color:#0f172a;font-size:32px;margin-bottom:8px}.submission-date{color:#64748b;font-size:16px}.next-steps{background-color:#f8fafc;border-radius:8px;padding:24px;margin-bottom:32px}.next-steps h2{color:#0f172a;font-size:24px;margin-bottom:16px}.next-steps p{color:#334155;font-size:16px;line-height:1.6;margin-bottom:16px}.document-list{display:grid;gap:24px}.document-section{background:white;border:1px solid #e2e8f0;border-radius:8px;padding:24px}.document-section h3{color:#0f172a;font-size:20px;margin-bottom:16px;padding-bottom:8px;border-bottom:2px solid #e2e8f0}.document-section ul{list-style:none;padding:0;margin:0}.document-section ul li{color:#334155;font-size:16px;line-height:1.6;margin-bottom:12px;padding-left:24px;position:relative}.document-section ul li:before{content:"•";color:#c2000e;position:absolute;left:0}.document-section ul ul{margin-top:8px;margin-left:24px}.document-section ul ul li{color:#475569;font-size:15px;margin-bottom:8px}.upload-notice{background:#f0f7ff;padding:1.5rem;border-radius:8px;margin-top:2rem}.upload-notice p{color:#1f2937;line-height:1.6;margin-bottom:1rem}.sync-link-button{display:inline-block;margin-top:1rem;padding:.75rem 1.5rem;background-color:#c2000e;color:#fff;text-decoration:none;border-radius:6px;font-weight:500;transition:all .2s ease}.sync-link-button:hover{background-color:#c2000e;transform:translateY(-1px)}.disclosure-section{margin:40px 0;padding:24px;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.disclosure-content{margin-bottom:20px;color:#334155;font-size:15px;line-height:1.6}.disclosure-checkbox{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}.disclosure-checkbox input[type=checkbox]{margin-top:4px;width:18px;height:18px;cursor:pointer}.disclosure-checkbox label{color:#1f2937;font-size:15px;cursor:pointer}.consent-text{color:#64748b;font-size:14px;text-align:center;margin-bottom:24px}.submitted-application-wrapper{width:100%;padding:2rem;display:flex;flex-direction:column;align-items:center}.submitted-application{width:100%;max-width:800px;display:flex;flex-direction:column;gap:2rem;background:white;border-radius:12px;box-shadow:0 4px 6px #0000001a;padding:2rem}.success-message{display:flex;flex-direction:column;align-items:center;text-align:center;padding:1rem}.success-icon{color:#c2000e;width:80px;height:80px;margin-bottom:1.5rem}.success-message h2{color:#1f2937;font-size:1.875rem;font-weight:600;margin-bottom:1rem}.success-message p{color:#4b5563;font-size:1.1rem;line-height:1.6;max-width:600px}.application-details{display:flex;flex-direction:column;background:#f8fafc;border-radius:12px;border:1px solid #e5e7eb;padding:2rem}.application-details h3{color:#1f2937;font-size:1.25rem;font-weight:600;margin-bottom:1.5rem}.details-list{display:flex;flex-direction:column;gap:1rem}.detail-item{display:flex;flex-direction:column;gap:.5rem;padding:1rem 0;border-bottom:1px solid #e5e7eb}.detail-item:last-child{border-bottom:none}.detail-label{color:#6b7280;font-weight:500}.detail-value{color:#1f2937;font-weight:600}.status-badge{align-self:flex-start;padding:.5rem 1rem;border-radius:9999px;font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.status-badge.pending{background:#fff7ed;color:#c2000e;border:1px solid #c2000e}.next-steps{display:flex;flex-direction:column;padding:2rem;background:#fff;border-radius:12px;border:1px solid #e5e7eb}.next-steps h3{color:#1f2937;font-size:1.25rem;font-weight:600;margin-bottom:1.5rem}.next-steps ol{display:flex;flex-direction:column;gap:1rem;padding-left:2rem;line-height:1.8}.next-steps li{color:#4b5563;font-size:1.1rem;padding-left:.5rem}.next-steps li::marker{color:#c2000e;font-weight:600}@media (max-width: 768px){.submitted-application-wrapper{padding:1rem}.submitted-application{padding:1.5rem;gap:1.5rem}.success-message{padding:0}.success-message h2{font-size:1.5rem}.success-icon{width:60px;height:60px}.application-details,.next-steps{padding:1.5rem}.next-steps li{font-size:1rem}}.btn{display:inline-block;padding:10px 20px;font-size:16px;font-weight:700;text-align:center;text-decoration:none;border:none;border-radius:4px;cursor:pointer;transition:background-color .3s,transform .1s}.btn:hover{transform:translateY(-1px)}.btn:active{transform:translateY(1px)}.btn-primary{background-color:#3498db;color:#fff}.btn-primary:hover{background-color:#2980b9}.btn-secondary{background-color:#95a5a6;color:#fff}.btn-secondary:hover{background-color:#7f8c8d}.button.loading{position:relative;color:transparent!important;pointer-events:none}.loading-spinner{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:20px;height:20px;border:2px solid rgba(255,255,255,.3);border-radius:50%;border-top-color:#fff;animation:spin .8s linear infinite}@keyframes spin{to{transform:translate(-50%,-50%) rotate(360deg)}}.button:disabled{opacity:.7;cursor:not-allowed}.profile-container{padding:2rem;max-width:1200px;margin:0 auto}.profile-header{margin-bottom:2rem}.profile-header h1{font-size:2rem;font-weight:600;color:#111827;margin-bottom:.5rem}.profile-subtitle{color:#6b7280;font-size:1rem}.profile-tabs{display:flex;gap:1rem;margin-bottom:2rem;border-bottom:1px solid #e5e7eb;padding-bottom:.5rem}.tab-button{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:none;border:none;color:#6b7280;font-weight:500;cursor:pointer;transition:all .2s;border-radius:.375rem}.tab-button:hover{color:#111827;background-color:#f3f4f6}.tab-button.active{color:#c2000e;background-color:#eff6ff}.tab-button svg{width:1.25rem;height:1.25rem}.profile-content{background-color:#fff;border-radius:.75rem;box-shadow:0 1px 3px #0000001a;padding:1.5rem}.settings-form{max-width:800px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-bottom:2rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group.full-width{grid-column:span 2}.form-group label{font-size:.875rem;font-weight:500;color:#374151}.form-group input{padding:.75rem;border:1px solid #d1d5db;border-radius:.375rem;font-size:.875rem;transition:all .2s}.form-group input:focus{outline:none;border-color:#c2000e;box-shadow:0 0 0 3px #2563eb1a}.save-button{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background-color:#c2000e;color:#fff;border:none;border-radius:.375rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .2s}.save-button:hover{background-color:#c2000e}.notification-settings{display:flex;flex-direction:column;gap:1.5rem}.notification-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background-color:#f9fafb;border-radius:.5rem}.notification-item h3{font-size:.875rem;font-weight:600;color:#111827;margin-bottom:.25rem}.notification-item p{font-size:.875rem;color:#6b7280}.toggle{position:relative;display:inline-block;width:3rem;height:1.5rem}.toggle input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#e5e7eb;transition:.4s;border-radius:9999px}.toggle-slider:before{position:absolute;content:"";height:1.25rem;width:1.25rem;left:.125rem;bottom:.125rem;background-color:#fff;transition:.4s;border-radius:50%}input:checked+.toggle-slider{background-color:#c2000e}input:checked+.toggle-slider:before{transform:translate(1.5rem)}@media (max-width: 768px){.profile-container{padding:1rem}.form-grid{grid-template-columns:1fr}.form-group.full-width{grid-column:auto}.profile-tabs{overflow-x:auto;padding-bottom:1rem}.tab-button{white-space:nowrap}}</rewritten_file>.messages-container{display:flex;flex-direction:column;height:calc(100vh - 64px);background-color:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;margin:24px;overflow:hidden}.messages-header{padding:20px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center;background-color:#fff}.messages-header h2{margin:0;color:#111827;font-size:1.5rem}.broker-info{color:#6b7280;font-size:.875rem}.messages-content{flex:1;display:flex;flex-direction:column;position:relative;overflow:hidden}.messages-list{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:16px;margin-bottom:0}.message{display:flex;margin-bottom:1rem;max-width:100%;padding:0 1rem}.message.sent{justify-content:flex-end}.message-bubble{max-width:70%;padding:1rem 1.25rem;border-radius:1rem;position:relative;line-height:1.5;margin-bottom:0}.message-bubble.sent{background-color:#c2000e;color:#fff;margin-left:auto;border-bottom-right-radius:.25rem;box-shadow:0 2px 4px #1d4ed826}.message-bubble.received{background-color:#f3f4f6;color:#1f2937;margin-right:auto;border-bottom-left-radius:.25rem;box-shadow:0 2px 4px #0000000d}.message-content{word-break:break-word;margin-bottom:.5rem}.message-info{display:flex;align-items:center;gap:6px;font-size:.75rem;white-space:nowrap;justify-content:flex-end;padding-top:4px;border-top:1px solid rgba(255,255,255,.1)}.message-bubble.received .message-info{border-top-color:#0000001a}.message-time{font-size:.75rem;opacity:.9;line-height:1;margin-top:0}.sent .message-time{color:#ffffffe6;text-align:right}.received .message-time{color:#6b7280}.message.sent .message-info{color:#ffffffe6}.message.received .message-info{color:#6b7280}.read-status{display:flex;align-items:center;font-size:.8rem;margin-left:4px}.read-status .read{color:#4caf50}.read-status .unread{color:#9ca3af}.message.sent .read-status{color:#ffffffe6}.unread-indicator{width:8px;height:8px;background-color:#c2000e;border-radius:50%}.message-form{position:relative;display:flex;gap:12px;padding:20px;background-color:#fff;border-top:1px solid #e5e7eb;width:100%}.message-form input{flex:1;min-width:0;padding:12px 16px;border:1px solid #e5e7eb;border-radius:24px;font-size:.875rem;outline:none;transition:border-color .2s;background-color:#fff;color:#1f2937;cursor:text}.message-form input:focus{border-color:#c2000e;box-shadow:0 0 0 2px #2563eb1a}.message-form input:disabled{background-color:#f3f4f6;cursor:not-allowed}.message-form button{padding:12px;background-color:#c2000e;color:#fff;border:none;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background-color .2s}.message-form button:hover{background-color:#c2000e}.message-form button:disabled{background-color:#e5e7eb;cursor:not-allowed}.error-message{padding:12px 16px;background-color:#fee2e2;color:#991b1b;border-radius:6px;margin:0 20px;font-size:.875rem}.broker-selector{margin:0 20px}.broker-selector select{padding:8px 12px;border:1px solid #e5e7eb;border-radius:6px;font-size:.875rem;color:#374151;background-color:#fff;cursor:pointer;min-width:200px}.broker-selector select:focus{outline:none;border-color:#c2000e;ring:2px solid rgba(37,99,235,.2)}.broker-info{display:flex;align-items:center;gap:12px}.broker-status{padding:4px 8px;border-radius:12px;font-size:.75rem;font-weight:500}.broker-status[data-status=online]{background-color:#dcfce7;color:#166534}.broker-status[data-status=offline]{background-color:#fee2e2;color:#991b1b}.broker-status[data-status=away]{background-color:#fef3c7;color:#92400e}.no-broker-selected{display:flex;align-items:center;justify-content:center;height:100%;color:#6b7280;font-size:.875rem}@media (max-width: 640px){.messages-container{margin:12px}.message-bubble{max-width:85%;padding:.875rem 1rem}.message{padding:0 .5rem;margin-bottom:.75rem}.message-info{font-size:.7rem}}.message-bubble.sent:hover{background-color:#1e40af}.message-bubble.received:hover{background-color:#e5e7eb}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.message-bubble{animation:fadeIn .3s ease-out}.no-messages-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 1rem;text-align:center;color:#6b7280;height:100%}.no-messages-icon{color:#9ca3af;margin-bottom:1rem}.no-messages-state h3{color:#374151;font-size:1.25rem;margin-bottom:.5rem}.no-messages-state p{color:#6b7280;font-size:.875rem}.documents-container{padding:2rem;max-width:1200px;margin:0 auto}.documents-header{margin-bottom:2rem}.documents-header h2{color:#333;margin-bottom:1rem}.sync-link-section{background:#e3f2fd;padding:1.5rem;border-radius:8px;margin-top:1rem}.sync-link-section p{color:#1976d2;margin-bottom:1rem}.sync-link-button{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:#1976d2;color:#fff;border-radius:8px;text-decoration:none;transition:background-color .2s}.sync-link-button:hover{background:#1565c0}.documents-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}.document-card{background:white;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.document-header{padding:1.5rem;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center}.document-header h3{margin:0;color:#333}.status-badge{display:flex;align-items:center;gap:.5rem;padding:.25rem .75rem;border-radius:999px;font-size:.875rem}.status-badge.pending{background:#fff3cd;color:#856404}.status-badge.approved{background:#d4edda;color:#155724}.status-badge.rejected{background:#f8d7da;color:#721c24}.document-details{padding:1.5rem}.document-details p{color:#666;margin-bottom:1rem}.document-meta{display:flex;flex-direction:column;gap:.5rem;font-size:.875rem;color:#666}.document-feedback{margin-top:1rem;padding-top:1rem;border-top:1px solid #eee}.document-feedback strong{color:#333;display:block;margin-bottom:.5rem}.document-feedback p{color:#666;font-size:.875rem;margin:0}.documents-loading{display:flex;justify-content:center;align-items:center;min-height:300px;color:#666}.error-message{padding:1rem;margin-bottom:1rem;background:#fee2e2;color:#dc2626;border-radius:8px}.sync-icon{display:flex;justify-content:center;align-items:center;margin-bottom:16px;color:#c2000e}.sync-icon svg{width:32px;height:32px}.state-icon{width:64px;height:64px;color:#6b7280;margin-bottom:1.5rem}.no-application-state{text-align:center;padding:3rem 2rem;background:white;border-radius:12px;box-shadow:0 2px 4px #0000000d}.no-application-state h2{color:#1f2937;font-size:1.5rem;margin-bottom:1rem}.no-application-state p{color:#6b7280;margin-bottom:2rem;max-width:600px;margin-left:auto;margin-right:auto;line-height:1.6}.action-button{display:inline-block;padding:.75rem 1.5rem;background-color:#c2000e;color:#fff;text-decoration:none;border-radius:6px;font-weight:500;transition:background-color .2s}.action-button:hover{background-color:#c2000e}.awaiting-setup-state{text-align:center;padding:3rem 2rem;background:white;border-radius:12px;box-shadow:0 2px 4px #0000000d}.awaiting-setup-state h2{color:#1f2937;font-size:1.75rem;margin-bottom:2rem}.status-message{max-width:600px;margin:0 auto}.status-message h3{color:#c2000e;font-size:1.25rem;margin-bottom:1rem}.status-message p{color:#4b5563;margin-bottom:1.5rem;line-height:1.6}.note{background-color:#f3f4f6;padding:1rem;border-radius:6px;text-align:left;color:#4b5563}.note strong{color:#1f2937}.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px}.spinner{width:40px;height:40px;border:3px solid #e5e7eb;border-top-color:#c2000e;border-radius:50%;animation:spin 1s linear infinite}@media (max-width: 640px){.documents-container{padding:1rem}.no-application-state,.awaiting-setup-state{padding:2rem 1rem}.state-icon{width:48px;height:48px}.no-application-state h2,.awaiting-setup-state h2{font-size:1.25rem}}.admin-sidebar{position:fixed;left:0;top:0;width:260px;height:100vh;background:var(--admin-card-bg);border-right:1px solid var(--admin-border);display:flex;flex-direction:column;z-index:1000}.sidebar-header{padding:0;border-bottom:1px solid #e5e7eb;text-align:center;display:flex;justify-content:center;align-items:center;margin-top:10px}.admin-logo{width:auto;height:120px;object-fit:contain}.sidebar-nav{flex:1;padding:16px 0;overflow-y:auto}.nav-item{display:flex;align-items:center;padding:12px 10px;color:#64748b;text-decoration:none;transition:all .2s ease;font-size:15px;margin:4px 12px;border-radius:8px}.nav-item svg{width:20px;height:20px;margin-right:12px;color:#64748b}.nav-item span{font-weight:500}.nav-item:hover{background-color:#f8fafc;color:#1976d2}.nav-item:hover svg{color:#1976d2}.nav-item.active{background-color:#e3f2fd;color:#1976d2}.nav-item.active svg{color:#1976d2}.sidebar-footer{padding:16px;border-top:1px solid #f0f0f0;background-color:#fff}.user-info{display:flex;align-items:center;padding:12px;background-color:#f8fafc;border-radius:8px;margin-bottom:12px}.user-avatar{width:36px;height:36px;background-color:#1976d2;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600;margin-right:12px}.user-details{flex:1;overflow:hidden}.user-email{display:block;font-size:13px;color:#2c3e50;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.logout-button{width:100%;padding:12px;background-color:#f8fafc;border:1px solid #e0e0e0;border-radius:8px;color:#ef4444;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:all .2s ease;font-weight:500}.logout-button:hover{background-color:#fee2e2;border-color:#fecaca}.logout-button svg{width:18px;height:18px}.powered-by{text-align:center;font-size:12px;color:#64748b;margin-bottom:12px}.sidebar-nav::-webkit-scrollbar{width:6px}.sidebar-nav::-webkit-scrollbar-track{background:#f8fafc}.sidebar-nav::-webkit-scrollbar-thumb{background:#e2e8f0;border-radius:3px}.sidebar-nav::-webkit-scrollbar-thumb:hover{background:#cbd5e1}@media (max-width: 768px){.admin-sidebar{width:240px}}.admin-sidebar{display:flex;flex-direction:column}.sidebar-content{height:100%;display:flex;flex-direction:column;justify-content:space-between}.sidebar-top{flex-grow:1}.sidebar-bottom{padding:16px;border-top:1px solid var(--admin-border)}.logout-button{display:flex;align-items:center;gap:8px;width:100%;padding:12px;background:none;border:none;color:var(--admin-text-primary);font-size:1rem;cursor:pointer;border-radius:6px;transition:all .2s ease}.logout-button:hover{background:var(--admin-hover);color:var(--admin-primary)}.logout-button svg{width:20px;height:20px}.admin-layout{display:flex;min-height:100vh;background-color:#f8fafc}.admin-content{flex:1;padding:20px;margin-left:125px;width:calc(100% - 125px);overflow-x:hidden}.admin-main{flex:1;margin-left:125px;min-height:100vh;background-color:#f8fafc}.content-container{padding:2rem;max-width:1400px;margin:0 auto}@media (max-width: 768px){.admin-content{margin-left:0;width:100%;padding:16px}}:root{--admin-sidebar-width: 280px;--admin-primary: #4f46e5;--admin-bg: #f3f4f6;--admin-card-bg: #ffffff;--admin-border: #e5e7eb;--admin-text-primary: #111827;--admin-text-secondary: #6b7280;--admin-spacing-sm: 12px;--admin-spacing-md: 16px;--admin-spacing-lg: 24px;--admin-spacing-xl: 32px}.admin-layout{display:flex;min-height:100vh;width:100%;background:var(--admin-bg);overflow-x:hidden}.admin-sidebar{width:var(--admin-sidebar-width);background:var(--admin-card-bg);border-right:1px solid var(--admin-border);padding:var(--admin-spacing-lg) 0;position:fixed;height:100vh;left:0;top:0;z-index:100;box-shadow:0 4px 6px -1px #0000001a;overflow-y:auto;display:flex;flex-direction:column}.sidebar-header{padding:0 var(--admin-spacing-lg);margin-bottom:var(--admin-spacing-lg);border-bottom:1px solid var(--admin-border);padding-bottom:var(--admin-spacing-lg)}.sidebar-header h2{font-size:1.5rem;font-weight:600;color:var(--admin-text-primary);margin:0;letter-spacing:-.025em}.sidebar-nav{padding:0 var(--admin-spacing-sm);display:flex;flex-direction:column;gap:var(--admin-spacing-sm);flex:1}.admin-nav-item{display:flex;align-items:center;padding:var(--admin-spacing-md);color:var(--admin-text-secondary);text-decoration:none;transition:all .2s ease;border-radius:12px;font-weight:500;margin:0 var(--admin-spacing-sm)}.admin-nav-item:hover{background:#f9fafb;color:var(--admin-primary);transform:translate(4px)}.admin-nav-item.active{background:#eef2ff;color:var(--admin-primary);font-weight:600}.admin-nav-icon{margin-right:12px;width:20px;height:20px}.admin-main{flex:1;margin-left:var(--admin-sidebar-width);padding:var(--admin-spacing-xl);width:calc(100% - var(--admin-sidebar-width));min-height:100vh;background:var(--admin-bg)}.dashboard-container{max-width:1400px;margin-left:0;width:100%}.dashboard-header{background:var(--admin-card-bg);padding:var(--admin-spacing-lg);border-radius:16px;margin-bottom:var(--admin-spacing-lg);box-shadow:0 1px 3px #0000001a}.header-content{display:flex;justify-content:space-between;align-items:center}.header-content h1{font-size:1.875rem;font-weight:600;color:var(--admin-text-primary);margin:0;letter-spacing:-.025em}.search-bar{display:flex;align-items:center;background:#f9fafb;border:1px solid var(--admin-border);border-radius:12px;padding:8px 16px;width:300px;transition:all .2s ease}.search-bar:focus-within{border-color:var(--admin-primary);box-shadow:0 0 0 3px #4f46e51a}.search-bar input{border:none;background:none;padding:0;margin-left:8px;font-size:.875rem;width:100%;color:var(--admin-text-primary)}.search-bar input:focus{outline:none}.search-icon{color:var(--admin-text-secondary);width:16px;height:16px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin-bottom:24px}.stat-card{background:var(--admin-card-bg);border-radius:16px;padding:24px;display:flex;align-items:flex-start;gap:16px;box-shadow:0 1px 3px #0000001a;transition:all .2s ease;border:1px solid var(--admin-border)}.stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 6px -1px #0000001a}.dashboard-grid{display:grid;grid-template-columns:1fr 360px;gap:24px}.main-section,.side-section{display:flex;flex-direction:column;gap:24px}.card{background:var(--admin-card-bg);border-radius:16px;padding:24px;box-shadow:0 1px 3px #0000001a;border:1px solid var(--admin-border)}.positive{color:#059669}.neutral{color:#4b5563}.negative{color:#dc2626}@media (max-width: 1400px){.dashboard-grid{grid-template-columns:1fr 320px}}@media (max-width: 1200px){.dashboard-grid{grid-template-columns:1fr}}@media (max-width: 768px){.admin-sidebar{width:100%;height:auto;position:relative;padding:var(--admin-spacing-md)}.admin-main{margin-left:0;width:100%;padding:var(--admin-spacing-md)}.dashboard-container{padding:16px}.dashboard-header{padding:16px;margin-bottom:16px}.header-content{flex-direction:column;gap:16px}.search-bar{width:100%}.stats-grid{grid-template-columns:1fr;gap:16px}.sidebar-nav{flex-direction:row;overflow-x:auto;padding:var(--admin-spacing-sm) 0}.admin-nav-item{white-space:nowrap;margin:0 var(--admin-spacing-sm)}.admin-nav-item:hover{transform:none}}.user-manager{width:100%;height:100%}.user-manager-content{background:var(--admin-card-bg);border-radius:16px;padding:24px;box-shadow:0 1px 3px #0000001a;border:1px solid var(--admin-border)}.user-table{width:100%;border-collapse:collapse;margin-top:16px}.user-table th,.user-table td{padding:12px 16px;text-align:left;border-bottom:1px solid var(--admin-border)}.user-table th{font-weight:600;color:var(--admin-text-secondary);background:#f9fafb}.user-cell{display:flex;align-items:center;gap:12px}.user-avatar{width:40px;height:40px;border-radius:50%;background:var(--admin-primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600}.user-info{display:flex;flex-direction:column}.user-name{font-weight:500;color:var(--admin-text-primary)}.user-email{font-size:.875rem;color:var(--admin-text-secondary)}.maintenance-dashboard{width:100%;height:100%}.maintenance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;margin-top:24px}.maintenance-task{display:flex;flex-direction:column;gap:16px}.task-header{display:flex;align-items:center;gap:12px}.task-icon{width:24px;height:24px;color:var(--admin-primary)}.task-description{color:var(--admin-text-secondary);font-size:.875rem;line-height:1.5}.task-status{display:flex;justify-content:space-between;align-items:center;font-size:.875rem}.status-label{color:var(--admin-text-secondary)}.status-value{color:var(--admin-text-primary)}.icon-spin{animation:spin 1s linear infinite}.priority-badge{padding:4px 8px;border-radius:9999px;font-size:.75rem;font-weight:500;text-transform:uppercase}.priority-badge.high{background:#fee2e2;color:#dc2626}.priority-badge.medium{background:#fef3c7;color:#d97706}.priority-badge.low{background:#dcfce7;color:#059669}.status-badge{padding:4px 8px;border-radius:9999px;font-size:.75rem;font-weight:500}.role-badge,.status-badge{padding:4px 12px;border-radius:9999px;font-size:.75rem;font-weight:500}.role-badge.admin{background:#dbeafe;color:#c2000e}.role-badge.moderator{background:#fef3c7;color:#d97706}.role-badge.user{background:#f3f4f6;color:#4b5563}.status-badge.active{background:#dcfce7;color:#059669}.status-badge.suspended{background:#fee2e2;color:#dc2626}.status-badge.inactive{background:#f3f4f6;color:#4b5563}.action-buttons{display:flex;gap:8px}.action-button{padding:6px;border-radius:6px;border:none;background:none;color:var(--admin-text-secondary);cursor:pointer;transition:all .2s}.action-button:hover{background:#f3f4f6;color:var(--admin-primary)}.action-button.delete:hover{background:#fee2e2;color:#dc2626}.loading{display:flex;align-items:center;justify-content:center;min-height:200px;color:var(--admin-text-secondary)}.loading-spinner{width:24px;height:24px;border:2px solid #f3f4f6;border-top-color:var(--admin-primary);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 1024px){.maintenance-grid{grid-template-columns:1fr}}@media (max-width: 768px){.user-manager-content,.tasks-section,.history-section,.archives-section{padding:16px}.user-table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}.action-buttons{flex-direction:column}}@media (max-width: 1024px){:root{--admin-spacing-lg: 20px;--admin-spacing-xl: 24px}.admin-main{padding:var(--admin-spacing-lg)}}@media (max-width: 768px){.admin-sidebar{width:100%;height:auto;position:relative;padding:var(--admin-spacing-md)}.sidebar-nav{flex-direction:row;overflow-x:auto;padding:var(--admin-spacing-sm) 0}.admin-nav-item{white-space:nowrap;margin:0 var(--admin-spacing-sm)}.admin-main{margin-left:0;width:100%;padding:var(--admin-spacing-md)}.dashboard-header{padding:var(--admin-spacing-md);margin-bottom:var(--admin-spacing-md)}}.primary-button{display:flex;align-items:center;gap:8px;padding:8px 16px;background:var(--admin-primary);color:#fff;border:none;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s}.primary-button:hover{background:#4338ca}.header-actions{display:flex;align-items:center;gap:16px}.user-table-container{overflow-x:auto;margin-top:16px}.user-table{width:100%;border-collapse:separate;border-spacing:0}.user-table th{background:#f9fafb;padding:12px 16px;font-weight:600;color:var(--admin-text-secondary);text-align:left;border-bottom:1px solid var(--admin-border)}.user-table td{padding:16px;border-bottom:1px solid var(--admin-border)}.user-table tr:hover{background:#f9fafb}@media (max-width: 768px){.header-actions{flex-direction:column;width:100%}.primary-button{width:100%;justify-content:center}.user-table-container{margin-top:8px}}.form-group{margin-bottom:16px}.form-group label{display:block;margin-bottom:8px;font-weight:500;color:var(--admin-text-primary)}.form-group input,.form-group select{width:100%;padding:8px 12px;border:1px solid var(--admin-border);border-radius:8px;font-size:.875rem;transition:all .2s}.form-group input:focus,.form-group select:focus{outline:none;border-color:var(--admin-primary);box-shadow:0 0 0 3px #4f46e51a}.secondary-button{padding:8px 16px;background:#f3f4f6;color:var(--admin-text-secondary);border:none;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s}.secondary-button:hover{background:#e5e7eb}.role-badge{padding:4px 12px;border-radius:9999px;font-size:.75rem;font-weight:500;text-transform:capitalize}.role-badge.Client{background:#dbeafe;color:#c2000e}.role-badge.Broker{background:#fef3c7;color:#d97706}.role-badge.Admin{background:#fce7f3;color:#db2777}.error-message{background:#fee2e2;color:#dc2626;padding:12px;border-radius:8px;margin-bottom:16px;font-size:.875rem}.form-group input[type=password]{font-family:monospace}.form-group label small{display:block;color:var(--admin-text-secondary);font-size:.75rem;margin-top:4px}.status-badge.not-started{background:#e5e7eb;color:#6b7280}.status-badge.pending{background:#f3f4f6;color:#4b5563}.status-badge.running{background:#dbeafe;color:#c2000e}.status-badge.success{background:#dcfce7;color:#059669}.status-badge.failed{background:#fee2e2;color:#dc2626}.dashboard-container{width:100%}.dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.dashboard-header h1{font-size:1.875rem;color:#111827;margin:0}.refresh-button{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background-color:#fff;border:1px solid #e5e7eb;border-radius:.5rem;color:#374151;cursor:pointer;transition:all .2s}.refresh-button:hover{background-color:#f9fafb;border-color:#d1d5db}.refresh-button svg{width:1.25rem;height:1.25rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{background-color:#fff;border-radius:.75rem;padding:1.5rem;display:flex;align-items:flex-start;gap:1rem;box-shadow:0 1px 3px #0000001a}.stat-icon{padding:.75rem;background-color:#f3f4f6;border-radius:.5rem;color:#1976d2}.stat-icon svg{width:1.5rem;height:1.5rem}.stat-content{flex:1}.stat-content h3{margin:0;font-size:.875rem;color:#6b7280}.stat-value{font-size:1.875rem;font-weight:600;color:#111827;margin:.5rem 0}.stat-details{display:flex;gap:1rem;font-size:.875rem;color:#6b7280}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:1.5rem}.dashboard-card{background-color:#fff;border-radius:.75rem;padding:1.5rem;box-shadow:0 1px 3px #0000001a}.dashboard-card h2{margin:0 0 1.5rem;font-size:1.25rem;color:#111827}.activity-list,.users-list{display:flex;flex-direction:column;gap:1rem}.activity-item{display:flex;align-items:center;gap:1rem;padding:.75rem;background-color:#f9fafb;border-radius:.5rem}.activity-status{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:.5rem}.activity-status.approved{background-color:#d1fae5;color:#065f46}.activity-status.rejected{background-color:#fee2e2;color:#991b1b}.activity-status.pending{background-color:#fef3c7;color:#92400e}.activity-details{flex:1;display:flex;flex-direction:column}.activity-title{font-weight:500;color:#111827}.activity-date{font-size:.875rem;color:#6b7280}.activity-amount{font-weight:500;color:#111827}.user-item{display:flex;align-items:center;gap:1rem;padding:.75rem;background-color:#f9fafb;border-radius:.5rem}.user-avatar{width:2.5rem;height:2.5rem;background-color:#1976d2;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:500}.user-details{flex:1;display:flex;flex-direction:column}.user-name{font-weight:500;color:#111827}.user-email,.user-joined{font-size:.875rem;color:#6b7280}.loading-state,.error-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:1rem;color:#6b7280}.loading-icon{animation:spin 1s linear infinite;width:2rem;height:2rem;color:#1976d2}.error-icon{width:2rem;height:2rem;color:#ef4444}.retry-button{padding:.5rem 1rem;background-color:#ef4444;color:#fff;border:none;border-radius:.375rem;cursor:pointer;transition:all .2s}.retry-button:hover{background-color:#dc2626}@media (max-width: 768px){.stats-grid,.dashboard-grid{grid-template-columns:1fr}}.activity-meta{display:flex;gap:8px;font-size:.875rem;color:#64748b}.activity-status-text{text-transform:capitalize;padding:2px 8px;border-radius:4px;font-size:.75rem;font-weight:500}.activity-status-text.pending{background:#fef3c7;color:#92400e}.activity-status-text.approved{background:#dcfce7;color:#166534}.activity-status-text.rejected{background:#fee2e2;color:#991b1b}.activity-status-text.inReview{background:#e0f2fe;color:#075985}.no-data{text-align:center;padding:24px;color:#64748b;font-style:italic}.register-card{max-width:500px}@media (min-width: 768px){.register-card form{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.register-card .form-group:nth-child(5),.register-card .login-button{grid-column:span 2}}.success-message{padding:12px;background:#dcfce7;color:#166534;border-radius:4px;margin-bottom:16px;display:flex;align-items:center;gap:8px}.back-to-login{display:flex;align-items:center;gap:8px;color:var(--admin-primary);text-decoration:none;font-size:.9rem;transition:color .2s ease}.back-to-login:hover{color:var(--admin-primary-dark);text-decoration:underline}.back-to-login svg{width:16px;height:16px}.security-container{padding:24px}.security-header{margin-bottom:24px}.security-header h1{font-size:1.5rem;color:var(--admin-text-primary);margin:0}.security-header p{color:var(--admin-text-secondary);margin:8px 0 0}.security-nav{display:flex;gap:12px;margin-bottom:24px;border-bottom:1px solid var(--admin-border);padding-bottom:12px}.nav-button{display:flex;align-items:center;gap:8px;padding:8px 16px;border:none;background:none;color:var(--admin-text-secondary);cursor:pointer;border-radius:6px;transition:all .2s ease}.nav-button:hover{background:var(--admin-hover)}.nav-button.active{background:var(--admin-primary);color:#fff}.security-section{margin-bottom:24px}.security-options{display:flex;flex-direction:column;gap:16px;margin-top:16px}.security-option{display:flex;gap:16px;padding:16px;border:1px solid var(--admin-border);border-radius:8px;transition:all .2s ease}.security-option:hover{background:var(--admin-hover)}.security-option svg{width:24px;height:24px;color:var(--admin-primary)}.security-option h4{margin:0 0 4px;color:var(--admin-text-primary)}.security-option p{margin:0;color:var(--admin-text-secondary);font-size:.875rem}.security-form{padding:16px}.form-group label{display:block;margin-bottom:8px;color:var(--admin-text-primary);font-weight:500}.form-group input[type=number],.form-group input[type=text]{width:100%;max-width:200px;padding:8px;border:1px solid var(--admin-border);border-radius:4px;font-size:14px}.checkbox-group{display:flex;flex-direction:column;gap:12px}.checkbox-group label{display:flex;align-items:center;gap:8px;font-weight:400;cursor:pointer}.checkbox-group input[type=checkbox]{width:16px;height:16px;cursor:pointer}.save-button{display:flex;align-items:center;gap:8px;padding:8px 16px;background:var(--admin-primary);color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:background .2s ease}.save-button:hover{background:var(--admin-primary-dark)}.save-button:disabled{background:var(--admin-disabled);cursor:not-allowed}.save-button svg{width:16px;height:16px}.security-section{display:flex;flex-direction:column;gap:24px}.auth-methods{display:flex;flex-direction:column;gap:16px}.auth-method{display:flex;gap:16px;padding:16px;border:1px solid var(--admin-border);border-radius:8px;background:var(--admin-card-bg)}.auth-method svg{width:24px;height:24px;color:var(--admin-primary)}.auth-method h4{margin:0 0 8px}.auth-method input{width:100%;max-width:200px;padding:8px;margin:8px 0;border:1px solid var(--admin-border);border-radius:4px}.secondary-button{background:var(--admin-secondary);color:var(--admin-text-primary);border:1px solid var(--admin-border);padding:6px 12px;border-radius:4px;cursor:pointer;font-size:14px;transition:all .2s ease}.secondary-button:hover{background:var(--admin-hover)}.error-message{display:flex;align-items:center;gap:8px;padding:12px;background:#fee2e2;color:#dc2626;border-radius:4px;margin-bottom:16px}.error-message svg{width:16px;height:16px;flex-shrink:0}#recaptcha-container,.auth-method input{margin:16px 0}.date-range-picker{display:flex;align-items:center;gap:12px}.date-input{flex:1}.date-input input{width:100%;padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;color:#1f2937;background-color:#fff}.date-input input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.date-separator{color:#6b7280;font-size:14px}@media (prefers-color-scheme: dark){.date-input input{background:#111827;border-color:#374151;color:#e5e7eb}.date-separator{color:#9ca3af}}@media (max-width: 640px){.date-range-picker{flex-direction:column;gap:8px}.date-input{width:100%}.date-separator{display:none}}.audit-logs{padding:24px;max-width:1400px;margin:0 auto}.audit-logs-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;background:white;padding:20px;border-radius:12px;box-shadow:0 1px 3px #0000000d}.audit-logs-header h1{font-size:24px;font-weight:600;color:#1f2937;margin:0}.audit-logs-actions{display:flex;gap:12px}.action-button{display:flex;align-items:center;gap:8px;padding:8px 16px;border-radius:8px;border:1px solid #e5e7eb;background:white;color:#4b5563;font-weight:500;transition:all .2s}.action-button:hover{background:#f9fafb;border-color:#d1d5db}.action-button svg{width:18px;height:18px}.audit-logs-filters{margin-bottom:24px;padding:24px;background:white;border-radius:12px;box-shadow:0 1px 3px #0000000d}.filters-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px}.filter-group{display:flex;flex-direction:column;gap:8px}.filter-group label{font-size:14px;font-weight:500;color:#4b5563}.search-input{position:relative;display:flex;align-items:center}.search-input svg{position:absolute;left:12px;color:#9ca3af;width:16px;height:16px}.search-input input{padding:10px 12px 10px 36px;width:100%;border:1px solid #e5e7eb;border-radius:8px;font-size:14px}.filter-group select{padding:10px 12px;border:1px solid #e5e7eb;border-radius:8px;font-size:14px;background:white;color:#1f2937}.audit-log-item{padding:20px;margin-bottom:16px;border-radius:12px;border:1px solid #e5e7eb;background:white;transition:all .2s}.audit-log-item:hover{box-shadow:0 4px 6px -1px #0000001a;transform:translateY(-1px)}.log-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.log-action{display:flex;align-items:center;gap:8px;font-weight:500;color:#1f2937}.log-action svg{width:20px;height:20px;color:#3b82f6}time{display:flex;align-items:center;gap:6px;font-size:14px;color:#6b7280}.log-details{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.log-actor{display:flex;align-items:center;gap:8px;font-size:14px;color:#4b5563}.log-metadata{display:flex;gap:16px;font-size:14px;color:#6b7280}.log-data{margin-top:12px;padding:12px;background:#f8fafc;border-radius:8px;font-size:13px;font-family:monospace;white-space:pre-wrap;color:#334155}.loading-state,.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px;background:white;border-radius:12px;border:1px solid #e5e7eb;color:#6b7280;gap:12px}.spinning{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.load-more-button{width:100%;padding:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;color:#475569;font-weight:500;cursor:pointer;transition:all .2s}.load-more-button:hover:not(:disabled){background:#f1f5f9;border-color:#cbd5e1}.load-more-button:disabled{opacity:.5;cursor:not-allowed}.error-message{display:flex;align-items:center;gap:8px;padding:12px;background:#fee2e2;border-radius:8px;color:#dc2626;margin-bottom:16px}.audit-log-item.error{border-color:#fecaca;background-color:#fef2f2}@media (prefers-color-scheme: dark){.audit-logs-header,.audit-logs-filters,.audit-log-item{background:#1f2937;border-color:#374151}.audit-logs-header h1{color:#f3f4f6}.action-button{background:#1f2937;border-color:#374151;color:#e5e7eb}.action-button:hover{background:#374151}.filter-group label{color:#9ca3af}.search-input input,.filter-group select{background:#111827;border-color:#374151;color:#e5e7eb}.log-action{color:#e5e7eb}.log-data{background:#111827;color:#e5e7eb}.log-actor,.log-metadata{color:#9ca3af}time{color:#9ca3af}}@media (max-width: 768px){.audit-logs{padding:16px}.audit-logs-header{flex-direction:column;align-items:flex-start;gap:16px}.audit-logs-actions{width:100%}.audit-logs-actions button{flex:1}.filters-grid{grid-template-columns:1fr}.log-details{flex-direction:column;align-items:flex-start;gap:8px}.log-metadata{flex-direction:column;gap:4px}}.not-found{display:flex;align-items:center;justify-content:center;min-height:100vh;background-color:#f9fafb;padding:24px}.not-found-content{text-align:center;max-width:400px}.not-found h1{font-size:6rem;font-weight:700;color:#c2000e;margin:0;line-height:1}.not-found h2{font-size:1.875rem;color:#1f2937;margin:16px 0}.not-found p{color:#6b7280;margin-bottom:24px}.back-link{display:inline-block;padding:12px 24px;background-color:#c2000e;color:#fff;text-decoration:none;border-radius:6px;font-weight:500;transition:background-color .2s}.back-link:hover{background-color:#c2000e}@media (max-width: 640px){.not-found h1{font-size:4rem}.not-found h2{font-size:1.5rem}}.blog-page{min-height:100vh;display:flex;flex-direction:column}.blog-intro{background-color:#f8fafc;padding:3rem 0;margin-top:90px;margin-bottom:4rem;border-bottom:1px solid #e2e8f0}.blog-intro h1{color:#1a365d;font-size:2.5rem;margin-bottom:1.5rem}.blog-intro p{color:#475569;font-size:1.1rem;line-height:1.7;max-width:800px}.container{max-width:1200px;margin:0 auto;padding:0 1.5rem;margin-bottom:5rem}.blog-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem}.blog-card{background-color:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000001a;transition:transform .2s ease,box-shadow .2s ease}.blog-card:hover{transform:translateY(-4px);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.blog-card-link{text-decoration:none;color:inherit}.blog-card-image{position:relative;padding-top:60%}.blog-card-image img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}.blog-card-content{padding:1.5rem}.blog-card-content h2{color:#1a365d;font-size:1.25rem;margin:0 0 1rem;line-height:1.4}.blog-card-content p{color:#64748b;font-size:.95rem;line-height:1.6;margin:0 0 1.5rem}.blog-card-meta{display:flex;gap:1rem;color:#94a3b8;font-size:.85rem}.blog-card-meta span{display:flex;align-items:center;gap:.25rem}@media (max-width: 1200px){.blog-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width: 900px){.blog-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.blog-intro{margin-top:70px;padding:2rem 0}.blog-grid{grid-template-columns:1fr}.blog-intro h1{font-size:2rem}}.blog-post{max-width:800px;margin:135px auto 4rem;background:white;border-radius:.5rem;box-shadow:0 1px 3px #0000001a;padding-top:2rem}.blog-featured-image{margin:0 0 2rem;height:400px;overflow:hidden;border-radius:.5rem}.blog-featured-image img{width:100%;height:100%;object-fit:cover}.blog-content{padding:0 2rem 2rem}.blog-title{font-size:2.5rem;color:#1a365d;margin-bottom:1rem}.blog-meta{display:flex;gap:2rem;color:#64748b;margin-bottom:2rem;font-size:.875rem}.blog-excerpt{font-size:1.125rem;color:#4a5568;margin-bottom:2rem;padding:1.5rem;background-color:#f8fafc;border-radius:.5rem;border-left:4px solid #4f46e5}.blog-body{font-size:1.1rem;line-height:1.8;color:#2d3748}.blog-heading{color:#1a365d;font-size:1.8rem;font-weight:700;margin:2.5rem 0 1.5rem}.blog-subheading{color:#2d3748;font-size:1.4rem;font-weight:600;margin:2rem 0 1rem}.blog-paragraph{margin-bottom:1.5rem;line-height:1.8}.back-button{position:absolute;top:145px;left:50%;transform:translate(-400px);display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background-color:#f8fafc;color:#4f46e5;border:1px solid #e2e8f0;border-radius:.375rem;font-size:.875rem;cursor:pointer;transition:all .2s ease}.back-button:hover{background-color:#4f46e5;color:#fff;border-color:#4f46e5}@media (max-width: 1024px){.back-button{left:2rem;transform:none}}@media (max-width: 768px){.back-button{top:90px;left:1rem}}@media (max-width: 768px){.blog-post{margin-top:100px;padding-top:1rem}.blog-title{font-size:2rem}.blog-featured-image{height:300px}.blog-meta{flex-direction:column;gap:.5rem}}.blog-cta{margin-top:4rem;padding:2.5rem;background:linear-gradient(to right,#f8fafc,#f1f5f9);border-radius:1rem;border:1px solid #e2e8f0}.blog-cta h2{color:#1a365d;font-size:1.8rem;margin-bottom:1rem;text-align:center}.blog-cta p{color:#475569;font-size:1.1rem;line-height:1.7;margin-bottom:2rem;text-align:center;max-width:800px;margin-left:auto;margin-right:auto}.cta-actions{display:flex;gap:1.5rem;justify-content:center;margin-bottom:2rem}.cta-button{display:flex;align-items:center;gap:.5rem;padding:.875rem 1.5rem;border-radius:.5rem;font-weight:500;transition:all .2s ease;text-decoration:none}.cta-button.phone{background-color:#4f46e5;color:#fff}.cta-button.message{background-color:#fff;color:#4f46e5;border:1px solid #4f46e5}.cta-button:hover{transform:translateY(-2px);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.cta-benefits{background-color:#fff;padding:1.5rem 2rem;border-radius:.5rem;margin:2rem 0}.cta-benefits ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.cta-benefits li{color:#475569;font-size:1rem;display:flex;align-items:center;gap:.5rem}.cta-link{display:flex;align-items:center;justify-content:center;gap:.5rem;color:#4f46e5;font-weight:500;text-decoration:none;margin-top:1.5rem;transition:gap .2s ease}.cta-link:hover{gap:.75rem}@media (max-width: 768px){.blog-cta{padding:1.5rem;margin-top:3rem}.blog-cta h2{font-size:1.5rem}.cta-actions{flex-direction:column}.cta-benefits ul{grid-template-columns:1fr}}.admin-layout{display:flex;min-height:100vh}.admin-content{flex:1;padding:2rem;background-color:#f8fafc;margin-left:150px}.blog-management{max-width:800px;margin:0 auto;padding:0 1rem}.blog-management h2{color:#1a365d;margin-bottom:2rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;color:#4a5568;font-weight:500}.form-group input,.form-group textarea{width:100%;padding:.75rem;border:1px solid #e2e8f0;border-radius:.375rem;font-size:1rem;transition:border-color .2s ease}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#c2000e;box-shadow:0 0 0 3px #2563eb1a}.image-preview{margin-top:1rem;border-radius:.375rem;overflow:hidden}.image-preview img{max-width:100%;height:auto}button{background-color:#c2000e;color:#fff;padding:.75rem 1.5rem;border:none;border-radius:.375rem;font-weight:500;cursor:pointer;transition:background-color .2s ease}button:hover{background-color:#c2000e}button:disabled{background-color:#93c5fd;cursor:not-allowed}.input-with-button{display:flex;gap:1rem;align-items:flex-start;margin-bottom:1rem}.input-with-button input,.input-with-button textarea{flex:1;min-height:38px}.generate-button{padding:.5rem 1rem;background-color:#4f46e5;color:#fff;border:none;border-radius:.375rem;font-size:.875rem;cursor:pointer;transition:all .2s ease;white-space:nowrap;height:38px;display:flex;align-items:center;justify-content:center;min-width:100px;margin-top:0}.generate-button:hover{background-color:#4338ca;transform:translateY(-1px)}.generate-button:disabled{background-color:#93c5fd;cursor:not-allowed;transform:none}.submit-button{margin-top:2rem;width:100%}.generate-button .loading-spinner{width:16px;height:16px;border:2px solid #ffffff;border-top:2px solid transparent}.published-posts{margin-top:4rem;padding-top:2rem;border-top:1px solid #e2e8f0}.published-posts h2{margin-bottom:1.5rem}.posts-table-container{overflow-x:auto}.posts-table{width:100%;border-collapse:collapse;background-color:#fff;border-radius:.5rem;overflow:hidden;box-shadow:0 1px 3px #0000001a}.posts-table th,.posts-table td{padding:1rem;text-align:left;border-bottom:1px solid #e2e8f0}.posts-table th{background-color:#f8fafc;font-weight:600;color:#1a365d}.posts-table tr:last-child td{border-bottom:none}.posts-table tbody tr:hover{background-color:#f8fafc}.action-buttons{display:flex;gap:.5rem}.action-button{padding:.25rem .75rem;border-radius:.375rem;font-size:.875rem;cursor:pointer;transition:all .2s ease}.action-button.edit{background-color:#3b82f6;color:#fff}.action-button.edit:hover{background-color:#c2000e}@media (max-width: 768px){.posts-table{font-size:.875rem}.posts-table th,.posts-table td{padding:.75rem}.action-button{padding:.25rem .5rem}}.blog-form-section{margin-bottom:4rem}.blog-list-section{padding-top:2rem;border-top:1px solid #e2e8f0}.blog-list-section h2{margin-bottom:2rem;color:#1a365d}.blog-grid{display:grid;gap:1.5rem}.blog-item{position:relative;padding:1.5rem;background:white;border-radius:.5rem;box-shadow:0 1px 3px #0000001a}.blog-item h3{color:#1a365d;margin-bottom:.5rem;font-size:1.1rem}.blog-meta{display:flex;justify-content:space-between;color:#64748b;font-size:.875rem;margin-bottom:1rem}.view-button{background-color:#3b82f6;color:#fff;padding:.5rem 1rem;border-radius:.375rem;font-size:.875rem;border:none;cursor:pointer;transition:background-color .2s ease}.view-button:hover{background-color:#c2000e}@media (max-width: 768px){.blog-grid{grid-template-columns:1fr}}.form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.form-header-actions{display:flex;gap:1rem}.preview-button,.close-preview-button{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background-color:#4f46e5;color:#fff;border:none;border-radius:.375rem;cursor:pointer;transition:all .2s ease}.preview-button:hover,.close-preview-button:hover{background-color:#4338ca}.preview-button:disabled{background-color:#93c5fd;cursor:not-allowed}.blog-preview{background:white;padding:2rem;border-radius:.5rem;box-shadow:0 1px 3px #0000001a}.preview-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1rem;border-bottom:1px solid #e2e8f0}.preview-featured-image{margin:-2rem -2rem 2rem;height:400px;overflow:hidden}.preview-featured-image img{width:100%;height:100%;object-fit:cover}.preview-title{font-size:2.5rem;color:#1a365d;margin-bottom:1rem}.preview-meta{display:flex;gap:2rem;color:#64748b;margin-bottom:2rem;font-size:.875rem}.preview-excerpt{font-size:1.125rem;color:#4a5568;margin-bottom:2rem;padding:1.5rem;background-color:#f8fafc;border-radius:.5rem;border-left:4px solid #4f46e5}.preview-content{font-size:1.1rem;line-height:1.8;color:#2d3748}.preview-content h2{font-size:1.8rem;color:#1a365d;margin:2rem 0 1rem;font-weight:700}.preview-content h3{font-size:1.4rem;color:#2d3748;margin:1.5rem 0 1rem;font-weight:600}.preview-content p{margin-bottom:1.5rem}.preview-paragraph{margin-bottom:1.5rem;line-height:1.8}.preview-heading{color:#1a365d;font-size:1.8rem;font-weight:700;margin:2.5rem 0 1.5rem}.preview-subheading{color:#2d3748;font-size:1.4rem;font-weight:600;margin:2rem 0 1rem}.preview-content>*:first-child{margin-top:0}.preview-content>*:last-child{margin-bottom:0}@media (max-width: 768px){.preview-title{font-size:2rem}.preview-featured-image{height:300px}.preview-meta{flex-direction:column;gap:.5rem}}.blog-actions{display:flex;gap:1rem;margin-top:1rem}.edit-button{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background-color:#4f46e5;color:#fff;border:none;border-radius:.375rem;font-size:.875rem;cursor:pointer;transition:all .2s ease}.edit-button:hover{background-color:#4338ca}.cancel-edit-button{padding:.5rem 1rem;background-color:#ef4444;color:#fff;border:none;border-radius:.375rem;font-size:.875rem;cursor:pointer;transition:all .2s ease}.cancel-edit-button:hover{background-color:#dc2626}.image-note{margin-top:.5rem;color:#64748b;font-size:.875rem;font-style:italic}body.modal-open{overflow:hidden}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.85);display:flex;justify-content:center;align-items:flex-start;z-index:1000;padding:40px;overflow:hidden}.modal-content{background:white;border-radius:24px;width:100%;max-width:1800px;position:relative;margin:auto;max-height:90vh;overflow-y:auto}.modal-close{position:fixed;top:24px;right:24px;background:rgba(255,255,255,.9);border:none;border-radius:50%;width:48px;height:48px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s;z-index:20;box-shadow:0 4px 12px #0000001a;color:#000}.modal-close:hover{transform:rotate(90deg);background:white;box-shadow:0 6px 16px #00000026;color:#000}.modal-body{display:flex;padding:24px;background:white;position:relative;width:100%;border:none;border-radius:0}.modal-gallery-section{flex:1.6;max-width:70%;background:#000;position:sticky;top:0;height:fit-content}.modal-image-container{height:600px;display:flex;flex-direction:column}.modal-image{position:relative;flex:1;overflow:hidden}.modal-image img{width:100%;height:100%;object-fit:cover}.image-nav{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.9);border:none;border-radius:50%;width:56px;height:56px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s;box-shadow:0 4px 12px #00000026;color:#000}.image-nav:hover{background:white;transform:translateY(-50%) scale(1.1);box-shadow:0 6px 16px #0003}.image-nav.prev{left:24px}.image-nav.next{right:24px}.image-thumbnails{display:flex;gap:12px;padding:16px;background:#000;overflow-x:auto}.thumbnail{flex:0 0 100px;height:70px;border-radius:8px;overflow:hidden;cursor:pointer;opacity:.6;transition:all .3s;border:2px solid transparent}.thumbnail:hover{opacity:.8}.thumbnail.active{opacity:1;border-color:#fff}.thumbnail img{width:100%;height:100%;object-fit:cover}.modal-details-section{flex:1;padding:40px 60px;background:#fff}.modal-header{position:sticky;top:0;background:white;padding:20px 0;margin-bottom:32px;z-index:10}.modal-header h2{font-size:32px;font-weight:700;color:#1a1a1a;margin-bottom:16px;line-height:1.2}.modal-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.modal-location{display:flex;align-items:center;gap:8px;color:#666;font-size:18px}.modal-price{font-size:32px;font-weight:700;color:#2563eb}.property-specs{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:24px;background:#f8fafc;border-radius:16px;margin-bottom:32px}.spec-item{display:flex;align-items:center;gap:12px}.spec-content{display:flex;flex-direction:column}.spec-label{font-size:14px;color:#666}.spec-value{font-size:20px;font-weight:600;color:#1a1a1a}.modal-description{margin-bottom:32px}.modal-description h3,.modal-features h3{font-size:24px;font-weight:600;color:#1a1a1a;margin-bottom:16px}.modal-description p{color:#4b5563;line-height:1.6;font-size:16px}.features-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;margin-bottom:32px}.modal-actions{display:flex;gap:16px;margin-top:32px}.contact-button,.schedule-button,.source-link{display:flex;align-items:center;gap:8px;padding:14px 24px;border-radius:12px;font-weight:600;font-size:16px;transition:all .3s;cursor:pointer}.contact-button{background:#2563eb;color:#fff;border:none;flex:1}.schedule-button{background:#f8fafc;color:#1a1a1a;border:1px solid #e5e7eb;flex:1}.source-link{background:#fff;color:#2563eb;border:1px solid #2563eb;text-decoration:none}.contact-button:hover{background:#1d4ed8}.schedule-button:hover{background:#f1f5f9}.source-link:hover{background:#eff6ff}@media (max-width: 1800px){.modal-content{max-width:1600px}}@media (max-width: 1600px){.modal-content{max-width:1400px}.modal-gallery-section{flex:1.4;max-width:65%}.modal-details-section{padding:40px}}@media (max-width: 1024px){.modal-body{flex-direction:column}.modal-gallery-section{position:relative;max-width:100%;margin-bottom:24px}.modal-image-container{height:400px}.modal-content{height:95vh}.modal-details-section{padding:24px}.property-specs{grid-template-columns:repeat(3,1fr)}}@media (max-width: 768px){.modal-overlay{padding:0}.modal-content{height:100vh;border-radius:0}.modal-close{top:16px;right:16px}.modal-image-container{height:300px}.property-specs{grid-template-columns:repeat(2,1fr);gap:16px}.modal-actions{flex-direction:column}.image-nav{width:40px;height:40px}.thumbnail{flex:0 0 80px;height:60px}}@media (max-width: 480px){.property-specs{grid-template-columns:1fr}.modal-header h2,.modal-price{font-size:24px}}.modal-content::-webkit-scrollbar{display:none}.modal-content{-ms-overflow-style:none;scrollbar-width:none}.modal-description-content{font-size:1rem;line-height:1.8;color:#475569}.modal-description-content p{margin-bottom:1em}.modal-description-content p:last-child{margin-bottom:0}.modal-description-content strong{font-weight:600;color:#1f2937}.modal-description-content br{display:block;content:"";margin-top:.5em}.modal-description-content h1,.modal-description-content h2,.modal-description-content h3{color:#1f2937;margin:1.5em 0 .5em;font-weight:600}.modal-description-content h1{font-size:1.5em}.modal-description-content h2{font-size:1.25em}.modal-description-content h3{font-size:1.125em}.modal-description-content ul,.modal-description-content ol{margin:1em 0;padding-left:1.5em}.modal-description-content li{margin-bottom:.5em}.modal-description-content a{color:#3b82f6;text-decoration:none}.modal-description-content a:hover{text-decoration:underline}.modal-description{margin:1rem 0;line-height:1.6;color:#4b5563}.modal-description p{margin-bottom:.75em}.modal-description p:last-child{margin-bottom:0}.modal-description strong{color:#1f2937;font-weight:600}.properties-container{max-width:1200px;margin:200px 100px 100px;padding:20px;background-color:#f8fafc;border-radius:16px;box-shadow:0 4px 6px #0000001a;min-height:calc(100vh - 210px)}#root{min-height:100vh;display:flex;flex-direction:column}.footer{margin-top:auto}@media (max-width: 768px){.properties-container{padding:100px 16px 40px}}.properties-header{text-align:center;margin-bottom:60px;padding:40px;background:linear-gradient(to right,#f8fafc,#f1f5f9);border-radius:16px}.properties-header h1{font-size:42px;color:#1e293b;margin-bottom:24px;font-weight:700}.properties-intro{max-width:800px;margin:0 auto}.properties-intro p{font-size:18px;line-height:1.6;color:#475569}.properties-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:30px}.property-card{background:white;border-radius:12px;overflow:hidden;box-shadow:0 4px 6px #0000001a;transition:transform .3s ease,box-shadow .3s ease;cursor:pointer}.property-card:hover{transform:translateY(-5px);box-shadow:0 8px 12px #00000026}.property-image-container{position:relative;width:100%;height:240px;overflow:hidden}.main-image{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.property-card:hover .main-image{transform:scale(1.05)}.image-count{position:absolute;bottom:10px;right:10px;background:rgba(0,0,0,.7);color:#fff;padding:4px 8px;border-radius:4px;font-size:14px}.property-info{padding:20px}.property-info h2{font-size:20px;margin:0 0 10px;color:#2d3748}.price{font-size:24px;font-weight:700;color:#2c5282;margin:0 0 8px}.location{color:#718096;margin:0 0 15px;font-size:16px}.property-details{display:flex;gap:20px;margin-bottom:15px;padding:10px;background:#f7fafc;border-radius:8px}.property-details span{display:flex;align-items:center;gap:5px;color:#4a5568;font-size:14px}.property-details i{color:#718096}.description{color:#4a5568;font-size:14px;line-height:1.5;margin-bottom:15px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.view-details{width:100%;padding:10px;background:#2c5282;color:#fff;border:none;border-radius:6px;font-size:16px;cursor:pointer;transition:background-color .3s ease}.view-details:hover{background:#2a4365}.loading,.error-message,.no-properties{text-align:center;padding:40px;font-size:18px;color:#4a5568}.error-message{color:#e53e3e;background:#fff5f5;border-radius:8px;padding:20px;margin:20px}.no-properties{background:#f7fafc;border-radius:8px;padding:40px;margin:20px}.property-image{position:relative;width:100%;height:250px;overflow:hidden}.property-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.property-image img[src*=placeholder]{object-fit:contain;padding:1rem;background:#f8fafc}.cta-section{margin-top:80px;padding:60px 40px;background:linear-gradient(135deg,#003399 0%,#0055cc 100%);border-radius:24px;text-align:center;color:#fff;box-shadow:0 20px 40px #00339926}.cta-content{max-width:700px;margin:0 auto}.cta-content h2{font-size:36px;font-weight:700;margin-bottom:20px;color:#fff}.cta-content p{font-size:18px;line-height:1.6;margin-bottom:32px;opacity:.9}.cta-button{display:inline-flex;align-items:center;gap:12px;background-color:#fff;color:#039;padding:16px 32px;border-radius:12px;font-size:18px;font-weight:600;text-decoration:none;transition:all .3s ease;box-shadow:0 4px 6px #0000001a}.cta-button:hover{transform:translateY(-2px);box-shadow:0 8px 12px #00000026;background-color:#f8fafc}.cta-button .arrow{font-size:24px;transition:transform .3s ease}.cta-button:hover .arrow{transform:translate(4px)}@media (max-width: 768px){.properties-header{padding:32px 20px;margin-bottom:40px}.properties-header h1{font-size:32px}.cta-section{margin-top:60px;padding:40px 20px}.cta-content h2{font-size:28px}.cta-button{padding:14px 28px;font-size:16px}}.property-editor{width:100%;max-width:1200px;margin:0 auto;padding:2rem;background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a}.property-form-container{margin-bottom:3rem;background:#f8fafc;padding:2rem;border-radius:12px;border:1px solid #e5e7eb}.property-form{display:flex;flex-direction:column;gap:1.5rem}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-bottom:24px}.form-group{display:flex;flex-direction:column}.form-group.full-width{grid-column:1 / -1}.form-group label{margin-bottom:8px;font-weight:500;color:#374151}.form-group input,.form-group select,.form-group textarea{padding:10px;border:1px solid #e5e7eb;border-radius:6px;font-size:14px;transition:border-color .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.form-group textarea{resize:vertical;min-height:120px}.selected-files{margin-top:8px;font-size:14px;color:#6b7280}.image-upload-container{border:2px dashed #e5e7eb;border-radius:6px;padding:20px;text-align:center;position:relative;cursor:pointer;transition:border-color .2s}.image-upload-container:hover{border-color:#3b82f6}.upload-placeholder{display:flex;flex-direction:column;align-items:center;gap:8px;color:#6b7280}.upload-placeholder svg{width:24px;height:24px}.image-upload{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.properties-grid{display:grid;gap:2rem}.properties-grid.grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.properties-grid.list{grid-template-columns:1fr}@media (max-width: 768px){.property-editor{padding:16px}.form-grid{grid-template-columns:1fr}}.form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}.preview-button,.submit-button{padding:10px 20px;border-radius:6px;font-weight:500;cursor:pointer;transition:all .2s}.preview-button{background:#f3f4f6;color:#374151;border:1px solid #e5e7eb}.preview-button:hover:not(:disabled){background:#e5e7eb}.submit-button{background:#3b82f6;color:#fff;border:none}.submit-button:hover:not(:disabled){background:#2563eb}button:disabled{opacity:.5;cursor:not-allowed}.property-card{background:white;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden;transition:transform .2s,box-shadow .2s}.property-card:hover{transform:translateY(-2px);box-shadow:0 4px 8px #00000026}.property-image{position:relative;height:200px}.property-image img{width:100%;height:100%;object-fit:cover}.property-status{position:absolute;top:12px;right:12px;padding:4px 8px;border-radius:4px;background:rgba(0,0,0,.7);color:#fff;font-size:12px;text-transform:capitalize}.property-info{padding:16px}.property-info h3{margin:0 0 8px;font-size:18px;color:#1f2937}.property-location{color:#6b7280;font-size:14px;margin-bottom:8px}.property-price{font-size:20px;font-weight:600;color:#3b82f6;margin-bottom:12px}.property-specs{display:flex;gap:16px;color:#6b7280;font-size:14px}.property-actions{padding:16px;border-top:1px solid #e5e7eb;display:flex;gap:8px}.edit-button,.delete-button{padding:8px 16px;border-radius:6px;display:flex;align-items:center;gap:4px;font-size:14px;cursor:pointer;transition:background-color .2s}.edit-button{background:#f3f4f6;color:#4b5563;border:1px solid #e5e7eb}.delete-button{background:#fee2e2;color:#dc2626;border:1px solid #fecaca}.edit-button:hover{background:#e5e7eb}.delete-button:hover{background:#fecaca}.loading-message,.no-properties{text-align:center;padding:40px;color:#6b7280}.no-properties p{margin:8px 0}.no-properties p:first-child{font-size:18px;font-weight:500;color:#374151}.properties-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.create-test-button{padding:8px 16px;background:#4b5563;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:14px;transition:background-color .2s}.create-test-button:hover{background:#374151}.MuiTableCell-root{white-space:nowrap}.MuiTableCell-root.description-cell{white-space:normal;max-width:300px}.form-group .quill{width:100%;margin-bottom:0}.form-group .ql-container{min-height:200px;font-size:14px}.form-group .ql-editor{min-height:200px;background:white}.form-group .ql-toolbar{border:1px solid #e5e7eb;background:#f8fafc;border-radius:6px 6px 0 0}.form-group .ql-container{border:1px solid #e5e7eb;border-top:none;border-radius:0 0 6px 6px}.property-preview-modal{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.85);display:flex;justify-content:center;align-items:flex-start;z-index:1000;padding:40px 20px;overflow-y:auto}.preview-content{background:white;border-radius:16px;width:100%;max-width:1600px;position:relative;padding:40px 60px;margin:auto}.close-preview{position:absolute;top:24px;right:24px;background:rgba(0,0,0,.1);border:none;border-radius:50%;width:48px;height:48px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;z-index:10}.close-preview:hover{background:rgba(0,0,0,.2);transform:rotate(90deg)}.preview-title{font-size:32px;font-weight:700;color:#1f2937;margin-bottom:32px;padding-right:60px}.preview-gallery{margin-bottom:32px}.main-preview-image{position:relative;width:100%;height:800px;border-radius:16px;overflow:hidden;margin-bottom:16px}.main-preview-image img{width:100%;height:100%;object-fit:cover}.nav-button{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.95);border:none;border-radius:50%;width:56px;height:56px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s;box-shadow:0 4px 12px #00000026}.nav-button:hover{background:white;transform:translateY(-50%) scale(1.1);box-shadow:0 6px 16px #0003}.nav-button.prev{left:24px}.nav-button.next{right:24px}.preview-thumbnails{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px;padding:0 24px}.thumbnail-wrapper{position:relative;aspect-ratio:1;border-radius:12px;overflow:hidden;cursor:pointer;border:3px solid transparent;transition:all .2s}.thumbnail-wrapper img{width:100%;height:100%;object-fit:cover}.thumbnail-wrapper:hover{transform:translateY(-2px)}.thumbnail-wrapper.active{border-color:#3b82f6}.preview-quick-info{display:flex;justify-content:space-between;align-items:center;margin:32px 0;padding:24px;background:#f8fafc;border-radius:16px}.preview-price-status{display:flex;align-items:center;gap:20px}.preview-price{font-size:36px;font-weight:800;color:#3b82f6}.preview-status{padding:8px 16px;border-radius:8px;font-size:16px;font-weight:600;text-transform:capitalize}.preview-status.available{background:#dcfce7;color:#166534}.preview-status.pending{background:#fef3c7;color:#92400e}.preview-status.sold{background:#fee2e2;color:#991b1b}.preview-location{font-size:20px;color:#4b5563;font-weight:500}.preview-specs{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:24px;padding:24px;background:#f8fafc;border-radius:12px}.spec-item{display:flex;flex-direction:column;gap:4px}.spec-label{font-size:14px;color:#6b7280}.spec-value{font-size:18px;font-weight:600;color:#1f2937}.preview-description{margin-top:32px}.preview-description h2{font-size:20px;font-weight:600;color:#1f2937;margin-bottom:16px}.preview-description p{color:#4b5563;line-height:1.6}.read-more-button{background:none;border:none;color:#3b82f6;font-weight:500;cursor:pointer;padding:8px 0}.preview-features{margin-top:32px}.preview-features h2{font-size:20px;font-weight:600;color:#1f2937;margin-bottom:16px}.features-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}.feature-item{padding:12px 16px;background:#f8fafc;border-radius:8px;color:#4b5563;font-size:14px}.preview-actions{margin-top:32px;display:flex;justify-content:flex-end;gap:16px}.cancel-button,.publish-button{padding:12px 24px;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s}.cancel-button{background:#f3f4f6;color:#4b5563;border:1px solid #e5e7eb}.publish-button{background:#3b82f6;color:#fff;border:none}.cancel-button:hover{background:#e5e7eb}.publish-button:hover{background:#2563eb}@media (max-width: 1800px){.preview-content{max-width:1400px;padding:40px 50px}.main-preview-image{height:700px}}@media (max-width: 1400px){.preview-content{max-width:1200px;padding:40px}.main-preview-image{height:600px}.preview-thumbnails{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}}@media (max-width: 768px){.property-preview-modal{padding:0}.preview-content{padding:24px;border-radius:0;min-height:100vh}.main-preview-image{height:300px}.nav-button{width:40px;height:40px}.preview-quick-info{flex-direction:column;align-items:flex-start;gap:16px}.preview-thumbnails{padding:0;grid-template-columns:repeat(auto-fill,minmax(80px,1fr))}}.image-uploader{display:flex;flex-direction:column;gap:16px}.upload-area{position:relative;border:2px dashed #e5e7eb;border-radius:8px;padding:32px;text-align:center;cursor:pointer;transition:all .2s ease}.upload-area:hover,.upload-area.drag-active{border-color:#3b82f6;background-color:#f8fafc}.upload-area.drag-active .upload-prompt{color:#3b82f6}.upload-prompt p{margin:8px 0}.upload-area.drag-active:after{content:attr(data-file-count);position:absolute;top:8px;right:8px;background:#3b82f6;color:#fff;padding:2px 8px;border-radius:12px;font-size:12px;font-weight:500}.file-input{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-prompt{display:flex;flex-direction:column;align-items:center;gap:8px;color:#6b7280}.upload-note{font-size:12px;color:#9ca3af}.image-preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px;margin-top:16px;background:#f9fafb;padding:16px;border-radius:8px;border:1px solid #e5e7eb}.image-preview{position:relative;border-radius:8px;overflow:hidden;aspect-ratio:1;cursor:move;border:2px solid transparent;transition:all .2s ease}.image-preview.main-image{grid-column:span 2;grid-row:span 2}.image-preview img{width:100%;height:100%;object-fit:cover}.remove-image{position:absolute;top:8px;right:8px;background:rgba(255,255,255,.9);border:none;border-radius:50%;width:28px;height:28px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#ef4444;transition:all .2s;z-index:10;padding:0}.remove-image:hover{background:#ef4444;color:#fff;transform:scale(1.1)}.remove-image svg{width:16px;height:16px;stroke-width:2.5}.main-image-badge{position:absolute;bottom:8px;left:8px;background:rgba(59,130,246,.9);color:#fff;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500}.upload-progress{position:absolute;bottom:0;left:0;right:0;background:rgba(0,0,0,.7);padding:8px;display:flex;align-items:center;gap:8px}.progress-bar{height:4px;background:#3b82f6;border-radius:2px;transition:width .3s ease}.progress-text{color:#fff;font-size:12px;font-weight:500;min-width:40px;text-align:right}.upload-complete{position:absolute;top:8px;left:8px;background:rgba(16,185,129,.9);color:#fff;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;animation:fadeIn .3s ease}.image-preview:hover,.image-preview.uploading{border-color:#3b82f6}@keyframes fadeIn{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@media (max-width: 768px){.image-preview.main-image{grid-column:span 1;grid-row:span 1}}/*!
* Quill Editor v1.3.7
* https://quilljs.com/
* Copyright (c) 2014, Jason Chen
* Copyright (c) 2013, salesforce.com
*/.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"•"}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"☑"}.ql-editor ul[data-checked=false]>li:before{content:"☐"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media (pointer: coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:#0003 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0px}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0px;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}.get-started-container{padding:0 20px;margin:0 auto 40px;max-width:1200px}.get-started-content{display:flex;flex-direction:column;gap:60px}.get-started-text{text-align:center}.get-started-text h1{font-size:42px;color:#2d3748;margin-bottom:16px}.subtitle{font-size:20px;color:#fff;margin-bottom:40px}.benefits-section{margin:40px 0;padding:30px;background:#f7fafc;border-radius:12px}.benefits-section h2{color:#2d3748;margin-bottom:20px}.benefits-section ul{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.benefits-section li{padding:15px;background:white;border-radius:8px;box-shadow:0 2px 4px #0000000d;display:flex;align-items:center;color:#4a5568}.benefits-section li:before{content:"✓";color:#48bb78;margin-right:10px;font-weight:700}.process-section{margin:40px 0}.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:30px;margin-top:30px}.step{text-align:center;padding:20px;background:white;border-radius:12px;box-shadow:0 4px 6px #0000000d}.step-number{display:inline-block;width:40px;height:40px;background:#2c5282;color:#fff;border-radius:50%;line-height:40px;margin-bottom:15px}.registration-section{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;background:white;border-radius:12px;box-shadow:0 4px 20px #0000001a;padding:40px}.image-container{display:flex;justify-content:center;align-items:center}.hero-image{max-width:100%;height:auto;border-radius:8px}.registration-form{padding:20px}.registration-form h2{color:#2d3748;margin-bottom:10px}.registration-form p{color:#4a5568;margin-bottom:30px}.name-row{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:20px}.form-group{margin-bottom:20px}.form-group input,.form-group select{width:100%;padding:12px;border:1px solid #e2e8f0;border-radius:6px;font-size:16px;height:48px;line-height:1.5}.form-group.checkbox{display:flex;align-items:flex-start;gap:12px;margin-bottom:20px}.form-group.checkbox label{font-size:14px;line-height:1.5;display:inline-block;margin-top:2px}.form-group.checkbox label a{color:#2c5282;text-decoration:none}.form-group.checkbox label a:hover{text-decoration:underline}.register-button{width:30%;padding:14px;background:#2c5282;color:#fff;border:none;border-radius:6px;font-size:16px;cursor:pointer;transition:background-color .3s ease;margin:0 auto;display:block}.register-button:hover{background:#2a4365}.login-link{text-align:center;margin-top:20px}.login-link a{color:#2c5282;text-decoration:none}.hero-banner{position:relative;width:100%;height:60vh;min-height:400px;overflow:hidden;margin-top:80px}.hero-banner-image{width:100%;height:100%;object-fit:cover}.hero-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.4)}.hero-content{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;color:#fff;width:90%;max-width:800px;z-index:2}.hero-content h1{font-size:3.5rem;margin-bottom:1rem}.hero-content .subtitle{font-size:1.5rem}.registration-image{max-width:100%;height:auto;border-radius:8px}@media (max-width: 768px){.registration-section{grid-template-columns:1fr}.get-started-container{padding:20px}.get-started-text h1{font-size:32px}.subtitle{font-size:18px}.benefits-section ul,.steps{grid-template-columns:1fr}.hero-banner{height:50vh}.hero-content h1{font-size:2.5rem}.hero-content .subtitle{font-size:1.2rem}.name-row{grid-template-columns:1fr;gap:20px}}.error-message{background-color:#fee2e2;color:#dc2626;padding:12px;border-radius:6px;margin-bottom:20px;text-align:center}.register-button:disabled{background-color:#94a3b8;cursor:not-allowed}.terms-container{max-width:1000px;margin:80px auto;padding:0 20px}.terms-container h1{color:#1f2937;font-size:2.5rem;margin-bottom:2rem;text-align:center}.terms-content{background:white;padding:2rem;border-radius:12px;box-shadow:0 2px 4px #0000000d}.terms-content section{margin-bottom:2rem}.terms-content h2{color:#c2000e;font-size:1.5rem;margin-bottom:1rem}.terms-content p{color:#4b5563;line-height:1.6;margin-bottom:1rem}.terms-content ul{list-style-type:disc;margin-left:1.5rem;margin-bottom:1rem}.terms-content li{color:#4b5563;line-height:1.6;margin-bottom:.5rem}.contact-info{background:#f8fafc;padding:1.5rem;border-radius:8px;margin-top:1rem}.contact-info p{margin-bottom:.5rem}@media (max-width: 768px){.terms-container{margin:60px auto}.terms-container h1{font-size:2rem}.terms-content{padding:1.5rem}}@tailwind base;@tailwind components;@tailwind utilities;@layer base{html{font-family:Inter,system-ui,sans-serif}body{@apply bg-gray-50;}}@layer components{.input-field{@apply w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all duration-200;}.btn-primary{@apply bg-blue-600 text-white px-6 py-3 rounded-lg hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 transition-all duration-200;}.card{@apply bg-white rounded-xl shadow-soft;}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{min-height:100vh}
