:root{--primary: #2563eb;--primary-hover: #1d4ed8;--primary-light: #eff6ff;--primary-border: #bfdbfe;--bg: #f1f5f9;--card-bg: #ffffff;--sidebar-bg: #ffffff;--header-bg: #ffffff;--text: #0f172a;--text-muted: #64748b;--border: #e2e8f0;--border-subtle: #f8fafc;--success: #10b981;--error: #ef4444;--warning: #f59e0b;--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif}*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-family);background-color:var(--bg);color:var(--text);line-height:1.5;min-height:100vh;-webkit-font-smoothing:antialiased}code{background:#eff6ff;padding:2px 6px;border-radius:4px;font-size:.86em;color:#1d4ed8;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;border:1px solid #dbeafe}.admin-layout{display:flex;min-height:100vh;background-color:var(--bg);width:100%}.admin-sidebar{width:260px;background:linear-gradient(180deg,#1e3a8a,#1e40af);border-right:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;transition:width .25s cubic-bezier(.4,0,.2,1);flex-shrink:0;position:sticky;top:0;height:100vh;z-index:30;box-shadow:2px 0 12px #0f172a26}.admin-sidebar.collapsed{width:0;overflow:hidden;border-right:none}.sidebar-brand{height:68px;padding:0 20px;display:flex;align-items:center;gap:12px;border-bottom:1px solid rgba(255,255,255,.12);background:#0000001f}.brand-logo{width:38px;height:38px;border-radius:10px;background:#fff;color:#1e3a8a;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 10px #0003;flex-shrink:0}.brand-text h2{font-size:1.15rem;font-weight:700;color:#fff;line-height:1.2}.brand-tag{font-size:.72rem;font-weight:600;color:#93c5fd;text-transform:uppercase;letter-spacing:.04em}.sidebar-menu{flex:1;padding:20px 14px;overflow-y:auto;display:flex;flex-direction:column;gap:6px}.menu-group-label{font-size:.72rem;font-weight:700;color:#93c5fd;text-transform:uppercase;letter-spacing:.08em;padding:8px 10px 4px}.sidebar-nav-item{display:flex;align-items:center;gap:12px;width:100%;padding:11px 14px;border-radius:8px;border:none;background:transparent;color:#e2e8f0;font-size:.92rem;font-weight:500;cursor:pointer;transition:all .15s ease;text-decoration:none;text-align:left}.sidebar-nav-item:hover{background-color:#ffffff1f;color:#fff}.sidebar-nav-item.active{background-color:#fff;color:#1e3a8a;font-weight:700;box-shadow:0 4px 14px #0000002e}.sidebar-nav-item.active .nav-label{color:#1e3a8a;font-weight:700}.sidebar-nav-item .nav-icon{font-size:1.15rem;display:flex;align-items:center}.sidebar-nav-item.link-item{color:#bfdbfe}.sidebar-nav-item.link-item:hover{background-color:#ffffff26;color:#fff}.sidebar-footer{padding:16px;border-top:1px solid rgba(255,255,255,.12);background:#00000026}.sidebar-user-card{display:flex;align-items:center;gap:10px}.user-avatar-circle{width:36px;height:36px;border-radius:50%;background:#dbeafe;color:#1d4ed8;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem}.user-info-min{display:flex;flex-direction:column;overflow:hidden}.sidebar-user-name{font-size:.88rem;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user-role{font-size:.75rem;color:#64748b;text-transform:capitalize}.admin-main{flex:1;display:flex;flex-direction:column;min-width:0;min-height:100vh}.admin-top-header{height:68px;background-color:var(--header-bg);border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;padding:0 28px;position:sticky;top:0;z-index:20;box-shadow:0 1px 3px #0000000a}.header-left{display:flex;align-items:center;gap:16px}.sidebar-toggle-btn{background:transparent;border:1px solid var(--border);border-radius:8px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;color:#475569;cursor:pointer;transition:all .2s}.sidebar-toggle-btn:hover{background:#f1f5f9;color:var(--primary)}.header-breadcrumbs{display:flex;align-items:center;gap:8px;font-size:.95rem}.breadcrumb-root{color:#64748b}.breadcrumb-separator{color:#cbd5e1}.breadcrumb-current{font-weight:600;color:#1e3a8a}.header-right{display:flex;align-items:center;gap:16px}.db-indicator-pill{display:inline-flex;align-items:center;gap:8px;background:#f0fdf4;border:1px solid #bbf7d0;padding:6px 12px;border-radius:9999px;font-size:.82rem;color:#166534}.db-status-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.db-status-dot.connected{background:#22c55e;box-shadow:0 0 6px #22c55e}.db-status-dot.disconnected{background:#ef4444;box-shadow:0 0 6px #ef4444}.header-profile-btn{display:flex;align-items:center;gap:10px;padding:5px 14px;background:#f8fafc;border:1px solid var(--border);border-radius:9999px;cursor:pointer;transition:all .2s ease;text-align:left}.header-profile-btn:hover{background:#eff6ff;border-color:#bfdbfe;box-shadow:0 2px 8px #2563eb1f}.header-profile-btn.active{background:#eff6ff;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb33}.user-avatar-circle.small{width:28px;height:28px;font-size:.75rem;border-radius:50%;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}.header-user-text{display:flex;flex-direction:column}.header-user-fullname{font-size:.86rem;font-weight:600;color:#1e293b;line-height:1.2}.header-profile-sublink{font-size:.73rem;font-weight:600;color:#2563eb;letter-spacing:.01em}.admin-container{flex:1;padding:20px 24px;background-color:var(--bg);width:100%;box-sizing:border-box}.container-inner{width:100%;max-width:100%;margin:0;box-sizing:border-box}.page-content,.accounts-page-container{width:100%;box-sizing:border-box}.admin-footer{padding:16px 24px;background:#fff;border-top:1px solid var(--border);font-size:.86rem;color:#64748b}.footer-content{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}.footer-content a{color:var(--primary);text-decoration:none;font-weight:500}.footer-content a:hover{text-decoration:underline}.card{background:var(--card-bg);border:1px solid var(--border);border-radius:16px;padding:36px 40px;box-shadow:0 4px 6px -1px #0000000a,0 2px 4px -2px #00000008}.card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:16px;padding-bottom:18px;border-bottom:1px solid #f1f5f9}.card-header h2,.card-header h3{font-size:1.55rem;font-weight:700;color:#1e3a8a;letter-spacing:-.015em}.subtitle{color:var(--text-muted);font-size:.96rem;margin-top:4px}.status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:24px}.status-item{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:28px;display:flex;flex-direction:column;justify-content:space-between;min-height:220px;transition:all .2s ease;box-shadow:0 1px 3px #00000005}.status-item:hover{border-color:#93c5fd;box-shadow:0 10px 25px -5px #2563eb14;transform:translateY(-2px)}.status-item-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.status-badge-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.5rem}.status-badge-icon.blue{background:#eff6ff;border:1px solid #dbeafe}.status-badge-icon.emerald{background:#ecfdf5;border:1px solid #a7f3d0}.status-badge-icon.sky{background:#f0f9ff;border:1px solid #bae6fd}.status-indicator-wrapper{display:flex;align-items:center;gap:12px;margin:10px 0 6px}.status-dot{width:12px;height:12px;border-radius:50%;display:inline-block;flex-shrink:0}.dot-green{background:#10b981;box-shadow:0 0 10px #10b98199}.dot-red{background:#ef4444;box-shadow:0 0 10px #ef444499}.dot-blue{background:#2563eb;box-shadow:0 0 10px #2563eb99}.status-title{font-weight:700;font-size:1.22rem;color:#0f172a}.status-detail{font-size:.98rem;color:#475569;line-height:1.6;margin-top:6px}.status-footer-meta{margin-top:20px;padding-top:14px;border-top:1px dashed #e2e8f0;font-size:.88rem;color:#64748b}.btn-refresh{padding:10px 20px;font-size:.92rem;border-radius:8px}.btn-swagger{margin-top:20px;padding:13px 20px;background:#2563eb;color:#fff;width:100%;font-size:1rem;font-weight:600;border-radius:8px;box-shadow:0 4px 12px #2563eb40}.btn-swagger:hover{background:#1d4ed8;box-shadow:0 6px 16px #2563eb59}.btn{display:inline-flex;align-items:center;justify-content:center;padding:9px 18px;border-radius:8px;font-weight:600;font-size:.88rem;cursor:pointer;border:1px solid transparent;transition:all .2s ease;text-decoration:none}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background:#2563eb;color:#fff;box-shadow:0 2px 4px #2563eb33}.btn-primary:hover:not(:disabled){background:#1d4ed8;box-shadow:0 4px 8px #2563eb4d}.btn-secondary{background:#fff;border-color:#cbd5e1;color:#334155}.btn-secondary:hover:not(:disabled){background:#f8fafc;border-color:#94a3b8}.btn-swagger{margin-top:12px;background:#0284c7;color:#fff;width:100%}.btn-swagger:hover{background:#0369a1}.btn-outline-danger{background:transparent;border-color:#fca5a5;color:#dc2626}.btn-outline-danger:hover{background:#fef2f2;border-color:#ef4444}.btn-danger-sm{background:#fef2f2;color:#dc2626;border:1px solid #fecaca;padding:4px 10px;border-radius:6px;cursor:pointer;font-size:.8rem;font-weight:600}.btn-danger-sm:hover{background:#dc2626;color:#fff}.btn-success-sm{background:#f0fdf4;color:#166534;border:1px solid #bbf7d0;padding:4px 10px;border-radius:6px;cursor:pointer;font-size:.8rem;font-weight:600}.btn-success-sm:hover{background:#16a34a;color:#fff}.btn-sm{padding:6px 12px;font-size:.82rem}.table-responsive{overflow-x:auto}.user-table{width:100%;border-collapse:collapse;text-align:left;font-size:.92rem}.user-table th{padding:12px 14px;background:#f8fafc;border-bottom:2px solid #e2e8f0;color:#475569;font-weight:600;font-size:.78rem;text-transform:uppercase;letter-spacing:.05em}.user-table td{padding:14px;border-bottom:1px solid #f1f5f9;color:#1e293b}.user-table tr:hover td{background-color:#f8fafc}.row-inactive td{background-color:#fff1f2!important;opacity:.75}.badge-id{color:#64748b;font-family:monospace}.status-pill{display:inline-flex;align-items:center;padding:3px 10px;border-radius:9999px;font-size:.78rem;font-weight:600}.pill-green{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}.pill-red{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.pill-blue{background:#eff6ff;color:#1e40af;border:1px solid #bfdbfe}.roles-pill-group{display:flex;flex-wrap:wrap;gap:6px}.badge-role{font-size:.75rem;padding:2px 8px;border-radius:9999px;font-weight:600;text-transform:uppercase}.role-admin{background:#ede9fe;color:#6d28d9;border:1px solid #ddd6fe}.role-manager{background:#fef3c7;color:#92400e;border:1px solid #fde68a}.role-staff{background:#eff6ff;color:#1e40af;border:1px solid #bfdbfe}.role-user{background:#f1f5f9;color:#334155;border:1px solid #cbd5e1}.date-cell{font-size:.82rem;color:#64748b}.action-buttons-cell{display:flex;gap:6px}.grid-3-col{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:24px}.feature-highlight-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:28px;display:flex;flex-direction:column;justify-content:space-between;min-height:250px;transition:all .2s ease;box-shadow:0 1px 3px #00000005}.feature-highlight-card:hover{border-color:#93c5fd;box-shadow:0 10px 25px -5px #2563eb14;transform:translateY(-2px)}.feature-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.feature-icon{width:50px;height:50px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.55rem}.feature-icon.blue{background:#eff6ff;border:1px solid #dbeafe}.feature-icon.indigo{background:#e0e7ff;border:1px solid #c7d2fe}.feature-icon.cyan{background:#ecfeff;border:1px solid #a5f3fc}.feature-highlight-card h4{font-size:1.25rem;font-weight:700;color:#1e3a8a;margin-bottom:8px}.feature-highlight-card .subtitle{font-size:.98rem;color:#475569;line-height:1.65}.feature-card-footer{margin-top:20px;padding-top:16px;border-top:1px dashed #e2e8f0;display:flex;align-items:center;gap:10px}.feature-meta-tag{background:#f8fafc;border:1px solid #cbd5e1;color:#334155;font-size:.8rem;font-weight:600;padding:3px 10px;border-radius:6px}.user-form{display:flex;flex-direction:column;gap:16px}.form-group{display:flex;flex-direction:column;gap:6px}.form-group label{font-size:.88rem;font-weight:500;color:#334155}.form-group input,.form-group select{background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:10px 14px;color:#0f172a;font-size:.95rem;outline:none;transition:all .2s}.form-group input:focus,.form-group select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.grid-2-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;justify-content:center;align-items:center;z-index:1000;padding:20px}.modal-content{width:100%;max-width:560px;max-height:90vh;overflow-y:auto;background:#fff;border:1px solid #cbd5e1;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.role-checkboxes{display:flex;flex-direction:column;gap:10px;background:#f8fafc;border:1px solid #e2e8f0;padding:14px;border-radius:8px}.role-checkbox-label{display:flex;align-items:center;gap:8px;cursor:pointer;color:#1e293b}.role-name-text{text-transform:capitalize}.btn-close{background:none;border:none;font-size:1.2rem;color:#64748b;cursor:pointer}.btn-close:hover{color:#0f172a}.alert{padding:12px 16px;border-radius:8px;font-size:.9rem;display:flex;justify-content:space-between;align-items:center}.alert-error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}.alert-success{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534}.alert-info{background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af}.alert-warning{background:#fffbeb;border:1px solid #fde68a;color:#92400e}.json-details{font-family:monospace;font-size:.76rem;background:#f8fafc;border:1px solid #e2e8f0;padding:6px 8px;border-radius:6px;max-width:320px;overflow-x:auto;white-space:pre-wrap;color:#334155}.profile-details-list{display:flex;flex-direction:column;gap:14px;margin-top:16px}.profile-field{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;border-bottom:1px solid #f1f5f9}.field-label{color:#64748b;font-size:.88rem}.permissions-cloud{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}.perm-tag{background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;font-family:monospace;font-size:.78rem;padding:3px 8px;border-radius:6px}.access-denied-card{text-align:center;padding:48px 24px;background:#fff}.access-denied-icon{font-size:3rem;margin-bottom:12px}.loading-screen{display:flex;flex-direction:column;justify-content:center;align-items:center;height:100vh;gap:16px;color:#1e3a8a;background-color:var(--bg)}.spinner{width:40px;height:40px;border:4px solid #dbeafe;border-top-color:var(--primary);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.auth-viewport{min-height:100vh;width:100%;display:flex;justify-content:center;align-items:center;padding:32px 16px;background:radial-gradient(circle at 15% 20%,#1e3a8a,#0f172a,#020617)}.modern-login-wrapper{width:100%;max-width:620px;background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 25px 60px -12px #00000073,0 0 0 1px #ffffff1a;margin:auto}.brand-gov-tag{display:inline-flex;align-items:center;gap:8px;padding:5px 12px;border-radius:20px;font-size:.72rem;font-weight:700;letter-spacing:.5px;text-transform:uppercase;width:fit-content}.login-form-panel{width:100%;background:#fff;padding:46px 48px;display:flex;flex-direction:column}.login-form-header{margin-bottom:24px}.login-shield-badge{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;background:linear-gradient(135deg,#1e3a8a,#2563eb);border-radius:12px;color:#fff;margin-bottom:14px;box-shadow:0 8px 16px -4px #2563eb59}.login-title{font-size:1.65rem;font-weight:800;color:#0f172a;margin:0 0 6px}.login-subtitle{font-size:.88rem;color:#64748b;margin:0}.input-with-icon{position:relative;display:flex;align-items:center}.input-icon-left{position:absolute;left:14px;color:#94a3b8;display:flex;align-items:center;pointer-events:none}.input-field-padded{width:100%;padding:12px 14px 12px 42px!important;font-size:.95rem;border:1px solid #cbd5e1;border-radius:8px;outline:none;transition:all .2s ease}.input-field-padded:focus{border-color:#2563eb!important;box-shadow:0 0 0 3px #2563eb26!important}.password-toggle-btn{position:absolute;right:12px;background:none;border:none;cursor:pointer;color:#64748b;padding:4px;font-size:1.05rem;display:flex;align-items:center;justify-content:center;transition:color .2s}.password-toggle-btn:hover{color:#1e3a8a}.login-submit-btn{width:100%;padding:13px 20px;background:linear-gradient(135deg,#1d4ed8,#2563eb);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:700;cursor:pointer;box-shadow:0 4px 12px #2563eb40;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:8px}.login-submit-btn:hover:not(:disabled){background:linear-gradient(135deg,#1e40af,#1d4ed8);box-shadow:0 6px 16px #2563eb59;transform:translateY(-1px)}.login-submit-btn:disabled{opacity:.7;cursor:not-allowed}.quick-fill-card{margin-top:22px;padding:12px 16px;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:12px}.quick-fill-btn{background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;font-weight:600;font-size:.8rem;padding:6px 14px;border-radius:6px;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;gap:6px}.quick-fill-btn:hover{background:#dbeafe;border-color:#93c5fd}.login-security-notice{margin-top:24px;padding-top:16px;border-top:1px solid #f1f5f9;text-align:center;font-size:.74rem;color:#94a3b8;line-height:1.45}@media(max-width:680px){.modern-login-wrapper{max-width:100%;border-radius:14px;margin:10px}.login-form-panel{padding:32px 22px}}.auth-card-container{width:100%;display:flex;justify-content:center;align-items:center}.auth-card{width:100%;max-width:540px;padding:44px 40px;border-radius:16px;background:#fff;border:1px solid #dbeafe;box-shadow:0 20px 40px -10px #2563eb1f,0 1px 3px #0000000d}.auth-logo-badge{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;background:linear-gradient(135deg,#2563eb,#1d4ed8);border-radius:14px;margin-bottom:16px;box-shadow:0 8px 16px -4px #2563eb59;color:#fff}.auth-header{margin-bottom:28px;text-align:center}.auth-header h2{font-size:2rem;font-weight:700;color:#1e3a8a;margin-bottom:6px}.auth-header .subtitle{font-size:.94rem;color:#64748b}.auth-form{display:flex;flex-direction:column;gap:18px}.auth-form .form-group{display:flex;flex-direction:column;gap:6px}.auth-form .form-group label{font-size:.9rem;font-weight:600;color:#334155}.auth-form .form-group input,.auth-form .form-group select{padding:12px 14px;font-size:.98rem;border-radius:8px;background:#fff;border:1px solid #cbd5e1;color:#0f172a;transition:all .2s ease}.auth-form .form-group input:focus,.auth-form .form-group select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26;outline:none}.auth-form .btn-primary{padding:13px 20px;font-size:1.02rem;font-weight:600;border-radius:8px;margin-top:4px}.btn-block{width:100%}.form-label-row{display:flex;justify-content:space-between;align-items:center}.btn-link{background:none;border:none;color:#2563eb;font-size:.85rem;cursor:pointer;padding:0;text-decoration:underline;font-weight:500}.btn-link:hover{color:#1d4ed8}.demo-accounts-box{margin-top:24px;padding-top:18px;border-top:1px solid #e2e8f0;display:flex;flex-direction:column;gap:10px}.demo-label{font-size:.78rem;color:#64748b;text-transform:uppercase;letter-spacing:.05em;font-weight:600}.demo-buttons{display:flex;gap:10px}.demo-buttons .btn{flex:1;padding:9px 12px;font-size:.85rem;font-weight:500;border-radius:8px}.dev-token-box{background:#f8fafc;border:1px dashed #2563eb;border-radius:8px;padding:14px;margin-bottom:18px}.token-code{display:block;word-break:break-all;margin:8px 0;padding:8px 10px;background:#eff6ff;border-radius:4px;font-size:.82rem;color:#1e40af}.badge-tag{background:#2563eb;color:#fff;font-size:.7rem;padding:2px 6px;border-radius:4px;font-weight:600;text-transform:uppercase}.filter-controls-grid{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.search-box-wrapper{position:relative;display:flex;align-items:center;min-width:320px;flex:1}.search-icon{position:absolute;left:12px;font-size:.95rem;color:#94a3b8;pointer-events:none}.search-input{width:100%;padding:10px 36px 10px 38px;border:1px solid #cbd5e1;border-radius:8px;font-size:.92rem;color:#0f172a;outline:none;background:#fff;transition:all .2s ease}.search-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.clear-search-btn{position:absolute;right:10px;background:transparent;border:none;color:#94a3b8;cursor:pointer;padding:2px 6px;font-size:.85rem;border-radius:50%}.clear-search-btn:hover{color:#0f172a;background:#f1f5f9}.filter-chips-group{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.filter-chip{padding:8px 14px;background:#f8fafc;border:1px solid #e2e8f0;color:#475569;border-radius:20px;font-size:.84rem;font-weight:600;cursor:pointer;transition:all .15s ease}.filter-chip:hover{background:#eff6ff;border-color:#bfdbfe;color:#1e40af}.filter-chip.active{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;border-color:#2563eb;box-shadow:0 2px 6px #2563eb40}.type-select{padding:9px 14px;border:1px solid #cbd5e1;border-radius:8px;font-size:.88rem;color:#0f172a;background:#fff;outline:none;cursor:pointer}.account-cell-title{display:flex;flex-direction:column;gap:2px}.account-link-btn{background:transparent;border:none;color:#1d4ed8;font-weight:700;font-size:.96rem;text-align:left;cursor:pointer;padding:0;display:inline-block;transition:color .15s ease}.account-link-btn:hover{color:#2563eb;text-decoration:underline}.account-website-sublink{font-size:.78rem;color:#64748b;text-decoration:none;display:inline-block}.account-website-sublink:hover{color:#2563eb;text-decoration:underline}.account-country-text{font-weight:500;color:#334155}.supplier-rating-cell{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.rating-pill{background:#fefce8;border:1px solid #fef08a;color:#854d0e;font-size:.78rem;font-weight:700;padding:2px 8px;border-radius:9999px;display:inline-flex;align-items:center}.rating-pill.large{font-size:.95rem;padding:4px 12px}.contact-count-badge{background:#f1f5f9;border:1px solid #e2e8f0;color:#334155;font-size:.78rem;font-weight:600;padding:3px 8px;border-radius:12px}.owner-cell{font-size:.88rem;color:#334155;font-weight:500}.pagination-bar{display:flex;justify-content:space-between;align-items:center;margin-top:24px;padding-top:18px;border-top:1px solid #f1f5f9;flex-wrap:wrap;gap:16px}.pagination-info{font-size:.88rem;color:#64748b}.pagination-actions{display:flex;align-items:center;gap:16px}.page-size-picker{display:flex;align-items:center;gap:6px;font-size:.85rem;color:#64748b}.page-size-picker select{padding:4px 8px;border:1px solid #cbd5e1;border-radius:6px;font-size:.85rem;background:#fff}.pagination-nav-btns{display:flex;align-items:center;gap:10px}.page-current-indicator{font-size:.85rem;font-weight:600;color:#334155}.modal-detail-drawer{max-width:820px;width:100%}.detail-header-left h2{font-size:1.55rem;font-weight:700;color:#1e3a8a}.detail-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;background:#f8fafc;padding:16px 20px;border-radius:10px;border:1px solid #e2e8f0;margin-bottom:20px}.summary-item label{font-size:.74rem;text-transform:uppercase;font-weight:700;color:#64748b;display:block;margin-bottom:2px}.summary-item span,.summary-item a{font-size:.92rem;font-weight:600;color:#0f172a}.summary-item a{color:#2563eb;text-decoration:none}.summary-item a:hover{text-decoration:underline}.detail-section-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;margin-bottom:20px}.detail-section-card h3{font-size:1.08rem;font-weight:700;color:#1e3a8a}.address-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:14px}.address-box h4{font-size:.88rem;font-weight:700;color:#334155;margin-bottom:6px;text-transform:uppercase;letter-spacing:.04em}.address-box p{font-size:.88rem;color:#475569;line-height:1.4}.supplier-panel-header{display:flex;justify-content:space-between;align-items:center}.detail-field label{font-size:.74rem;text-transform:uppercase;font-weight:700;color:#64748b;display:block;margin-bottom:3px}.detail-field span{font-size:.92rem;font-weight:600;color:#0f172a}.commercial-restricted-box{background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;padding:16px}.restricted-header{display:flex;justify-content:space-between;align-items:center}.restricted-header h4{font-size:.9rem;font-weight:700;color:#1e40af}.contacts-section-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}.contacts-header-actions{display:flex;gap:8px}.contact-role-select{padding:4px 8px;border:1px solid #cbd5e1;border-radius:6px;font-size:.82rem;background:#fff;color:#1e293b;font-weight:500}.form-section-title{padding:12px 0 6px;border-bottom:1px solid #e2e8f0;margin-bottom:14px}.form-section-title h4{font-size:.95rem;font-weight:700;color:#1e3a8a;text-transform:uppercase;letter-spacing:.04em}.form-textarea{width:100%;padding:10px 14px;border:1px solid #cbd5e1;border-radius:8px;font-size:.92rem;font-family:inherit;color:#0f172a;outline:none;resize:vertical}.form-textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.address-form-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:14px}.supplier-toggle-banner{background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;padding:12px 16px;display:flex;flex-direction:column;gap:4px}.field-error-text{color:#dc2626;font-size:.78rem;font-weight:600;margin-top:2px}.field-restricted-hint{color:#94a3b8;font-size:.74rem;font-style:italic;margin-top:2px}.pill-gray{background:#f1f5f9;color:#475569;border:1px solid #cbd5e1}.crm-account-form-viewport{width:100%}.crm-form-breadcrumb-row{display:flex;align-items:center;gap:8px;font-size:1.05rem;font-weight:500;margin-bottom:12px}.crm-gold-square{display:inline-block;width:11px;height:11px;background-color:#f59e0b;border-radius:2px;flex-shrink:0}.crm-breadcrumb-link{background:transparent;border:none;color:#2563eb;font-size:1.05rem;font-weight:500;cursor:pointer;padding:0}.crm-breadcrumb-link:hover{text-decoration:underline}.crm-breadcrumb-separator{color:#94a3b8;font-size:.95rem}.crm-breadcrumb-current{color:#1e293b;font-weight:600;font-size:1.05rem}.crm-action-bar{display:flex;align-items:center;gap:6px;margin-bottom:18px}.crm-btn{font-size:.88rem;font-weight:500;padding:6px 16px;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:all .15s ease}.crm-btn-save{background:#2563eb;color:#fff;border:1px solid #1d4ed8}.crm-btn-save:hover:not(:disabled){background:#1d4ed8}.crm-btn-cancel{background:#fff;color:#334155;border:1px solid #cbd5e1}.crm-btn-cancel:hover{background:#f8fafc;border-color:#94a3b8}.crm-btn-more{background:#fff;color:#64748b;border:1px solid #cbd5e1;padding:6px 10px;letter-spacing:.1em}.crm-btn-more:hover{background:#f8fafc;color:#1e293b}.crm-form-two-column-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(250px,1fr);gap:20px;align-items:start}.crm-card{background:#fff;border:1px solid #e2e8f0;border-radius:6px;box-shadow:0 1px 2px #00000005;overflow:hidden}.crm-card-title{padding:12px 18px;font-size:.9rem;font-weight:700;color:#1e293b;border-bottom:1px solid #f1f5f9;background:#fff}.crm-card-content{padding:18px 20px}.crm-row-2col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.crm-row-3col{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px}.crm-field{display:flex;flex-direction:column;gap:4px;width:100%}.crm-label{font-size:.82rem;font-weight:500;color:#64748b}.crm-req-star{color:#ef4444;font-weight:700}.crm-input,.crm-select,.crm-textarea{width:100%;border:1px solid #cbd5e1;border-radius:4px;padding:6px 10px;font-size:.88rem;color:#0f172a;background:#fff;outline:none;transition:all .15s ease;font-family:inherit}.crm-input:focus,.crm-select:focus,.crm-textarea:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb26}.input-error{border-color:#ef4444!important;background-color:#fef2f2!important}.crm-error-msg{color:#dc2626;font-size:.74rem;margin-top:2px}.crm-input-with-icons{position:relative;display:flex;align-items:center;width:100%}.crm-input-inner-icons{position:absolute;right:8px;display:flex;gap:4px;opacity:.35;pointer-events:none;font-size:.8rem}.crm-phone-compound{display:flex;width:100%}.crm-phone-type-select{border:1px solid #cbd5e1;border-right:none;border-radius:4px 0 0 4px;background:#f8fafc;color:#334155;font-size:.84rem;padding:6px 8px;outline:none;cursor:pointer;flex-shrink:0;width:90px}.crm-phone-input{border-radius:0 4px 4px 0!important}.crm-add-btn{width:24px;height:24px;border:1px solid #cbd5e1;background:#fff;color:#475569;border-radius:3px;font-size:.95rem;cursor:pointer;display:flex;align-items:center;justify-content:center;margin-top:6px;transition:all .15s ease}.crm-add-btn:hover{background:#f1f5f9;border-color:#94a3b8;color:#0f172a}.crm-extra-row{display:flex;gap:6px;align-items:center}.crm-remove-btn{background:transparent;border:1px solid #fecaca;color:#dc2626;border-radius:3px;padding:2px 6px;cursor:pointer;font-size:.75rem}.crm-remove-btn:hover{background:#fee2e2}.crm-address-compound{display:flex;flex-direction:column;gap:6px}.crm-address-header{display:flex;justify-content:space-between;align-items:center}.crm-address-box{display:flex;flex-direction:column;gap:6px}.crm-address-triplet{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}.crm-copy-btn{background:transparent;border:none;color:#2563eb;font-size:.74rem;font-weight:600;cursor:pointer;padding:0}.crm-copy-btn:hover{text-decoration:underline}.crm-select-box-wrapper{position:relative;display:flex;align-items:center;width:100%}.crm-clear-select-btn{position:absolute;right:24px;background:transparent;border:none;color:#94a3b8;cursor:pointer;font-size:.78rem;padding:2px 4px}.crm-clear-select-btn:hover{color:#ef4444}.crm-supplier-checkbox-label{font-size:.8rem;font-weight:600;color:#2563eb;display:flex;align-items:center;gap:6px;cursor:pointer}.crm-detail-val{font-size:.92rem;font-weight:600;color:#0f172a;padding:4px 0}.crm-detail-address-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:4px;padding:10px 12px;font-size:.86rem;color:#475569;line-height:1.45}@media(max-width:900px){.crm-form-two-column-grid{grid-template-columns:1fr}}@media(max-width:900px){.admin-sidebar{position:fixed;height:100vh;left:0;top:0;box-shadow:4px 0 20px #0000001a}.admin-sidebar.collapsed{left:-260px;width:260px}}@media print{@page{margin:12mm 15mm}html,body{background:#fff!important;color:#000!important;font-size:11pt!important;overflow:visible!important;width:100%!important;margin:0!important;padding:0!important}.portal-header,.crm-form-breadcrumb-row,.crm-action-bar,.modal-actions,.btn,.btn-icon,button,.spinner,.admin-sidebar,.hide-on-print{display:none!important}.modal-backdrop{position:static!important;background:transparent!important;padding:0!important;margin:0!important;display:block!important;width:100%!important;height:auto!important}.modal-content{position:static!important;box-shadow:none!important;border:none!important;max-width:100%!important;width:100%!important;max-height:none!important;overflow:visible!important;padding:0!important;margin:0!important;transform:none!important}.table-responsive{overflow:visible!important;width:100%!important}table.user-table{width:100%!important;border-collapse:collapse!important;table-layout:auto!important}table.user-table th,table.user-table td{border:1px solid #cbd5e1!important;padding:6px 10px!important;font-size:9.5pt!important;page-break-inside:avoid!important}*{overflow:visible!important;box-shadow:none!important}::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}}
