.auth-card{width:100%;max-width:480px;background:#fff;border-radius:16px;box-shadow:0 10px 30px #00000014;overflow:hidden;border:1px solid #e2e8f0;margin:0 auto}.auth-header{padding:2.5rem 2rem 1.5rem;text-align:center;background:linear-gradient(135deg,#1e40af,#3b82f6);color:#fff;position:relative}.auth-header:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#10b981,#3b82f6,#8b5cf6)}.logo{display:flex;align-items:center;justify-content:center;gap:.75rem;margin-bottom:1rem}.logo-icon{font-size:2rem;line-height:1}.auth-header h1{margin:0;font-size:1.75rem;font-weight:700;letter-spacing:-.5px}.auth-header h2{margin:.5rem 0 .75rem;font-size:1.25rem;font-weight:500;opacity:.95}.auth-subtitle{margin:0;opacity:.85;font-size:.95rem;font-weight:400;color:#cbd5e1}.auth-form{padding:2rem}.form-group{margin-bottom:1.5rem}.form-group label{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem;font-weight:600;color:#1e293b;font-size:.95rem}.form-input{width:100%;padding:1rem;border:1.5px solid #cbd5e1;border-radius:10px;font-size:1rem;transition:all .2s;background:#f8fafc;color:#1e293b;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-input:hover{border-color:#94a3b8}.form-input:focus{outline:none;border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f61a}.form-input:disabled{opacity:.5;cursor:not-allowed;background:#f1f5f9}.textarea{resize:vertical;min-height:80px;font-family:inherit;line-height:1.5}.password-toggle{position:absolute;right:1rem;top:50%;transform:translateY(-50%);background:none;border:none;color:#64748b;cursor:pointer;padding:.5rem;display:flex;align-items:center;justify-content:center;transition:all .2s;border-radius:6px;background:#f1f5f9;-webkit-tap-highlight-color:transparent}.password-toggle:hover{color:#3b82f6;background:#e0f2fe}.password-toggle:active{transform:translateY(-50%) scale(.95)}.password-toggle:disabled{opacity:.6;cursor:not-allowed}.alert{padding:1rem;border-radius:10px;margin-bottom:1.5rem;display:flex;align-items:flex-start;gap:.75rem;font-size:.95rem;animation:slideIn .3s ease}.alert-error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626}.alert-success{background:#f0fdf4;border:1px solid #bbf7d0;color:#16a34a}.alert svg{flex-shrink:0;margin-top:.125rem}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.form-options{display:flex;justify-content:space-between;align-items:center;margin:1.5rem 0 2rem;flex-wrap:wrap;gap:1rem}.checkbox{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.9rem;color:#475569;-webkit-tap-highlight-color:transparent}.checkbox input[type=checkbox]{width:1.125rem;height:1.125rem;border-radius:4px;border:2px solid #cbd5e1;cursor:pointer;transition:all .2s;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;position:relative}.forgot-password{font-size:.9rem;color:#3b82f6;text-decoration:none;font-weight:500;transition:color .2s}.forgot-password:hover{color:#1d4ed8;text-decoration:underline}.btn{display:inline-flex;align-items:center;justify-content:center;padding:1rem 1.5rem;border:none;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;gap:.5rem;-webkit-tap-highlight-color:transparent;touch-action:manipulation;min-height:44px}.btn-primary{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-1px);box-shadow:0 4px 12px #2563eb33}.btn-primary:active:not(:disabled){transform:translateY(0)}.btn-primary:disabled{opacity:.6;cursor:not-allowed;transform:none!important}.btn-secondary{background:#f1f5f9;color:#475569;border:1px solid #cbd5e1}.btn-secondary:hover:not(:disabled){background:#e2e8f0;border-color:#94a3b8}.btn-secondary:active:not(:disabled){transform:scale(.98)}.spinner{width:1.25rem;height:1.25rem;border:2px solid rgba(255,255,255,.3);border-radius:50%;border-top-color:#fff;animation:spin 1s linear infinite}.spinner.small{width:1rem;height:1rem;border-width:2px}.demo-login-section{margin-top:2rem;padding-top:2rem;border-top:1px solid #e2e8f0}.auth-footer{padding:1.5rem 2rem 2rem;background:#f8fafc;border-top:1px solid #e2e8f0}.text-center{text-align:center;color:#64748b;font-size:.9rem;margin-bottom:.5rem}.text-link{color:#3b82f6;text-decoration:none;font-weight:600;background:none;border:none;cursor:pointer;font-size:inherit;padding:0}.text-link:hover{text-decoration:underline}.version-info{text-align:center;margin-top:1rem;font-size:.8rem;color:#64748b;display:flex;flex-direction:column;gap:.25rem}.version{color:#94a3b8;font-size:.75rem}.logo-container{display:flex;flex-direction:column;align-items:center;margin-bottom:1.5rem;text-align:center}.round-logo{width:80px;height:80px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;margin-bottom:1rem;box-shadow:0 4px 12px #0000001a;border:3px solid rgba(255,255,255,.2);overflow:hidden;position:relative}.logo-image{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.logo-fallback{display:none;align-items:center;justify-content:center;width:100%;height:100%;background:#3b82f6;border-radius:50%}.logo-fallback .logo-icon{color:#fff;font-size:1.8rem;font-weight:700}.logo-text{text-align:center}.logo-title{color:#fff;font-size:1.8rem;font-weight:700;margin:0;letter-spacing:-.5px}.logo-subtitle{color:#ffffffe6;font-size:.9rem;margin:.25rem 0 0;font-weight:500}.auth-title{color:#1e293b;font-size:1.5rem;font-weight:600;margin:1rem 0 .5rem}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);animation:fadeIn .2s ease}.modal-container{background:#fff;border-radius:16px;width:100%;max-width:480px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 40px #00000026;animation:slideUp .3s ease}.modal-header{padding:1.5rem;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#1e40af,#3b82f6);color:#fff;position:sticky;top:0;z-index:10}.modal-header h3{margin:0;font-size:1.25rem;font-weight:600}.modal-close{background:#ffffff1a;border:none;border-radius:8px;color:#fff;cursor:pointer;padding:.5rem;display:flex;align-items:center;justify-content:center;transition:all .2s;-webkit-tap-highlight-color:transparent}.modal-close:hover{background:#fff3}.modal-close:active{transform:scale(.95)}.modal-content{padding:1.5rem}.modal-description{color:#64748b;font-size:.95rem;line-height:1.5;margin:0 0 1.5rem}.modal-actions{display:flex;gap:1rem;margin-top:2rem;flex-wrap:wrap}.modal-actions .btn{flex:1;min-width:120px}@media (max-width: 640px){.auth-card{max-width:100%;border-radius:12px;box-shadow:0 4px 16px #0000001a}.auth-header{padding:2rem 1.5rem 1.25rem}.auth-form{padding:1.5rem}.round-logo{width:70px;height:70px;margin-bottom:.75rem}.logo-title{font-size:1.5rem}.auth-title{font-size:1.3rem;margin:.75rem 0 .5rem}.auth-subtitle{font-size:.9rem}.form-input{padding:.875rem;font-size:.95rem}.btn{padding:.875rem 1.25rem;font-size:.95rem;min-height:48px}.form-options{flex-direction:column;align-items:flex-start;gap:1rem}.checkbox,.forgot-password{font-size:.875rem}.auth-footer{padding:1.25rem 1.5rem 1.5rem}.version-info{font-size:.75rem}.modal-container{border-radius:12px;max-height:85vh}.modal-header{padding:1.25rem}.modal-header h3{font-size:1.125rem}.modal-content{padding:1.25rem}.modal-description{font-size:.9rem}.modal-actions{flex-direction:column;gap:.75rem}.modal-actions .btn{width:100%}}@media (max-width: 360px){.auth-header{padding:1.5rem 1rem 1rem}.auth-form{padding:1rem}.round-logo{width:60px;height:60px}.logo-title{font-size:1.25rem}.auth-title{font-size:1.125rem}.auth-subtitle{font-size:.85rem}.form-input{padding:.75rem;font-size:.9rem}.btn{padding:.75rem 1rem;min-height:44px}.modal-header,.modal-content{padding:1rem}}@media (min-width: 641px){.modal-overlay{padding:2rem}}@media (prefers-color-scheme: dark){.auth-card{background:#1e293b;border-color:#334155}.form-input{background:#0f172a;border-color:#475569;color:#e2e8f0}.form-input:focus{background:#0f172a}.form-group label{color:#e2e8f0}.auth-footer{background:#0f172a;border-color:#334155}.text-center{color:#cbd5e1}.version-info{color:#94a3b8}.modal-container{background:#1e293b;color:#e2e8f0}.modal-header{border-color:#334155}.modal-description{color:#cbd5e1}.btn-secondary{background:#334155;color:#e2e8f0;border-color:#475569}.btn-secondary:hover:not(:disabled){background:#475569}.checkbox{color:#cbd5e1}.checkbox input[type=checkbox]{background:#334155;border-color:#475569}}@media (prefers-reduced-motion: reduce){.btn,.form-input,.password-toggle,.alert,.modal-overlay,.modal-container{transition:none;animation:none}}.btn:focus-visible,.form-input:focus-visible,.password-toggle:focus-visible,.modal-close:focus-visible,.checkbox input[type=checkbox]:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}@media screen and (max-width: 768px){input,select,textarea{font-size:16px}}.loading-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#fffffff2;display:flex;align-items:center;justify-content:center;z-index:9999;flex-direction:column;gap:1rem;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.loading-overlay p{color:#475569;font-size:1.1rem;font-weight:500}@media (prefers-contrast: high){.auth-card,.form-input,.btn-primary{border:2px solid #000}.alert{border:2px solid currentColor}.modal-header{border-bottom:2px solid #000}}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f8fafc,#e2e8f0);padding:1rem;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.auth-card{width:100%;max-width:440px;background:#fff;border-radius:20px;box-shadow:0 20px 60px #00000014;overflow:hidden;border:1px solid rgba(255,255,255,.2);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);margin:0 auto;transform:translateY(0);transition:transform .3s ease,box-shadow .3s ease}.auth-card:hover{transform:translateY(-2px);box-shadow:0 25px 80px #0000001f}.auth-header{padding:2.5rem 2rem 1.5rem;text-align:center;background:linear-gradient(135deg,#1e40af,#3b82f6);color:#fff;position:relative;overflow:hidden}.auth-header:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#10b981,#3b82f6,#8b5cf6);z-index:1}.auth-header:after{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(255,255,255,.1) 1px,transparent 1px);background-size:20px 20px;opacity:.1;animation:float 20s linear infinite}@keyframes float{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.logo-container{display:flex;flex-direction:column;align-items:center;margin-bottom:1.5rem;text-align:center;position:relative;z-index:2}.round-logo{width:90px;height:90px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;margin-bottom:1.25rem;box-shadow:0 8px 32px #00000026;border:4px solid rgba(255,255,255,.3);overflow:hidden;position:relative;transition:transform .3s ease}.round-logo:hover{transform:scale(1.05)}.logo-title{color:#fff;font-size:1.9rem;font-weight:800;margin:0;letter-spacing:-.5px;text-shadow:0 2px 4px rgba(0,0,0,.2)}.logo-subtitle{color:#fffffff2;font-size:.95rem;margin:.25rem 0 0;font-weight:500;letter-spacing:.5px}.auth-title{color:#fff;font-size:1.6rem;font-weight:700;margin:1.25rem 0 .75rem;position:relative;z-index:2}.auth-subtitle{margin:0;opacity:.9;font-size:.95rem;font-weight:400;color:#ffffffe6;position:relative;z-index:2}.auth-form{padding:2.5rem 2rem;background:#fff}.form-group{margin-bottom:1.75rem}.form-group label{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem;font-weight:600;color:#1e293b;font-size:.95rem;letter-spacing:-.2px}.form-input{width:100%;padding:1.125rem 1.25rem;border:2px solid #e2e8f0;border-radius:12px;font-size:1rem;transition:all .3s cubic-bezier(.4,0,.2,1);background:#f8fafc;color:#1e293b;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit}.form-input:hover{border-color:#cbd5e1;background:#f1f5f9}.form-input:focus{outline:none;border-color:#3b82f6;background:#fff;box-shadow:0 0 0 4px #3b82f626;transform:translateY(-1px)}.form-input:disabled{opacity:.6;cursor:not-allowed;background:#f1f5f9;transform:none!important}select.form-input{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center;background-size:1rem;padding-right:3rem}.password-requirements{margin-top:.75rem;padding:1rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.requirement-title{font-size:.85rem;font-weight:600;color:#475569;margin-bottom:.5rem}.requirement-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.5rem}.requirement-list li{font-size:.8rem;color:#64748b;display:flex;align-items:center;gap:.5rem;padding:.25rem 0}.requirement-list li:before{content:"○";font-size:.6rem}.requirement-list li.valid{color:#10b981}.requirement-list li.valid:before{content:"✓"}.form-options{display:flex;justify-content:space-between;align-items:center;margin:2rem 0;flex-wrap:wrap;gap:1rem}.checkbox{display:flex;align-items:center;gap:.75rem;cursor:pointer;font-size:.9rem;color:#475569;-webkit-tap-highlight-color:transparent;padding:.25rem;border-radius:6px;transition:background-color .2s}.checkbox:hover{background:#f1f5f9}.checkbox input[type=checkbox]{width:1.25rem;height:1.25rem;border-radius:6px;border:2px solid #cbd5e1;cursor:pointer;transition:all .2s;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;position:relative;flex-shrink:0}.checkbox input[type=checkbox]:checked{background-color:#3b82f6;border-color:#3b82f6}.checkbox input[type=checkbox]:checked:after{content:"✓";position:absolute;color:#fff;font-size:.875rem;font-weight:700;top:50%;left:50%;transform:translate(-50%,-50%)}.forgot-password-btn{font-size:.9rem;color:#3b82f6;background:none;border:none;text-decoration:none;font-weight:600;transition:all .2s;cursor:pointer;padding:.5rem .75rem;border-radius:8px;-webkit-tap-highlight-color:transparent}.forgot-password-btn:hover{color:#1d4ed8;background:#eff6ff;text-decoration:none}.forgot-password-btn:active{transform:scale(.98)}.btn{display:inline-flex;align-items:center;justify-content:center;padding:1.125rem 2rem;border:none;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);gap:.75rem;-webkit-tap-highlight-color:transparent;touch-action:manipulation;min-height:52px;letter-spacing:-.2px;position:relative;overflow:hidden}.btn:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background:#ffffff4d;transform:translate(-50%,-50%);transition:width .6s,height .6s}.btn:active:before{width:300px;height:300px}.btn-primary{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;box-shadow:0 4px 20px #2563eb4d}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-2px);box-shadow:0 8px 30px #2563eb66}.btn-primary:active:not(:disabled){transform:translateY(0);box-shadow:0 2px 15px #2563eb4d}.btn-primary:disabled{opacity:.6;cursor:not-allowed;transform:none!important;box-shadow:none!important}.btn-secondary{background:#fff;color:#475569;border:2px solid #e2e8f0;box-shadow:0 2px 10px #0000000d}.btn-secondary:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1;transform:translateY(-2px);box-shadow:0 4px 20px #00000014}.btn-block{width:100%}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);animation:fadeIn .3s ease}.modal-container{background:#fff;border-radius:24px;width:100%;max-width:520px;max-height:90vh;overflow-y:auto;box-shadow:0 32px 64px #0003;animation:slideUp .4s cubic-bezier(.175,.885,.32,1.275);border:1px solid rgba(255,255,255,.2)}.modal-header{padding:1.75rem 2rem;border-bottom:1px solid #f1f5f9;display:flex;justify-content:space-between;align-items:flex-start;background:#fff;position:sticky;top:0;z-index:10;border-radius:24px 24px 0 0}.modal-header-content{flex:1}.modal-header h3{margin:0 0 .75rem;font-size:1.5rem;font-weight:700;color:#1e293b}.step-indicator{display:flex;align-items:center;gap:1rem}.step-text{font-size:.875rem;color:#64748b;font-weight:500}.step-dots{display:flex;gap:.5rem}.step-dot{width:8px;height:8px;border-radius:50%;background:#e2e8f0;transition:all .3s ease}.step-dot.active{background:#3b82f6;transform:scale(1.2)}.request-progress{height:4px;background:#e2e8f0;border-radius:2px;margin-bottom:2rem;overflow:hidden;position:relative}.progress-bar{height:100%;background:linear-gradient(90deg,#3b82f6,#8b5cf6);border-radius:2px;transition:width .4s cubic-bezier(.4,0,.2,1)}.modal-content{padding:2rem}.modal-form{margin-top:1rem}.step-content{animation:fadeInUp .4s ease}@keyframes fadeInUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.step-title{font-size:1.25rem;font-weight:700;color:#1e293b;margin:0 0 .5rem}.step-description{color:#64748b;font-size:.95rem;margin:0 0 2rem}.success-state{text-align:center;padding:2rem 0;animation:fadeIn .6s ease}.success-icon{width:80px;height:80px;background:#f0fdf4;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem;color:#10b981;border:2px solid #bbf7d0}.success-state h4{font-size:1.5rem;font-weight:700;color:#1e293b;margin:0 0 1rem}.success-details{background:#f8fafc;padding:1.5rem;border-radius:12px;margin-top:2rem;text-align:left}.success-details p{margin:.5rem 0;color:#475569;font-size:.95rem}.success-details strong{color:#1e293b;min-width:80px;display:inline-block}.form-footer{margin-top:2rem;padding-top:1.5rem;border-top:1px solid #f1f5f9}.footer-note{display:flex;align-items:flex-start;gap:.75rem;color:#64748b;font-size:.875rem;margin:0;padding:1rem;background:#f8fafc;border-radius:12px;line-height:1.5}.auth-footer{padding:1.5rem 2rem 2rem;background:#f8fafc;border-top:1px solid #f1f5f9;text-align:center}.text-center{text-align:center;color:#64748b;font-size:.95rem;margin-bottom:1rem;line-height:1.6}.text-link{color:#3b82f6;text-decoration:none;font-weight:700;background:none;border:none;cursor:pointer;font-size:inherit;padding:.25rem .5rem;border-radius:6px;transition:all .2s}.text-link:hover{color:#1d4ed8;background:#eff6ff;text-decoration:none}.version-info{display:flex;flex-direction:column;gap:.5rem;margin-top:1.5rem;color:#94a3b8;font-size:.8rem}.version{color:#cbd5e1;font-size:.75rem}@media (max-width: 640px){.auth-card{max-width:100%;border-radius:16px;box-shadow:0 10px 40px #0000001a}.auth-header{padding:2rem 1.5rem 1.25rem}.auth-form{padding:2rem 1.5rem}.round-logo{width:80px;height:80px;margin-bottom:1rem}.logo-title{font-size:1.6rem}.auth-title{font-size:1.4rem}.auth-subtitle{font-size:.9rem}.form-input{padding:1rem;font-size:1rem}.btn{padding:1rem 1.5rem;min-height:50px}.form-options{flex-direction:column;align-items:flex-start;gap:1rem}.modal-container{border-radius:16px;max-height:85vh}.modal-header{padding:1.5rem;flex-direction:column;gap:1rem}.modal-header-content{width:100%}.step-indicator{width:100%;justify-content:space-between}.modal-content{padding:1.5rem}.modal-actions{flex-direction:column;gap:.75rem}.modal-actions .btn{width:100%}.requirement-list{grid-template-columns:1fr}}@media (max-width: 360px){.auth-header{padding:1.5rem 1rem 1rem}.auth-form{padding:1.5rem 1rem}.round-logo{width:70px;height:70px}.logo-title{font-size:1.4rem}.auth-title{font-size:1.2rem}.auth-subtitle{font-size:.85rem}.form-input{padding:.875rem;font-size:.95rem}.btn{padding:.875rem 1rem;min-height:48px;font-size:.95rem}.modal-header,.modal-content{padding:1rem}}@media (min-width: 641px) and (max-width: 1024px){.auth-card{max-width:480px}.modal-container{max-width:600px}}@media (min-width: 1025px){.modal-container{max-width:600px}}@media (prefers-color-scheme: dark){.auth-card{background:#1e293b;border-color:#334155;box-shadow:0 20px 60px #0000004d}.auth-form{background:#1e293b}.form-input{background:#0f172a;border-color:#334155;color:#e2e8f0}.form-input:hover{background:#0f172a;border-color:#475569}.form-input:focus{background:#0f172a;border-color:#3b82f6;box-shadow:0 0 0 4px #3b82f633}.form-group label{color:#e2e8f0}.auth-footer{background:#0f172a;border-color:#334155}.text-center{color:#cbd5e1}.modal-container{background:#1e293b;color:#e2e8f0;border-color:#334155}.modal-header{background:#1e293b;border-color:#334155}.modal-header h3{color:#e2e8f0}.btn-secondary{background:#334155;color:#e2e8f0;border-color:#475569}.btn-secondary:hover:not(:disabled){background:#475569}.success-details{background:#0f172a}.footer-note{background:#0f172a;color:#cbd5e1}.password-requirements{background:#0f172a;border-color:#334155}.requirement-title{color:#cbd5e1}}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.05)}to{transform:scale(1)}}.success-icon{animation:pulse 2s infinite}.loading-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0f172af2;display:flex;align-items:center;justify-content:center;z-index:9999;flex-direction:column;gap:1rem;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.loading-overlay p{color:#cbd5e1;font-size:1.1rem;font-weight:500}@media (prefers-reduced-motion: reduce){.auth-card,.form-input,.btn,.modal-container,.step-content,.success-icon{transition:none;animation:none}}.btn:focus-visible,.form-input:focus-visible,.password-toggle:focus-visible,.modal-close:focus-visible,.checkbox input[type=checkbox]:focus-visible,.forgot-password-btn:focus-visible,.text-link:focus-visible{outline:3px solid #3b82f6;outline-offset:2px}@media (prefers-contrast: high){.auth-card,.form-input,.btn{border:2px solid #000}.alert{border:2px solid currentColor}}.demo-login-section{margin:1.5rem 2rem 0;padding:1.5rem;background:#f8fafc;border-radius:12px;border:1px solid #e2e8f0}.demo-label{font-size:.9rem;color:#64748b;font-weight:500;margin-bottom:1rem;text-align:center}.demo-buttons{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.btn-outline{background:#fff;color:#475569;border:2px solid #cbd5e1;padding:.75rem 1rem;font-size:.9rem;font-weight:500}.btn-outline:hover:not(:disabled){background:#f1f5f9;border-color:#94a3b8;transform:translateY(-1px)}.btn-outline:active:not(:disabled){transform:translateY(0)}@media (max-width: 640px){.demo-login-section{margin:1rem 1.5rem 0;padding:1.25rem}.demo-buttons{grid-template-columns:1fr}}@media (max-width: 360px){.demo-login-section{margin:1rem 1rem 0;padding:1rem}}.verifying-state,.not-found-state{text-align:center;padding:2rem 0;animation:fadeIn .6s ease}.verifying-icon,.not-found-icon{width:80px;height:80px;background:#f0f9ff;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem;color:#0ea5e9;border:2px solid #bae6fd}.not-found-icon{background:#fef2f2;color:#ef4444;border-color:#fecaca}.verifying-icon .spinner{animation:spin 2s linear infinite}.verifying-icon .pulse{animation:pulse 2s infinite}.verifying-state h4,.not-found-state h4{font-size:1.5rem;font-weight:700;color:#1e293b;margin:0 0 1rem}.suggestions{background:#f8fafc;border-radius:12px;padding:1.5rem;margin-top:1.5rem;text-align:left}.suggestions p{font-weight:600;color:#475569;margin-bottom:.75rem}.suggestions ul{list-style:none;padding:0;margin:0}.suggestions li{color:#64748b;padding:.5rem 0 .5rem 1.5rem;position:relative}.suggestions li:before{content:"•";position:absolute;left:.5rem;color:#3b82f6}.security-note{display:flex;align-items:center;justify-content:center;gap:.5rem;color:#64748b;font-size:.875rem;margin-top:1rem;padding:1rem;background:#f8fafc;border-radius:8px}.modal-close:disabled{opacity:.5;cursor:not-allowed}@media (max-width: 640px){.verifying-state,.not-found-state{padding:1.5rem 0}.verifying-icon,.not-found-icon{width:70px;height:70px}.suggestions{padding:1.25rem}}.rate-limited-state{text-align:center;padding:2rem 0;animation:fadeIn .6s ease}.rate-limited-icon{width:80px;height:80px;background:#fef3c7;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem;color:#d97706;border:2px solid #fcd34d}.rate-limit-info{display:flex;align-items:center;gap:1rem;background:#fffbeb;border-radius:12px;padding:1.5rem;margin-top:1.5rem;text-align:left}.rate-limit-info svg{color:#d97706;flex-shrink:0}.rate-limit-info div{flex:1}.rate-limit-info strong{color:#92400e;font-size:1.1rem;display:block;margin-bottom:.25rem}.rate-limit-info p{color:#78350f;margin:0;font-size:.95rem}.attempt-info{display:inline-flex;align-items:center;gap:.5rem;background:#f1f5f9;padding:.5rem 1rem;border-radius:20px;margin-top:1rem;font-size:.85rem;color:#64748b}.attempt-count{font-size:.8rem;color:#475569;margin-top:.25rem}.input-hint{display:flex;align-items:center;gap:.5rem;font-size:.8rem;color:#94a3b8;margin-top:.5rem}.alert-warning{background:#fffbeb;border:1px solid #fde68a;color:#92400e;padding:1rem;border-radius:10px;margin-bottom:1.5rem;display:flex;align-items:flex-start;gap:.75rem;font-size:.95rem;animation:slideIn .3s ease}.alert-warning svg{flex-shrink:0;margin-top:.125rem;color:#d97706}.security-info{display:flex;flex-direction:column;gap:.75rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e2e8f0}.security-item{display:flex;align-items:center;gap:.75rem;font-size:.85rem;color:#64748b}.security-item svg{color:#94a3b8;flex-shrink:0}.next-steps{background:#f8fafc;border-radius:12px;padding:1.5rem;margin-top:1.5rem;text-align:left}.next-steps h5{color:#1e293b;margin:0 0 1rem;font-size:1.1rem}.next-steps ol{margin:0;padding-left:1.5rem;color:#475569}.next-steps li{padding:.25rem 0;line-height:1.5}.spinner{animation:spin 2s linear infinite}@keyframes pulse{0%{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.8}to{transform:scale(1);opacity:1}}.pulse{animation:pulse 2s infinite}@media (max-width: 640px){.rate-limited-state,.verifying-state,.not-found-state{padding:1.5rem 0}.rate-limited-icon,.verifying-icon,.not-found-icon{width:70px;height:70px}.rate-limit-info{padding:1.25rem;flex-direction:column;text-align:center}.next-steps{padding:1.25rem}.security-info{flex-direction:column}}@media (prefers-color-scheme: dark){.rate-limited-icon{background:#78350f;border-color:#92400e;color:#fbbf24}.rate-limit-info{background:#451a03}.rate-limit-info strong{color:#fbbf24}.rate-limit-info p{color:#fcd34d}.alert-warning{background:#451a03;border-color:#92400e;color:#fbbf24}.attempt-info{background:#1e293b;color:#cbd5e1}.next-steps{background:#0f172a}.next-steps h5{color:#e2e8f0}.next-steps li,.security-item{color:#cbd5e1}.security-info{border-color:#334155}}.form-actions{display:flex;gap:1rem;margin-top:2rem}.form-actions .btn{flex:1}.password-match{margin-top:.5rem;font-size:.85rem;display:flex;align-items:center;gap:.5rem}.match-success{color:#10b981;font-weight:600}.match-error{color:#ef4444;font-weight:600}.auth-form .success-state{text-align:center;padding:2rem 0}.auth-form .success-icon{width:80px;height:80px;background:#f0fdf4;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem;color:#10b981;border:2px solid #bbf7d0}.auth-form .success-state h4{font-size:1.5rem;font-weight:700;color:#1e293b;margin:0 0 1rem}.auth-form .modal-description{color:#64748b;font-size:1rem;margin:0 0 1.5rem;line-height:1.5}@media (max-width: 640px){.form-actions{flex-direction:column}.auth-form .success-icon{width:70px;height:70px}.auth-form .success-state h4{font-size:1.3rem}}@media (max-width: 360px){.auth-form .success-icon{width:60px;height:60px}.form-actions .btn{padding:.875rem 1rem;font-size:.95rem}}*{box-sizing:border-box}.group-collection{display:flex;flex-direction:column;min-height:100vh;background-color:#f8fafc;color:#1e293b;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;padding:0;width:100%;overflow-x:hidden}h1,h2,h3,h4{margin:0;font-weight:600}p,label,small{margin:0}.collection-header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:16px;background:#fff;border-bottom:1px solid #e2e8f0}.header-main h1{font-size:20px;display:flex;align-items:center;gap:8px;color:#1e293b}.header-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.control-group{display:flex;flex-direction:column;gap:4px}.control-group label{font-size:12px;color:#64748b}.date-label{padding:6px 10px;background:#f1f5f9;border-radius:6px;font-size:14px;font-weight:500}.group-info-card{background:#fff;border-radius:12px;padding:16px;margin:16px;box-shadow:0 2px 6px #0000000d}.group-header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-bottom:16px}.group-details h2{font-size:18px;line-height:1.3}.group-meta{display:flex;flex-wrap:wrap;gap:10px;color:#64748b;font-size:13px;align-items:center}.group-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:12px}.stat-item span{font-size:12px;color:#64748b;display:block}.stat-item strong{font-size:16px;font-weight:600}.total-amount{color:#10b981!important}.progress-section{margin-top:16px}.progress-bar-container{height:6px;background:#e2e8f0;border-radius:3px;overflow:hidden}.progress-bar-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#8b5cf6);transition:width .3s ease}.progress-labels{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;margin-top:8px;font-size:12px;color:#64748b}.daily-total-label{background:#ecfdf5;color:#065f46;padding:4px 10px;border-radius:20px;font-weight:600;font-size:13px;border:1px solid #a7f3d0}.collection-main{display:flex;flex-direction:column;gap:20px;padding:0 16px}@media (min-width: 768px){.collection-main{flex-direction:row;padding:0 24px}.collection-left-section{flex:2}.collection-sidebar{flex:1;max-width:360px}}.member-form-section{background:#fff;border-radius:12px;padding:20px;box-shadow:0 2px 6px #0000000d}.form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.member-badge{background:#3b82f6;color:#fff;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600}.member-info-card{margin-bottom:20px}.member-basic-info h4{font-size:16px;margin-bottom:4px}.member-contact{display:flex;flex-wrap:wrap;gap:8px;font-size:13px;color:#64748b;align-items:center}.loan-badge{background:#fef3c7;color:#92400e;padding:3px 8px;border-radius:20px;font-size:12px;display:inline-flex;align-items:center;gap:4px}.member-details{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}.detail-item{display:flex;flex-direction:column;gap:2px;font-size:12px}.detail-item strong{font-weight:600}.week-number-display{background:#f0f9ff;padding:10px;border-radius:8px;margin-bottom:16px;display:flex;align-items:center;gap:8px;font-size:14px}.week-label{font-weight:600;color:#0ea5e9}.helper-text{display:block;font-size:11px;color:#64748b;margin-top:4px;line-height:1.4}.warning{color:#dc2626!important}.form-control{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;transition:all .2s}.form-row{display:flex;flex-direction:column;gap:16px;margin-bottom:16px}@media (min-width: 768px){.form-row{flex-direction:row}.form-group{flex:1}}.checkbox-label{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:500}.transaction-total{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;padding:16px;margin-top:20px;text-align:center}.transaction-total span{display:block;color:#065f46;font-size:14px;margin-bottom:6px}.transaction-total strong{font-size:20px;font-weight:700;color:#065f46}.mobile-today-summary{display:block;margin-top:16px}.mobile-summary-card{background:#fff;border-radius:12px;padding:16px;box-shadow:0 2px 6px #0000000d}.mobile-summary-header{display:flex;align-items:center;gap:8px;margin-bottom:12px;color:#0ea5e9;font-weight:600}.mobile-daily-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.mobile-daily-item{display:flex;flex-direction:column;gap:4px}.mobile-daily-item span{font-size:12px;color:#64748b}.mobile-daily-item strong{font-size:14px;font-weight:600}.mobile-daily-item.highlight{grid-column:span 2;background:#ecfdf5;padding:12px;border-radius:8px}.daily-total-amount{font-size:20px;color:#065f46;font-weight:700}@media (min-width: 768px){.mobile-today-summary{display:none}}.members-list-section{background:#fff;border-radius:12px;padding:16px;box-shadow:0 2px 6px #0000000d}.members-list{max-height:300px;overflow-y:auto;display:flex;flex-direction:column;gap:8px}.member-item{display:flex;justify-content:space-between;align-items:center;padding:12px;border-radius:8px;cursor:pointer;transition:background .2s}.member-item:hover{background:#f8fafc}.member-item.current{background:#eff6ff;border:1px solid #bfdbfe}.member-item.completed{opacity:.85}.member-badge{font-size:14px;min-width:32px;text-align:center}.member-name{flex:1;margin:0 12px;font-size:14px}.member-total{font-size:13px;font-weight:600;color:#10b981}.completed-icon{color:#10b981;margin-left:8px}.summary-section h3{margin-bottom:16px;color:#1e293b}.breakdown-card{background:#fff;border-radius:12px;padding:16px;margin-bottom:16px;box-shadow:0 2px 6px #0000000d}.breakdown-card h4{margin-bottom:12px;color:#334155;padding-bottom:8px;border-bottom:1px solid #f1f5f9}.breakdown-subsection{margin-bottom:16px;padding:12px;background:#f0f9ff;border-radius:8px;border-left:3px solid #0ea5e9}.breakdown-subheader{font-size:13px;font-weight:600;color:#0c4a6e;margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px}.breakdown-row{display:flex;justify-content:space-between;padding:6px 0;font-size:14px}.breakdown-row.indent{padding-left:20px;color:#64748b;font-size:13px}.breakdown-row.total{border-top:2px solid #cbd5e1;margin-top:12px;padding-top:12px;font-weight:700}.today-highlight{color:#0ea5e9}.total-highlight{color:#0c4a6e}.grand-total-card{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:1px solid #7dd3fc;border-radius:12px;padding:20px;margin-top:20px;text-align:center}.grand-total-amount{font-size:28px;font-weight:700;color:#0c4a6e;margin:12px 0}.breakdown-detail,.breakdown-sub-detail{margin-top:12px;padding:10px;background:#ffffffb3;border-radius:8px;font-size:12px;color:#475569}.breakdown-sub-detail>div:first-child{font-weight:600;margin-bottom:4px}.loans-section{background:#fff;border-radius:12px;padding:16px;box-shadow:0 2px 6px #0000000d}.loan-item{padding:12px;background:#f8fafc;border-radius:8px;margin-bottom:8px}.loan-header{display:flex;justify-content:space-between;margin-bottom:8px}.loan-status{font-size:11px;padding:4px 8px;border-radius:20px;font-weight:600}.loan-status.active{background:#dcfce7;color:#166534}.loan-status.pending{background:#fef3c7;color:#92400e}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 16px;border-radius:8px;font-weight:600;font-size:14px;cursor:pointer;transition:all .2s;min-height:44px;border:none}.btn-outline{background:transparent;border:1px solid #cbd5e1;color:#475569}.btn-outline:hover:not(:disabled){background:#f8fafc}.form-actions,.submit-actions{display:flex;gap:12px;flex-wrap:wrap}.form-actions{margin-top:24px;padding-top:24px;border-top:1px solid #e2e8f0}.member-counter{font-weight:600;color:#475569}@media (max-width: 767px){.form-actions,.submit-actions{flex-direction:column}.btn{width:100%}}.submit-section{background:#fff;padding:20px;border-top:1px solid #e2e8f0;margin-top:16px}.submit-status{display:flex;align-items:center;gap:10px;margin-bottom:16px;flex-wrap:wrap}.status-complete{color:#10b981}.status-pending{color:#f59e0b}.collection-loading,.collection-error,.collection-empty,.collection-locked,.all-groups-completed{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;padding:40px 20px;text-align:center;background:#fff;margin:16px;border-radius:12px;box-shadow:0 2px 6px #0000000d}.spinner{animation:spin 1s linear infinite;color:#3b82f6}.toast{position:fixed;top:20px;right:20px;padding:12px 20px;border-radius:8px;font-weight:500;z-index:1001;max-width:400px;box-shadow:0 4px 12px #00000026;animation:toastSlideIn .3s ease-out}@keyframes toastSlideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.toast-success{background:#10b981;color:#fff}.toast-error{background:#ef4444;color:#fff}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal-container{background:#fff;border-radius:12px;max-width:500px;width:100%;max-height:90vh;overflow:auto;box-shadow:0 20px 60px #0003}.modal-header{padding:20px 24px;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;gap:12px}.modal-body{padding:24px;color:#374151}.modal-footer{padding:20px 24px;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end;gap:12px}@media (max-width: 640px){.modal-container{width:95%}.modal-footer{flex-direction:column}.modal-footer .btn{width:100%}}@supports (padding: max(0px)){.group-collection{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}}@media (prefers-reduced-motion: reduce){*,.progress-bar-fill,.btn,.toast{animation:none!important;transition:none!important}}.loan-repayment-step{background:#fff;border-radius:12px;padding:20px;margin:16px;box-shadow:0 2px 8px #00000014}.step-header h3{display:flex;align-items:center;gap:8px;margin-bottom:8px}.available-funds-card{background:#f0f9ff;border-left:4px solid #3b82f6;padding:16px;border-radius:8px;margin:16px 0}.fund-item{display:flex;justify-content:space-between;margin:8px 0}.fund-item.total{font-weight:600;border-top:1px dashed #cbd5e1;padding-top:12px}.overdue-warning{background:#fef3c7;color:#92400e;padding:12px;border-radius:8px;margin:16px 0;display:flex;align-items:center;gap:8px}.loans-allocation{display:flex;flex-direction:column;gap:16px;margin:20px 0}.loan-allocation-item{display:flex;justify-content:space-between;align-items:flex-start;padding:16px;border:1px solid #e2e8f0;border-radius:8px}.loan-info h4{margin:0 0 8px;font-size:16px}.loan-meta{display:flex;gap:12px;font-size:13px;color:#64748b}.allocation-input{width:140px}.allocation-input label{display:block;font-size:12px;margin-bottom:4px;color:#475569}.loan-actions{display:flex;justify-content:space-between;margin-top:20px}.today-summary-compact{background:#fff;border-radius:12px;padding:16px;margin:16px 0;box-shadow:0 2px 8px #00000014;width:100%;box-sizing:border-box;border:1px solid #e2e8f0}.today-summary-compact h4{font-size:16px;color:#1e40af;margin:0 0 16px;padding-bottom:8px;border-bottom:2px solid #dbeafe;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:12px}.today-summary-toggle{background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;cursor:pointer;font-size:13px;padding:6px 12px;border-radius:20px;transition:all .2s;font-weight:500;display:flex;align-items:center;gap:6px}.today-summary-toggle:hover{background:#dbeafe}.today-summary-list{display:flex;flex-direction:column;gap:12px;max-height:300px;overflow-y:auto;padding-right:4px;transition:max-height .3s ease}.today-summary-list.collapsed{max-height:0;overflow:hidden}.today-summary-item{display:flex;justify-content:space-between;align-items:center;padding:12px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0;transition:background-color .2s;min-height:48px}.today-summary-item:hover{background-color:#f1f5f9}.today-summary-label{font-size:14px;color:#374155;font-weight:500;display:flex;align-items:center;gap:10px}.today-summary-value{font-size:15px;color:#1e293b;font-weight:600;text-align:right;min-width:120px}.today-summary-grand-total{background:linear-gradient(135deg,#1e40af,#3b82f6);color:#fff;border:none;border-radius:8px;padding:14px}.today-summary-grand-total .today-summary-label{color:#fff;font-size:15px;font-weight:600}.today-summary-grand-total .today-summary-value{color:#fff;font-size:18px;font-weight:700}.today-summary-list::-webkit-scrollbar{width:6px}.today-summary-list::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px}.today-summary-list::-webkit-scrollbar-thumb{background:#93c5fd;border-radius:3px}.mobile-today-summary{width:100%;padding:0 16px;margin:16px 0}.mobile-summary-card{background:#fff;border-radius:12px;padding:16px;box-shadow:0 2px 8px #00000014;border:1px solid #e2e8f0}.mobile-summary-header{display:flex;align-items:center;gap:8px;margin-bottom:16px;color:#1e40af;font-weight:600}.mobile-daily-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.mobile-daily-item{display:flex;flex-direction:column;gap:4px;padding:10px;background:#f8fafc;border-radius:8px;min-height:60px}.mobile-daily-item.highlight{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border-radius:8px}.mobile-daily-item span{font-size:13px;color:#64748b}.mobile-daily-item strong{font-size:15px;color:#1e293b;font-weight:600}@media (max-width: 480px){.mobile-daily-grid{grid-template-columns:1fr}}.fine-calculation-display{margin-top:15px;padding:12px;background:#fff3cd;border:1px solid #ffeaa7;border-radius:6px}.fine-calculation-header{display:flex;align-items:center;gap:8px;font-weight:600;margin-bottom:10px;color:#856404}.fine-item{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #ffeaa7}.fine-item.loan_penalty{background:#f8d7da;margin:0 -12px;padding:8px 12px}.fine-reason{flex:1;font-size:13px;color:#555}.fine-amount{font-weight:600;color:#dc3545}.fine-category{display:block;font-size:11px;color:#666;font-weight:400}.fine-totals{margin-top:10px;padding-top:10px;border-top:2px solid #856404}.fine-total-item{display:flex;justify-content:space-between;margin-bottom:5px;font-size:14px}.fine-total-item:last-child{font-weight:600;font-size:15px;margin-top:8px;padding-top:8px;border-top:1px dashed #999}.member-loan-timeline{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:16px;margin:16px 0}.member-loan-timeline h4{margin-top:0;margin-bottom:16px;color:#1e293b;font-size:16px;display:flex;align-items:center;gap:8px}.timeline-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-bottom:16px}.timeline-item{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#fff;border-radius:6px;border:1px solid #e2e8f0}.timeline-item strong.overdue{color:#dc2626;font-weight:700}.timeline-item strong.warning{color:#d97706;font-weight:600}.overdue-warning{grid-column:1 / -1;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;padding:12px;display:flex;align-items:flex-start;gap:12px;margin-top:8px}.overdue-warning strong{color:#dc2626}.timeline-progress{margin-top:16px}.progress-label{display:flex;justify-content:space-between;margin-bottom:8px;font-size:14px}.progress-bar{height:8px;background:#e2e8f0;border-radius:4px;position:relative;margin-bottom:32px}.progress-fill{height:100%;background:#10b981;border-radius:4px;transition:width .3s ease}.week-markers{display:flex;justify-content:space-between;position:absolute;top:12px;width:100%}.week-marker{font-size:10px;color:#64748b;text-align:center;transform:translate(-50%);width:40px}.week-marker.completed{color:#10b981;font-weight:600}.balance-update{display:block;font-size:12px;color:#64748b;margin-top:4px;padding-left:8px;border-left:2px solid #3b82f6}.fine-reason{display:flex;flex-direction:column}.group-loan-status{background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;padding:16px;margin:16px 0}.group-loan-status h4{color:#ea580c;margin-top:0;display:flex;align-items:center;gap:8px}.loan-period-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:16px}.period-item{display:flex;flex-direction:column;gap:4px}.period-item .value{font-size:18px;font-weight:600}.period-item .label{font-size:12px;color:#64748b}.period-item.critical .value{color:#dc2626}.period-item.warning .value{color:#d97706}.recharge-notice{background:#fef2f2;border:1px solid #fecaca;border-radius:6px;padding:12px;margin-top:12px}.recharge-notice .recharge-details{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:8px}.loan-allocation-modal{background:#fff;padding:24px;border-radius:12px;width:90%;max-width:600px;max-height:80vh;overflow-y:auto;box-shadow:0 10px 25px #0003}.loan-allocation-modal h3{margin:0 0 16px;color:#1a1a1a}.available-funds{background:#e8f5e9;padding:12px;border-radius:8px;margin:16px 0;font-size:15px}.allocation-note{color:#666;margin-bottom:20px;font-size:14px}.allocation-row{display:flex;justify-content:space-between;align-items:center;margin:12px 0;padding:16px;background:#f8f9fa;border-radius:8px;border-left:4px solid #007bff}.loan-info{flex:1}.loan-label{margin-bottom:4px}.loan-label strong{display:block;margin-bottom:4px}.loan-label small{color:#666;font-size:13px}.loan-meta{font-size:12px;color:#888}.allocation-input-group{display:flex;gap:8px;align-items:center}.allocation-input{width:120px;padding:8px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;text-align:right}.btn-max{padding:6px 12px;background:#6c757d;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:12px;font-weight:500}.btn-max:hover{background:#5a6268}.allocation-summary{background:#f1f3f4;padding:16px;border-radius:8px;margin:20px 0}.summary-row strong{color:#1a1a1a}.btn-cancel{padding:12px 24px;background:#6c757d;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:500;flex:1}.btn-confirm{padding:12px 24px;background:#28a745;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:500;flex:1}.btn-cancel:hover{background:#5a6268}.btn-confirm:hover{background:#218838}.btn-confirm:disabled{background:#ccc;cursor:not-allowed}.loan-timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0;padding:10px;background:#f0f8ff;border-radius:6px;font-size:13px}.timeline-item{display:flex;flex-direction:column}.timeline-item span:first-child{color:#666;font-size:12px;margin-bottom:2px}.timeline-item strong{color:#1a1a1a;font-size:13px}.status{padding:2px 6px;border-radius:4px;font-size:12px;font-weight:500}.status.complete{background:#d4edda;color:#155724}.status.warning{background:#fff3cd;color:#856404}.status.overdue{background:#f8d7da;color:#721c24}.overdue-alert{grid-column:span 3;display:flex;align-items:center;gap:6px;padding:6px;background:#f8d7da;color:#721c24;border-radius:4px;font-size:12px;font-weight:500;margin-top:4px}.allocation-section{display:flex;flex-direction:column;gap:12px;min-width:250px}.allocation-buttons{display:flex;gap:6px;margin-top:8px}.btn-suggest,.btn-max{padding:6px 10px;border:none;border-radius:4px;font-size:11px;font-weight:500;cursor:pointer;flex:1}.btn-suggest{background:#17a2b8;color:#fff}.btn-max{background:#dc3545;color:#fff}.btn-suggest:hover{background:#138496}.btn-max:hover{background:#c82333}.balance-preview{background:#f8f9fa;padding:10px;border-radius:6px;border-left:3px solid #28a745}.preview-row strong{color:#28a745}.summary-row.highlight{background:#e8f5e9;padding:12px;border-radius:6px;margin:12px -12px}.summary-row .remaining{color:#28a745;font-size:16px}.summary-row .allocated{color:#dc3545}.summary-row .zero{color:#6c757d}.loan-allocation-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:10000}.loan-allocation-modal{background:#fff;padding:24px;border-radius:12px;width:90%;max-width:700px;max-height:85vh;overflow-y:auto;box-shadow:0 10px 25px #0003}.loan-allocation-modal h3{margin:0 0 16px;color:#1a1a1a;display:flex;align-items:center;gap:8px}.available-funds-card{background:#e8f5e9;padding:16px;border-radius:8px;margin:16px 0}.funds-item{display:flex;justify-content:space-between;margin:8px 0}.funds-item.total{border-top:2px solid #28a745;padding-top:8px;margin-top:12px}.allocation-note{color:#666;margin-bottom:20px;font-size:14px;padding:12px;background:#fff3cd;border-radius:6px;border-left:4px solid #ffc107}.allocation-card{border:1px solid #dee2e6;border-radius:8px;padding:16px;margin:12px 0;background:#f8f9fa}.loan-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.loan-header h4{margin:0;font-size:16px}.status-badge{padding:4px 8px;border-radius:4px;font-size:11px;font-weight:600;text-transform:uppercase}.status-badge.active{background:#d4edda;color:#155724}.status-badge.overdue{background:#f8d7da;color:#721c24}.loan-details-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:12px 0}.detail-item{display:flex;flex-direction:column}.detail-item span:first-child{color:#666;font-size:12px;margin-bottom:2px}.detail-item strong{color:#1a1a1a;font-size:14px}.detail-item .balance{color:#dc3545;font-weight:600}.weeks{padding:2px 6px;border-radius:4px;font-size:12px;font-weight:500}.weeks.complete{background:#d4edda;color:#155724}.weeks.warning{background:#fff3cd;color:#856404}.weeks.overdue{background:#f8d7da;color:#721c24}.overdue-notice{display:flex;align-items:center;gap:6px;padding:8px;background:#f8d7da;color:#721c24;border-radius:4px;font-size:13px;margin:12px 0}.allocation-control{margin-top:16px;padding-top:16px;border-top:1px dashed #dee2e6}.allocation-control label{display:block;margin-bottom:8px;font-weight:500;color:#333}.input-group{display:flex;flex-direction:column;gap:8px}.allocation-input{padding:10px 12px;border:2px solid #007bff;border-radius:6px;font-size:16px;font-weight:500;text-align:right;width:100%}.quick-buttons{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.btn-quick{padding:8px 12px;border:none;border-radius:6px;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s}.btn-quick.weekly{background:#17a2b8;color:#fff}.btn-quick.max{background:#dc3545;color:#fff}.btn-quick:hover{opacity:.9;transform:translateY(-1px)}.allocation-preview{background:#e9ecef;padding:12px;border-radius:6px;margin-top:12px}.preview-row{display:flex;justify-content:space-between;margin:4px 0;font-size:13px}.allocation-summary{background:#f1f3f4;padding:16px;border-radius:8px;margin:20px 0;border-left:4px solid #007bff}.summary-row{display:flex;justify-content:space-between;margin:8px 0;font-size:15px}.summary-row .allocated{color:#dc3545;font-weight:600}.summary-row .remaining{color:#28a745;font-size:16px;font-weight:600}.allocation-actions{display:flex;justify-content:space-between;margin-top:24px;gap:12px}.allocation-actions .btn{flex:1;padding:12px 24px;font-size:14px;font-weight:500}.modal-overlay{z-index:10001}.debt-item{background-color:#dc26260d;border-left:3px solid #dc2626}.debt-total{background-color:#dc26261a;border:1px solid #dc2626;border-radius:8px;margin-top:8px;padding:12px}.debt-total .today-summary-label,.debt-total .today-summary-value{color:#dc2626}.penalty-category{color:#dc2626!important;font-weight:500}.fine-total-item.penalty-total,.fine-total-item.recharge-total{background-color:#dc26261a;border-left:3px solid #dc2626;padding:8px 12px;border-radius:6px;margin:8px 0}.fine-total-item.revenue-total{background-color:#0596691a;border-left:3px solid #059669;padding:8px 12px;border-radius:6px;margin:8px 0}.debt-note{color:#dc2626;font-size:11px;margin-left:8px}.revenue-note{color:#059669;font-size:11px;margin-left:8px}.detail-item.warning{background-color:#f59e0b1a;padding:4px 8px;border-radius:4px;border-left:3px solid #d97706}.detail-item.danger{background-color:#dc26261a;padding:4px 8px;border-radius:4px;border-left:3px solid #dc2626}.debt-stat{background-color:#dc26260d;border:1px solid rgba(220,38,38,.2);border-radius:6px;padding:8px 12px}.debt-row{background-color:#dc26260d}.debt-row span{color:#dc2626}.mobile-daily-item.debt{background-color:#dc26260d;border-left:3px solid #dc2626}.mobile-daily-item.debt-total{background-color:#dc26261a;border:1px solid #dc2626;border-radius:6px;margin-top:8px;padding:8px}.debt-badge{background-color:#dc2626;color:#fff;padding:2px 6px;border-radius:12px;font-size:11px;margin-left:8px}.debt-increase-label{color:#dc2626;font-weight:500;background-color:#dc26261a;padding:2px 8px;border-radius:12px;font-size:12px}.fine-total-item.collected-total{background-color:#3b82f61a;border-left:3px solid #3b82f6;padding:8px 12px;border-radius:6px;margin-top:12px}.collected-note{color:#3b82f6;font-size:11px;margin-left:8px}.status-complete .debt-badge,.status-pending .debt-badge{background-color:#dc26261a;color:#dc2626;padding:2px 8px;border-radius:12px;font-size:12px;margin-left:8px}.financial-details .debt-total{background-color:#dc26261a;border:1px solid #dc2626;border-radius:8px;padding:12px;margin-top:12px}.today-summary-compact .debt-item .today-summary-label span,.today-summary-compact .debt-item .today-summary-value{color:#dc2626}.fine-item.loan_penalty,.fine-item.recharge{background-color:#dc26260d;border-left:3px solid #dc2626}.fine-item.fine{background-color:#0596690d;border-left:3px solid #059669}.transaction-total{background-color:#3b82f61a;border:1px solid #3b82f6;border-radius:8px;padding:16px;margin-top:20px}.transaction-total span{color:#1e40af;font-weight:600}.transaction-total strong{color:#1e40af;font-size:1.2em}@media (max-width: 768px){.debt-stat{padding:6px 8px;font-size:.9em}.debt-increase-label{font-size:11px;padding:2px 6px}.mobile-daily-item.debt{padding:6px 8px}.mobile-daily-item.debt-total{padding:8px}}.testing-mode-banner{background:linear-gradient(135deg,#ff6b6b,#ee5a24);color:#fff;padding:12px 16px;border-radius:8px;margin-bottom:20px;box-shadow:0 4px 12px #ee5a2433;animation:pulse 2s infinite}.testing-mode-content{display:flex;align-items:center;gap:12px}.testing-mode-content strong{font-size:15px}.testing-mode-content small{font-size:12px;opacity:.9;margin-left:10px}.testing-note{font-size:12px;margin-top:6px;opacity:.8;font-family:monospace;background:#0003;padding:4px 8px;border-radius:4px;display:inline-block}.testing-mode-alert{background:#ff6b6b1a;border:1px solid #ff6b6b;color:#d63031;padding:10px 14px;border-radius:6px;display:flex;align-items:center;gap:10px;margin-bottom:15px;font-size:14px}.testing-banner{background:#ff6b6b;color:#fff;padding:8px 12px;border-radius:6px;display:flex;align-items:center;gap:8px;font-size:13px;margin-bottom:15px}.testing-badge{background:#ff6b6b;color:#fff;padding:2px 8px;border-radius:12px;font-size:11px;margin-left:8px}.loan-testing-tag{background:#ff6b6b26;color:#d63031;padding:2px 8px;border-radius:4px;font-size:11px;display:flex;align-items:center;gap:4px}.eligibility-badge{padding:2px 8px;border-radius:4px;font-size:11px;font-weight:500}.eligibility-badge.not-eligible{background:#6c757d26;color:#6c757d}.eligibility-badge.testing-eligible{background:#ff6b6b26;color:#d63031}.testing-note-inline{color:#ff6b6b;font-weight:500}.loan-status-group{display:flex;gap:6px;align-items:center}@keyframes pulse{0%{box-shadow:0 4px 12px #ee5a2433}50%{box-shadow:0 4px 20px #ee5a2466}to{box-shadow:0 4px 12px #ee5a2433}}.financial-breakdown{margin-top:20px;padding:15px;background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.financial-breakdown h4{margin-bottom:15px;color:#2c3e50;font-size:16px;font-weight:600;display:flex;align-items:center;gap:8px}.financial-breakdown h4:before{content:"💵";font-size:18px}.status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;margin-top:10px}.status-item{padding:12px;background:#fff;border-radius:6px;border:1px solid #dee2e6;display:flex;flex-direction:column;gap:6px}.status-item span{font-size:13px;color:#6c757d;display:flex;align-items:center;gap:6px}.status-item strong{font-size:16px;font-weight:600}.status-item .debt{color:#dc3545}.status-item .positive{color:#198754}.status-item .negative{color:#dc3545}.member-savings-label{color:#1e40af!important;font-weight:500!important}.available-cash-label{color:#047857!important;font-weight:500!important}.group-revenue-label{color:#92400e!important;font-weight:500!important}.group-stats .stat-item span.available-cash-label,.group-stats .stat-item span.member-savings-label{font-weight:500}.tooltip{position:relative;display:inline-flex;align-items:center;gap:4px;cursor:help}.tooltip .tooltiptext{visibility:hidden;width:200px;background-color:#333;color:#fff;text-align:center;border-radius:6px;padding:8px 12px;position:absolute;z-index:1000;bottom:125%;left:50%;transform:translate(-50%);opacity:0;transition:opacity .3s;font-size:12px;font-weight:400;line-height:1.4}.tooltip .tooltiptext:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#333 transparent transparent transparent}.tooltip:hover .tooltiptext{visibility:visible;opacity:1}.group-stats .stat-item{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.group-stats .stat-item span{display:flex;align-items:center;gap:6px;font-size:12px;color:#666}.group-stats .stat-item strong{font-size:16px;font-weight:600}.group-stats .stat-item.debt-stat strong{color:#dc2626}.group-stats .stat-item .total-amount{color:#16a34a;font-size:17px}.available-funds-card{background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;padding:16px;margin:16px 0}.available-funds-card .funds-item{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #e2e8f0}.available-funds-card .funds-item:last-child{border-bottom:none}.available-funds-card .funds-item.total{background:#dcfce7;padding:12px;border-radius:6px;margin-top:8px;border:1px solid #86efac}.available-funds-card .funds-item.total span{font-weight:600;color:#166534}.available-funds-card .funds-item.total strong{font-size:18px;color:#166534}.allocation-summary{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:16px;margin:20px 0}.allocation-summary .summary-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #e2e8f0}.allocation-summary .summary-row:last-child{border-bottom:none}.allocation-summary .summary-row .allocated{color:#dc2626;font-weight:600;font-size:18px}.allocation-summary .summary-row .remaining{color:#16a34a;font-weight:600;font-size:18px}.member-total{font-size:12px;font-weight:600;color:#16a34a;text-align:right;margin-top:4px}.member-total small{display:block;font-weight:400;margin-top:2px}@media (max-width: 768px){.status-grid{grid-template-columns:1fr}.financial-breakdown{padding:12px}.group-stats{grid-template-columns:repeat(2,1fr)}.group-stats .stat-item{padding:8px}.group-stats .stat-item span{font-size:11px}.group-stats .stat-item strong{font-size:14px}.tooltip .tooltiptext{width:160px;font-size:11px}}@keyframes cashPulse{0%{transform:scale(1)}50%{transform:scale(1.02)}to{transform:scale(1)}}.group-stats .stat-item:nth-child(5) strong,.group-stats .stat-item:nth-child(6) strong{animation:cashPulse 2s ease-in-out}.status-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a;transition:all .3s ease}.available-funds-card .funds-item.total:hover{background:#bbf7d0;transition:background .3s ease}@media print{.member-savings-label,.available-cash-label,.group-revenue-label{font-weight:700!important;color:#000!important}.tooltip .tooltiptext{display:none}.financial-breakdown{break-inside:avoid;border:2px solid #000}}@media (prefers-color-scheme: dark){.financial-breakdown{background:#1a1a1a;border-color:#333}.status-item{background:#2d2d2d;border-color:#444}.available-funds-card{background:#1a2c3a;border-color:#2a4a6a}.available-funds-card .funds-item.total{background:#1a3a2a;border-color:#2a6a4a}.allocation-summary{background:#1a1a1a;border-color:#333}}.create-group-container{max-width:900px;margin:0 auto;padding:20px;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}.page-header{display:flex;align-items:flex-start;gap:20px;margin-bottom:30px}.header-icon{background-color:#e0f2fe;color:#0ea5e9;width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center}.header-text h1{font-size:28px;font-weight:700;color:#1e293b;margin:0}.header-text p{color:#64748b;margin:8px 0 0;font-size:16px}.steps-indicator{display:flex;justify-content:space-between;margin-bottom:30px;position:relative}.steps-indicator:before{content:"";position:absolute;top:15px;left:0;right:0;height:2px;background-color:#e2e8f0;z-index:0}.step-panel{background-color:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:25px;margin-bottom:30px}.step-panel h2{font-size:24px;margin:0 0 15px;color:#1e293b}.form-section{margin-bottom:30px}.section-title{font-size:20px;margin:0 0 20px;color:#1e293b;display:flex;align-items:center;gap:10px}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}.form-group label{margin-bottom:8px;font-weight:600;color:#334155;font-size:15px}.form-control{padding:12px 14px;border:1px solid #cbd5e1;border-radius:8px;font-size:16px;transition:border-color .2s}.readonly-field{padding:12px 14px;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;font-size:16px;color:#475569;font-weight:600}.form-actions{margin:25px 0;display:flex;justify-content:flex-end}.members-list-section{margin:30px 0}.members-list-section h3{margin:0 0 20px;font-size:18px;color:#1e293b}.members-table{overflow-x:auto;border:1px solid #e2e8f0;border-radius:8px}.members-table th,.members-table td{padding:15px;text-align:left;border-bottom:1px solid #f1f5f9;font-size:15px}.btn-icon{padding:6px;border-radius:4px;background:none;border:none;cursor:pointer;color:#dc2626}.btn-icon:hover{background-color:#fee2e2}.review-section{margin-bottom:30px}.review-card{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:20px;margin-bottom:20px}.review-card h3{margin:0 0 15px;font-size:18px;color:#1e293b}.review-item{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #f1f5f9}.review-item:last-child{border-bottom:none}.review-item span{color:#64748b}.review-item strong{color:#1e293b;font-weight:600}.btn-danger{background-color:#fee2e2;color:#dc2626}.btn-danger:hover{background-color:#fecaca}@media (max-width: 768px){.create-group-container{padding:15px}.page-header{flex-direction:column;align-items:flex-start;gap:15px}.steps-indicator{gap:10px}.step-label{font-size:12px}.form-grid{grid-template-columns:1fr}.step-actions,.form-actions{flex-direction:column;gap:12px}.btn{width:100%;justify-content:center}.members-table{font-size:14px}.review-item{flex-direction:column;gap:5px}}.error-text{color:#dc2626;font-weight:400;font-size:14px;margin-left:8px}.form-control.error{border-color:#dc2626;box-shadow:0 0 0 3px #dc26261a}.input-with-icon{position:relative}.input-with-icon .form-control{padding-right:40px}.input-icon{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#64748b}.spinner-small{width:16px;height:16px;border:2px solid #e2e8f0;border-top-color:#0ea5e9;border-radius:50%;animation:spin .6s linear infinite}.form-help{color:#64748b;font-size:12px;margin-top:4px;display:block;line-height:1.4}.form-group.full-width .form-help{margin-top:8px}.validation-status{display:flex;align-items:center;gap:6px;margin-top:4px;font-size:12px;font-weight:500}.validation-status.valid{color:#16a34a}.validation-status.invalid{color:#dc2626}.btn .spinner-small{margin-right:8px}.form-help strong{color:#1e293b;font-weight:600}@media (max-width: 768px){.error-text{display:block;margin-left:0;margin-top:4px}.validation-status{font-size:11px}}.optional-label{color:#6b7280;font-size:.875em;font-weight:400;margin-left:4px}.alert-info{background-color:#eff6ff;border:1px solid #3b82f6;color:#1e40af}.alert-info svg{color:#3b82f6}.success-panel{text-align:center;padding:40px 20px;max-width:600px;margin:0 auto}.success-panel .success-icon{margin-bottom:24px;color:#10b981}.success-panel h2{margin-bottom:16px;color:#1e293b}.success-panel .success-message{font-size:18px;color:#475569;margin-bottom:16px}.success-panel p{color:#64748b;margin-bottom:32px}.success-panel .success-actions{display:flex;gap:16px;justify-content:center;margin-top:32px}.success-panel .btn{padding:12px 24px;font-size:16px;font-weight:600;border-radius:8px;cursor:pointer;transition:all .2s}.success-panel .btn-primary{background-color:#0ea5e9;color:#fff;border:none}.success-panel .btn-primary:hover{background-color:#0284c7}.success-panel .btn-secondary{background-color:#f1f5f9;color:#334155;border:1px solid #cbd5e1}.success-panel .btn-secondary:hover{background-color:#e2e8f0}.today-schedule{padding:16px;max-width:1200px;margin:0 auto}.page-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px;flex-wrap:wrap;gap:12px}.header-main h1{font-size:20px;margin:0;color:#1e293b;display:flex;align-items:center;gap:8px}.header-main p{color:#64748b;margin:4px 0 0;font-size:13px}.header-actions{display:flex;gap:8px}.refresh-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:6px;font-weight:600;font-size:13px;cursor:pointer;border:1px solid #cbd5e1;background-color:#fff;color:#334155}.refresh-btn:hover:not(:disabled){background-color:#f8fafc}.progress-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:16px;margin-bottom:20px}.progress-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.progress-header h3{margin:0;font-size:15px;color:#1e293b;display:flex;align-items:center;gap:6px}.progress-header span{font-size:13px;color:#64748b}.progress-bar-container{height:24px;background:#f1f5f9;border-radius:12px;overflow:hidden;position:relative}.progress-bar-fill{height:100%;background:linear-gradient(90deg,#10b981,#34d399);border-radius:12px;transition:width .3s ease;display:flex;align-items:center;justify-content:center;min-width:40px}.progress-percentage{color:#fff;font-size:12px;font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.2);padding:0 8px}.schedule-list{display:flex;flex-direction:column;gap:16px;margin-bottom:20px}.schedule-item{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:16px;display:flex;gap:12px;position:relative;transition:all .2s}.schedule-item:hover{box-shadow:0 2px 8px #00000014}.schedule-item.current{border-color:#0ea5e9;box-shadow:0 0 0 2px #0ea5e91a}.schedule-item.completed{border-color:#10b981;background-color:#f0fdf4}.schedule-item.locked{opacity:.7;background-color:#f8fafc}.timeline-indicator{display:flex;flex-direction:column;align-items:center;position:relative}.timeline-dot{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;background-color:#f1f5f9;color:#64748b;border:2px solid #e2e8f0;position:relative;z-index:1}.schedule-item.current .timeline-dot{background-color:#dbeafe;color:#0ea5e9;border-color:#0ea5e9}.schedule-item.completed .timeline-dot{background-color:#d1fae5;color:#10b981;border-color:#10b981}.schedule-item.locked .timeline-dot{background-color:#f1f5f9;color:#94a3b8;border-color:#e2e8f0}.timeline-dot .icon{color:inherit}.step-number{font-weight:600;font-size:12px;color:#475569}.timeline-line{flex:1;width:2px;background:#e2e8f0;margin:4px 0;min-height:20px}.schedule-item.completed .timeline-line{background:#10b981}.schedule-item:last-child .timeline-line{display:none}.schedule-content{flex:1;min-width:0}.schedule-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;flex-wrap:wrap;gap:8px}.group-name-section h3{margin:0 0 6px;font-size:16px;color:#1e293b;line-height:1.3;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.current-badge{padding:2px 8px;background:#0ea5e9;color:#fff;border-radius:4px;font-size:11px;font-weight:600}.group-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:#64748b}.meta-item{display:flex;align-items:center;gap:4px}.status-badge{padding:4px 10px;border-radius:16px;font-size:11px;font-weight:600;display:inline-flex;align-items:center;gap:4px;white-space:nowrap;border:1px solid}.status-success{background-color:#d1fae5;color:#059669;border-color:#a7f3d0}.status-warning{background-color:#fef3c7;color:#d97706;border-color:#fde68a}.status-locked{background-color:#f1f5f9;color:#64748b;border-color:#e2e8f0}.status-pending{background-color:#e0f2fe;color:#0ea5e9;border-color:#bae6fd}.today-collection-summary{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px;margin-bottom:12px}.today-collection-header{display:flex;align-items:center;gap:6px;margin-bottom:10px;font-weight:600;color:#475569;font-size:13px}.today-total-badge{margin-left:auto;padding:4px 10px;background-color:#dbeafe;color:#1d4ed8;border-radius:6px;font-size:12px;font-weight:600;border:1px solid #bfdbfe}.today-collection-details{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}.today-item{display:flex;justify-content:space-between;align-items:center;padding:6px 0;border-bottom:1px solid #f1f5f9;font-size:12px;color:#475569}.today-item:last-child{border-bottom:none}.today-item.progress-item{flex-direction:column;align-items:stretch;gap:4px;padding:8px 0}.today-item span:first-child{font-weight:500;color:#64748b}.today-item span:last-child{font-weight:600;color:#1e293b}.today-item small{font-size:10px;color:#94a3b8;margin-left:4px;font-weight:400}.progress-bar-small{height:6px;background:#e5e7eb;border-radius:3px;overflow:hidden;margin:2px 0}.progress-fill{height:100%;background:linear-gradient(90deg,#10b981,#34d399);border-radius:3px;transition:width .3s ease}.progress-text{font-size:11px;font-weight:500;color:#374151;text-align:right}.registration-payments-note{grid-column:1 / -1;margin-top:4px;padding-top:6px;border-top:1px dashed #e2e8f0;font-size:11px;color:#666;text-align:center}.key-metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-bottom:16px}.key-metric-card{padding:12px;border-radius:8px;border:1px solid;display:flex;flex-direction:column;transition:transform .2s}.key-metric-card:hover{transform:translateY(-2px)}.key-metric-header{display:flex;align-items:center;gap:6px;margin-bottom:6px;font-size:12px;font-weight:600;color:#475569}.key-metric-header .icon{flex-shrink:0}.key-metric-value{font-size:16px;font-weight:700;margin-bottom:4px;line-height:1.2}.key-metric-subtext{font-size:11px;color:#64748b;line-height:1.3}.detailed-breakdown{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px;margin-bottom:16px}.breakdown-header{display:flex;align-items:center;gap:6px;margin-bottom:10px;font-weight:600;color:#475569;font-size:13px}.breakdown-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:10px}.breakdown-item{display:flex;justify-content:space-between;align-items:center;padding:6px 8px;background:#fff;border:1px solid #e5e7eb;border-radius:6px;font-size:12px}.breakdown-label{color:#6b7280;font-weight:500}.breakdown-value{color:#374151;font-weight:600}.breakdown-total{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:linear-gradient(135deg,#dbeafe,#bfdbfe);border:1px solid #93c5fd;border-radius:6px;font-size:13px}.total-label{font-weight:600;color:#1e40af}.total-value{font-weight:700;color:#1e3a8a;font-size:14px}.schedule-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.action-left,.action-right{display:flex;gap:8px;flex-wrap:wrap}.btn{padding:6px 12px;border-radius:6px;font-weight:600;font-size:12px;cursor:pointer;display:inline-flex;align-items:center;gap:4px;border:1px solid;white-space:nowrap;transition:all .2s}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn:active:not(:disabled){transform:translateY(0)}.btn-sm{padding:5px 10px;font-size:11px}.btn-outline{border-color:#cbd5e1;background-color:#fff;color:#334155}.btn-outline:hover:not(:disabled){background-color:#f8fafc;border-color:#94a3b8}.btn-primary{border-color:#0ea5e9;background-color:#0ea5e9;color:#fff}.btn-primary:hover:not(:disabled){background-color:#0284c7;border-color:#0284c7}.btn-secondary{border-color:#10b981;background-color:#10b981;color:#fff}.btn-secondary:hover:not(:disabled){background-color:#059669;border-color:#059669}.btn-success{border-color:#10b981;background-color:#10b981;color:#fff}.btn-success:hover:not(:disabled){background-color:#059669;border-color:#059669}.btn-disabled{border-color:#e2e8f0;background-color:#f1f5f9;color:#94a3b8;cursor:not-allowed}.loading-totals{display:flex;align-items:center;gap:8px;padding:20px;color:#64748b;font-size:13px;justify-content:center;background:#f8fafc;border-radius:8px;margin:8px 0}.summary-footer{margin:24px 0}.summary-card{padding:16px;border-radius:10px}.summary-content h3{margin:0 0 16px;font-size:16px;color:#1e293b;display:flex;align-items:center;gap:6px}.summary-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:16px}.summary-stat{padding:12px;border-radius:8px;display:flex;flex-direction:column;gap:6px;border:1px solid #e2e8f0}.summary-stat-label{font-size:12px;color:#475569;font-weight:500}.summary-stat-value{font-size:18px;color:#1e293b;font-weight:700}.summary-progress{margin-top:16px;padding-top:16px;border-top:1px solid #e2e8f0}.progress-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:13px;color:#475569;font-weight:500}.progress-bar-large{height:8px;background:#f1f5f9;border-radius:4px;overflow:hidden}.progress-fill-large{height:100%;background:linear-gradient(90deg,#0ea5e9,#38bdf8);border-radius:4px;transition:width .3s ease}.quick-nav-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:16px;margin-bottom:16px}.quick-nav-card h3{margin:0 0 12px;font-size:16px;color:#1e293b;display:flex;align-items:center;gap:6px}.quick-nav-buttons{display:flex;gap:8px;flex-wrap:wrap}.workflow-card{padding:16px;border-radius:10px;margin-bottom:20px}.workflow-card h3{margin:0 0 12px;font-size:16px;color:#1e293b;display:flex;align-items:center;gap:6px}.instructions-list{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:8px}.instructions-list li{color:#475569;font-size:13px;line-height:1.4;padding-left:4px}.instructions-list li strong{color:#1e293b;font-weight:600}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 16px;text-align:center;color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:10px}.empty-icon{margin-bottom:16px;color:#cbd5e1}.empty-state h3{margin:0 0 8px;color:#1e293b;font-size:18px}.empty-state p{margin:0 0 16px;font-size:14px}.text-success{color:#10b981;font-weight:600}.text-primary{color:#0ea5e9;font-weight:600}@media (max-width: 768px){.today-schedule{padding:12px}.schedule-item{flex-direction:column;gap:12px}.timeline-indicator{flex-direction:row;justify-content:flex-start;align-items:center;gap:12px;width:100%}.timeline-dot{width:28px;height:28px}.timeline-line{display:none}.schedule-header{flex-direction:column;align-items:flex-start;gap:8px}.status-badge-section{align-self:flex-start}.key-metrics-grid,.today-collection-details,.breakdown-grid,.summary-stats-grid{grid-template-columns:1fr}.quick-nav-buttons{flex-direction:column}.quick-nav-buttons .btn{width:100%;justify-content:center}.schedule-actions{flex-direction:column;gap:8px}.action-left,.action-right{width:100%}.action-left .btn,.action-right .btn{flex:1;justify-content:center}.action-right .btn-primary{order:-1}}@media (max-width: 480px){.page-header{flex-direction:column;align-items:stretch}.header-actions,.refresh-btn{align-self:flex-start}.group-meta{flex-direction:column;gap:4px}.progress-header{flex-direction:column;align-items:flex-start;gap:4px}.progress-header span{align-self:flex-end}}.loan-application{max-width:1200px;margin:0 auto;padding:16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.back-btn{background:none;border:none;color:#0ea5e9;font-weight:600;cursor:pointer;margin-bottom:16px;display:inline-flex;align-items:center;gap:8px}.back-btn:hover{color:#0284c7}.progress-steps{display:flex;justify-content:space-between;margin-bottom:32px;position:relative}.progress-steps:before{content:"";position:absolute;top:15px;left:0;right:0;height:2px;background-color:#e2e8f0;z-index:0}.step{display:flex;flex-direction:column;align-items:center;z-index:1;position:relative}.step-number{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:16px;margin-bottom:10px;background-color:#e2e8f0;color:#64748b}.step.active .step-number{background-color:#0ea5e9;color:#fff}.step-label{font-size:14px;color:#64748b;text-align:center}.alert{padding:15px 20px;border-radius:8px;display:flex;align-items:center;gap:15px;margin-bottom:25px;font-size:16px}.alert-error{background-color:#fee2e2;color:#dc2626;border-left:4px solid #ef4444}.alert-success{background-color:#dcfce7;color:#16a34a;border-left:4px solid #22c55e}.step-content{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:25px;margin-bottom:30px}.step-content h2{font-size:24px;margin:0 0 15px;color:#1e293b}.step-description{color:#64748b;margin-bottom:25px;font-size:16px}.form-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:20px;margin-bottom:25px}.form-group label{display:block;margin-bottom:8px;font-weight:600;color:#334155}.form-control{width:100%;padding:10px 12px;border:1px solid #cbd5e1;border-radius:6px;font-size:16px;transition:border-color .2s}.group-info-card{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;padding:16px;margin-bottom:24px}.group-info-card h3{margin:0 0 8px;color:#16a34a;font-size:18px}.group-info-card p{margin:0;color:#334155}.members-section{margin:24px 0}.members-section h4{margin:0 0 16px;font-size:18px;color:#1e293b}.empty-state{text-align:center;padding:40px 20px;color:#64748b}.empty-state svg{margin-bottom:15px;color:#cbd5e1}.members-grid{display:grid;gap:16px}.member-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:16px;transition:all .2s}.member-card.selected{border-color:#0ea5e9;box-shadow:0 0 0 2px #0ea5e933}.member-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.member-checkbox{display:flex;gap:12px;align-items:center}.member-checkbox input{width:18px;height:18px}.member-number{background:#f1f5f9;color:#64748b;padding:2px 8px;border-radius:20px;font-size:12px;font-weight:600}.member-card h4{margin:0;color:#1e293b;font-size:16px}.loan-form{margin-top:12px;padding-top:12px;border-top:1px solid #f1f5f9}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.helper-text{display:block;margin-top:4px;font-size:12px}.helper-text.success{color:#16a34a}.helper-text.error{color:#dc2626}.loan-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid #f1f5f9}.detail-item{display:flex;justify-content:space-between;font-size:14px}.detail-item span{color:#64748b}.detail-item strong{color:#1e293b;font-weight:600}.review-section{display:flex;flex-direction:column;gap:20px}.review-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:20px}.review-card h3{margin:0 0 16px;color:#1e293b;font-size:18px;display:flex;align-items:center;gap:8px}.review-details{display:grid;gap:12px}.detail-row{display:flex;justify-content:space-between;font-size:15px}.detail-row strong{color:#1e293b;font-weight:600}.detail-row .amount{color:#0ea5e9;font-size:18px}.members-table{overflow-x:auto}.members-table table{width:100%;border-collapse:collapse}.members-table th,.members-table td{padding:12px;text-align:left;border-bottom:1px solid #f1f5f9;font-size:14px}.members-table th{background-color:#f8fafc;font-weight:600;color:#334155}.members-table tbody tr:last-child td{border-bottom:none}.breakdown-list{display:grid;gap:12px}.breakdown-item{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #f1f5f9}.breakdown-item span{color:#64748b}.breakdown-item strong{color:#1e293b;font-weight:600}.breakdown-item.total strong{color:#dc2626;font-weight:700}.breakdown-item.net strong{color:#0ea5e9;font-weight:700;font-size:16px}.workflow-card{background:#fffbeb;border-color:#fde68a}.workflow-steps li{display:flex;align-items:flex-start;gap:12px;padding:8px 0;color:#92400e}.workflow-steps li strong{color:#92400e;font-weight:600}.step-actions{display:flex;justify-content:space-between;flex-wrap:wrap;gap:15px;margin-top:25px}.btn{padding:12px 24px;border-radius:8px;font-weight:600;font-size:16px;cursor:pointer;display:inline-flex;align-items:center;gap:10px;border:none;transition:all .2s}.btn-secondary{background-color:#f1f5f9;color:#334155}.btn-secondary:hover:not(:disabled){background-color:#e2e8f0}.btn-success{background-color:#22c55e;color:#fff}.btn-success:hover:not(:disabled){background-color:#16a34a}@media (max-width: 768px){.loan-application{padding:12px}.page-header h1{font-size:24px}.form-row,.loan-details,.breakdown-list{grid-template-columns:1fr}.step-actions{flex-direction:column}.btn{width:100%;justify-content:center}.members-table{font-size:12px}}.has-loan{background:#fee2e2;color:#dc2626}.pending-app{background:#fef3c7;color:#92400e}.guarantors-section{margin:16px 0;padding:16px;background:#f8fafc;border-radius:6px;border:1px solid #e2e8f0}.guarantors-section h5{margin-top:0;margin-bottom:12px;color:#1e293b;display:flex;align-items:center;gap:6px}.guarantors-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.guarantor-field{display:flex;flex-direction:column;gap:8px}.guarantors-cell .guarantor-info{display:flex;flex-direction:column;gap:4px;font-size:12px}.workflow-steps{list-style:none;padding:0;margin:0}.workflow-steps li{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px solid #e5e7eb;position:relative}.workflow-steps li:last-child{border-bottom:none}.workflow-steps li.active .step-icon{background:#0ea5e9;color:#fff}.step-icon{width:32px;height:32px;border-radius:50%;background:#f1f5f9;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#64748b}.workflow-steps li strong{color:#1e293b;display:block;margin-bottom:4px}.workflow-steps li p{margin:0;font-size:14px;color:#64748b}.workflow-notes{background:#fef3c7;border:1px solid #fbbf24;border-radius:6px;padding:12px;margin-top:16px;display:flex;align-items:flex-start;gap:8px}.workflow-notes svg{color:#d97706;flex-shrink:0;margin-top:2px}.workflow-notes span{font-size:14px;color:#92400e}.workflow-notes strong{color:#92400e}@media (max-width: 768px){.guarantors-grid,.breakdown-grid{grid-template-columns:1fr}}.facilitator-reports{max-width:1000px;margin:0 auto;padding:16px;color:#1e293b;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.reports-header{display:flex;flex-direction:column;gap:12px;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid #e2e8f0}.reports-header h1{font-size:24px;margin:0;display:flex;align-items:center;gap:12px;color:#1e293b}.reports-header p{color:#64748b;margin:0;font-size:16px}.header-actions{display:flex;justify-content:flex-end}.date-range-selector{display:flex;align-items:center;gap:12px;margin-bottom:24px;padding:16px;background:#f8fafc;border-radius:12px;flex-wrap:wrap}.date-range-selector label{display:flex;align-items:center;gap:6px;color:#334155;font-weight:500}.date-range-selector input{padding:8px 12px;border:1px solid #cbd5e1;border-radius:8px;font-size:14px}.date-range-selector span{color:#64748b;font-weight:500}.reports-tabs{display:flex;gap:8px;margin-bottom:24px;border-bottom:2px solid #e2e8f0;overflow-x:auto}.tab-btn{background:none;border:none;padding:12px 20px;font-size:14px;font-weight:600;color:#64748b;border-bottom:2px solid transparent;cursor:pointer;white-space:nowrap;display:flex;align-items:center;gap:8px;border-radius:8px 8px 0 0}.loading-state{text-align:center;padding:40px 0;color:#64748b}.spinner{width:24px;height:24px;border:3px solid #e2e8f0;border-top:3px solid #3b82f6;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 16px}.report-content{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px}.report-actions{display:flex;justify-content:flex-end;margin-bottom:24px}.empty-state svg{width:48px;height:48px;margin-bottom:16px;color:#94a3b8}.empty-state h3{margin:0 0 8px;color:#1e293b;font-size:20px}.table-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px;padding-bottom:12px;border-bottom:1px solid #e2e8f0;flex-wrap:wrap;gap:12px}.table-header h3{margin:0;color:#1e293b;font-size:18px}.record-count{background:#f1f5f9;color:#64748b;padding:4px 12px;border-radius:20px;font-size:12px;font-weight:500}.table-responsive{overflow-x:auto;border-radius:8px;border:1px solid #e2e8f0}table{width:100%;border-collapse:collapse;min-width:600px}table th{background:#f8fafc;padding:12px 16px;text-align:left;font-weight:600;color:#334155;font-size:12px;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #e2e8f0}table td{padding:14px 16px;border-bottom:1px solid #f1f5f9;font-size:14px;color:#1e293b}table tbody tr:last-child td{border-bottom:none}.amount-cell{font-weight:600}.amount-cell.success{color:#16a34a}.amount-cell.warning{color:#d97706}.amount-cell.info{color:#3b82f6}.meeting-time{font-size:12px;color:#64748b;margin-top:4px}.attendance-badge{background:#dbeafe;color:#1e40af;padding:4px 8px;border-radius:20px;font-weight:600;font-size:12px}.commission-table .table-header{margin-bottom:16px}.commission-totals{margin-bottom:24px}.total-card{background:linear-gradient(135deg,#eff6ff,#dbeafe);padding:20px;border-radius:12px;text-align:center}.total-label{color:#334155;font-size:14px;margin-bottom:8px}.total-value{font-size:24px;font-weight:700}.total-value.success{color:#16a34a}.commission-type{background:#f1f5f9;color:#334155;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500}.description-cell{color:#64748b;font-size:12px;max-width:200px}.performance-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin-bottom:24px}.summary-card{background:#f8fafc;padding:16px;border-radius:8px;text-align:center}.summary-label{color:#64748b;font-size:12px;margin-bottom:8px}.meeting-info{display:flex;flex-direction:column;gap:4px}.meeting-info small{color:#64748b;font-size:12px}.member-count{background:#e0f2fe;color:#0369a1;padding:4px 8px;border-radius:20px;font-weight:600;font-size:12px}.performance-score{display:flex;align-items:center;gap:12px}.score-bar{width:80px;height:6px;background:#e2e8f0;border-radius:3px;overflow:hidden}.score-fill{height:100%;background:linear-gradient(90deg,#10b981,#3b82f6);border-radius:3px}.status-badge.status-info{background:#dbeafe;color:#1e40af}@media (max-width: 768px){.facilitator-reports{padding:12px}.reports-header h1{font-size:20px}.date-range-selector{flex-direction:column;align-items:stretch;gap:12px}.date-range-selector label{align-self:flex-start}.table-header{flex-direction:column;align-items:stretch}.record-count{align-self:flex-start}table{min-width:400px}.btn{padding:6px 12px;font-size:12px}}@media (max-width: 480px){.tab-btn{padding:8px 12px;font-size:12px}.table-header h3{font-size:16px}table th,table td{padding:10px 8px;font-size:12px}.amount-cell{font-size:12px}.total-value{font-size:18px}}.facilitator-performance{min-height:100vh;background:#f5f5f5}.performance-header{background:#fff;padding:1rem;border-bottom:1px solid #e5e5e5}.header-main h1{margin:0;font-size:1.5rem;display:flex;align-items:center;gap:.5rem}.subtitle{margin:.25rem 0 0;color:#666;font-size:.875rem}.performance-breadcrumb{margin-top:1rem;display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}.crumb{display:flex;align-items:center;gap:.25rem;padding:.5rem .75rem;background:#f8f9fa;border-radius:20px;border:1px solid #dee2e6;font-size:.875rem;color:#495057;cursor:pointer;transition:all .2s}.crumb.active{background:#e7f1ff;border-color:#0d6efd;color:#0d6efd;font-weight:500}.crumb:hover:not(.active){background:#e9ecef}.separator{color:#adb5bd}.loading-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#fffc;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:1000}.groups-view,.members-view,.member-details-view{padding:1rem}.view-header{margin-bottom:1.5rem}.view-header h2{margin:0;font-size:1.25rem;display:flex;align-items:center;gap:.5rem}.header-with-back{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.back-btn{width:36px;height:36px;border-radius:50%;border:1px solid #dee2e6;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.back-btn:hover{background:#f8f9fa;border-color:#adb5bd}.performance-badge{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .75rem;border-radius:20px;font-size:.75rem;font-weight:600}.performance-badge.small{padding:.125rem .5rem;font-size:.6875rem}.groups-grid{display:grid;gap:1rem}@media (min-width: 640px){.groups-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width: 1024px){.groups-grid{grid-template-columns:repeat(3,1fr)}}.group-card{background:#fff;border-radius:12px;padding:1.25rem;box-shadow:0 1px 3px #0000001a;border:1px solid #e5e5e5;cursor:pointer;transition:all .2s}.group-card:hover{box-shadow:0 4px 6px #0000001a;border-color:#0d6efd;transform:translateY(-2px)}.card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.card-header h3{margin:0;font-size:1.125rem;flex:1}.group-info{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.info-item{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#666}.group-stats{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}.stat{text-align:center}.stat-label{font-size:.75rem;color:#666;margin-bottom:.25rem}.stat-value{font-size:1rem;font-weight:600;color:#333}.card-footer{border-top:1px solid #e5e5e5;padding-top:1rem;display:flex;justify-content:flex-end}.view-link{display:flex;align-items:center;gap:.25rem;font-size:.875rem;color:#0d6efd;font-weight:500}.members-list{display:flex;flex-direction:column;gap:1rem}.member-card{background:#fff;border-radius:12px;padding:1.25rem;box-shadow:0 1px 3px #0000001a;border:1px solid #e5e5e5;cursor:pointer;transition:all .2s}.member-card:hover{box-shadow:0 4px 6px #0000001a;border-color:#0d6efd}.member-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.member-info h4{margin:0 0 .25rem;font-size:1rem}.member-meta{display:flex;align-items:center;gap:.5rem;font-size:.75rem;color:#666}.member-stats{margin-bottom:1rem}.stat-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:.75rem}.stat-item{display:flex;flex-direction:column;gap:.25rem}.stat-label{display:flex;align-items:center;gap:.25rem;font-size:.75rem;color:#666}.stat-value{font-size:.875rem;font-weight:600;color:#333;display:flex;align-items:center;gap:.5rem}.alert-warning,.alert-error{padding:.75rem;border-radius:8px;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem;font-size:.875rem}.alert-warning{background:#fef3c7;border:1px solid #fde68a;color:#92400e}.alert-error{background:#fee2e2;border:1px solid #fecaca;color:#991b1b}.member-overview{margin-bottom:2rem}.overview-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000001a}.overview-header{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}@media (min-width: 768px){.overview-header{flex-direction:row;justify-content:space-between;align-items:flex-start}}.member-basic-info h3{margin:0 0 .5rem;font-size:1.25rem}.member-basic-info .member-meta{font-size:.875rem}.overview-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem}.stat-card{padding:1rem;background:#f8f9fa;border-radius:8px;border:1px solid #e5e5e5}.stat-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.stat-header h4{margin:0;font-size:.875rem;color:#666}.stat-value{font-size:1.5rem;font-weight:700;color:#333}.stat-sub{font-size:.75rem;color:#666;margin-top:.25rem}.history-table{background:#fff;border-radius:8px;border:1px solid #e5e5e5;overflow:hidden}.empty-history{padding:2rem;text-align:center;color:#666}.savings-list,.repayment-history{padding:0}.history-item{display:grid;grid-template-columns:1fr 1fr 1fr;padding:1rem;border-bottom:1px solid #e5e5e5;align-items:center}.item-date{font-size:.875rem;color:#666}.item-amount{font-weight:600;text-align:center}.loan-card{background:#fff;border-radius:8px;border:1px solid #e5e5e5;padding:1.5rem;margin-bottom:1rem}.loan-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.loan-header h4{margin:0;font-size:1rem}.loan-details{margin-bottom:1rem}.detail-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin-bottom:.75rem}.label{font-size:.75rem;color:#666}.value{font-size:.875rem;font-weight:600}.value.warning{color:#dc2626}.recommendation-card{background:#fff;border-radius:8px;border:1px solid #e5e5e5;padding:1.5rem}.recommendation-header h4{margin:0 0 1rem;font-size:1rem}.recommendation-content{padding:1.5rem;border-radius:8px}.recommendation-content.eligible{background:#f0f9ff;border:1px solid #bae6fd}.recommendation-content.not-eligible{background:#fef2f2;border:1px solid #fecaca}.recommendation-status{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem}.status-text{font-weight:600;font-size:1rem}.recommendation-content.eligible .status-text{color:#0369a1}.recommendation-content.not-eligible .status-text{color:#b91c1c}.recommendation-actions{display:flex;gap:.75rem;margin-top:1rem;flex-wrap:wrap}.btn{padding:.5rem 1rem;border-radius:6px;border:1px solid transparent;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-primary{background:#0d6efd;color:#fff;border-color:#0d6efd}.btn-primary:hover{background:#0b5ed7;border-color:#0a58ca}.btn-outline{background:#fff;color:#495057;border-color:#dee2e6}.btn-outline:hover{background:#f8f9fa;border-color:#adb5bd}.btn-icon{display:flex;align-items:center;gap:.25rem;padding:.5rem .75rem;background:#fff;border:1px solid #dee2e6;border-radius:6px;font-size:.875rem;cursor:pointer;transition:all .2s}.btn-icon:hover{background:#f8f9fa;border-color:#adb5bd}.filter-buttons{display:flex;gap:.5rem;overflow-x:auto;padding-bottom:.5rem}.filter-btn.needs-attention{color:#991b1b}.empty-state{padding:3rem 1rem;text-align:center;background:#fff;border-radius:12px;border:2px dashed #e5e5e5}.empty-state h3{margin:1rem 0 .5rem;color:#333}.empty-state p{color:#666;margin:0}.time-selector{padding:.5rem;border-radius:6px;border:1px solid #dee2e6;font-size:.875rem;background:#fff}.success{color:#059669}.error{color:#dc2626}.group-summary-card{background:#fff;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem;box-shadow:0 1px 3px #0000001a;border:1px solid #e5e5e5}.summary-header{margin-bottom:1rem;display:flex;justify-content:space-between;align-items:center}.summary-header h3{margin:0;font-size:1.125rem;display:flex;align-items:center;gap:.5rem}.summary-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}.summary-stat{padding:1rem;background:#f8f9fa;border-radius:8px;border:1px solid #e5e5e5}.summary-stat .stat-label{font-size:.875rem;color:#666;margin-bottom:.5rem}.summary-stat .stat-value{font-size:1.5rem;font-weight:700;margin-bottom:.75rem}.summary-stat .stat-value.primary{color:#0d6efd}.stat-breakdown{display:flex;flex-direction:column;gap:.25rem;font-size:.75rem;color:#666}.breakdown-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem;margin-bottom:1rem}.breakdown-card{background:#fff;border:1px solid #e5e5e5;border-radius:8px;padding:1.25rem}.breakdown-card.total{background:#f0f9ff;border-color:#0d6efd}.breakdown-card h4{margin:0 0 1rem;font-size:1rem;color:#333}.breakdown-list{display:flex;flex-direction:column;gap:.75rem}.breakdown-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #f1f5f9}.breakdown-item:last-child{border-bottom:none}.breakdown-item.grand-total{font-weight:600;color:#0c4a6e;padding-top:.75rem;border-top:2px solid #0d6efd}.breakdown-item .label{color:#666;font-size:.875rem}.breakdown-item .value{font-weight:600;font-size:.875rem}.performance-filters{margin:1rem 0}.filter-buttons{display:flex;flex-wrap:wrap;gap:.5rem;overflow-x:auto;padding-bottom:.5rem}.filter-btn{padding:.5rem 1rem;border-radius:20px;border:1px solid #dee2e6;background:#fff;font-size:.75rem;white-space:nowrap;cursor:pointer;transition:all .2s}.filter-btn.active{background:#e7f1ff;border-color:#0d6efd;color:#0d6efd;font-weight:500}.filter-btn.excellent{color:#065f46;border-color:#a7f3d0}.filter-btn.good{color:#92400e;border-color:#fde68a}.filter-btn.needs-attention{color:#991b1b;border-color:#fecaca}.filter-btn.warning{color:#d97706;border-color:#fde68a}.filter-btn:hover:not(.active){background:#f8f9fa}.status{padding:.25rem .75rem;border-radius:20px;font-size:.75rem;font-weight:600}.status.active{background:#dbeafe;color:#1e40af}.status.completed{background:#d1fae5;color:#065f46}.status.in_progress{background:#fef3c7;color:#d97706}.status.new{background:#fce7f3;color:#be185d}@media (max-width: 640px){.summary-stats,.breakdown-grid{grid-template-columns:1fr}.filter-buttons{gap:.25rem}.filter-btn{padding:.375rem .75rem;font-size:.6875rem}}.spinner{width:40px;height:40px;border:3px solid #e5e5e5;border-top-color:#0d6efd;border-radius:50%;animation:spin 1s linear infinite}@media (max-width: 768px){.overview-stats{grid-template-columns:repeat(2,1fr)}.stat-row{grid-template-columns:1fr;gap:.5rem}}.weekly-contributions-table{background:#fff;border-radius:8px;border:1px solid #e5e5e5;overflow:hidden;margin-top:1rem}.table-row{display:grid;grid-template-columns:repeat(9,1fr);gap:.5rem;padding:1rem;border-bottom:1px solid #e5e5e5;align-items:center}.table-cell{font-size:.875rem;padding:.25rem}.status-badge{padding:.25rem .5rem;border-radius:12px;font-size:.75rem;font-weight:500;display:inline-block}.fines-cell{position:relative;cursor:help}.fines-tooltip{display:none;position:absolute;bottom:100%;left:50%;transform:translate(-50%);background:#1f2937;color:#fff;padding:.5rem;border-radius:4px;font-size:.75rem;white-space:nowrap;z-index:10;margin-bottom:5px}@media (max-width: 1024px){.table-row{grid-template-columns:repeat(5,1fr);gap:.25rem}.table-row.header-row{display:none}.table-cell{display:flex;flex-direction:column}.table-cell:before{content:attr(data-label);font-size:.75rem;color:#666;margin-bottom:.25rem;font-weight:600}.table-row{padding:.75rem;margin-bottom:.5rem;border:1px solid #e5e5e5;border-radius:4px}.table-row:nth-child(2n){background:#f8f9fa}}@media (max-width: 640px){.table-row{grid-template-columns:1fr;gap:.5rem}}.loan-card{display:none}.history-section{margin-bottom:2rem}.history-section h3{margin:0 0 1rem;font-size:1rem;display:flex;align-items:center;gap:.5rem}.compliance.good{color:#059669;font-size:.75rem;font-weight:500}.compliance.fair{color:#d97706;font-size:.75rem;font-weight:500}.compliance.warning{color:#dc2626;font-size:.75rem;font-weight:500}.compliance.perfect{color:#059669;background:#d1fae5;padding:.125rem .5rem;border-radius:10px;font-size:.6875rem;font-weight:600}.group-compliance{display:flex;align-items:center;gap:.5rem;margin-top:.5rem;font-size:.875rem}.group-compliance.good{color:#059669}.group-compliance.fair{color:#d97706}.group-compliance.poor{color:#dc2626}.weekly-contributions-table{background:#fff;border-radius:8px;border:1px solid #e5e5e5;overflow:hidden;margin-top:1rem;overflow-x:auto}.table-header{background:#f8f9fa;border-bottom:2px solid #dee2e6}.table-row{display:grid;grid-template-columns:80px 120px 80px 120px 120px 120px 120px 120px 100px;gap:8px;padding:12px;border-bottom:1px solid #e5e5e5;align-items:center;min-width:1000px}.table-row.header-row{font-weight:600;font-size:.75rem;color:#495057;text-transform:uppercase;letter-spacing:.5px}.table-row:last-child{border-bottom:none}.table-cell{font-size:.875rem;padding:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status-badge{padding:4px 8px;border-radius:12px;font-size:.75rem;font-weight:500;display:inline-block;text-align:center;min-width:70px}.status-badge.present{background:#d1fae5;color:#065f46;border:1px solid #a7f3d0}.status-badge.absent{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.fines-cell{position:relative;cursor:help;display:inline-block}.fines-amount{color:#dc2626;font-weight:600}.fines-tooltip{display:none;position:absolute;bottom:100%;left:50%;transform:translate(-50%);background:#1f2937;color:#fff;padding:6px 10px;border-radius:4px;font-size:.75rem;white-space:nowrap;z-index:10;margin-bottom:5px;box-shadow:0 2px 8px #00000026}.fines-cell:hover .fines-tooltip{display:block}.perfect-compliance{color:#059669;font-weight:600;background:#d1fae5;padding:2px 6px;border-radius:10px;font-size:.75rem;display:inline-block}.group-compliance-indicator{display:flex;align-items:center;gap:8px;margin-top:8px;padding:8px;background:#f8f9fa;border-radius:6px;font-size:.875rem}.group-compliance-indicator.good{background:#d1fae5;color:#065f46}.group-compliance-indicator.fair{background:#fef3c7;color:#92400e}.group-compliance-indicator.poor{background:#fee2e2;color:#991b1b}.performance-badge.excellent{background:#d1fae5;color:#065f46;border:1px solid #a7f3d0}.performance-badge.good,.performance-badge.fair{background:#fef3c7;color:#92400e;border:1px solid #fde68a}.performance-badge.needs-attention{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}@media (max-width: 1024px){.weekly-contributions-table{overflow-x:auto}.table-row{min-width:900px;grid-template-columns:70px 110px 70px 110px 110px 110px 110px 110px 90px;gap:6px;padding:8px}}@media (max-width: 768px){.table-row{min-width:800px;grid-template-columns:60px 100px 60px 100px 100px 100px 100px 100px 80px;gap:4px;padding:6px}.table-cell{font-size:.8125rem}.status-badge{font-size:.6875rem;padding:3px 6px;min-width:60px}}.compliance.good{color:#059669;font-size:.75rem;font-weight:600;background:#d1fae5;padding:2px 6px;border-radius:10px}.compliance.fair{color:#d97706;font-size:.75rem;font-weight:600;background:#fef3c7;padding:2px 6px;border-radius:10px}.compliance.warning{color:#dc2626;font-size:.75rem;font-weight:600;background:#fee2e2;padding:2px 6px;border-radius:10px}.breakdown-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.member-stats .stat-item .stat-value{display:flex;align-items:center;gap:8px}.compliance.perfect{background:#10b981;color:#fff;padding:2px 8px;border-radius:10px;font-size:.6875rem;font-weight:600}.empty-history{padding:2rem;text-align:center;color:#666;background:#fff;border-radius:8px;border:1px solid #e5e5e5}.commissions-tab{max-width:1400px;margin:0 auto;padding:16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.commissions-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px;flex-wrap:wrap;gap:20px}.header-content h1{font-size:28px;margin:0 0 8px;display:flex;align-items:center;gap:12px;color:#1e293b}.header-content p{color:#64748b;margin:0;font-size:16px}.export-actions{display:flex;gap:10px;flex-wrap:wrap}.btn-outline{background:#fff;border:1px solid #cbd5e1;color:#334155;padding:8px 16px;border-radius:6px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:6px;transition:all .2s}.btn-outline:hover{background:#f8fafc;border-color:#94a3b8}.commissions-filters{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:20px;margin-bottom:24px}.filter-row{display:flex;flex-wrap:wrap;gap:16px}.filter-group{display:flex;flex-direction:column;min-width:200px}.filter-group label{margin-bottom:8px;font-weight:600;color:#334155;font-size:14px}.form-control{padding:8px 12px;border:1px solid #cbd5e1;border-radius:6px;font-size:14px;background:#fff}.summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-bottom:24px}.summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;display:flex;align-items:center;gap:16px}.summary-card.primary{border-left:4px solid #0ea5e9}.summary-card.success{border-left:4px solid #22c55e}.summary-card.warning{border-left:4px solid #f59e0b}.summary-card.info{border-left:4px solid #3b82f6}.card-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#f0f9ff;color:#0ea5e9}.summary-card.success .card-icon{background:#dcfce7;color:#16a34a}.summary-card.warning .card-icon{background:#fef3c7;color:#d97706}.summary-card.info .card-icon{background:#dbeafe;color:#1d4ed8}.card-content{flex:1}.card-value{font-size:24px;font-weight:700;color:#1e293b;margin-bottom:4px}.card-label{color:#64748b;font-size:14px}.commission-breakdown{margin-bottom:24px}.commission-breakdown h2{font-size:22px;margin:0 0 16px;color:#1e293b;display:flex;align-items:center;gap:10px}.breakdown-table{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.breakdown-table table{width:100%;border-collapse:collapse}.breakdown-table th,.breakdown-table td{padding:12px 16px;text-align:left;border-bottom:1px solid #f1f5f9;font-size:14px}.breakdown-table th{background:#f8fafc;font-weight:600;color:#334155}.breakdown-table tbody tr:last-child td{border-bottom:none}.type-cell{display:flex;align-items:center;gap:8px}.type-cell svg{color:#64748b}.commission-history{margin-bottom:24px}.history-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;flex-wrap:wrap;gap:12px}.history-header h2{font-size:22px;margin:0;color:#1e293b;display:flex;align-items:center;gap:10px}.record-count{color:#64748b;font-size:14px}.history-table-container{border:1px solid #e2e8f0;border-radius:12px;overflow:auto}.history-table{width:100%;min-width:800px;border-collapse:collapse}.history-table th{background:#f8fafc;padding:16px;text-align:left;font-weight:600;color:#334155;font-size:14px;border-bottom:2px solid #e2e8f0}.history-table td{padding:14px 16px;border-bottom:1px solid #f1f5f9;font-size:14px;color:#1e293b}.history-table .amount{font-weight:700;color:#0ea5e9;text-align:right}.group-info{display:flex;flex-direction:column}.group-info small{color:#64748b;font-size:12px;margin-top:4px}.status-badge{display:flex;align-items:center;gap:6px;padding:4px 10px;border-radius:20px;font-size:12px;font-weight:600}.status-badge.paid{background-color:#dcfce7;color:#16a34a}.status-badge.pending{background-color:#fef3c7;color:#d97706}.status-badge.processing{background-color:#dbeafe;color:#1d4ed8}.notes-cell{max-width:200px;word-wrap:break-word;color:#64748b}.commission-info{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;padding:24px}.commission-info h3{margin:0 0 20px;color:#16a34a;display:flex;align-items:center;gap:10px}.commission-rates{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.rate-item{background:#fff;border:1px solid #dcfce7;border-radius:12px;padding:20px}.rate-item.kpi-only{border-color:#e2e8f0;background:#f8fafc}.rate-item.kpi-only .rate-value{color:#64748b;font-style:italic}.rate-header{display:flex;align-items:center;gap:10px;margin-bottom:12px}.rate-header span{font-weight:600;color:#1e293b;font-size:16px}.rate-value{font-size:20px;font-weight:700;color:#0ea5e9;margin-bottom:8px}.rate-description{color:#64748b;font-size:14px;line-height:1.5}.loading-state .spinner{width:32px;height:32px;border:3px solid #e2e8f0;border-top:3px solid #0ea5e9;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 16px}.empty-state{text-align:center;padding:60px 20px;color:#64748b}.empty-state svg{margin-bottom:16px;color:#94a3b8;width:48px;height:48px}.empty-state h3{margin:0 0 12px;color:#1e293b;font-size:20px}.empty-state .small-text{font-size:14px;color:#64748b;margin-top:8px}@media (max-width: 768px){.commissions-header{flex-direction:column;align-items:stretch}.export-actions{justify-content:center}.filter-row{flex-direction:column}.filter-group{min-width:100%}.summary-cards{grid-template-columns:1fr}.history-table{font-size:12px}.history-table th,.history-table td{padding:10px 8px}.history-header h2{font-size:20px}.commission-rates{grid-template-columns:1fr}}.facilitator-expenses{max-width:1000px;margin:0 auto;padding:16px}.tabs-container{display:flex;gap:8px;margin-bottom:24px;border-bottom:2px solid #e2e8f0}.tab-btn{background:none;border:none;padding:12px 20px;font-size:14px;font-weight:600;color:#64748b;border-bottom:3px solid transparent;cursor:pointer;transition:all .2s}.tab-btn.active{color:#3b82f6;border-bottom-color:#3b82f6}.form-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;margin-bottom:24px}.amount-input{display:flex;align-items:center;background:#fff;border:1px solid #cbd5e1;border-radius:8px;overflow:hidden}.amount-input .currency{padding:0 12px;background:#f8fafc;color:#64748b;font-weight:600;border-right:1px solid #e2e8f0}.history-section{margin-top:24px}.expenses-table{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.expenses-table table{width:100%;border-collapse:collapse}.expenses-table th{background:#f8fafc;padding:16px;text-align:left;font-weight:600;color:#334155;font-size:14px;border-bottom:2px solid #e2e8f0}.expenses-table td{padding:14px 16px;border-bottom:1px solid #f1f5f9;font-size:14px;color:#1e293b}.amount-cell{font-weight:700;color:#0ea5e9}.no-receipt{color:#94a3b8;font-style:italic}.status-badge.status-success{background:#dcfce7;color:#16a34a}.status-badge.status-pending{background:#fef3c7;color:#d97706}.btn-icon{width:32px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;border:1px solid;background:#fff;cursor:pointer;transition:all .2s}.btn-icon.btn-danger{border-color:#fecaca;color:#dc2626}.btn-icon.btn-danger:hover{background:#fee2e2;transform:translateY(-1px)}.empty-state,.loading-state{text-align:center;padding:40px 20px}.empty-state svg,.loading-state svg{width:48px;height:48px;color:#94a3b8;margin-bottom:16px}.empty-state p,.loading-state p{color:#64748b;margin:0 0 24px;font-size:16px}.info-box{background:#f0f9ff;border:1px solid #bae6fd;border-radius:12px;padding:16px;display:flex;gap:12px;margin-top:24px;color:#0369a1;font-size:14px}.info-box svg{flex-shrink:0;margin-top:2px}.info-box p{margin:0}@media (max-width: 768px){.form-grid{grid-template-columns:1fr}.form-actions{flex-direction:column;align-items:stretch}.form-actions .btn{justify-content:center}.tabs-container{overflow-x:auto;padding-bottom:8px}.tab-btn{white-space:nowrap;min-width:150px}}.approval-monitor{max-width:1000px;margin:0 auto;padding:16px}.page-header{margin-bottom:24px}.page-header h1{font-size:28px;margin:0 0 8px;display:flex;align-items:center;gap:12px;color:#1e293b}.stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;text-align:center}.stat-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin:0 auto 12px;background:#f8fafc;color:#3b82f6}.stat-icon.warning{background:#fef3c7;color:#d97706}.stat-icon.danger{background:#fee2e2;color:#dc2626}.stat-icon.success{background:#dcfce7;color:#16a34a}.stat-info h3{font-size:24px;font-weight:700;color:#1e293b;margin:0 0 4px}.stat-info p{color:#64748b;margin:0;font-size:14px}.tabs-container{display:flex;gap:8px;margin-bottom:24px;border-bottom:2px solid #e2e8f0;padding-bottom:16px;overflow-x:auto}.tab-btn{background:none;border:none;padding:8px 16px;font-size:14px;font-weight:600;color:#64748b;border-bottom:3px solid transparent;cursor:pointer;transition:all .2s;white-space:nowrap;border-radius:6px 6px 0 0}.tab-btn:hover{color:#334155}.tab-btn.active{color:#3b82f6;border-bottom-color:#3b82f6;background:#f8fafc}.refresh-actions{margin-bottom:24px;display:flex;justify-content:flex-end}.approvals-list{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.approvals-table{padding:16px}.approval-item{border:1px solid #f1f5f9;border-radius:12px;padding:16px;margin-bottom:12px;background:#f8fafc;transition:all .2s}.approval-item:hover{background:#f1f5f9;transform:translateY(-1px)}.item-header{display:flex;align-items:flex-start;gap:16px;margin-bottom:12px}.item-icon{width:40px;height:40px;border-radius:8px;background:#e2e8f0;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#3b82f6}.item-info{flex:1}.item-info h4{font-size:16px;font-weight:600;color:#1e293b;margin:0 0 4px}.item-meta{display:flex;align-items:center;gap:8px;color:#64748b;font-size:12px}.item-amount{font-weight:700;color:#0ea5e9}.item-status{margin-left:auto}.status-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:20px;font-size:12px;font-weight:600}.status-badge.status-warning{background:#fef3c7;color:#92400e}.status-badge.status-danger{background:#fee2e2;color:#991b1b}.status-badge.status-success{background:#dcfce7;color:#166534}.status-badge.status-pending{background:#e0f2fe;color:#0369a1}.item-actions{display:flex;gap:8px;padding-top:12px;border-top:1px solid #e2e8f0}.empty-state{text-align:center;padding:40px 20px}.empty-state svg{width:48px;height:48px;color:#94a3b8;margin-bottom:16px}.empty-state h3{font-size:20px;margin:0 0 8px;color:#1e293b}.empty-state p{color:#64748b;margin:0 0 24px;font-size:16px}.loading-state{text-align:center;padding:40px 20px;color:#64748b}.loading-state .spinner{width:24px;height:24px;border:2px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:16px}.modal-content{background:#fff;border-radius:12px;max-width:500px;width:100%;max-height:90vh;overflow-y:auto}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e2e8f0}.modal-title{font-size:18px;font-weight:600;color:#1e293b;display:flex;align-items:center;gap:12px}.modal-close{background:none;border:none;font-size:20px;color:#64748b;cursor:pointer;padding:4px;border-radius:4px;transition:all .2s}.modal-close:hover{background:#f1f5f9;color:#1e293b}.modal-body{padding:24px}.modal-footer{padding:16px 24px;border-top:1px solid #e2e8f0;display:flex;justify-content:flex-end;gap:12px}.form-group{margin-bottom:16px}.form-group label{display:block;margin-bottom:6px;font-weight:600;color:#334155;font-size:14px}.form-control,.form-select{width:100%;padding:8px 12px;border:1px solid #cbd5e1;border-radius:6px;font-size:14px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-row .form-group{margin-bottom:0}.member-requests{margin-top:24px}.member-requests h4{margin:0 0 16px;color:#1e293b;font-size:16px}.member-request-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px;margin-bottom:8px}.member-request-item strong{display:block;margin-bottom:4px;color:#1e293b}@media (max-width: 768px){.tabs-container{flex-wrap:wrap}.tab-btn{flex:1;min-width:120px;text-align:center}.form-row{grid-template-columns:1fr}.modal-footer{flex-direction:column;align-items:stretch}.modal-footer .btn{justify-content:center}.item-header{flex-direction:column;align-items:stretch}.item-status{margin-left:0;margin-top:12px}}.draft-item{border-left:4px solid #3498db;background-color:#f8f9fa}.draft-badge{background-color:#3498db;color:#fff;font-size:10px;padding:2px 6px;border-radius:4px;position:absolute;top:-8px;right:-8px}.draft-label{color:#3498db;font-weight:400;font-size:14px;margin-left:8px}.draft-meta{color:#666;font-size:12px}.status-badge.status-info,.status-badge.status-draft{background-color:#d1ecf1;color:#0c5460;border-color:#bee5eb}.modal-header .draft-badge{position:static;margin-left:10px}.empty-member-requests{background-color:#fff3cd;border:1px solid #ffeaa7;border-radius:4px;padding:10px;margin-top:15px}.empty-member-requests p{margin:0;color:#856404;display:flex;align-items:center;gap:8px}.stat-card .stat-icon.info{background-color:#3498db;color:#fff}.tab-btn.active{font-weight:600}.item-actions{display:flex;gap:8px;flex-wrap:wrap}@media (max-width: 768px){.item-actions{flex-direction:column;gap:4px}.item-actions .btn{width:100%;justify-content:center}}.facilitator-settings{max-width:800px;margin:0 auto;padding:16px;color:#1e293b;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.settings-header{margin-bottom:24px}.settings-header h1{font-size:28px;margin:0 0 8px;display:flex;align-items:center;gap:12px;color:#1e293b}.settings-tabs{display:flex;gap:8px;margin-bottom:24px;border-bottom:2px solid #e2e8f0;overflow-x:auto}.tab-btn{background:none;border:none;padding:12px 20px;font-size:14px;font-weight:600;color:#64748b;border-bottom:3px solid transparent;cursor:pointer;white-space:nowrap;display:flex;align-items:center;gap:8px;border-radius:8px 8px 0 0}.tab-btn:hover{color:#334155;background:#f1f5f9}.tab-btn.active{color:#1e293b;border-bottom-color:#3b82f6;background:#fff}.alert{padding:16px;border-radius:8px;margin-bottom:24px;display:flex;gap:12px;align-items:flex-start}.alert-success{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}.settings-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px}.section-header{margin-bottom:24px}.section-header h2{font-size:20px;margin:0 0 8px;display:flex;align-items:center;gap:10px;color:#1e293b}.section-header p{color:#64748b;margin:0;font-size:14px}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin-bottom:24px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-weight:600;color:#334155;display:flex;align-items:center;gap:6px;font-size:14px}.form-control,.form-select{padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;font-size:14px}.form-control:focus,.form-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.password-input .form-control{padding-right:40px}.password-toggle{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:none;border:none;color:#94a3b8;cursor:pointer;padding:4px}.password-toggle:hover{color:#64748b}.password-requirements{color:#64748b;font-size:12px;margin-top:8px}.password-requirements ul{margin:4px 0 0;padding-left:20px}.password-requirements li{margin:2px 0}.form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:16px}.security-section,.account-info,.logout-section{margin-top:24px;padding-top:24px;border-top:1px solid #f1f5f9}.security-section h3,.account-info h3,.logout-section h3{margin:0 0 16px;color:#1e293b;font-size:18px}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.info-item{display:flex;gap:12px;padding:16px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.info-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#dbeafe;color:#1d4ed8;flex-shrink:0}.info-content span{color:#64748b;font-size:12px;display:block;margin-bottom:4px}.info-content strong{color:#1e293b;font-weight:600;font-size:14px}.status-active{color:#16a34a}.status-inactive{color:#dc2626}.expired{color:#dc2625}.valid{color:#16a34a}.valid-text{color:#16a34a}.logout-section{background:#fff5f5;border:1px solid #fecaca;border-radius:12px;padding:20px}.logout-section p{color:#991b1b;margin:8px 0 16px;font-size:14px}.btn-danger{background:#dc2626;color:#fff;padding:10px 16px;border:none;border-radius:8px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:8px;transition:background .2s}.btn-danger:hover{background:#b91c1c}.btn{padding:8px 16px;border-radius:8px;font-weight:600;font-size:14px;cursor:pointer;display:inline-flex;align-items:center;gap:8px;border:none;transition:all .2s}.btn-secondary{background:#f1f5f9;color:#334155;border:1px solid #cbd5e1}@media (max-width: 768px){.facilitator-settings{padding:12px}.settings-header h1{font-size:24px}.form-grid{grid-template-columns:1fr}.form-actions{flex-direction:column;align-items:stretch}.form-actions .btn{justify-content:center}.info-grid{grid-template-columns:1fr}.tab-btn{padding:8px 16px;font-size:12px}}.read-only-info{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:16px;margin-bottom:24px}.read-only-item{margin-bottom:16px}.read-only-item:last-child{margin-bottom:0}.read-only-item label{display:block;font-size:14px;font-weight:500;color:#64748b;margin-bottom:4px}.read-only-value{font-size:16px;font-weight:600;color:#1e293b;padding:8px 12px;background-color:#fff;border:1px solid #e2e8f0;border-radius:6px}.read-only-note{font-size:12px;color:#94a3b8;margin-top:4px;display:flex;align-items:center;gap:4px}.info-note{display:flex;align-items:center;gap:8px;padding:12px;background-color:#fef3c7;border:1px solid #fbbf24;border-radius:6px;margin-top:12px;font-size:14px;color:#92400e}.info-note svg{flex-shrink:0}.facilitator-settings{max-width:800px;margin:0 auto;padding:24px}.settings-header{margin-bottom:32px}.settings-header h1{font-size:28px;font-weight:700;color:#1e293b;margin:0 0 8px;display:flex;align-items:center;gap:12px}.settings-header p{color:#64748b;margin:0;font-size:16px}.settings-tabs{display:flex;gap:8px;border-bottom:1px solid #e2e8f0;margin-bottom:24px;overflow-x:auto}.tab-btn{padding:12px 20px;background:none;border:none;font-size:15px;font-weight:500;color:#64748b;cursor:pointer;display:flex;align-items:center;gap:8px;white-space:nowrap;border-bottom:2px solid transparent;transition:all .2s}.tab-btn:hover{color:#0ea5e9}.tab-btn.active{color:#0ea5e9;border-bottom-color:#0ea5e9;background-color:#f0f9ff}.settings-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:32px;margin-bottom:24px}.section-header{margin-bottom:32px}.section-header h2{font-size:20px;font-weight:600;color:#1e293b;margin:0 0 8px;display:flex;align-items:center;gap:8px}.section-header p{color:#64748b;margin:0 0 16px;font-size:15px}.info-note{display:flex;align-items:flex-start;gap:8px;padding:12px 16px;background-color:#fef3c7;border:1px solid #fbbf24;border-radius:8px;color:#92400e;font-size:14px}.alert{display:flex;align-items:center;gap:12px;padding:16px;border-radius:8px;margin-bottom:24px;font-size:15px}.alert-error{background-color:#fee2e2;border:1px solid #fca5a5;color:#dc2626}.alert-success{background-color:#dcfce7;border:1px solid #86efac;color:#166534}.read-only-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:24px}.read-only-item{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:16px}.read-only-item label{display:block;font-size:13px;color:#64748b;margin-bottom:8px;font-weight:500}.read-only-value{font-size:16px;font-weight:600;color:#1e293b;margin-bottom:4px}.read-only-note{font-size:12px;color:#94a3b8;font-style:italic}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:24px}.form-group{display:flex;flex-direction:column}.form-group label{font-size:14px;font-weight:500;color:#374151;margin-bottom:8px}.form-control{padding:12px;border:1px solid #d1d5db;border-radius:8px;font-size:15px;transition:all .2s;background-color:#fff}.form-control:focus{outline:none;border-color:#0ea5e9;box-shadow:0 0 0 3px #0ea5e91a}.form-control::placeholder{color:#9ca3af}textarea.form-control{min-height:80px;resize:vertical}.password-input{position:relative}.password-toggle{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:none;border:none;color:#6b7280;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center}.password-requirements{margin-top:8px;padding:12px;background-color:#f8fafc;border-radius:6px}.password-requirements small{display:block;color:#64748b;margin-bottom:6px;font-weight:500}.password-requirements ul{margin:0;padding-left:20px;color:#64748b;font-size:13px}.password-requirements li{margin-bottom:2px}.form-actions{display:flex;justify-content:flex-end;gap:12px;padding-top:24px;border-top:1px solid #e2e8f0}.btn{padding:12px 24px;border-radius:8px;font-size:15px;font-weight:500;cursor:pointer;transition:all .2s;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent}.btn-primary{background-color:#0ea5e9;color:#fff;border-color:#0ea5e9}.btn-primary:hover:not(:disabled){background-color:#0284c7}.btn-secondary{background-color:#fff;color:#374151;border-color:#d1d5db}.btn-secondary:hover:not(:disabled){background-color:#f9fafb}.btn-danger{background-color:#ef4444;color:#fff;border-color:#ef4444}.btn-danger:hover:not(:disabled){background-color:#dc2626}.spinner{animation:spin 1s linear infinite}.security-section{margin-bottom:32px;padding-bottom:32px;border-bottom:1px solid #e2e8f0}.security-section h3,.security-info h3{font-size:18px;font-weight:600;color:#1e293b;margin:0 0 20px}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.info-item{display:flex;align-items:flex-start;gap:12px;padding:16px;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.info-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:8px;background-color:#fff;border:1px solid #e2e8f0;color:#64748b;flex-shrink:0}.info-icon .expired{color:#dc2626}.info-icon .valid{color:#10b981}.info-content{flex:1}.info-content span{display:block;font-size:12px;color:#64748b;margin-bottom:2px}.info-content strong{display:block;font-size:14px;color:#1e293b}.expired-text{color:#dc2626}.valid-text{color:#10b981}.branch-location{margin-top:4px;font-size:12px;color:#64748b;opacity:.8}.status-inactive{color:#ef4444}.account-info{margin-bottom:32px}.logout-section{padding-top:32px;border-top:1px solid #e2e8f0}.logout-section h3{font-size:18px;font-weight:600;color:#1e293b;margin:0 0 8px}.logout-section p{color:#64748b;margin:0 0 20px;font-size:15px}@media (max-width: 768px){.facilitator-settings{padding:16px}.settings-section{padding:24px}.settings-tabs{flex-wrap:nowrap;overflow-x:auto}.tab-btn{padding:10px 16px;font-size:14px}.info-grid,.read-only-info{grid-template-columns:1fr}.form-actions{flex-direction:column}.btn{width:100%}}.facilitator-dashboard{display:flex;min-height:100vh;background-color:#f8fafc;color:#1e293b;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.mobile-top-bar{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#fff;border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:50}.mobile-top-bar h2{font-size:18px;font-weight:600;color:#1e293b;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:60%}.hamburger{background:none;border:none;color:#334155;font-size:24px;cursor:pointer;padding:4px;border-radius:6px}.hamburger:hover{background:#f1f5f9}.spacer{width:24px}.sidebar{width:260px;background:#fff;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;position:fixed;top:0;left:0;height:100vh;z-index:40;transform:translate(-100%);transition:transform .3s ease;box-shadow:0 0 15px #0000001a}.sidebar-content{display:flex;flex-direction:column;flex:1;overflow-y:auto;padding-bottom:70px}.sidebar-header{padding:20px 16px;border-bottom:1px solid #f1f5f9;background:#fff;z-index:41;position:sticky;top:0}.sidebar-header h2{font-size:18px;font-weight:700;color:#0ea5e9;margin:0;display:flex;align-items:center;gap:8px}.nav-item{width:100%;padding:12px 24px;text-align:left;background:none;border:none;color:#475569;font-size:15px;font-weight:500;display:flex;align-items:center;gap:12px;cursor:pointer;transition:all .2s;border-left:4px solid transparent}.nav-item:hover{background-color:#f8fafc}.nav-item.active{background-color:#dbeafe;color:#1d4ed8;border-left-color:#0ea5e9}.nav-icon{display:flex;align-items:center;justify-content:center;color:inherit;min-width:20px}.sidebar-logout{padding:16px 24px;background:#fff;border-top:1px solid #f1f5f9;width:100%;display:flex;align-items:center;gap:12px;color:#dc2626;font-size:14px;font-weight:600;cursor:pointer;transition:background .2s;position:sticky;bottom:0;z-index:42;background:linear-gradient(to top,white 80%,transparent)}.sidebar-logout svg{flex-shrink:0}.sidebar-overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:35}@media (max-width: 768px){.sidebar-overlay.active{display:block}.sidebar{height:100vh;max-height:100vh;position:fixed;top:0}.sidebar-content{padding-bottom:80px}}.main-content{flex:1;margin-left:0;padding-top:60px;min-height:100vh}@media (min-width: 769px){.main-content{margin-left:260px;padding-top:0}.mobile-top-bar{display:none}}.dashboard-content{max-width:1200px;margin:0 auto;padding:16px}.welcome-header{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:16px;margin-bottom:24px}.welcome-header h1{font-size:24px;margin:0;color:#1e293b;display:flex;align-items:center;gap:12px}.user-name{color:#0ea5e9;font-weight:600}.welcome-subtitle{color:#64748b;margin:4px 0 0;font-size:14px;display:flex;flex-wrap:wrap;gap:12px;align-items:center}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:24px}.stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px;display:flex;gap:12px;align-items:center;transition:transform .2s,box-shadow .2s}.stat-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:10px;flex-shrink:0}.stat-primary .stat-icon{background-color:#dbeafe;color:#1d4ed8}.stat-success .stat-icon{background-color:#dcfce7;color:#16a34a}.stat-warning .stat-icon{background-color:#fef3c7;color:#d97706}.stat-info .stat-icon{background-color:#dbeafe;color:#0ea5e9}.stat-secondary .stat-icon{background-color:#f0fdf4;color:#16a34a}.current-group-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;margin-bottom:24px}.card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px;flex-wrap:wrap;gap:12px}.card-header h3{margin:0;font-size:18px;color:#1e293b;display:flex;align-items:center;gap:10px}.badge{padding:4px 10px;border-radius:20px;font-size:12px;font-weight:600;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.badge-warning{background-color:#fef3c7;color:#d97706}.group-summary h4{margin:0 0 12px;font-size:18px;color:#1e293b}.group-meta{color:#64748b;font-size:14px;display:flex;flex-wrap:wrap;gap:12px;margin-bottom:16px;align-items:center}.group-totals{display:flex;flex-wrap:wrap;gap:20px;margin-bottom:16px}.total-item{display:flex;gap:8px;align-items:center}.total-item span{color:#64748b}.total-item strong{color:#1e293b;font-weight:600}.card-actions{display:flex;gap:12px;flex-wrap:wrap}.quick-actions{margin-top:24px}.quick-actions h3{margin:0 0 16px;font-size:18px;color:#1e293b}.actions-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px}.action-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;text-align:center;cursor:pointer;transition:all .2s;display:flex;flex-direction:column;align-items:center;gap:12px}.action-card:hover{border-color:#cbd5e1;box-shadow:0 4px 12px #00000014;transform:translateY(-2px)}.action-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#f0f9ff;color:#0ea5e9;font-size:24px}.action-text{font-weight:600;color:#1e293b;font-size:14px}.btn{padding:10px 18px;border-radius:8px;font-weight:600;font-size:14px;cursor:pointer;display:inline-flex;align-items:center;gap:8px;border:none;transition:all .2s;text-decoration:none;justify-content:center;min-height:42px}.btn-primary{background-color:#0ea5e9;color:#fff}.btn-primary:hover:not(:disabled){background-color:#0284c7;transform:translateY(-1px)}.btn-outline{background:#fff;color:#334155;border:1px solid #cbd5e1}.btn-outline:hover:not(:disabled){background:#f8fafc;border-color:#94a3b8}.empty-view{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center;color:#64748b}.empty-view svg{width:48px;height:48px;margin-bottom:16px;color:#94a3b8}.empty-view h3{margin:0 0 12px;color:#1e293b;font-size:20px}.empty-view p{margin:0;color:#64748b}.loading-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;background:#f8fafc;color:#64748b}.loading-spinner{width:32px;height:32px;border:3px solid #e2e8f0;border-top:3px solid #0ea5e9;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}@media (max-width: 768px){.facilitator-dashboard{flex-direction:column}.main-content{padding:70px 12px 12px}.stats-grid,.actions-grid{grid-template-columns:repeat(2,1fr)}@media (max-width: 480px){.stats-grid,.actions-grid{grid-template-columns:1fr}}.card-actions{flex-direction:column;gap:10px}.group-totals{flex-direction:column;gap:12px}.btn{width:100%;padding:12px;font-size:15px}.welcome-header{flex-direction:column;align-items:stretch}.mobile-top-bar h2{max-width:70%}}@media (max-height: 600px){.sidebar-content{padding-bottom:100px}.sidebar-logout{position:relative;background:#fff;border-top:1px solid #f1f5f9}}@media print{.sidebar,.mobile-top-bar,.btn{display:none!important}.main-content{margin-left:0!important;padding:0!important}.dashboard-content{padding:0!important;max-width:100%!important}}.sidebar{width:260px;background:#fff;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;position:fixed;top:0;left:0;height:100vh;z-index:30;transition:transform .3s ease;box-shadow:0 0 10px #0000000d}.sidebar.mobile-hidden{transform:translate(-100%)}.sidebar-content{flex:1;overflow-y:auto;padding-bottom:80px}.sidebar-nav{padding:12px 0;flex:1}.sidebar-nav-item{width:100%;padding:12px 24px;text-align:left;background:none;border:none;color:#475569;font-size:15px;font-weight:500;display:flex;align-items:center;gap:12px;cursor:pointer;transition:all .2s}.sidebar-nav-item:hover{background-color:#f8fafc}.sidebar-nav-item.active{background-color:#dbeafe;color:#1d4ed8;border-left:4px solid #0ea5e9}.sidebar-logout{padding:16px 24px;background:#fff;border-top:1px solid #f1f5f9;width:100%;display:flex;align-items:center;gap:12px;color:#dc2626;font-size:14px;font-weight:600;cursor:pointer;transition:background .2s;position:sticky;bottom:0;z-index:31}.sidebar-logout:hover{background:#fee2e2}.sidebar-overlay{display:none}@media (max-width: 768px){.sidebar-overlay{display:block;position:fixed;top:0;left:0;right:0;bottom:0;background:#0006;z-index:25}.main-content{margin-left:0;padding-top:60px}}.super-admin-dashboard{display:flex;min-height:100vh;background:#f5f7fa;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.sidebar{width:260px;background:linear-gradient(180deg,#1a237e,#283593);color:#fff;display:flex;flex-direction:column;transition:width .3s ease;box-shadow:2px 0 10px #0000001a;z-index:100}.sidebar-header{padding:24px 20px;border-bottom:1px solid rgba(255,255,255,.1);position:relative}.logo{display:flex;align-items:center;gap:12px;margin-bottom:8px}.logo h2{font-size:20px;font-weight:700;margin:0}.sidebar-subtitle{font-size:12px;opacity:.8;margin:0}.sidebar-toggle{position:absolute;top:20px;right:-12px;background:#fff;border:2px solid #1a237e;border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#1a237e;font-weight:700}.sidebar-menu{flex:1;padding:20px 0}.menu-item{width:100%;padding:14px 24px;display:flex;align-items:center;gap:16px;background:none;border:none;color:#fffc;text-align:left;cursor:pointer;transition:all .2s;font-size:14px;font-weight:500}.sidebar-footer{padding:20px;border-top:1px solid rgba(255,255,255,.1)}.user-avatar{width:40px;height:40px;border-radius:50%;background:#ffffff1a;display:flex;align-items:center;justify-content:center}.user-name{font-weight:600;margin:0;font-size:14px}.user-role{font-size:12px;opacity:.7;margin:0}.btn-logout{width:100%;background:#ffffff1a;color:#fff;border:1px solid rgba(255,255,255,.2);padding:8px 16px;border-radius:6px;cursor:pointer;transition:background .2s}.btn-logout:hover{background:#fff3}.main-content{flex:1;padding:24px;overflow-y:auto}.welcome-header h1{margin:0;color:#1a237e;font-size:28px;font-weight:700}.welcome-subtitle{color:#666;margin:8px 0 0;font-size:14px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin-bottom:30px}.stat-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #00000014;display:flex;align-items:center;gap:16px;transition:transform .2s,box-shadow .2s}.stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 16px #0000001f}.stat-icon{width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff}.stat-icon.users{background:linear-gradient(135deg,#667eea,#764ba2)}.stat-icon.branches{background:linear-gradient(135deg,#f093fb,#f5576c)}.stat-icon.members{background:linear-gradient(135deg,#4facfe,#00f2fe)}.stat-icon.loans{background:linear-gradient(135deg,#43e97b,#38f9d7)}.stat-icon.pending{background:linear-gradient(135deg,#fa709a,#fee140)}.stat-icon.transactions{background:linear-gradient(135deg,#a8edea,#fed6e3)}.stat-icon.health{background:linear-gradient(135deg,#30cfd0,#330867)}.stat-info h3{margin:0;font-size:28px;font-weight:700;color:#1a237e}.stat-info p{margin:4px 0 0;color:#666;font-size:14px}.active-loans{display:block;font-size:12px;color:#4caf50;margin-top:2px}.stat-trend{margin-left:auto;font-size:12px;font-weight:600;padding:4px 8px;border-radius:12px}.stat-trend.positive{background:#e8f5e9;color:#2e7d32}.stat-trend.negative{background:#ffebee;color:#c62828}.stat-trend.neutral{background:#f5f5f5;color:#666}.system-health .health-status{font-weight:600;padding:2px 8px;border-radius:4px;font-size:12px;display:inline-block}.health-status.good{background:#e8f5e9;color:#2e7d32}.health-status.warning{background:#fff3e0;color:#ef6c00}.health-status.critical{background:#ffebee;color:#c62828}.quick-actions h3{margin:0 0 12px;color:#1a237e;font-size:16px}.action-buttons{display:flex;flex-direction:column;gap:8px}.content-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}.content-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #00000014}.card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #f0f0f0}.card-header h3{margin:0;color:#1a237e;font-size:18px;display:flex;align-items:center;gap:8px}.badge{padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600}.badge-danger{background:#ffebee;color:#c62828}.activities-list{max-height:300px;overflow-y:auto}.activity-item{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px solid #f5f5f5}.activity-item:last-child{border-bottom:none}.activity-icon{width:32px;height:32px;border-radius:8px;background:#f0f4ff;display:flex;align-items:center;justify-content:center;color:#1a237e;flex-shrink:0}.activity-details{flex:1}.activity-description{margin:0;font-size:14px;line-height:1.4}.activity-meta{font-size:12px;color:#888;margin-top:4px;display:block}.no-data{text-align:center;color:#888;padding:20px;font-style:italic}.issues-card{border-left:4px solid #ff9800}.issue-item{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #f5f5f5}.issue-item:last-child{border-bottom:none}.issue-severity{flex-shrink:0}.severity-dot{width:12px;height:12px;border-radius:50%;display:block}.severity-dot.high{background:#f44336}.severity-dot.medium{background:#ff9800}.severity-dot.low{background:#4caf50}.issue-content{flex:1}.issue-content h4{margin:0 0 4px;font-size:14px;color:#333}.issue-content p{margin:0;font-size:13px;color:#666;line-height:1.4}.issue-meta{display:flex;gap:12px;margin-top:8px;font-size:12px;color:#888}.no-issues{text-align:center;padding:40px 20px;color:#4caf50}.no-issues p{margin:12px 0 4px;font-weight:600}.no-issues small{color:#888}.chart-placeholder{height:200px;display:flex;flex-direction:column;justify-content:flex-end}.chart-row{display:flex;align-items:flex-end;justify-content:space-around;height:150px;padding:0 10px}.chart-bar{flex:1;background:linear-gradient(to top,#667eea,#764ba2);margin:0 4px;border-radius:4px 4px 0 0;position:relative;min-height:10px}.chart-bar span{position:absolute;bottom:-25px;left:50%;transform:translate(-50%);font-size:12px;color:#666}.chart-label{text-align:center;margin-top:30px;color:#666;font-size:14px}.user-preview p{margin:0 0 16px;color:#666}.role-distribution{display:flex;flex-direction:column;gap:8px}.role-item{display:flex;align-items:center;gap:8px;font-size:14px}.role-dot{width:10px;height:10px;border-radius:50%}.role-dot.super-admin{background:#f44336}.role-dot.gm{background:#2196f3}.role-dot.bm{background:#4caf50}.btn{padding:8px 16px;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:all .2s}.btn-primary:hover{opacity:.9;transform:translateY(-1px)}.btn-secondary:hover{background:#e0e7ff}.btn-success{background:#4caf50;color:#fff}.btn-warning{background:#ff9800;color:#fff}.tab-content{background:#fff;border-radius:12px;padding:32px;box-shadow:0 2px 8px #00000014}.tab-content h2{color:#1a237e;margin:0 0 12px}.tab-content p{color:#666;margin:0 0 24px}.period-select{padding:6px 12px;border:1px solid #ddd;border-radius:6px;background:#fff;font-size:14px;cursor:pointer}@media (max-width: 1200px){.content-grid{grid-template-columns:1fr}}@media (max-width: 768px){.sidebar{position:fixed;left:-260px;height:100vh}.sidebar.open{left:0}.sidebar.collapsed{left:-70px}.main-content{margin-left:0}.stats-grid{grid-template-columns:1fr}.welcome-header{flex-direction:column;gap:16px}.header-actions{width:100%;justify-content:flex-start}}.user-management{background:#fff;border-radius:12px;padding:24px}.user-management-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.user-filters{display:flex;gap:16px;margin-bottom:24px}.search-box{flex:1;display:flex;align-items:center;gap:12px;padding:10px 16px;border:1px solid #ddd;border-radius:8px;background:#fafafa}.users-table-container{overflow-x:auto}.users-table th{text-align:left;padding:12px 16px;background:#f8f9fa;color:#495057;font-weight:600;border-bottom:2px solid #dee2e6}.user-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}.user-email{font-weight:500;color:#212529}.user-id{font-size:12px;color:#6c757d}.role-badge{padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600}.role-badge.super_admin{background:#ffebee;color:#c62828}.role-badge.general_manager{background:#e3f2fd;color:#1565c0}.role-badge.branch_manager{background:#e8f5e9;color:#2e7d32}.status{padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600}.btn-icon.edit{background:#e3f2fd;color:#1976d2}.btn-icon.edit:hover{background:#bbdefb}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal{background:#fff;border-radius:12px;padding:32px;width:90%;max-width:500px;max-height:90vh;overflow-y:auto}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.modal-header h3{margin:0;color:#1a237e}.close-btn{background:none;border:none;font-size:24px;cursor:pointer;color:#666}.form-group label{display:block;margin-bottom:8px;font-weight:500;color:#333}.form-group input,.form-group select{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px}.form-group input:focus,.form-group select:focus{outline:none;border-color:#667eea}.modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:32px}.error-message{background:#ffebee;color:#c62828;padding:12px;border-radius:6px;margin-bottom:20px;font-size:14px}.user-info-summary{background:#f8f9fa;padding:16px;border-radius:8px;margin-bottom:24px;font-size:14px}.user-info-summary div{margin-bottom:8px}.form-hint{display:block;margin-top:4px;font-size:12px;color:#666}.branch-management{background:#fff;border-radius:12px;padding:24px}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.branches-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}.branch-card{background:#fff;border:1px solid #e0e0e0;border-radius:10px;padding:20px;transition:transform .2s,box-shadow .2s}.branch-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.branch-header{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}.branch-icon{width:48px;height:48px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff}.branch-info h3{margin:0 0 4px;font-size:16px;color:#1a237e}.branch-meta{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#666}.branch-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0;padding:16px 0;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0}.stat{display:flex;align-items:center;gap:8px}.stat>div{display:flex;flex-direction:column}.stat strong{font-size:16px;color:#1a237e}.stat small{font-size:11px;color:#666}.branch-manager{font-size:12px;color:#666}.manager-info{margin-top:4px;font-weight:500;color:#333}.loan-management{background:#fff;border-radius:12px;padding:24px}.loan-summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}.summary-card{background:#fff;border:1px solid #e0e0e0;border-radius:10px;padding:20px;display:flex;align-items:center;gap:16px}.summary-icon{width:48px;height:48px;border-radius:10px;display:flex;align-items:center;justify-content:center}.summary-icon.total{background:#e3f2fd;color:#1976d2}.summary-icon.active{background:#e8f5e9;color:#2e7d32}.summary-icon.pending{background:#fff3e0;color:#ef6c00}.summary-icon.amount{background:#f3e5f5;color:#7b1fa2}.summary-info h3{margin:0;font-size:24px;color:#1a237e}.summary-info p{margin:4px 0 0;color:#666;font-size:14px}.filters-section{display:flex;gap:16px;margin-bottom:24px;flex-wrap:wrap}.filter-group{display:flex;flex-direction:column;gap:8px}.filter-group label{font-size:12px;font-weight:500;color:#666}.filter-group select{padding:8px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;min-width:150px}.data-table th{background:#f8f9fa;padding:12px 16px;text-align:left;font-weight:600;color:#495057;border-bottom:2px solid #dee2e6}.data-table td{padding:16px;border-bottom:1px solid #e9ecef}.loan-id{font-family:monospace;color:#666}.amount{font-weight:600;color:#2e7d32}.status-badge{padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600;text-transform:capitalize}.status-badge.pending{background:#fff3e0;color:#ef6c00}.status-badge.approved{background:#e8f5e9;color:#2e7d32}.status-badge.active{background:#e3f2fd;color:#1976d2}.status-badge.rejected{background:#ffebee;color:#c62828}.loading{text-align:center;padding:40px;color:#666;font-size:16px}.user-management{background:#f5f7fa;min-height:100vh;padding:24px}.user-filters{display:flex;gap:16px;margin-top:16px}.role-filter{padding:8px 12px;border:1px solid #ddd;border-radius:6px;background:#fff;font-size:14px;min-width:180px}.users-table-container{overflow-x:auto;margin-top:16px}.users-table{width:100%;border-collapse:collapse;background:#fff;border-radius:8px;overflow:hidden}.users-table th{background:#f8f9fa;padding:16px;text-align:left;font-weight:600;color:#495057;border-bottom:2px solid #dee2e6}.users-table td{padding:16px;border-bottom:1px solid #e9ecef}.user-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px}.user-email{font-weight:500;color:#212529;font-size:14px}.user-id{font-size:12px;color:#6c757d;margin-top:2px}.role-badge{padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600;text-transform:capitalize}.branch-info{display:flex;flex-direction:column;gap:2px}.branch-code{font-size:11px;color:#888}.status{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600}.status.active{background:#e8f5e9;color:#2e7d32}.btn-icon{width:32px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer;border:none;transition:all .2s}.btn-icon.view{background:#e3f2fd;color:#1976d2}.btn-icon.view:hover{background:#bbdefb}.btn-icon.edit{background:#fff3e0;color:#ef6c00}.btn-icon.edit:hover{background:#ffcc80}.btn-icon.delete{background:#ffebee;color:#d32f2f}.btn-icon.delete:hover{background:#ffcdd2}.btn-icon:disabled{opacity:.5;cursor:not-allowed}.no-data{text-align:center;padding:40px;color:#888;font-style:italic}.loading{text-align:center;padding:40px;color:#666;display:flex;flex-direction:column;align-items:center;gap:12px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal{background:#fff;border-radius:12px;padding:32px;width:90%;max-width:500px;max-height:90vh;overflow-y:auto;box-shadow:0 10px 40px #0003}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid #eee}.modal-header h3{margin:0;color:#1a237e;display:flex;align-items:center;gap:8px}.close-btn{background:none;border:none;font-size:24px;cursor:pointer;color:#666;padding:4px;border-radius:4px}.close-btn:hover{background:#f5f5f5}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-weight:500;color:#333;font-size:14px}.form-group input,.form-group select{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;transition:border-color .2s}.form-group input:focus,.form-group select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 2px #667eea1a}.modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:32px;padding-top:24px;border-top:1px solid #eee}@media (max-width: 768px){.user-filters{flex-direction:column}.role-filter{width:100%}.users-table{font-size:14px}.users-table th,.users-table td{padding:12px 8px}.action-buttons{flex-direction:column;gap:4px}.btn-icon{width:28px;height:28px}}.user-info-summary{background:#f8f9fa;padding:16px;border-radius:8px;margin-bottom:24px;border:1px solid #e9ecef}.summary-item{display:flex;align-items:center;gap:12px;margin-bottom:12px;font-size:14px}.summary-item>div{display:flex;flex-direction:column}.summary-item strong{color:#495057;font-size:12px;margin-bottom:2px}.summary-item span{color:#212529;font-weight:500}.user-id{font-family:Monaco,Consolas,monospace;font-size:12px;color:#6c757d}.form-hint{display:block;margin-top:4px;font-size:12px;color:#6c757d;line-height:1.4}.form-warning{display:block;margin-top:4px;font-size:12px;color:#ef6c00;background:#fff3e0;padding:6px 10px;border-radius:4px;border-left:3px solid #ef6c00}.loading-spinner{display:inline-block;animation:spin 1s linear infinite}.btn{padding:10px 20px;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:all .2s;text-decoration:none}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover:not(:disabled){opacity:.9;transform:translateY(-1px);box-shadow:0 4px 12px #667eea4d}.btn-secondary{background:#f0f4ff;color:#667eea;border:1px solid #d1d9ff}.btn-secondary:hover:not(:disabled){background:#e0e7ff}.btn:disabled{opacity:.6;cursor:not-allowed;transform:none!important}.badge{padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600}.badge-primary{background:#e3f2fd;color:#1976d2}.modal-content{padding:20px 0;line-height:1.6;color:#666}.error-message{background:#ffebee;color:#c62828;padding:12px 16px;border-radius:6px;margin-bottom:20px;font-size:14px;display:flex;align-items:center;gap:8px;border-left:4px solid #c62828}.debug-item{padding:8px 12px;background:#fff;border-radius:4px;border:1px solid #e0e0e0;font-size:13px}.debug-item strong{color:#666;margin-right:5px}.role-badge{padding:4px 12px;border-radius:4px;font-size:12px;font-weight:600;display:inline-block}.role-badge.super-admin{background:#ffebee;color:#c62828}.role-badge.general-manager{background:#e3f2fd;color:#1565c0}.role-badge.branch-manager{background:#e8f5e9;color:#2e7d32}.role-badge.facilitator{background:#fff3e0;color:#ef6c00}.badge{padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;background:#e0e0e0;color:#333}.user-management{padding:20px}.filters-panel{margin-bottom:20px}.filters-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;margin-top:15px}.filter-group label{display:block;margin-bottom:5px;font-weight:500;color:#555;font-size:13px}.filter-group select{width:100%;padding:8px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px}.users-table{width:100%;border-collapse:collapse}.users-table th{background:#f8f9fa;padding:12px 15px;text-align:left;font-weight:600;color:#495057;border-bottom:2px solid #dee2e6;font-size:13px;text-transform:uppercase;letter-spacing:.5px}.users-table td{padding:15px;border-bottom:1px solid #e9ecef;vertical-align:middle}.users-table tr:hover{background:#f8f9fa}.user-info-cell{display:flex;align-items:center;gap:12px}.user-avatar{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:16px;flex-shrink:0}.user-name{font-weight:500;color:#212529;margin-bottom:2px}.user-id{font-size:11px;color:#6c757d;font-family:Monaco,Consolas,monospace}.role-badge,.status-badge{padding:4px 10px;border-radius:20px;font-size:11px;font-weight:600;display:inline-flex;align-items:center;gap:5px;text-transform:uppercase}.status-badge{display:inline-flex;align-items:center;gap:6px}.status-dot{width:8px;height:8px;border-radius:50%}.contact-info{font-size:12px}.contact-email,.contact-phone{display:flex;align-items:center;gap:5px;margin-bottom:3px;color:#666}.activity-info{font-size:12px;color:#666}.activity-info small{color:#999;display:block}.action-menu{position:relative}.btn-icon.more{width:32px;height:32px;border-radius:6px;border:1px solid #dee2e6;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.btn-icon.more:hover{background:#f8f9fa;border-color:#adb5bd}.action-dropdown{position:absolute;top:100%;right:0;background:#fff;border:1px solid #dee2e6;border-radius:6px;box-shadow:0 4px 12px #0000001a;z-index:100;min-width:180px;margin-top:5px}.dropdown-item{width:100%;padding:8px 15px;border:none;background:none;text-align:left;display:flex;align-items:center;gap:8px;cursor:pointer;font-size:13px;color:#495057;transition:background .2s}.dropdown-item:hover{background:#f8f9fa}.dropdown-item.danger{color:#dc3545}.dropdown-item.warning{color:#ffc107}.dropdown-item.success{color:#28a745}.table-controls{display:flex;align-items:center;gap:15px}.pagination-info{font-size:13px;color:#666}.pagination-buttons{display:flex;align-items:center;gap:5px}.page-number{font-size:13px;padding:0 10px;color:#666}.modal{max-width:700px;width:90%;max-height:90vh;overflow-y:auto}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px;margin:20px 0}.form-group.full-width{grid-column:1 / -1}.form-group label{display:block;margin-bottom:5px;font-weight:500;color:#555;font-size:13px}.form-group input,.form-group select,.form-group textarea{width:100%;padding:8px 12px;border:1px solid #ddd;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:#667eea}.form-group textarea{resize:vertical;min-height:60px}.user-info-summary{background:#f8f9fa;padding:15px;border-radius:6px;margin-bottom:20px;border:1px solid #e9ecef}.summary-item{margin-bottom:8px;font-size:13px}.summary-item:last-child{margin-bottom:0}.summary-item strong{color:#495057;margin-right:5px}.success-message{background:#d4edda;color:#155724;padding:12px 15px;border-radius:6px;margin-bottom:20px;display:flex;align-items:center;gap:10px;border-left:4px solid #28a745}.warning-message,.info-message{padding:15px;border-radius:6px;margin-bottom:20px;display:flex;align-items:flex-start;gap:15px}.warning-message{background:#fff3cd;color:#856404;border-left:4px solid #ffc107}.info-message{background:#d1ecf1;color:#0c5460;border-left:4px solid #17a2b8}.btn-danger{background:#dc3545;color:#fff;border:none}.btn-danger:hover{background:#c82333}.btn-warning{background:#ffc107;color:#212529;border:none}.btn-warning:hover{background:#e0a800}@media (max-width: 768px){.filters-grid{grid-template-columns:1fr}.users-table{font-size:12px}.users-table th,.users-table td{padding:8px}.form-grid{grid-template-columns:1fr}.table-controls{flex-direction:column;align-items:stretch;gap:10px}}.action-dropdown.leftwards{right:auto;left:0}.users-table-container{position:relative;overflow:visible!important}.users-table{position:relative}.dropdown-overlay{position:fixed;top:0;left:0;right:0;bottom:0;z-index:999;background:transparent}.users-table td:last-child{position:relative;overflow:visible}.users-table tr:last-child .action-dropdown{top:auto;bottom:100%;margin-top:0;margin-bottom:4px}.content-card{overflow:visible!important}.action-menu{position:relative;display:inline-block}.action-dropdown{position:absolute;top:100%;right:0;background:#fff;border:1px solid #e2e8f0;border-radius:6px;box-shadow:0 4px 12px #00000026;min-width:180px;z-index:1000;padding:4px 0;margin-top:4px;animation:fadeIn .2s ease-in-out}.action-dropdown.upwards{top:auto;bottom:100%;margin-top:0;margin-bottom:4px}.dropdown-item{display:flex;align-items:center;gap:8px;width:100%;padding:8px 12px;text-align:left;background:none;border:none;color:#4a5568;font-size:14px;cursor:pointer;transition:background-color .2s}.dropdown-item:hover{background-color:#f7fafc}.dropdown-item.danger{color:#e53e3e}.dropdown-item.danger:hover{background-color:#fff5f5}.dropdown-item.warning{color:#dd6b20}.dropdown-item.warning:hover{background-color:#fffaf0}.dropdown-item.success{color:#38a169}.dropdown-item.success:hover{background-color:#f0fff4}.users-table-container,.content-card{overflow:visible!important}@keyframes fadeIn{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.action-dropdown.upwards{animation:fadeInUp .2s ease-in-out}@keyframes fadeInUp{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.branch-management{padding:20px}.branches-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;margin-top:20px}.branch-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:20px;box-shadow:0 2px 4px #0000001a;transition:transform .2s,box-shadow .2s}.branch-card:hover{transform:translateY(-2px);box-shadow:0 4px 8px #00000026}.branch-icon{width:50px;height:50px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.branch-info h3{margin:0 0 5px;font-size:18px;color:#2d3748}.branch-code{font-size:12px;color:#718096;background:#f7fafc;padding:2px 6px;border-radius:4px;display:inline-block;margin-bottom:8px}.branch-meta{display:flex;flex-direction:column;gap:4px;font-size:13px;color:#718096}.branch-meta span{display:flex;align-items:center;gap:6px}.btn-icon{background:none;border:none;width:32px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#718096;transition:background-color .2s,color .2s}.btn-icon:hover{background-color:#f7fafc}.btn-icon.edit:hover{color:#3182ce}.btn-icon.delete:hover{color:#e53e3e}.branch-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:15px 0;padding:15px 0;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}.branch-stats .stat{display:flex;align-items:center;gap:8px}.branch-stats .stat strong{display:block;font-size:18px;color:#2d3748}.branch-stats .stat small{display:block;font-size:12px;color:#718096}.branch-footer{display:flex;align-items:center;gap:6px;font-size:12px;color:#718096;margin-top:10px}.filters-panel{margin:20px 0}.search-box.full-width{width:100%;margin:0}.search-box.full-width input{width:100%}.loading{text-align:center;padding:40px;color:#718096}.loading-spinner{animation:spin 1s linear infinite;margin-bottom:10px}.no-data{text-align:center;padding:40px;color:#a0aec0}.text-muted{color:#a0aec0;margin-top:5px}.view-toggle{display:flex;gap:5px;background:#f7fafc;border-radius:6px;padding:4px}.view-toggle .btn-icon{width:36px;height:36px;border-radius:4px}.view-toggle .btn-icon.active{background:#fff;box-shadow:0 1px 3px #0000001a}.branch-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:20px;box-shadow:0 2px 4px #0000001a;transition:all .3s ease;position:relative;overflow:hidden}.branch-card:hover{transform:translateY(-4px);box-shadow:0 8px 16px #0000001a}.branch-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#667eea,#764ba2)}.branch-header{display:flex;align-items:flex-start;margin-bottom:15px;gap:12px}.branch-icon{width:50px;height:50px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.branch-info{flex:1;min-width:0}.branch-info h3{margin:0 0 8px;font-size:18px;color:#2d3748;font-weight:600}.branch-meta{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#718096}.region-badge{display:inline-flex;align-items:center;gap:4px;background:#f7fafc;padding:4px 8px;border-radius:4px;color:#4a5568;border:1px solid #e2e8f0}.created-date{display:inline-flex;align-items:center;gap:4px;color:#a0aec0}.branch-actions{display:flex;gap:5px}.btn-icon{background:none;border:none;width:32px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#718096;transition:all .2s}.btn-icon:hover{background-color:#f7fafc;transform:translateY(-1px)}.btn-icon.more:hover,.btn-icon.edit:hover{color:#3182ce}.btn-icon.danger:hover{color:#e53e3e;background-color:#fff5f5}.btn-icon.success:hover{color:#38a169;background-color:#f0fff4}.branch-manager-section{background:#f8fafc;border-radius:8px;padding:15px;margin:15px 0;border:1px solid #e2e8f0}.branch-manager-section h4{margin:0 0 10px;font-size:14px;color:#4a5568;font-weight:600}.manager-info{display:flex;align-items:center;gap:10px}.manager-avatar{width:40px;height:40px;border-radius:8px;background:linear-gradient(135deg,#4caf50,#2e7d32);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}.manager-details{flex:1;min-width:0}.manager-details strong{display:block;font-size:14px;color:#2d3748;margin-bottom:2px}.manager-details small{display:block;font-size:12px;color:#718096;margin-bottom:2px}.no-manager{display:flex;justify-content:space-between;align-items:center}.no-manager span{color:#a0aec0;font-style:italic}.branch-quick-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:15px 0;padding:15px 0;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}.quick-stat{display:flex;align-items:center;gap:8px;font-size:13px;color:#718096}.quick-stat strong{color:#2d3748;font-weight:600}.branch-footer{display:flex;justify-content:flex-end;padding-top:15px;border-top:1px solid #e2e8f0}.btn-text{background:none;border:none;color:#3182ce;font-size:14px;cursor:pointer;display:flex;align-items:center;gap:5px;padding:8px 12px;border-radius:6px;transition:background-color .2s}.btn-text:hover{background-color:#ebf8ff}.table-container{overflow-x:auto}.data-table{width:100%;border-collapse:collapse}.data-table th{background:#f7fafc;padding:12px 15px;text-align:left;font-weight:600;color:#4a5568;border-bottom:2px solid #e2e8f0;font-size:13px;text-transform:uppercase;letter-spacing:.5px}.data-table td{padding:15px;border-bottom:1px solid #e2e8f0;vertical-align:middle}.data-table tr:hover{background-color:#f8fafc}.table-cell-main,.manager-cell{display:flex;align-items:center;gap:10px}.avatar-small{width:32px;height:32px;border-radius:6px;background:linear-gradient(135deg,#4caf50,#2e7d32);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12px;flex-shrink:0}.table-actions{display:flex;gap:5px}.large-modal{max-width:600px}.xl-modal{max-width:900px;max-height:90vh;overflow:hidden}.manager-list{margin:20px 0}.manager-list h4{margin-bottom:10px;color:#4a5568}.manager-cards{display:flex;flex-direction:column;gap:8px;max-height:300px;overflow-y:auto;padding:5px}.manager-card{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:all .2s}.manager-card:hover{background-color:#f7fafc;border-color:#cbd5e0}.manager-card.selected{background-color:#ebf8ff;border-color:#3182ce}.branch-details-tabs{display:flex;flex-direction:column;height:100%}.tabs-header{display:flex;border-bottom:1px solid #e2e8f0;overflow-x:auto;flex-shrink:0}.tab-btn{padding:12px 20px;background:none;border:none;border-bottom:3px solid transparent;color:#718096;font-size:14px;cursor:pointer;white-space:nowrap;display:flex;align-items:center;gap:8px;transition:all .2s}.tab-btn:hover{color:#4a5568}.tab-btn.active{color:#3182ce;border-bottom-color:#3182ce;font-weight:600}.tabs-content{flex:1;overflow-y:auto;padding:20px}.overview-content{max-width:800px;margin:0 auto}.branch-info-card{background:#fff;border-radius:10px;padding:25px;box-shadow:0 2px 8px #0000001a;margin-bottom:25px}.branch-header-large{display:flex;align-items:center;gap:20px;margin-bottom:30px}.branch-icon-large{width:70px;height:70px;border-radius:12px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center}.branch-header-large h2{margin:0 0 10px;color:#2d3748}.branch-meta{display:flex;gap:15px;flex-wrap:wrap;font-size:14px;color:#718096}.branch-meta span{display:flex;align-items:center;gap:5px}.branch-id{font-family:monospace;background:#f7fafc;padding:4px 8px;border-radius:4px;font-size:12px}.manager-section{margin-bottom:30px}.manager-section h3{margin-bottom:15px;color:#4a5568}.manager-details-card{display:flex;gap:20px;padding:20px;background:#f8fafc;border-radius:10px;border:1px solid #e2e8f0}.manager-avatar-large{width:60px;height:60px;border-radius:10px;background:linear-gradient(135deg,#4caf50,#2e7d32);color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;flex-shrink:0}.manager-info-large{flex:1}.manager-info-large h4{margin:0 0 10px;color:#2d3748;font-size:18px}.manager-contact{display:flex;flex-direction:column;gap:5px;margin-bottom:15px;font-size:14px;color:#718096}.manager-contact span{display:flex;align-items:center;gap:8px}.no-manager-section{display:flex;justify-content:space-between;align-items:center;padding:20px;background:#fffaf0;border:1px solid #feebc8;border-radius:10px}.no-manager-alert{display:flex;gap:15px;align-items:flex-start;flex:1}.no-manager-alert strong{color:#dd6b20;display:block;margin-bottom:5px}.no-manager-alert p{color:#a0aec0;margin:0;font-size:14px}.branch-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:15px}.section-header h3{margin:0;color:#2d3748}.section-actions{display:flex;gap:10px}.data-table-container{border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.data-table th,.data-table td{padding:12px 15px}.member-cell{display:flex;align-items:center;gap:10px}.status-badge{display:inline-block;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500;text-transform:capitalize}.status-badge.active{background:#e8f5e9;color:#4caf50}.status-badge.inactive{background:#ffebee;color:#f44336}.status-badge.pending{background:#fff3e0;color:#ff9800}.groups-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:15px}.group-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:15px;transition:all .2s}.group-card:hover{box-shadow:0 4px 8px #0000001a;transform:translateY(-2px)}.group-header{display:flex;align-items:flex-start;gap:12px;margin-bottom:10px}.group-icon{width:40px;height:40px;border-radius:8px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}.group-info{flex:1}.group-info h4{margin:0 0 5px;color:#2d3748}.group-meta{display:flex;gap:15px;font-size:13px;color:#718096}.group-details{font-size:13px;color:#718096;line-height:1.6}.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}.setting-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:20px}.setting-card.danger{border-color:#fed7d7;background:#fff5f5}.setting-card h4{margin:0 0 10px;color:#4a5568;display:flex;align-items:center;gap:8px}.setting-card p{color:#718096;margin-bottom:20px;font-size:14px}.danger-actions{display:flex;flex-direction:column;gap:15px}.danger-action{display:flex;justify-content:space-between;align-items:center;padding:15px;background:#fff;border:1px solid #fed7d7;border-radius:8px}.danger-action h5{margin:0 0 5px;color:#c53030}.danger-action p{margin:0;font-size:13px;color:#a0aec0}.manager-actions{display:flex;gap:10px;flex-wrap:wrap}.bulk-actions-tabs{display:flex;border-bottom:1px solid #e2e8f0;margin-bottom:20px}.bulk-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding:15px;background:#f8fafc;border-radius:8px}.select-all{display:flex;align-items:center;gap:10px}.selected-count{font-weight:600;color:#3182ce}.bulk-actions-list{display:flex;flex-direction:column;gap:15px}.bulk-action{padding:20px;border:1px solid #e2e8f0;border-radius:8px;background:#fff}.bulk-action.danger{border-color:#fed7d7;background:#fff5f5}.bulk-action h4{margin:0 0 10px;color:#4a5568;display:flex;align-items:center;gap:8px}.bulk-action p{margin:0 0 15px;color:#718096;font-size:14px}.form-control{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:14px;transition:border-color .2s}.form-control:focus{outline:none;border-color:#3182ce;box-shadow:0 0 0 3px #3182ce1a}.form-help{display:block;margin-top:5px;font-size:12px;color:#a0aec0}.loading{text-align:center;padding:60px 20px;color:#718096}.no-data{text-align:center;padding:40px 20px;color:#a0aec0}.text-muted{color:#a0aec0;font-style:italic}@media (max-width: 768px){.branches-grid{grid-template-columns:1fr}.branch-header-large{flex-direction:column;text-align:center;gap:15px}.manager-details-card{flex-direction:column;text-align:center}.tabs-header{flex-wrap:wrap}.tab-btn{flex:1;min-width:120px;justify-content:center}.section-header{flex-direction:column;gap:15px;align-items:stretch}.section-actions{justify-content:flex-end}}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#a0aec0}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;overflow-y:auto}.modal{background:#fff;border-radius:8px;box-shadow:0 4px 20px #00000026;display:flex;flex-direction:column;max-height:90vh;width:90%;max-width:800px}.scrollable-modal{max-height:85vh;overflow:hidden}.large-modal{max-width:800px}.xl-modal{max-width:1200px;width:95%}.details-modal{max-height:90vh}.modal-scroll-content{flex:1;overflow-y:auto;padding:20px}.modal-header{padding:20px;border-bottom:1px solid #e5e7eb;background:#fff;flex-shrink:0}.sticky-header{position:sticky;top:0;z-index:10}.modal-header.scrolled{box-shadow:0 2px 10px #0000001a}.modal-footer{padding:20px;border-top:1px solid #e5e7eb;background:#fff;flex-shrink:0}.sticky-footer{position:sticky;bottom:0}.scrollable-section{max-height:300px;overflow-y:auto;border:1px solid #e5e7eb;border-radius:6px;padding:10px}.manager-cards{display:flex;flex-direction:column;gap:10px}.manager-card{padding:10px;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;display:flex;align-items:center;gap:10px;transition:all .2s}.manager-card:hover:not(.disabled){border-color:#3b82f6;background:#f8fafc}.manager-card.selected{border-color:#3b82f6;background:#eff6ff}.manager-card.disabled{opacity:.6;cursor:not-allowed}.modal-tabs{display:flex;gap:5px;overflow-x:auto;padding:10px 0;border-bottom:1px solid #e5e7eb}.tab-btn{padding:8px 16px;border:none;background:none;border-radius:6px;display:flex;align-items:center;gap:6px;cursor:pointer;white-space:nowrap;color:#6b7280;transition:all .2s}.tab-btn:hover{background:#f9fafb}.tab-btn.active{background:#3b82f6;color:#fff}.tab-badge{background:#fff3;color:#fff;padding:2px 6px;border-radius:10px;font-size:12px}.data-table-container{max-height:400px;overflow-y:auto;border:1px solid #e5e7eb;border-radius:6px}.admin-badge{background:#10b981;color:#fff;padding:4px 8px;border-radius:4px;font-size:12px;display:flex;align-items:center;gap:4px;font-weight:500}.super-admin-dashboard{display:flex;min-height:100vh}.sidebar{position:fixed;top:0;left:0;width:280px;height:100vh;z-index:1000;transform:translate(-100%);transition:transform .3s ease-in-out;box-shadow:0 0 15px #0003}.sidebar.open{transform:translate(0)}.main-content{flex-grow:1;width:100%;padding:60px 20px 20px}.mobile-header{display:flex;justify-content:space-between;align-items:center;position:fixed;top:0;left:0;width:100%;height:50px;background-color:var(--color-primary, #4a90e2);color:#fff;padding:0 20px;z-index:999}.mobile-header .hamburger{cursor:pointer}@media (min-width: 768px){.mobile-header{display:none}.sidebar{position:fixed;transform:translate(0);width:250px;transition:width .3s ease-in-out;box-shadow:2px 0 5px #0000000d}.sidebar.collapsed{width:80px}.main-content{margin-left:250px;padding-top:20px;transition:margin-left .3s ease-in-out}.sidebar.collapsed~.main-content{margin-left:80px}}.sidebar{position:fixed;top:0;left:0;width:260px;height:100vh;background:linear-gradient(180deg,#1a237e,#283593);color:#fff;display:flex;flex-direction:column;z-index:1000;box-shadow:2px 0 10px #0000001a;overflow:hidden;transition:width .3s ease}.sidebar-content{flex:1;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.3) transparent;min-height:0}.sidebar-content::-webkit-scrollbar{width:4px}.sidebar-content::-webkit-scrollbar-track{background:transparent}.sidebar-content::-webkit-scrollbar-thumb{background-color:#ffffff4d;border-radius:20px}.sidebar-content::-webkit-scrollbar-thumb:hover{background-color:#ffffff80}.sidebar-header{padding:24px 20px;border-bottom:1px solid rgba(255,255,255,.1);position:relative;flex-shrink:0;background:inherit}.logo{display:flex;align-items:center;gap:12px}.logo.collapsed-logo{justify-content:center}.logo-icon{display:flex;align-items:center;justify-content:center}.logo-text{display:flex;flex-direction:column}.logo h2{font-size:20px;font-weight:700;margin:0;white-space:nowrap}.sidebar-subtitle{font-size:12px;opacity:.8;margin:4px 0 0;white-space:nowrap}.sidebar-toggle{position:absolute;top:20px;right:-12px;background:#fff;border:2px solid #1a237e;border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#1a237e;font-weight:700;transition:transform .3s ease;z-index:1001}.sidebar-toggle:hover{transform:scale(1.1)}.sidebar-menu{flex:1;padding:20px 0;min-height:0;overflow-y:auto}.menu-item{width:100%;padding:14px 24px;display:flex;align-items:center;gap:16px;background:none;border:none;color:#fffc;text-align:left;cursor:pointer;transition:all .2s;font-size:14px;font-weight:500;white-space:nowrap;position:relative}.menu-item:hover{background:#ffffff1a;color:#fff}.menu-item.active{background:#ffffff26;color:#fff;border-left:4px solid #4fc3f7}.menu-icon{display:flex;align-items:center;justify-content:center;min-width:20px}.sidebar-footer{padding:20px;border-top:1px solid rgba(255,255,255,.1);flex-shrink:0;background:inherit;margin-top:auto}.user-info{display:flex;align-items:center;gap:12px;margin-bottom:16px}.user-avatar{width:40px;height:40px;border-radius:50%;background:#ffffff1a;display:flex;align-items:center;justify-content:center;flex-shrink:0}.user-details{display:flex;flex-direction:column;overflow:hidden}.user-name{font-weight:600;margin:0;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-role{font-size:12px;opacity:.7;margin:2px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.btn-logout{width:100%;background:#ffffff1a;color:#fff;border:1px solid rgba(255,255,255,.2);padding:8px 16px;border-radius:6px;cursor:pointer;transition:all .2s;font-size:14px;display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.btn-logout:hover{background:#fff3;transform:translateY(-1px)}.sidebar.collapsed .logo h2,.sidebar.collapsed .sidebar-subtitle,.sidebar.collapsed .menu-label,.sidebar.collapsed .user-details,.sidebar.collapsed .logout-text{display:none!important}.sidebar.collapsed .menu-item{justify-content:center;padding:14px}.sidebar.collapsed .menu-item .menu-icon{margin:0;font-size:20px}.sidebar.collapsed .user-info{justify-content:center}.sidebar.collapsed .btn-logout{justify-content:center;padding:10px}.sidebar.collapsed .btn-logout .logout-icon,.sidebar.collapsed .user-avatar{margin:0}.sidebar.collapsed .menu-item:hover:after{content:attr(data-tooltip);position:absolute;left:100%;top:50%;transform:translateY(-50%);background:#000000e6;color:#fff;padding:6px 12px;border-radius:4px;font-size:12px;white-space:nowrap;z-index:1002;margin-left:10px;pointer-events:none;box-shadow:0 2px 8px #0003}.sidebar.collapsed .btn-logout:hover:after{content:"Logout";position:absolute;left:100%;top:50%;transform:translateY(-50%);background:#000000e6;color:#fff;padding:6px 12px;border-radius:4px;font-size:12px;white-space:nowrap;z-index:1002;margin-left:10px;pointer-events:none;box-shadow:0 2px 8px #0003}.menu-icon svg{display:block;color:inherit}.menu-icon>*{font-size:initial!important;line-height:1}.menu-icon svg{width:20px;height:20px}.dashboard-container{display:flex;min-height:100vh;background:#f5f7fa;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;position:relative}.mobile-header{display:none;position:fixed;top:0;left:0;right:0;height:60px;background:linear-gradient(135deg,#1a237e,#283593);color:#fff;padding:0 20px;z-index:999;box-shadow:0 2px 10px #0000001a;align-items:center}.mobile-header .hamburger{cursor:pointer;background:none;border:none;color:#fff;font-size:24px;padding:8px;border-radius:4px;transition:background-color .2s}.mobile-header .hamburger:hover{background:#ffffff1a}.mobile-header .page-title{font-size:18px;font-weight:600;margin-left:15px;flex:1}.mobile-header .mobile-actions{display:flex;gap:10px}.sidebar-overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:998;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.sidebar{position:fixed;top:0;left:0;width:260px;height:100vh;background:linear-gradient(180deg,#1a237e,#283593);color:#fff;display:flex;flex-direction:column;z-index:1000;box-shadow:2px 0 10px #0000001a;overflow:hidden;transition:transform .3s ease}.sidebar.collapsed{width:70px}.main-content{flex:1;margin-left:260px;transition:margin-left .3s ease;padding:24px;overflow-y:auto;height:100vh;background:#f5f7fa}.sidebar.collapsed~.main-content{margin-left:70px}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:60vh;gap:16px}@media (max-width: 768px){.mobile-header{display:flex}.sidebar{transform:translate(-100%);width:280px}.sidebar.open{transform:translate(0)}.sidebar.collapsed{width:280px}.sidebar.collapsed .logo h2,.sidebar.collapsed .sidebar-subtitle,.sidebar.collapsed .menu-label,.sidebar.collapsed .user-details,.sidebar.collapsed .logout-text{display:block!important}.main-content{margin-left:0;width:100%;padding:80px 15px 15px;height:calc(100vh - 60px);margin-top:60px}.sidebar.collapsed~.main-content{margin-left:0}.sidebar.open+.sidebar-overlay{display:block}.stats-grid,.content-grid{grid-template-columns:1fr;gap:15px}.welcome-header{flex-direction:column;gap:15px;text-align:center}.header-actions{width:100%;justify-content:center;gap:10px;flex-wrap:wrap}.btn{min-height:44px;padding:12px 16px}.menu-item{min-height:48px}.btn-icon{width:44px;height:44px}}@media (min-width: 769px) and (max-width: 1024px){.stats-grid,.content-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width: 1025px){.stats-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.content-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}}.welcome-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:30px;padding-bottom:20px;border-bottom:1px solid #e0e0e0}.welcome-header h1{margin:0;color:var(--primary-color);font-size:28px;font-weight:700}.content-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:var(--spacing-lg)}.super-admin-loading{background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;color:transparent}.branch-overview-container{padding:20px;background:#f5f7fa;min-height:100vh}.branch-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:30px;padding-bottom:20px;border-bottom:1px solid #e0e0e0}.branch-header h1{margin:0;color:#1a237e;font-size:28px;font-weight:700;display:flex;align-items:center;gap:10px}.subtitle{color:#666;margin:8px 0 0;font-size:14px}.overall-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:30px}.overall-stat-card{background:#fff;border-radius:12px;padding:24px;display:flex;align-items:center;gap:16px;box-shadow:0 2px 8px #00000014;transition:transform .2s}.overall-stat-card:hover{transform:translateY(-2px)}.overall-stat-card .stat-icon{width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff}.overall-stat-card .stat-info h3{margin:0;font-size:28px;font-weight:700;color:#1a237e}.overall-stat-card .stat-info p{margin:4px 0 0;color:#666;font-size:14px}.overall-stat-card .stat-info small{display:block;margin-top:4px;font-size:12px;color:#888}.filters-panel{background:#fff;border-radius:12px;padding:20px;margin-bottom:24px;box-shadow:0 2px 8px #00000014}.filters-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.filters-header h3{margin:0;color:#1a237e;font-size:18px;display:flex;align-items:center;gap:8px}.badge{padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;background:#e3f2fd;color:#1976d2}.filters-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px}.search-box{display:flex;align-items:center;gap:12px;padding:10px 16px;border:1px solid #ddd;border-radius:8px;background:#fafafa}.search-box input{flex:1;border:none;background:none;outline:none;font-size:14px}.filter-group label{display:block;margin-bottom:8px;font-weight:500;color:#555;font-size:13px}.filter-group select{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;cursor:pointer;background:#fff}.filter-group select:focus{outline:none;border-color:#667eea}.branches-container{margin-bottom:30px}.branches-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:20px}.branch-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 2px 8px #00000014;transition:all .3s ease;border:1px solid #e0e0e0}.branch-card:hover{transform:translateY(-4px);box-shadow:0 8px 16px #0000001f;border-color:#667eea}.branch-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:15px}.branch-basic-info{display:flex;align-items:flex-start;gap:12px;flex:1}.branch-icon{width:48px;height:48px;border-radius:10px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}.branch-basic-info h3{margin:0 0 8px;font-size:16px;color:#1a237e;font-weight:600}.branch-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:#666}.branch-code{background:#f5f5f5;padding:2px 6px;border-radius:4px;font-family:Monaco,Consolas,monospace}.branch-location{display:flex;align-items:center;gap:4px}.branch-region{background:#e3f2fd;color:#1976d2;padding:2px 6px;border-radius:4px}.performance-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:20px;font-size:11px;font-weight:600;color:#fff;text-transform:capitalize}.branch-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:15px 0;padding:15px 0;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0}.stat-item{text-align:center}.stat-item strong{display:block;font-size:16px;color:#1a237e;margin-bottom:2px}.stat-item small{display:block;font-size:11px;color:#666}.branch-details{margin:15px 0}.detail-row{display:flex;justify-content:space-between;align-items:center;padding:6px 0;font-size:13px;border-bottom:1px dashed #f0f0f0}.detail-row .overdue{color:#f44336}.branch-actions{display:flex;gap:8px;margin-top:15px}.branch-actions .btn{flex:1;justify-content:center;font-size:12px;padding:6px 12px}.performance-summary{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #00000014}.performance-summary h3{margin:0 0 20px;color:#1a237e;font-size:18px;display:flex;align-items:center;gap:8px}.performance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}.performance-card{background:#f8f9fa;border-radius:8px;padding:20px;border:1px solid #e9ecef}.performance-card h4{margin:0 0 15px;color:#495057;font-size:16px}.performance-card ul{list-style:none;margin:0;padding:0}.performance-card li{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #e9ecef}.performance-card li:last-child{border-bottom:none}.performance-score{background:#d4edda;color:#155724;padding:2px 8px;border-radius:4px;font-size:12px;font-weight:600}.attention-score{background:#f8d7da;color:#721c24;padding:2px 8px;border-radius:4px;font-size:12px;font-weight:600}.quick-stats{display:flex;flex-direction:column;gap:10px}.quick-stat{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #e9ecef}.quick-stat:last-child{border-bottom:none}.quick-stat strong{color:#1a237e;font-size:14px}.no-data{text-align:center;padding:60px 20px;color:#a0aec0}.no-data svg{margin-bottom:15px;opacity:.5}.loading-container{text-align:center;padding:60px 20px;color:#718096}.loading-spinner{animation:spin 1s linear infinite;margin-bottom:15px;color:#667eea}@media (max-width: 768px){.branch-header{flex-direction:column;gap:15px}.header-actions{width:100%;justify-content:flex-start}.filters-grid,.branches-grid{grid-template-columns:1fr}.branch-stats{grid-template-columns:repeat(2,1fr)}.performance-grid{grid-template-columns:1fr}}@media (min-width: 769px) and (max-width: 1024px){.branches-grid{grid-template-columns:repeat(2,1fr)}}.staff-management{padding:1.5rem;max-width:1400px;margin:0 auto}.staff-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:1px solid #e5e7eb}.staff-header h2{display:flex;align-items:center;gap:.75rem;font-size:1.875rem;font-weight:700;color:#1f2937;margin:0 0 .5rem}.staff-header p{color:#6b7280;margin:0}.header-actions{display:flex;gap:.75rem;align-items:center}.view-toggle{display:flex;background:#f3f4f6;border-radius:.5rem;padding:.25rem}.view-btn{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border:none;background:transparent;border-radius:.375rem;cursor:pointer;color:#6b7280;transition:all .2s}.view-btn:hover{background:#e5e7eb}.view-btn.active{background:#fff;color:#3b82f6;box-shadow:0 1px 3px #0000001a}.stats-dashboard{margin-bottom:2rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:1.5rem}.stat-card{background:#fff;border-radius:.75rem;padding:1.25rem;display:flex;align-items:center;gap:1rem;box-shadow:0 1px 3px #0000001a;border:1px solid #e5e7eb;transition:transform .2s,box-shadow .2s}.stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 6px #0000001a}.stat-card.primary{border-left:4px solid #3b82f6}.stat-card.success{border-left:4px solid #10b981}.stat-card.info{border-left:4px solid #06b6d4}.stat-card.warning{border-left:4px solid #f59e0b}.stat-card.danger{border-left:4px solid #ef4444}.stat-card.purple{border-left:4px solid #8b5cf6}.stat-icon{display:flex;align-items:center;justify-content:center;width:3rem;height:3rem;border-radius:.5rem;background:linear-gradient(135deg,#f3f4f6,#e5e7eb)}.primary .stat-icon{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1d4ed8}.success .stat-icon{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#047857}.info .stat-icon{background:linear-gradient(135deg,#cffafe,#a5f3fc);color:#0e7490}.warning .stat-icon{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#b45309}.danger .stat-icon{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#b91c1c}.purple .stat-icon{background:linear-gradient(135deg,#ede9fe,#ddd6fe);color:#7c3aed}.stat-info h3{font-size:1.875rem;font-weight:700;margin:0 0 .25rem;color:#1f2937}.stat-info p{margin:0 0 .25rem;font-weight:500;color:#374151}.stat-info small{color:#6b7280;font-size:.75rem}.branch-distribution{background:#fff;border-radius:.75rem;padding:1.5rem;box-shadow:0 1px 3px #0000001a;border:1px solid #e5e7eb}.branch-distribution h4{margin:0 0 1rem;color:#1f2937;font-size:1.125rem}.distribution-grid{display:grid;gap:.75rem}.branch-stat{display:flex;align-items:center;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid #f3f4f6}.branch-stat:last-child{border-bottom:none}.branch-stat-info{display:flex;align-items:center;gap:.75rem}.branch-stat-info strong{font-size:1.125rem;color:#1f2937;min-width:2rem}.branch-stat-info span{color:#6b7280}.branch-stat-bar{flex:1;max-width:300px;height:.5rem;background:#f3f4f6;border-radius:9999px;overflow:hidden}.bar-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#60a5fa);border-radius:9999px;transition:width 1s ease-in-out}.branch-stat.more{justify-content:center;padding:.75rem;background:#f9fafb;border-radius:.5rem;margin-top:.5rem}.filters-section{background:#fff;border-radius:.75rem;padding:1.25rem;margin-bottom:1.5rem;box-shadow:0 1px 3px #0000001a;border:1px solid #e5e7eb}.search-box{display:flex;align-items:center;gap:.75rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:.5rem;padding:.75rem 1rem;margin-bottom:1rem}.search-box input{flex:1;border:none;background:transparent;font-size:.875rem;color:#1f2937}.search-box input:focus{outline:none}.search-box svg{color:#9ca3af}.filter-controls{display:flex;gap:.75rem;align-items:center}.filter-select{padding:.5rem 1rem;border:1px solid #d1d5db;border-radius:.5rem;background:#fff;font-size:.875rem;color:#374151;cursor:pointer}.filter-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.staff-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem}.staff-card{background:#fff;border-radius:.75rem;overflow:hidden;box-shadow:0 1px 3px #0000001a;border:1px solid #e5e7eb;transition:transform .2s,box-shadow .2s}.staff-card:hover{transform:translateY(-4px);box-shadow:0 10px 25px #0000001a}.staff-card-header{display:flex;align-items:center;padding:1.25rem;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-bottom:1px solid #e5e7eb;gap:1rem}.staff-avatar{display:flex;align-items:center;justify-content:center;width:3rem;height:3rem;border-radius:.75rem;background:linear-gradient(135deg,#3b82f6,#60a5fa);color:#fff}.staff-avatar.small{width:2.5rem;height:2.5rem;border-radius:.5rem}.staff-basic-info{flex:1}.staff-basic-info h4{margin:0 0 .5rem;color:#1f2937;font-size:1.125rem}.role-status-row{display:flex;gap:.5rem}.role-badge,.status-badge{padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:500}.role-badge.success{background:#d1fae5;color:#065f46}.role-badge.info{background:#dbeafe;color:#1e40af}.status-badge.success{background:#d1fae5;color:#065f46}.status-badge.warning{background:#fef3c7;color:#92400e}.status-badge.danger{background:#fee2e2;color:#991b1b}.performance-indicator{display:flex;flex-direction:column;align-items:center;gap:.25rem}.performance-circle{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:50%;background:linear-gradient(135deg,#f8fafc,#e2e8f0);font-weight:600;font-size:.875rem;color:#1f2937}.performance-circle.excellent{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#047857}.performance-circle.good{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1d4ed8}.performance-circle.average{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#b45309}.performance-circle.poor{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#b91c1c}.performance-dot{width:.5rem;height:.5rem;border-radius:50%}.performance-dot.excellent{background:#10b981}.performance-dot.good{background:#3b82f6}.performance-dot.average{background:#f59e0b}.performance-dot.poor{background:#ef4444}.staff-card-body{padding:1.25rem}.staff-info-item{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem;color:#4b5563;font-size:.875rem}.staff-info-item:last-child{margin-bottom:0}.staff-info-item svg{color:#9ca3af;flex-shrink:0}.unassigned{color:#ef4444;font-style:italic}.no-data{color:#9ca3af;font-style:italic}.staff-card-actions{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.25rem;background:#f9fafb;border-top:1px solid #e5e7eb}.action-buttons{display:flex;gap:.5rem}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem 1rem;border-radius:.5rem;font-size:.875rem;font-weight:500;cursor:pointer;border:none;transition:all .2s}.btn-primary:hover{background:#2563eb}.btn-secondary{background:#6b7280;color:#fff}.btn-secondary:hover{background:#4b5563}.btn-success:hover{background:#059669}.btn-info{background:#06b6d4;color:#fff}.btn-info:hover{background:#0891b2}.btn-warning:hover{background:#d97706}.btn-danger:hover{background:#dc2626}.btn-text{background:transparent;color:#3b82f6;padding:.25rem .5rem;border:none;cursor:pointer;font-size:.75rem}.btn-text:hover{color:#2563eb}.btn-icon:hover{background:#f3f4f6;color:#374151}.quick-actions{display:flex;gap:.25rem}.staff-table-container{background:#fff;border-radius:.75rem;overflow:hidden;box-shadow:0 1px 3px #0000001a;border:1px solid #e5e7eb}.staff-table{width:100%;border-collapse:collapse}.staff-table th{background:#f9fafb;padding:1rem;text-align:left;font-size:.75rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #e5e7eb}.staff-table td{padding:1rem;border-bottom:1px solid #f3f4f6;font-size:.875rem;color:#374151}.staff-table tr:hover{background:#f9fafb}.staff-table-info{display:flex;align-items:center;gap:.75rem}.groups-count{display:flex;align-items:center;gap:.5rem}.performance-rating{display:flex;align-items:center;gap:.75rem}.rating-bar{flex:1;height:.5rem;background:#f3f4f6;border-radius:9999px;overflow:hidden;max-width:100px}.rating-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#60a5fa);border-radius:9999px}.table-actions{display:flex;gap:.25rem}.loading-state,.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;text-align:center;background:#fff;border-radius:.75rem;box-shadow:0 1px 3px #0000001a;border:1px solid #e5e7eb}.loading-state svg{margin-bottom:1rem;color:#3b82f6}.empty-state svg{margin-bottom:1rem;color:#9ca3af}.alert{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;border-radius:.5rem;margin-bottom:1.5rem;font-size:.875rem}.alert-error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.alert-success{background:#d1fae5;color:#065f46;border:1px solid #a7f3d0}.alert-warning{background:#fef3c7;color:#92400e;border:1px solid #fde68a}.alert-info{background:#e0f2fe;color:#0369a1;border:1px solid #bae6fd}.alert-close{margin-left:auto;background:transparent;border:none;cursor:pointer;color:inherit;display:flex;align-items:center;justify-content:center;padding:.25rem;border-radius:.25rem}.alert-close:hover{background:#0000001a}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal{background:#fff;border-radius:.75rem;width:100%;max-width:500px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.modal.large{max-width:800px}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem;border-bottom:1px solid #e5e7eb}.modal-header h3{display:flex;align-items:center;gap:.5rem;margin:0;font-size:1.25rem;color:#1f2937}.modal-close{background:transparent;border:none;cursor:pointer;color:#6b7280;display:flex;align-items:center;justify-content:center;padding:.25rem;border-radius:.25rem}.modal-close:hover{background:#f3f4f6;color:#374151}.modal-body{padding:1.5rem}.modal-footer{display:flex;justify-content:flex-end;gap:.75rem;padding:1.5rem;border-top:1px solid #e5e7eb}.form-group{margin-bottom:1.25rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#374151;font-size:.875rem}.form-control{width:100%;padding:.5rem 1rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:.875rem;color:#374151;transition:all .2s}.form-control:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.checkbox-group{display:flex;flex-direction:column;gap:.25rem}.checkbox-label{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.875rem;color:#374151}.checkbox-label input[type=checkbox]{width:1rem;height:1rem;border-radius:.25rem;border:1px solid #d1d5db}.checkbox-description{color:#6b7280;font-size:.75rem;margin-left:1.5rem}.staff-summary-card{display:flex;align-items:center;gap:1rem;padding:1rem;background:#f9fafb;border-radius:.5rem;margin-bottom:1.5rem}.summary-avatar{display:flex;align-items:center;justify-content:center;width:3rem;height:3rem;border-radius:.75rem;background:linear-gradient(135deg,#3b82f6,#60a5fa);color:#fff}.summary-avatar.large{width:4rem;height:4rem;border-radius:1rem}.summary-details h4{margin:0 0 .5rem;color:#1f2937;font-size:1.125rem}.summary-details p{margin:.25rem 0;color:#6b7280;font-size:.875rem}.tabs{display:flex;gap:.25rem;background:#f3f4f6;border-radius:.5rem;padding:.25rem;margin:1.5rem 0}.tab-btn{flex:1;padding:.5rem 1rem;border:none;background:transparent;border-radius:.375rem;cursor:pointer;font-size:.875rem;color:#6b7280;font-weight:500;transition:all .2s}.tab-btn:hover{background:#e5e7eb}.tab-btn.active{background:#fff;color:#3b82f6;box-shadow:0 1px 3px #0000001a}.groups-section{max-height:400px;overflow-y:auto}.groups-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem}.group-card{background:#fff;border-radius:.75rem;padding:1rem;border:1px solid #e5e7eb;box-shadow:0 1px 2px #0000000d}.group-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.group-card-header h5{margin:0;color:#1f2937;font-size:1rem}.group-card-body p{margin:.25rem 0;color:#6b7280;font-size:.875rem;display:flex;align-items:center;gap:.5rem}.group-card-actions{margin-top:1rem}.badge{padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:500}.badge-success{background:#d1fae5;color:#065f46}.badge-secondary{background:#f3f4f6;color:#374151}.no-groups-message{text-align:center;padding:3rem 1rem;color:#6b7280}.no-groups-message svg{margin-bottom:1rem;color:#d1d5db}.facilitator-summary-section{margin-bottom:1.5rem}.facilitator-summary{display:flex;align-items:center;gap:1rem;padding:1.5rem;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:.75rem;margin-bottom:1.5rem}.facilitator-avatar{display:flex;align-items:center;justify-content:center;width:4rem;height:4rem;border-radius:1rem;background:linear-gradient(135deg,#3b82f6,#60a5fa);color:#fff}.facilitator-details h4{margin:0 0 .5rem;color:#1f2937;font-size:1.25rem}.facilitator-details p{margin:.25rem 0;color:#6b7280;font-size:.875rem;display:flex;align-items:center;gap:.5rem}.staff-details-header{display:flex;align-items:center;gap:1.5rem;padding-bottom:1.5rem;margin-bottom:1.5rem;border-bottom:1px solid #e5e7eb}.details-header-content{flex:1}.details-header-content h4{margin:0 0 .5rem;font-size:1.5rem;color:#1f2937}.details-meta{display:flex;align-items:center;gap:.75rem}.joined-date{color:#6b7280;font-size:.875rem}.details-actions{display:flex;gap:.5rem}.details-sections{display:flex;flex-direction:column;gap:1.5rem}.details-section{background:#f9fafb;border-radius:.75rem;padding:1.25rem}.details-section h5{display:flex;align-items:center;gap:.5rem;margin:0 0 1rem;color:#374151;font-size:1rem}.details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.detail-item label{font-size:.75rem;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.detail-item span{color:#1f2937;font-weight:500}.performance-display{display:flex;align-items:center;gap:1rem}.groups-summary{display:flex;flex-direction:column}.groups-summary strong{font-size:2rem;color:#1f2937}.groups-summary small{color:#6b7280;font-size:.875rem}.group-names{list-style:none;padding:0;margin:.5rem 0 0;font-size:.875rem;color:#6b7280}.group-names li{padding:.125rem 0}.tenure-display{display:flex;align-items:baseline;gap:.25rem}.tenure-display strong{font-size:2rem;color:#1f2937}.tenure-display small{color:#6b7280;font-size:.875rem}.notes-content{background:#fff;border-radius:.5rem;padding:1rem;border:1px solid #e5e7eb;color:#4b5563;font-size:.875rem;line-height:1.5}@media (max-width: 768px){.staff-header{flex-direction:column;gap:1rem;align-items:stretch}.header-actions{flex-wrap:wrap}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.filter-controls{flex-wrap:wrap}.filter-select{flex:1;min-width:150px}.staff-grid,.form-row{grid-template-columns:1fr}.staff-table{display:block;overflow-x:auto}.details-grid{grid-template-columns:1fr}}@media (max-width: 480px){.staff-management,.modal-body,.modal-header,.modal-footer{padding:1rem}.tabs{flex-direction:column}.tab-btn{text-align:left}}.daily-operations{padding:20px;background:#f8f9fa;min-height:100vh}.date-controls{display:flex;gap:15px;align-items:flex-end;margin-bottom:20px;flex-wrap:wrap}.date-controls>div{flex:1;min-width:150px}.date-controls label{display:block;margin-bottom:5px;font-size:12px;color:#7f8c8d;font-weight:500}.search-filters{display:flex;gap:15px;align-items:center}.search-box input{width:100%;padding:10px 15px 10px 40px;border:1px solid #ddd;border-radius:5px;font-size:14px}.search-box svg{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:#95a5a6}.summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:30px}.summary-card{background:#fff;border-radius:10px;padding:20px;box-shadow:0 2px 4px #0000001a;border-left:4px solid}.summary-card.primary{border-left-color:#3498db}.summary-card.info{border-left-color:#9b59b6}.card-header{display:flex;align-items:center;gap:10px;margin-bottom:15px}.card-header h3{font-size:16px;margin:0;color:#2c3e50}.card-body h2{font-size:28px;margin:0 0 15px;color:#2c3e50}.card-details{display:flex;flex-direction:column;gap:10px}.detail-item{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;border-bottom:1px solid #f0f0f0}.detail-item span:first-child{color:#7f8c8d;font-size:12px}.trend{font-size:11px;padding:2px 6px;border-radius:3px;font-weight:700}.trend.success{background:#d5f4e6;color:#27ae60}.trend.danger{background:#fadbd8;color:#e74c3c}.targets-grid{display:flex;flex-direction:column;gap:15px}.target-item{display:flex;flex-direction:column;gap:5px}.target-item span:first-child{font-size:12px;color:#7f8c8d}.target-progress{height:8px;background:#ecf0f1;border-radius:4px;overflow:hidden;position:relative}.target-progress .progress-bar{height:100%;background:linear-gradient(90deg,#3498db,#2980b9);border-radius:4px;transition:width .3s ease}.target-progress span{position:absolute;right:0;top:-20px;font-size:11px;color:#7f8c8d}.pending-approvals-section{background:#fff;padding:25px;border-radius:10px;margin-bottom:30px;box-shadow:0 2px 4px #0000001a}.pending-approvals-section h3{display:flex;align-items:center;gap:10px;margin-bottom:20px;color:#2c3e50}.approvals-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}.approval-card{background:#f8f9fa;border-radius:8px;padding:20px;border:1px solid #e9ecef}.approval-header{display:flex;align-items:center;gap:10px;margin-bottom:15px;padding-bottom:10px;border-bottom:1px solid #e9ecef}.approval-header h4{margin:0;color:#2c3e50;font-size:16px}.approval-list{display:flex;flex-direction:column;gap:15px}.approval-item{background:#fff;padding:15px;border-radius:6px;border:1px solid #e9ecef}.approval-info strong{display:block;margin-bottom:5px;color:#2c3e50}.approval-info small{color:#7f8c8d;font-size:12px}.approval-info p{margin:8px 0 0;font-size:13px;color:#2c3e50}.approval-actions{display:flex;gap:10px;margin-top:10px}.branch-performance-section{background:#fff;padding:25px;border-radius:10px;margin-bottom:30px;box-shadow:0 2px 4px #0000001a}.branch-performance-section h3{display:flex;align-items:center;gap:10px;margin-bottom:20px;color:#2c3e50}.branch-performance-table{overflow-x:auto}.branch-performance-table table{width:100%;border-collapse:collapse}.branch-performance-table th{background:#f8f9fa;padding:12px 15px;text-align:left;font-weight:600;color:#2c3e50;border-bottom:2px solid #e9ecef;font-size:13px;text-transform:uppercase}.branch-performance-table td{padding:15px;border-bottom:1px solid #e9ecef;vertical-align:middle}.branch-info strong{color:#2c3e50;margin-bottom:2px}.branch-info small{color:#7f8c8d;font-size:11px}.efficiency-bar{height:6px;background:#ecf0f1;border-radius:3px;overflow:hidden;position:relative}.efficiency-fill{height:100%;background:linear-gradient(90deg,#2ecc71,#27ae60);border-radius:3px}.efficiency-bar span{position:absolute;right:0;top:-20px;font-size:11px;color:#7f8c8d}.status-badge{display:inline-block;padding:4px 10px;border-radius:12px;font-size:11px;font-weight:600;text-transform:uppercase}.status-badge.success{background:#d5f4e6;color:#27ae60}.status-badge.danger{background:#fadbd8;color:#e74c3c}.status-badge.pending{background:#fff3cd;color:#856404}.status-badge.completed{background:#d4edda;color:#155724}.transactions-section{background:#fff;padding:25px;border-radius:10px;margin-bottom:30px;box-shadow:0 2px 4px #0000001a}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.section-header h3{display:flex;align-items:center;gap:10px;margin:0;color:#2c3e50}.transaction-count{font-size:13px;color:#7f8c8d}.transactions-table-container{overflow-x:auto}.transactions-table{width:100%;border-collapse:collapse}.transactions-table th{background:#f8f9fa;padding:12px 15px;text-align:left;font-weight:600;color:#2c3e50;border-bottom:2px solid #e9ecef;font-size:13px;text-transform:uppercase}.transactions-table td{padding:15px;border-bottom:1px solid #e9ecef;vertical-align:middle}.transaction-time{font-size:12px;color:#7f8c8d}.transaction-type{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600}.transaction-type.success{color:#27ae60}.transaction-type.danger{color:#e74c3c}.transaction-type.neutral{color:#7f8c8d}.transaction-description{max-width:300px}.transaction-description small{display:block;margin-top:3px;color:#7f8c8d;font-size:11px}.member-info{display:flex;flex-direction:column}.member-info strong{color:#2c3e50;margin-bottom:2px}.member-info small{color:#7f8c8d;font-size:11px}.branch-info{display:flex;align-items:center;gap:5px}.no-transactions{text-align:center;padding:40px!important}.no-transactions svg{color:#bdc3c7;margin-bottom:10px}.no-transactions p{color:#7f8c8d;margin-bottom:5px}.no-transactions small{color:#bdc3c7;font-size:12px}.view-all-transactions{text-align:center;margin-top:20px}.cash-flow-section{background:#fff;padding:25px;border-radius:10px;box-shadow:0 2px 4px #0000001a}.cash-flow-section h3{display:flex;align-items:center;gap:10px;margin-bottom:20px;color:#2c3e50}.cash-flow-chart{border:1px solid #e9ecef;border-radius:8px;padding:20px}.chart-header{margin-bottom:30px}.chart-metrics{display:flex;justify-content:space-around;flex-wrap:wrap;gap:20px}.chart-metrics .metric{text-align:center}.chart-metrics .metric span{display:block;color:#7f8c8d;font-size:12px;margin-bottom:5px}.chart-metrics .metric strong{font-size:18px;color:#2c3e50}.chart-metrics .metric strong.success{color:#27ae60}.chart-metrics .metric strong.danger{color:#e74c3c}.chart-bars{display:flex;justify-content:space-around;align-items:flex-end;height:200px;padding:0 20px;position:relative}.chart-bar-group{display:flex;flex-direction:column;align-items:center;flex:1;max-width:80px}.bar-label{font-size:11px;color:#7f8c8d;margin-bottom:10px;text-align:center}.bars{display:flex;align-items:flex-end;gap:2px;width:40px;height:100%;position:relative}.bar{flex:1;min-height:1px;border-radius:2px 2px 0 0;transition:height .3s ease;cursor:pointer}.bar.cash-in{background:linear-gradient(180deg,#3498db,#2980b9)}.bar.cash-out{background:linear-gradient(180deg,#e74c3c,#c0392b)}.bar-value{font-size:11px;color:#2c3e50;margin-top:5px;font-weight:600}.chart-legend{display:flex;justify-content:center;gap:20px;margin-top:20px}.legend-item{display:flex;align-items:center;gap:8px;font-size:12px;color:#7f8c8d}.legend-color{width:12px;height:12px;border-radius:2px}.legend-color.cash-in{background:#3498db}.legend-color.cash-out{background:#e74c3c}.form-control,.form-select{width:100%;padding:10px 15px;border:1px solid #ddd;border-radius:5px;font-size:14px;background:#fff;color:#2c3e50}.btn-success{background:#2ecc71;color:#fff}.btn-success:hover:not(:disabled){background:#27ae60}.btn-danger{background:#e74c3c;color:#fff}.btn-danger:hover:not(:disabled){background:#c0392b}.btn-warning{background:#f39c12;color:#fff}.btn-warning:hover:not(:disabled){background:#d68910}.btn-info{background:#3498db;color:#fff}.btn-sm{padding:6px 12px;font-size:12px}@media (max-width: 768px){.summary-cards,.approvals-grid{grid-template-columns:1fr}.date-controls{flex-direction:column;align-items:stretch}.search-filters{flex-direction:column}.chart-metrics{flex-direction:column;align-items:center;gap:15px}}@media (max-width: 480px){.controls-section,.summary-card,.pending-approvals-section,.branch-performance-section,.transactions-section,.cash-flow-section{padding:15px}.approval-actions{flex-direction:column}}.loan-management{padding:1.5rem}.page-header{margin-bottom:2rem}.page-header h1{display:flex;align-items:center;gap:.75rem;font-size:1.875rem;margin-bottom:.5rem}.controls-section{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;gap:1rem}.search-box{flex:1;max-width:400px;display:flex;align-items:center;gap:.75rem;background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;padding:.75rem 1rem}.search-box input{flex:1;border:none;outline:none;font-size:.875rem}.filters{display:flex;gap:.75rem;align-items:center}.filters select{padding:.5rem 1rem;border:1px solid #d1d5db;border-radius:.5rem;background:#fff;font-size:.875rem}.loan-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:2rem}.stat-card{background:#fff;border-radius:.75rem;padding:1.5rem;display:flex;align-items:center;gap:1rem;box-shadow:0 1px 3px #0000001a;border:1px solid #e5e7eb}.stat-card.pending{border-left:4px solid #f59e0b}.stat-card.active{border-left:4px solid #10b981}.stat-card.overdue{border-left:4px solid #ef4444}.stat-card h3{font-size:1.875rem;margin:0;color:#1f2937}.stat-card p{margin:0;color:#6b7280;font-size:.875rem}.loans-table-container{background:#fff;border-radius:.75rem;overflow:hidden;box-shadow:0 1px 3px #0000001a;border:1px solid #e5e7eb}.loans-table{width:100%;border-collapse:collapse}.loans-table th{background:#f9fafb;padding:1rem;text-align:left;font-size:.75rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #e5e7eb}.loans-table td{padding:1rem;border-bottom:1px solid #f3f4f6;font-size:.875rem}.loans-table tr:hover{background:#f9fafb}.member-info{display:flex;align-items:center;gap:.5rem}.status-badge{padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:500;text-transform:capitalize}.status-badge.pending{background:#fef3c7;color:#92400e}.status-badge.approved{background:#d1fae5;color:#065f46}.status-badge.active{background:#dbeafe;color:#1e40af}.status-badge.overdue{background:#fee2e2;color:#991b1b}.status-badge.repaid{background:#f3f4f6;color:#374151}.actions{display:flex;gap:.5rem}.btn-icon{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:.375rem;background:transparent;border:1px solid #e5e7eb;color:#6b7280;cursor:pointer;transition:all .2s}.btn-icon:hover{background:#f3f4f6}.btn-icon.success:hover{background:#d1fae5;color:#065f46}.btn-icon.danger:hover{background:#fee2e2;color:#991b1b}.page-header h1{display:flex;align-items:center;gap:12px;margin:0 0 8px;color:#1e293b}.page-header p{color:#64748b;margin:0}.controls-section{display:flex;gap:16px;margin-bottom:24px;align-items:center}.search-box input{width:100%;padding:12px 16px 12px 44px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px}.search-box svg{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:#94a3b8}.filters select{padding:12px 16px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;background:#fff}.btn{padding:12px 24px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;display:inline-flex;align-items:center;gap:8px;transition:all .2s}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.applications-list{margin-top:24px}.loading-state{text-align:center;padding:48px;color:#64748b}.empty-state{text-align:center;padding:48px;color:#64748b}.applications-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:20px}.application-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;transition:all .2s}.application-card:hover{box-shadow:0 4px 6px -1px #0000001a}.application-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.application-header h4{margin:0 0 8px;color:#1e293b}.application-subtitle{display:flex;gap:8px;align-items:center;color:#64748b;font-size:14px;margin:0}.application-subtitle span{display:flex;align-items:center;gap:4px}.application-status{margin-left:12px}.status-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:20px;font-size:12px;font-weight:500;border:1px solid}.application-details{margin-bottom:20px}.detail-row{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #f1f5f9}.detail-row span{color:#64748b}.detail-row strong{color:#1e293b;font-weight:500}.application-actions{display:flex;gap:12px;flex-wrap:wrap}.application-actions .btn{padding:8px 16px;font-size:13px}.modal-container{background:#fff;border-radius:12px;max-height:90vh;display:flex;flex-direction:column;animation:slideIn .3s ease}.modal-header{padding:24px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:flex-start}.modal-header h2{margin:0 0 4px;color:#1e293b}.modal-subtitle{color:#64748b;margin:0;font-size:14px}.modal-close{background:none;border:none;padding:8px;cursor:pointer;color:#64748b;border-radius:6px}.modal-close:hover{background:#f1f5f9}.modal-tabs{display:flex;border-bottom:1px solid #e2e8f0;padding:0 24px}.modal-tabs button{padding:16px 24px;background:none;border:none;border-bottom:2px solid transparent;color:#64748b;cursor:pointer;font-size:14px;font-weight:500;display:flex;align-items:center;gap:8px;transition:all .2s}.modal-tabs button.active{color:#3b82f6;border-bottom-color:#3b82f6}.modal-tabs button:hover:not(.active){color:#475569}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-bottom:24px}.info-card{border:1px solid #e2e8f0;border-radius:8px;padding:20px}.info-card h4{margin:0 0 16px;color:#1e293b;font-size:16px}.info-list{display:flex;flex-direction:column;gap:12px}.info-item{display:flex;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid #f1f5f9}.info-item:last-child{border-bottom:none;padding-bottom:0}.info-item.total{font-weight:600;color:#1e293b}.info-item span{color:#64748b}.info-item strong{color:#1e293b;font-weight:500}.notes-section{margin-top:32px}.note-card{border:1px solid #e2e8f0;border-radius:8px;padding:20px;margin-bottom:16px}.note-card h5{margin:0 0 12px;color:#1e293b;font-size:15px;display:flex;align-items:center;gap:8px}.note-card p{margin:0 0 12px;color:#475569;line-height:1.6}.note-footer{display:flex;justify-content:space-between;color:#64748b;font-size:13px}.members-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:16px}.members-search{flex:1;position:relative}.members-search input{width:100%;padding:12px 16px 12px 44px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px}.members-search svg{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:#94a3b8}.members-summary{display:flex;gap:8px;align-items:center;color:#64748b;font-size:14px}.member-card{border:1px solid #e2e8f0;border-radius:8px;margin-bottom:12px;overflow:hidden}.member-card.expanded{border-color:#3b82f6}.member-header{padding:16px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;background:#f8fafc}.member-header:hover{background:#f1f5f9}.member-info{display:flex;align-items:center;gap:12px}.member-avatar{width:40px;height:40px;border-radius:50%;background:#3b82f6;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:16px}.member-info h5{margin:0 0 4px;color:#1e293b}.member-meta{display:flex;gap:12px;color:#64748b;font-size:13px}.member-meta span{display:flex;align-items:center;gap:4px}.member-status{display:flex;align-items:center;gap:12px}.member-details{padding:16px;background:#fff;border-top:1px solid #e2e8f0}.details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.detail-section h6{margin:0 0 12px;color:#1e293b;font-size:14px;display:flex;align-items:center;gap:6px}.detail-item{margin-bottom:8px;display:flex;justify-content:space-between}.detail-item:last-child{margin-bottom:0}.detail-item.total{font-weight:600;color:#059669;padding-top:8px;border-top:1px solid #f1f5f9}.guarantor-list{display:flex;flex-direction:column;gap:8px}.guarantor-item{padding:12px;background:#f8fafc;border-radius:6px;font-size:14px}.timeline{position:relative;padding-left:24px}.timeline:before{content:"";position:absolute;left:7px;top:0;bottom:0;width:2px;background:#e2e8f0}.timeline-item{position:relative;margin-bottom:24px}.timeline-marker{position:absolute;left:-24px;top:0}.marker-dot{width:16px;height:16px;border-radius:50%;background:#3b82f6;border:3px solid white}.timeline-line{position:absolute;left:7px;top:16px;bottom:-24px;width:2px;background:#e2e8f0}.timeline-item:last-child .timeline-line{display:none}.timeline-content{background:#fff;padding:16px;border-radius:8px;border:1px solid #e2e8f0}.timeline-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.timeline-header h5{margin:0;color:#1e293b;font-size:14px;font-weight:600}.timeline-date{color:#64748b;font-size:13px}.action-by{display:flex;align-items:center;gap:6px;color:#64748b;font-size:13px;margin:0 0 8px}.timeline-notes{background:#f8fafc;padding:12px;border-radius:6px;color:#475569;font-size:14px;margin:0;display:flex;align-items:flex-start;gap:8px}.empty-history{text-align:center;padding:48px;color:#64748b}.financial-summary{margin-bottom:32px}.summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-top:20px}.summary-card{border:1px solid #e2e8f0;border-radius:8px;padding:20px;text-align:center}.summary-card.total{border-color:#3b82f6;background:#eff6ff}.summary-card h5{margin:0 0 12px;color:#64748b;font-size:14px}.summary-card .amount{font-size:24px;font-weight:600;color:#1e293b;margin-bottom:8px}.summary-card.total .amount{color:#3b82f6}.summary-card p{margin:0;color:#94a3b8;font-size:13px}.member-breakdown{overflow-x:auto}.financial-table{width:100%;border-collapse:collapse;font-size:14px}.financial-table th{background:#f8fafc;padding:12px 16px;text-align:left;color:#64748b;font-weight:500;border-bottom:1px solid #e2e8f0}.financial-table td{padding:12px 16px;border-bottom:1px solid #f1f5f9;color:#475569}.financial-table tr:last-child td{border-bottom:none}.financial-table tr:hover{background:#f8fafc}.disbursement-summary{margin-bottom:24px}.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin-bottom:24px}.summary-item.total{background:#eff6ff;border:1px solid #3b82f6}.summary-item strong{display:block;font-size:18px;color:#1e293b}.warning-box{display:flex;gap:16px;padding:20px;background:#fffbeb;border:1px solid #f59e0b;border-radius:8px;margin-bottom:24px}.warning-box h5{margin:0 0 8px;color:#92400e}.warning-box p{margin:0 0 12px;color:#92400e}.warning-box li{margin-bottom:4px}.confirmation-input{margin-top:24px}.confirmation-input label{display:block;margin-bottom:8px;color:#475569;font-weight:500}.confirmation-input input{width:100%;padding:12px 16px;border:2px solid #e2e8f0;border-radius:8px;font-size:14px;font-weight:600;letter-spacing:.5px}.confirmation-input input:focus{outline:none;border-color:#3b82f6}.spinner-small{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite}.loan-management{padding:24px;max-width:1400px;margin:0 auto}.page-header{margin-bottom:32px}.page-header h1{display:flex;align-items:center;gap:12px;margin:0 0 8px;color:#1e293b;font-size:28px}.page-header p{color:#64748b;margin:0;font-size:16px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:32px}.stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;display:flex;align-items:center;gap:16px;box-shadow:0 1px 3px #0000001a}.stat-icon{width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.stat-info h3{margin:0 0 4px;font-size:28px;color:#1e293b;font-weight:700}.stat-info p{margin:0;color:#64748b;font-size:14px}.controls-section{margin-bottom:32px}.view-controls{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}.view-toggle{display:flex;gap:8px;background:#f1f5f9;padding:4px;border-radius:8px}.view-toggle button{padding:10px 16px;border:none;background:none;color:#64748b;font-size:14px;cursor:pointer;display:flex;align-items:center;gap:8px;border-radius:6px;transition:all .2s}.view-toggle button.active{background:#fff;color:#3b82f6;box-shadow:0 1px 3px #0000001a}.filters{display:flex;gap:12px;align-items:center}.filters select{padding:10px 16px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;background:#fff;color:#475569;min-width:200px}.refresh-btn{padding:10px 20px;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-size:14px;cursor:pointer;display:flex;align-items:center;gap:8px;transition:background .2s}.refresh-btn:hover:not(:disabled){background:#2563eb}.refresh-btn:disabled{opacity:.5;cursor:not-allowed}.applications-container{margin-top:24px}.loading-state{text-align:center;padding:64px;color:#64748b}.spinner{width:40px;height:40px;border:3px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 16px}.empty-state{text-align:center;padding:64px;color:#64748b}.empty-state svg{margin-bottom:16px;color:#cbd5e1}.empty-state h3{margin:0 0 8px;color:#1e293b}.empty-state p{margin:0 0 24px;color:#64748b}.application-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:16px;overflow:hidden;box-shadow:0 1px 3px #0000001a;transition:all .2s}.application-card:hover{box-shadow:0 4px 6px #0000001a}.card-header{padding:20px;cursor:pointer;display:flex;justify-content:space-between;align-items:flex-start;background:#f8fafc;border-bottom:1px solid transparent;transition:all .2s}.application-card:hover .card-header{border-bottom-color:#e2e8f0}.app-info h3{margin:0 0 8px;color:#1e293b;font-size:18px}.app-meta{display:flex;gap:12px;color:#64748b;font-size:14px}.app-meta span{display:flex;align-items:center;gap:4px}.app-status{display:flex;align-items:center;gap:12px}.status-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:20px;font-size:12px;font-weight:500;border:1px solid transparent}.card-details{padding:0 20px 20px;background:#fff}.workflow-timeline{margin:20px 0;padding:20px;background:#f8fafc;border-radius:8px}.workflow-timeline h4{margin:0 0 16px;color:#1e293b;font-size:16px}.timeline{position:relative;padding-left:30px}.timeline:before{content:"";position:absolute;left:15px;top:0;bottom:0;width:2px;background:#e2e8f0}.timeline-stage{position:relative;margin-bottom:24px}.timeline-stage:last-child{margin-bottom:0}.stage-icon{position:absolute;left:-30px;top:0;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;z-index:2;border:3px solid white}.stage-info{margin-left:12px}.stage-info h5{margin:0 0 4px;font-size:14px;color:#1e293b}.stage-status,.stage-date,.stage-user{margin:0 0 2px;font-size:12px;color:#64748b}.stage-connector{position:absolute;left:-30px;top:30px;bottom:-24px;width:2px;background:#e2e8f0;z-index:1}.timeline-stage:last-child .stage-connector{display:none}.details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin:20px 0}.detail-section{padding:16px;background:#f8fafc;border-radius:8px}.detail-section h5{margin:0 0 12px;color:#1e293b;font-size:14px;display:flex;align-items:center;gap:6px}.detail-item{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #e2e8f0}.detail-item span{color:#64748b;font-size:13px}.detail-item strong{color:#1e293b;font-weight:500;font-size:13px}.detail-item.highlight strong{color:#059669;font-weight:600}.notes-section{margin:20px 0;padding:16px;background:#fffbeb;border-radius:8px;border-left:4px solid #f59e0b}.notes-section h5{margin:0 0 8px;color:#92400e;font-size:14px;display:flex;align-items:center;gap:6px}.notes-section p{margin:0;color:#92400e;font-size:14px;line-height:1.5}.workflow-history{margin:20px 0}.workflow-history h5{margin:0 0 12px;color:#1e293b;font-size:14px;display:flex;align-items:center;gap:6px}.history-list{background:#f8fafc;border-radius:8px;padding:12px;max-height:200px;overflow-y:auto}.history-item{padding:12px;border-bottom:1px solid #e2e8f0}.history-item:last-child{border-bottom:none}.history-date{font-size:11px;color:#94a3b8;margin-bottom:4px}.history-action{display:flex;align-items:center;gap:8px;margin-bottom:4px}.from-status,.to-status{font-size:12px;padding:2px 6px;border-radius:4px;background:#e2e8f0}.history-notes{font-size:12px;color:#64748b;padding-left:12px;border-left:2px solid #cbd5e1}.action-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px;padding-top:20px;border-top:1px solid #e2e8f0}.btn{padding:10px 16px;border:none;border-radius:8px;font-size:13px;font-weight:500;cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:all .2s}.btn-secondary{background:#f1f5f9;color:#475569}.btn-secondary:hover:not(:disabled){background:#e2e8f0}.btn-warning{background:#f59e0b;color:#fff}.btn-warning:hover:not(:disabled){background:#d97706}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover:not(:disabled){background:#dc2626}.btn-success{background:#10b981;color:#fff}.btn-success:hover:not(:disabled){background:#059669}.btn-primary{background:#3b82f6;color:#fff}.btn-primary:hover:not(:disabled){background:#2563eb}.btn:disabled{opacity:.5;cursor:not-allowed}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal{background:#fff;border-radius:12px;max-width:600px;width:100%;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;animation:slideIn .3s ease}.modal.large-modal{max-width:900px}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.modal-header{padding:24px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.modal-header h2{margin:0;color:#1e293b;font-size:20px}.close-btn{background:none;border:none;padding:8px;cursor:pointer;color:#64748b;border-radius:6px;display:flex;align-items:center;justify-content:center}.close-btn:hover{background:#f1f5f9}.modal-content{padding:24px;overflow-y:auto;flex:1}.modal-details h3{margin:0 0 16px;color:#1e293b}.modal-summary{background:#f8fafc;padding:16px;border-radius:8px;margin-bottom:24px}.modal-summary p{margin:0 0 8px;color:#475569}.modal-summary p:last-child{margin-bottom:0}.approval-notes{margin-top:24px}.approval-notes h4{margin:0 0 12px;color:#1e293b;font-size:16px}.approval-notes textarea{width:100%;padding:12px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;resize:vertical;min-height:100px;font-family:inherit}.approval-notes textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.helper-text{margin:8px 0 0;color:#64748b;font-size:13px}.modal-actions{padding:24px;border-top:1px solid #e2e8f0;display:flex;justify-content:flex-end;gap:12px}.disbursement-summary h3{margin:0 0 20px;color:#1e293b}.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}.summary-item{padding:16px;background:#f8fafc;border-radius:8px}.summary-item.total{background:#dbeafe;border:1px solid #3b82f6}.summary-item span{display:block;color:#64748b;font-size:14px;margin-bottom:8px}.summary-item strong{display:block;font-size:18px;color:#1e293b;font-weight:600}.summary-item.total strong{color:#3b82f6}.warning-box{display:flex;gap:16px;padding:20px;background:#fffbeb;border:1px solid #f59e0b;border-radius:8px;margin-top:24px}.warning-box svg{color:#f59e0b;flex-shrink:0}.warning-box h4{margin:0 0 8px;color:#92400e}.warning-box p{margin:0 0 12px;color:#92400e;line-height:1.5}.warning-box ul{margin:0;padding-left:20px;color:#92400e}.warning-box li{margin-bottom:4px;font-size:14px}.detail-modal{color:#1e293b}.detail-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid #e2e8f0}.detail-header h3{margin:0;font-size:24px;color:#1e293b}.detail-status .status-badge{font-size:13px;padding:8px 16px}.detail-sections{display:flex;flex-direction:column;gap:32px}.detail-section h4{margin:0 0 16px;color:#1e293b;font-size:18px}.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.members-table{overflow-x:auto;margin-top:16px}.members-table table{width:100%;border-collapse:collapse;font-size:14px}.members-table th{background:#f8fafc;padding:12px 16px;text-align:left;color:#64748b;font-weight:500;border-bottom:1px solid #e2e8f0}.members-table td{padding:12px 16px;border-bottom:1px solid #f1f5f9;color:#475569}.members-table tr:last-child td{border-bottom:none}.members-table tr:hover{background:#f8fafc}@media (max-width: 768px){.stats-grid{grid-template-columns:1fr 1fr}.view-controls{flex-direction:column;align-items:stretch}.view-toggle,.filters{width:100%}.filters select{flex:1}.modal{margin:20px}.action-buttons{flex-direction:column}.btn{width:100%;justify-content:center}}.gm-loan-management{padding:20px;background:#f8fafc;min-height:100vh}.gm-page-header{margin-bottom:30px}.gm-header-content{display:flex;justify-content:space-between;align-items:center;background:#fff;padding:24px;border-radius:12px;box-shadow:0 1px 3px #0000001a}.gm-header-title h1{margin:0;color:#1e293b;display:flex;align-items:center;gap:10px;font-size:24px}.gm-header-title p{margin:8px 0 0;color:#64748b;font-size:14px}.gm-action-btn{display:flex;align-items:center;gap:8px;padding:10px 16px;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;color:#475569;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.gm-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:30px}.gm-stat-card{background:#fff;padding:20px;border-radius:12px;box-shadow:0 1px 3px #0000001a;display:flex;align-items:center;gap:16px}.gm-stat-icon{width:48px;height:48px;border-radius:10px;display:flex;align-items:center;justify-content:center}.gm-stat-info h3{margin:0;font-size:28px;color:#1e293b;font-weight:700}.gm-stat-info p{margin:4px 0;color:#64748b;font-size:14px}.gm-stat-trend{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:12px;color:#94a3b8}.gm-filters-section{background:#fff;padding:24px;border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-bottom:30px}.gm-filters-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:20px}.gm-filter-group{display:flex;flex-direction:column;gap:8px}.gm-filter-group label{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:500;color:#475569}.gm-filter-select{padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;font-size:14px;color:#1e293b;background:#fff;cursor:pointer}.gm-filter-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.gm-date-range{display:flex;align-items:center;gap:10px}.gm-date-input{padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;font-size:14px;color:#1e293b;flex:1}.gm-search-box{position:relative;display:flex;align-items:center}.gm-search-box svg{position:absolute;left:12px;color:#94a3b8}.gm-search-input{width:100%;padding:10px 12px 10px 40px;border:1px solid #cbd5e1;border-radius:8px;font-size:14px;color:#1e293b}.gm-filter-actions{display:flex;justify-content:flex-end;gap:12px;padding-top:20px;border-top:1px solid #e2e8f0}.gm-view-controls{background:#fff;padding:20px;border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center}.gm-view-tabs{display:flex;gap:8px;background:#f1f5f9;padding:4px;border-radius:8px}.gm-view-tab{padding:10px 16px;background:transparent;border:none;border-radius:6px;font-size:14px;font-weight:500;color:#64748b;cursor:pointer;display:flex;align-items:center;gap:8px;transition:all .2s}.gm-view-tab.active{background:#fff;color:#3b82f6;box-shadow:0 1px 3px #0000001a}.gm-results-count{font-size:14px;color:#64748b}.gm-applications-container{background:#fff;padding:24px;border-radius:12px;box-shadow:0 1px 3px #0000001a;min-height:400px}.gm-loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px;color:#64748b}.gm-spinner{width:40px;height:40px;border:3px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}.gm-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px;text-align:center;color:#64748b}.gm-empty-state svg{color:#cbd5e1;margin-bottom:20px}.gm-empty-state h3{margin:0 0 8px;color:#475569}.gm-application-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;margin-bottom:16px;overflow:hidden;transition:all .2s}.gm-application-card:hover{border-color:#cbd5e1;box-shadow:0 4px 6px #0000000d}.gm-card-header{padding:20px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;background:#f8fafc;border-bottom:1px solid #e2e8f0}.gm-app-title h3{margin:0;color:#1e293b;font-size:18px}.gm-branch-tag{background:#e0f2fe;color:#0369a1;padding:4px 10px;border-radius:20px;font-size:12px;font-weight:500}.gm-app-actions{display:flex;align-items:center;gap:16px}.gm-status-badge{padding:6px 12px;border-radius:20px;font-size:12px;font-weight:500;display:flex;align-items:center;gap:6px}.gm-card-details{padding:20px;border-top:1px solid #f1f5f9}.gm-quick-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid #f1f5f9}.gm-summary-item{display:flex;justify-content:space-between;align-items:center;font-size:14px}.gm-summary-item span:first-child{color:#64748b}.gm-summary-item strong{color:#1e293b;font-weight:500}.gm-financial-summary{margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid #f1f5f9}.gm-financial-summary h4{margin:0 0 16px;color:#475569;display:flex;align-items:center;gap:8px;font-size:16px}.gm-financial-item{display:flex;justify-content:space-between;align-items:center;padding:12px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0;font-size:14px}.gm-financial-item.highlight{background:#f0f9ff;border-color:#bae6fd}.gm-financial-item.highlight strong{color:#0369a1;font-weight:600}.gm-notes-section{margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid #f1f5f9}.gm-notes-section h4{margin:0 0 12px;color:#475569;display:flex;align-items:center;gap:8px;font-size:16px}.gm-notes-content{padding:16px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0;color:#475569;font-size:14px;line-height:1.5}.gm-workflow-history{margin-bottom:24px}.gm-workflow-history h4{margin:0 0 16px;color:#475569;display:flex;align-items:center;gap:8px;font-size:16px}.gm-history-list{display:flex;flex-direction:column;gap:12px;max-height:200px;overflow-y:auto;padding-right:8px}.gm-history-item{padding:12px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0;font-size:13px}.gm-history-date{color:#64748b;font-size:12px;margin-bottom:4px}.gm-history-notes{color:#475569;font-size:12px;margin-top:4px}.gm-history-by{color:#94a3b8;font-size:11px;text-align:right;margin-top:4px}.gm-action-buttons{display:flex;gap:12px;justify-content:flex-end;padding-top:24px;border-top:1px solid #f1f5f9}.gm-btn{padding:10px 20px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:8px;transition:all .2s}.gm-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 6px #0000001a}.gm-btn:disabled{opacity:.5;cursor:not-allowed}.gm-btn-sm{padding:6px 12px;font-size:12px}.gm-btn-secondary{background:#f1f5f9;color:#475569;border:1px solid #cbd5e1}.gm-modal{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a;max-width:800px;width:100%;max-height:90vh;display:flex;flex-direction:column}.gm-modal-header h2{margin:0;color:#1e293b;display:flex;align-items:center;gap:10px;font-size:20px}.gm-modal-close{background:none;border:none;color:#94a3b8;cursor:pointer;padding:4px;border-radius:4px}.gm-modal-close:hover{background:#f1f5f9;color:#64748b}.gm-modal-content{padding:24px;overflow-y:auto;flex:1}.gm-modal-details h3{margin:0 0 16px;color:#1e293b}.gm-modal-summary{background:#f8fafc;padding:16px;border-radius:8px;margin-bottom:24px;border:1px solid #e2e8f0}.gm-summary-row{display:flex;justify-content:space-between;margin-bottom:8px;font-size:14px}.gm-summary-row:last-child{margin-bottom:0}.gm-approval-notes h4{margin:0 0 12px;color:#475569;font-size:16px}.gm-notes-textarea{width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:8px;font-size:14px;color:#1e293b;resize:vertical;min-height:120px}.gm-disbursement-modal{max-width:600px}.gm-disbursement-summary h3{margin:0 0 8px;color:#1e293b}.gm-subtitle{margin:0 0 24px;color:#64748b;font-size:14px}.gm-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-bottom:24px}.gm-summary-item{display:flex;justify-content:space-between;padding:12px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.gm-summary-item.gm-total-item{background:#f0f9ff;border-color:#bae6fd;font-weight:600}.gm-warning-box{display:flex;gap:16px;padding:20px;background:#fffbeb;border:1px solid #fbbf24;border-radius:8px;margin-bottom:24px}.gm-warning-box ul{margin:0;padding-left:20px;color:#92400e;font-size:14px}.gm-member-history-modal{max-width:700px}.gm-member-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid #e2e8f0}.gm-member-avatar{display:flex;align-items:center;gap:16px}.gm-avatar-circle{width:60px;height:60px;border-radius:50%;background:#3b82f6;color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:600}.gm-member-info h3{margin:0 0 4px;color:#1e293b}.gm-member-info p{margin:0;color:#64748b;font-size:14px}.gm-performance-score{padding:16px;border-radius:12px;color:#fff;text-align:center;min-width:100px}.gm-score-value{display:block;font-size:28px;font-weight:700;line-height:1}.gm-score-label{display:block;font-size:12px;opacity:.9;margin-top:4px}.gm-member-details{display:flex;flex-direction:column;gap:24px}.gm-detail-section h4{margin:0 0 16px;color:#475569;display:flex;align-items:center;gap:8px;font-size:16px}.gm-detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.gm-detail-item{display:flex;justify-content:space-between;padding:12px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0;font-size:14px}.gm-detail-item span{color:#64748b}.gm-detail-item strong{color:#1e293b;font-weight:500}.gm-loan-request{padding:16px;background:#f0f9ff;border-radius:8px;border:1px solid #bae6fd}.gm-loan-detail{display:flex;justify-content:space-between;margin-bottom:8px;font-size:14px}.gm-loan-detail:last-child{margin-bottom:0}.gm-summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:20px;transition:all .2s}.gm-summary-card:hover{border-color:#cbd5e1;box-shadow:0 4px 6px #0000000d}.gm-summary-card h4{margin:0 0 16px;color:#1e293b;font-size:16px}.gm-summary-content{margin-bottom:16px}.gm-summary-item{display:flex;justify-content:space-between;margin-bottom:8px;font-size:14px}.gm-summary-item:last-child{margin-bottom:0}.gm-status-indicator{padding:4px 10px;border-radius:20px;font-size:11px;font-weight:500}.gm-spinner-small{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite}.spinning{animation:spin 1s linear infinite}@media (max-width: 768px){.gm-header-content{flex-direction:column;align-items:flex-start;gap:16px}.gm-header-actions{width:100%;justify-content:flex-start}.gm-filters-grid{grid-template-columns:1fr}.gm-view-controls{flex-direction:column;gap:16px}.gm-view-tabs{width:100%;overflow-x:auto}.gm-action-buttons{flex-wrap:wrap;justify-content:center}.gm-modal{max-height:80vh}}.gm-detail-modal{max-width:1200px;width:90vw;max-height:90vh}.gm-detail-modal.fullscreen{width:95vw;height:95vh;max-width:none;max-height:none}.gm-detail-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:24px;border-radius:12px 12px 0 0}.gm-header-content{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.gm-header-title h2{margin:0;color:#fff;font-size:24px;font-weight:600}.gm-header-subtitle{display:flex;align-items:center;gap:16px;margin-top:8px;font-size:14px;opacity:.9}.gm-branch-tag{background:#fff3;padding:4px 12px;border-radius:20px;font-weight:500}.gm-facilitator,.gm-date{display:flex;align-items:center;gap:6px}.gm-header-actions{display:flex;gap:8px}.gm-action-btn{background:#fff3;border:none;color:#fff;width:40px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.gm-action-btn:hover{background:#ffffff4d}.gm-status-bar{display:flex;justify-content:space-between;align-items:center;background:#0003;padding:12px 20px;border-radius:8px}.gm-status-info{display:flex;align-items:center;gap:8px;padding:8px 16px;border-radius:20px;font-weight:500;font-size:14px}.gm-statistics{display:flex;gap:24px}.gm-stat strong{font-size:18px;font-weight:600}.gm-stat span{font-size:12px;opacity:.8}.gm-tab{flex:1;padding:16px 24px;background:none;border:none;border-bottom:3px solid transparent;display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:500;color:#64748b;cursor:pointer;transition:all .2s}.gm-tab:hover{background:#f1f5f9;color:#475569}.gm-tab.active{border-bottom-color:#3b82f6;color:#3b82f6;background:#fff}.gm-section{margin-bottom:32px}.gm-section h3{margin:0 0 20px;color:#1e293b;display:flex;align-items:center;gap:10px;font-size:18px}.gm-performance-summary{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px}.gm-performance-score{display:flex;gap:40px;align-items:center}.gm-circular-progress{position:relative;width:120px;height:120px}.gm-progress-circle{width:100%;height:100%;border-radius:50%;position:relative}.gm-progress-inner{position:absolute;top:10px;left:10px;right:10px;bottom:10px;background:#fff;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}.gm-progress-value{font-size:28px;font-weight:700;color:#1e293b}.gm-progress-label{font-size:12px;color:#64748b;margin-top:4px}.gm-performance-breakdown h4{margin:0 0 16px;color:#475569;font-size:16px}.gm-breakdown-item{padding:12px;border-radius:8px;display:flex;justify-content:space-between;align-items:center}.gm-breakdown-item.excellent{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534}.gm-breakdown-item.good{background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af}.gm-breakdown-item.fair{background:#fffbeb;border:1px solid #fde68a;color:#92400e}.gm-breakdown-item.poor{background:#fef2f2;border:1px solid #fecaca;color:#dc2626}.gm-breakdown-label{font-size:14px}.gm-breakdown-count{font-weight:600;font-size:18px}.gm-risk-warning{display:flex;align-items:center;gap:8px;padding:12px;background:#fffbeb;border:1px solid #fde68a;border-radius:8px;color:#92400e;font-size:14px}.gm-review-box{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px}.gm-review-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid #f1f5f9}.gm-reviewer{display:flex;align-items:center;gap:8px;font-size:14px}.gm-reviewer strong{color:#1e293b}.gm-review-status.approved{background:#dcfce7;color:#166534;padding:6px 12px;border-radius:20px;font-size:12px;font-weight:500}.gm-review-content{color:#475569;line-height:1.6}.gm-financial-overview{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px}.gm-financial-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:20px}.gm-financial-card{padding:16px;border:1px solid #e2e8f0;border-radius:8px;text-align:center}.gm-financial-card.highlight{background:#f0f9ff;border-color:#bae6fd}.gm-financial-value{font-size:20px;font-weight:600;color:#1e293b}.gm-recommendation-box{display:flex;gap:20px;padding:24px;border-radius:12px;align-items:flex-start}.gm-recommendation-box.approve{background:#f0fdf4;border:1px solid #bbf7d0}.gm-recommendation-box.review{background:#fffbeb;border:1px solid #fde68a}.gm-recommendation-box.reject{background:#fef2f2;border:1px solid #fecaca}.gm-recommendation-icon{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center}.gm-recommendation-box.approve .gm-recommendation-icon{background:#dcfce7;color:#166534}.gm-recommendation-box.review .gm-recommendation-icon{background:#fef3c7;color:#92400e}.gm-recommendation-box.reject .gm-recommendation-icon{background:#fee2e2;color:#dc2626}.gm-recommendation-content h4{margin:0 0 12px;font-size:18px}.gm-recommendation-content p{margin:0 0 20px;color:#475569;line-height:1.6}.gm-members-content{padding:24px}.gm-members-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.gm-members-header h3{margin:0;color:#1e293b;font-size:18px}.gm-members-filters{display:flex;gap:16px;align-items:center}.gm-member-search input{padding:10px 12px 10px 36px;border:1px solid #cbd5e1;border-radius:8px;width:250px;font-size:14px}.gm-performance-filter{padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;font-size:14px;background:#fff}.gm-member-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;margin-bottom:12px;overflow:hidden;transition:all .2s}.gm-member-card:hover{border-color:#cbd5e1;box-shadow:0 2px 4px #0000000d}.gm-member-card-header{padding:16px 20px;cursor:pointer;display:flex;justify-content:space-between;align-items:center}.gm-member-info{display:flex;align-items:center;gap:16px}.gm-member-avatar{width:40px;height:40px;border-radius:50%;background:#3b82f6;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:16px}.gm-member-details h4{margin:0 0 4px;color:#1e293b;font-size:16px}.gm-member-meta{display:flex;gap:16px;font-size:12px;color:#64748b}.gm-performance-badge{padding:6px 12px;border-radius:20px;font-size:12px;font-weight:500}.gm-view-history-btn{background:#f1f5f9;border:1px solid #cbd5e1;border-radius:6px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#475569}.gm-member-expanded-details{padding:20px;border-top:1px solid #f1f5f9;background:#f8fafc}.gm-expanded-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px;margin-bottom:20px}.gm-expanded-section h5{margin:0 0 12px;color:#475569;font-size:14px;display:flex;align-items:center;gap:6px}.gm-guarantors-section{padding-top:16px;border-top:1px solid #e2e8f0}.gm-guarantors-section h5{margin:0 0 8px;color:#475569;font-size:14px;display:flex;align-items:center;gap:6px}.gm-guarantor{padding:8px 12px;background:#fff;border:1px solid #e2e8f0;border-radius:6px;font-size:13px}.gm-guarantor strong{color:#1e293b;margin-right:8px}.gm-financial-summary{margin-bottom:32px}.gm-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:24px}.gm-summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:20px;text-align:center}.gm-summary-card h4{margin:0 0 12px;color:#475569;font-size:14px}.gm-summary-value{font-size:24px;font-weight:600;color:#1e293b;margin-bottom:4px}.gm-summary-subtitle{font-size:12px;color:#64748b}.gm-net-disbursement{background:#f0f9ff;border:1px solid #bae6fd;border-radius:12px;padding:24px;text-align:center}.gm-net-disbursement h4{margin:0 0 12px;color:#0369a1;font-size:16px}.gm-net-amount{font-size:32px;font-weight:700;color:#0369a1;margin-bottom:8px}.gm-net-disbursement p{margin:0;color:#64748b;font-size:14px}.gm-breakdown-section{margin-bottom:32px}.gm-breakdown-section h4{margin:0 0 16px;color:#475569;font-size:16px}.gm-breakdown-table{overflow-x:auto;background:#fff;border:1px solid #e2e8f0;border-radius:8px}.gm-breakdown-table th{padding:12px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0;color:#475569;font-size:12px;font-weight:600;text-align:left;text-transform:uppercase}.gm-breakdown-table td{padding:12px 16px;border-bottom:1px solid #f1f5f9;font-size:13px}.gm-breakdown-table tbody tr:hover{background:#f8fafc}.gm-breakdown-table tfoot{background:#f1f5f9}.gm-breakdown-table tfoot td{border-bottom:none;font-weight:600;color:#1e293b}.gm-disbursement-section{margin-top:32px}.gm-warning-box{display:flex;gap:16px;padding:24px;background:#fffbeb;border:1px solid #fde68a;border-radius:12px}.gm-warning-box h4{margin:0 0 8px;color:#92400e}.gm-warning-box p{margin:0 0 12px;color:#92400e;font-size:14px}.gm-warning-box ul{margin:0 0 16px;padding-left:20px;color:#92400e;font-size:14px}.gm-workflow-content h3{margin:0 0 24px;color:#1e293b;font-size:18px}.gm-workflow-timeline{position:relative;padding-left:40px;margin-bottom:32px}.gm-timeline-stage{position:relative;margin-bottom:24px}.gm-stage-icon{position:absolute;left:-40px;top:0;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;z-index:2}.gm-stage-content{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:16px;position:relative}.gm-stage-content h4{margin:0 0 8px;color:#1e293b;font-size:16px}.gm-stage-user{display:flex;align-items:center;gap:6px;font-size:12px;color:#64748b;margin-bottom:8px}.gm-stage-status{display:inline-block;padding:4px 8px;background:#f1f5f9;border-radius:4px;font-size:11px;font-weight:500;color:#64748b}.gm-timeline-stage.completed .gm-stage-status{background:#dcfce7;color:#166534}.gm-timeline-stage.current .gm-stage-status{background:#dbeafe;color:#1e40af}.gm-stage-connector{position:absolute;left:-24px;top:32px;bottom:-24px;width:2px;background:#e2e8f0;z-index:1}.gm-history-log h4{margin:0 0 16px;color:#475569;font-size:16px}.gm-history-list{display:flex;flex-direction:column;gap:12px;max-height:300px;overflow-y:auto;padding-right:8px}.gm-history-item{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:12px;font-size:13px}.gm-history-date{color:#64748b;font-size:11px;margin-bottom:4px}.gm-from-status,.gm-to-status{padding:2px 8px;border-radius:4px;font-size:11px;font-weight:500}.gm-from-status{background:#fef3c7;color:#92400e}.gm-to-status{background:#dcfce7;color:#166534}.gm-history-by{color:#94a3b8;font-size:11px;margin-bottom:4px}.gm-history-notes{color:#475569;font-size:12px;margin-top:4px;padding-top:4px;border-top:1px dashed #e2e8f0}.gm-decision-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:2000;padding:20px}.gm-decision-modal{background:#fff;border-radius:12px;max-width:500px;width:100%;box-shadow:0 25px 50px -12px #00000040}.gm-decision-header{padding:24px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.gm-decision-header h3{margin:0;color:#1e293b;font-size:20px}.gm-decision-content{padding:24px}.gm-form-group label{display:block;margin-bottom:8px;font-size:14px;font-weight:500;color:#475569}.gm-form-group textarea{width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:8px;font-size:14px;color:#1e293b;resize:vertical;min-height:100px}.gm-helper-text{margin:8px 0 0;color:#94a3b8;font-size:12px}.gm-decision-actions{padding:24px;border-top:1px solid #e2e8f0;display:flex;justify-content:flex-end;gap:12px}.gm-loading,.gm-empty-members,.gm-empty-history{text-align:center;padding:40px;color:#64748b}.gm-empty-members svg,.gm-empty-history svg{color:#cbd5e1;margin-bottom:16px}@media (max-width: 768px){.gm-detail-modal{width:95vw}.gm-header-content{flex-direction:column;gap:16px}.gm-header-subtitle{flex-direction:column;align-items:flex-start;gap:8px}.gm-status-bar{flex-direction:column;gap:16px;align-items:flex-start}.gm-statistics{width:100%;justify-content:space-between}.gm-performance-score{flex-direction:column;text-align:center}.gm-members-header{flex-direction:column;align-items:flex-start;gap:16px}.gm-members-filters{width:100%;flex-direction:column}.gm-member-search input{width:100%}.gm-expanded-grid,.gm-summary-grid{grid-template-columns:1fr}.gm-recommendation-actions{flex-direction:column}.gm-breakdown-table{font-size:12px}.gm-breakdown-table th,.gm-breakdown-table td{padding:8px}}.gm-member-history-modal{max-width:1000px;width:90vw;max-height:90vh}.gm-member-history-modal.fullscreen{width:95vw;height:95vh;max-width:none;max-height:none}.gm-member-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:24px;border-radius:12px 12px 0 0}.gm-member-header-content{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.gm-member-avatar-section{display:flex;align-items:center;gap:20px}.gm-member-avatar-large{width:80px;height:80px;border-radius:50%;background:#3b82f6;color:#fff;display:flex;align-items:center;justify-content:center;font-size:32px;font-weight:600;box-shadow:0 4px 6px #0000001a}.gm-member-info h2{margin:0;color:#fff;font-size:24px;font-weight:600}.gm-member-meta{display:flex;flex-wrap:wrap;gap:16px;margin-top:8px;font-size:14px;opacity:.9}.gm-member-meta span{display:flex;align-items:center;gap:6px}.gm-performance-summary-bar{display:flex;justify-content:space-between;align-items:center;background:#0003;padding:16px 20px;border-radius:8px}.gm-performance-score-badge{padding:16px 24px;border-radius:12px;color:#fff;text-align:center;min-width:120px}.gm-score-value{font-size:32px;font-weight:700;line-height:1}.gm-score-label{font-size:12px;opacity:.9;margin-top:4px}.gm-statistics-bar{display:flex;gap:24px}.gm-stat-item{text-align:center}.gm-stat-item strong{display:block;font-size:20px;font-weight:600;margin-top:4px}.gm-stat-item span{display:block;font-size:12px;opacity:.8;margin-top:2px}.gm-member-tabs{display:flex;background:#f8fafc;border-bottom:1px solid #e2e8f0;overflow-x:auto}.gm-member-tab{flex:1;min-width:120px;padding:16px 20px;background:none;border:none;border-bottom:3px solid transparent;display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:500;color:#64748b;cursor:pointer;white-space:nowrap}.gm-member-tab:hover{background:#f1f5f9;color:#475569}.gm-member-tab.active{border-bottom-color:#3b82f6;color:#3b82f6;background:#fff}.gm-overview-content{padding:24px}.gm-current-loan-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;margin-bottom:24px}.gm-loan-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #f1f5f9}.gm-loan-info h4{margin:0 0 4px;color:#1e293b;font-size:18px}.gm-loan-info p{margin:0;color:#64748b;font-size:14px}.gm-loan-status.pending{background:#fef3c7;color:#92400e;padding:6px 12px;border-radius:20px;font-size:12px;font-weight:500}.gm-loan-details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}.gm-loan-detail{display:flex;flex-direction:column;gap:4px}.gm-loan-detail span{font-size:12px;color:#64748b}.gm-loan-detail strong{font-size:16px;color:#1e293b;font-weight:600}.gm-loan-detail.highlight strong{color:#059669}.gm-quick-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}.gm-quick-stat{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;display:flex;align-items:center;gap:16px}.gm-stat-icon{width:48px;height:48px;background:#f0f9ff;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#0ea5e9}.gm-stat-content{flex:1}.gm-stat-value{font-size:24px;font-weight:700;color:#1e293b;margin-bottom:4px}.gm-stat-label{font-size:14px;color:#64748b;margin-bottom:2px}.gm-stat-subtitle{font-size:12px;color:#94a3b8}.gm-assessment-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;display:flex;gap:40px;align-items:center}.gm-performance-circle-large{width:150px;height:150px;position:relative}.gm-circle-progress{width:100%;height:100%;border-radius:50%;position:relative}.gm-circle-inner{position:absolute;top:10px;left:10px;right:10px;bottom:10px;background:#fff;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}.gm-circle-value{font-size:36px;font-weight:700;color:#1e293b}.gm-circle-label{font-size:14px;color:#64748b;margin-top:4px}.gm-assessment-details{flex:1}.gm-rating{display:flex;align-items:center;gap:10px;margin-bottom:20px}.gm-rating h4{margin:0;color:#1e293b;font-size:20px}.gm-assessment-breakdown{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}.gm-breakdown-item{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #f1f5f9}.gm-breakdown-item:last-child{border-bottom:none}.gm-breakdown-item span{color:#64748b;font-size:14px}.gm-breakdown-item strong{font-size:14px;font-weight:600}.gm-recommendation{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:16px}.gm-recommendation h5{margin:0 0 8px;color:#475569;font-size:16px}.gm-recommendation p{margin:0;color:#475569;font-size:14px;line-height:1.6}.gm-recent-activity{display:flex;flex-direction:column;gap:12px}.gm-activity-item{display:flex;justify-content:space-between;align-items:center;padding:12px;background:#fff;border:1px solid #e2e8f0;border-radius:8px}.gm-activity-date{font-size:14px;color:#64748b;font-weight:500}.gm-activity-details{display:flex;align-items:center;gap:20px}.gm-activity-type{background:#dcfce7;color:#166534;padding:4px 12px;border-radius:20px;font-size:12px;font-weight:500}.gm-activity-amounts{display:flex;gap:16px;font-size:13px;color:#475569}.gm-loan-repayment{color:#ef4444}.gm-savings-content{padding:24px}.gm-savings-breakdown{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px}.gm-savings-category{margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid #f1f5f9}.gm-savings-category:last-child{margin-bottom:0;border-bottom:none}.gm-savings-category h4{margin:0 0 16px;color:#475569;font-size:16px}.gm-savings-item{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:14px}.gm-savings-item:last-child{margin-bottom:0}.gm-savings-item span{color:#64748b}.gm-savings-item strong{color:#1e293b;font-weight:500}.gm-savings-total{margin-top:24px;padding-top:20px;border-top:2px solid #e2e8f0}.gm-total-item{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:14px;font-weight:500}.gm-total-item:last-child{margin-bottom:0}.gm-total-item.highlight{font-size:16px;padding-top:12px;border-top:1px solid #e2e8f0}.gm-total-item.highlight strong{color:#059669;font-size:18px}.gm-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.gm-date-filters{display:flex;align-items:center;gap:12px}.gm-date-input{padding:8px 12px;border:1px solid #cbd5e1;border-radius:6px;font-size:14px}.gm-clear-btn{padding:8px 12px;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:6px;font-size:14px;color:#475569;cursor:pointer}.gm-transactions-table{overflow-x:auto;background:#fff;border:1px solid #e2e8f0;border-radius:8px}.gm-transactions-table table{width:100%;border-collapse:collapse}.gm-transactions-table th{padding:12px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0;color:#475569;font-size:12px;font-weight:600;text-align:left;text-transform:uppercase}.gm-transactions-table td{padding:12px 16px;border-bottom:1px solid #f1f5f9;font-size:13px}.gm-transactions-table tbody tr:hover{background:#f8fafc}.gm-status-badge{padding:4px 10px;border-radius:20px;font-size:11px;font-weight:500}.gm-status-badge.absent{background:#fee2e2;color:#dc2626}.gm-status-badge.present{background:#dcfce7;color:#166534}.gm-shares-cell{display:flex;flex-direction:column;gap:4px}.gm-shares-count.excellent{color:#10b981;font-weight:500}.gm-shares-count.good{color:#f59e0b;font-weight:500}.gm-shares-count.none{color:#ef4444;font-weight:500}.gm-shares-value{font-size:11px;color:#94a3b8}.gm-weekly-total{color:#1e293b;font-weight:600}.gm-loan-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:24px}.gm-loan-summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;text-align:center}.gm-summary-icon{width:48px;height:48px;background:#f0f9ff;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;color:#0ea5e9}.gm-summary-label{font-size:14px;color:#64748b}.gm-loans-list{display:flex;flex-direction:column;gap:12px}.gm-loan-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.gm-loan-card-header{padding:16px 20px;cursor:pointer;display:flex;justify-content:space-between;align-items:center}.gm-loan-info h4{margin:0 0 4px;color:#1e293b;font-size:16px}.gm-loan-meta{display:flex;gap:12px;font-size:12px;color:#64748b}.gm-loan-status{display:flex;align-items:center;gap:12px}.gm-loan-status-badge{padding:6px 12px;border-radius:20px;font-size:11px;font-weight:500}.gm-loan-status-badge.active{background:#dcfce7;color:#166534}.gm-loan-status-badge.paid{background:#dbeafe;color:#1e40af}.gm-loan-status-badge.overdue{background:#fee2e2;color:#dc2626}.gm-loan-details-expanded{padding:20px;border-top:1px solid #f1f5f9;background:#f8fafc}.gm-loan-details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:20px}.gm-detail-item{display:flex;flex-direction:column;gap:4px}.gm-detail-item span{font-size:12px;color:#64748b}.gm-detail-item strong{font-size:14px;color:#1e293b;font-weight:500}.gm-detail-item .gm-balance{color:#ef4444}.gm-loan-notes{padding:16px;background:#fff;border:1px solid #e2e8f0;border-radius:8px}.gm-loan-notes h5{margin:0 0 8px;color:#475569;font-size:14px}.gm-loan-notes p{margin:0;color:#475569;font-size:14px;line-height:1.6}.gm-performance-content{padding:24px}.gm-metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:24px}.gm-metric-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px}.gm-metric-header{display:flex;align-items:center;gap:12px;margin-bottom:16px}.gm-metric-icon{width:40px;height:40px;background:#f0f9ff;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#0ea5e9}.gm-metric-header h4{margin:0;color:#1e293b;font-size:16px}.gm-metric-content{text-align:center}.gm-metric-value{font-size:28px;font-weight:700;color:#1e293b;margin-bottom:4px}.gm-metric-label{font-size:14px;color:#64748b;margin-bottom:12px}.gm-metric-progress{height:6px;background:#e2e8f0;border-radius:3px;overflow:hidden;margin-bottom:8px}.gm-progress-bar{height:100%;background:#10b981;border-radius:3px}.gm-metric-description{font-size:12px;color:#64748b}.gm-trends-analysis{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-bottom:24px}.gm-trend-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px}.gm-trend-card h4{margin:0 0 16px;color:#475569;font-size:16px}.gm-trend-content{display:flex;flex-direction:column;gap:12px}.gm-trend-positive,.gm-trend-warning,.gm-trend-negative,.gm-trend-neutral{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500}.gm-trend-positive{color:#10b981}.gm-trend-warning{color:#f59e0b}.gm-trend-negative{color:#ef4444}.gm-trend-neutral{color:#64748b}.gm-trend-content p{margin:0;color:#475569;font-size:14px;line-height:1.6}.gm-risk-assessment{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px}.gm-risk-score{display:flex;gap:40px;align-items:center}.gm-risk-circle{width:120px;height:120px;position:relative}.gm-risk-progress{width:100%;height:100%;border-radius:50%;position:relative}.gm-risk-inner{position:absolute;top:10px;left:10px;right:10px;bottom:10px;background:#fff;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}.gm-risk-value{font-size:28px;font-weight:700;color:#1e293b}.gm-risk-label{font-size:12px;color:#64748b;margin-top:4px}.gm-risk-details{flex:1}.gm-risk-details h4{margin:0 0 12px;color:#1e293b;font-size:18px}.gm-risk-details p{margin:0 0 20px;color:#475569;font-size:14px;line-height:1.6}.gm-risk-factors h5{margin:0 0 12px;color:#475569;font-size:16px}.gm-risk-factors ul{margin:0;padding-left:20px;color:#475569;font-size:14px}.gm-risk-factors li{margin-bottom:8px}.gm-details-content{padding:24px}.gm-details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}.gm-detail-group{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px}.gm-detail-group h4{margin:0 0 16px;color:#475569;font-size:16px;padding-bottom:12px;border-bottom:1px solid #f1f5f9}.gm-kin-details,.gm-group-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px}.gm-group-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid #f1f5f9}.gm-group-header h4{margin:0;color:#1e293b;font-size:18px}.gm-group-status.active{background:#dcfce7;color:#166534;padding:6px 12px;border-radius:20px;font-size:12px;font-weight:500}.gm-guarantors-list{display:flex;flex-direction:column;gap:12px}.gm-guarantor-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.gm-guarantor-header{padding:16px 20px;cursor:pointer;display:flex;justify-content:space-between;align-items:center}.gm-guarantor-info h4{margin:0 0 4px;color:#1e293b;font-size:16px}.gm-guarantor-meta{display:flex;gap:16px;font-size:12px;color:#64748b}.gm-guarantor-role{background:#dbeafe;color:#1e40af;padding:6px 12px;border-radius:20px;font-size:11px;font-weight:500}.gm-guarantor-details{padding:20px;border-top:1px solid #f1f5f9;background:#f8fafc}.gm-loading-state{text-align:center;padding:60px}.gm-spinner-large{width:60px;height:60px;border:4px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 20px}.gm-empty-state{text-align:center;padding:40px;color:#64748b}.gm-empty-state p{margin:0;font-size:14px}@media (max-width: 768px){.gm-member-header-content{flex-direction:column;gap:20px}.gm-member-avatar-section{width:100%}.gm-performance-summary-bar{flex-direction:column;gap:20px;align-items:stretch}.gm-statistics-bar{width:100%;justify-content:space-between;flex-wrap:wrap}.gm-assessment-card{flex-direction:column;text-align:center}.gm-loan-details-grid,.gm-metrics-grid,.gm-trends-analysis{grid-template-columns:1fr}.gm-risk-score{flex-direction:column;text-align:center}.gm-details-grid{grid-template-columns:1fr}.gm-guarantor-header{flex-direction:column;align-items:flex-start;gap:12px}.gm-guarantor-role{align-self:flex-start}}.gm-loan-management{background:#f8fafc;min-height:100vh;padding:20px}.gm-page-header{background:#fff;border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:0 1px 3px #0000001a}.gm-header-content{display:flex;justify-content:space-between;align-items:flex-start}.gm-header-title h1{font-size:28px;font-weight:700;color:#1e293b;margin-bottom:8px;display:flex;align-items:center;gap:12px}.gm-header-title p{color:#64748b;font-size:16px}.gm-header-actions{display:flex;gap:12px}.gm-action-btn{display:flex;align-items:center;gap:8px;padding:10px 16px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;color:#475569;font-weight:500;cursor:pointer;transition:all .2s}.gm-action-btn:hover{background:#e2e8f0}.gm-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin-bottom:24px}.gm-stat-card{background:#fff;border-radius:12px;padding:20px;display:flex;align-items:center;gap:16px;box-shadow:0 1px 3px #0000001a}.gm-stat-icon{width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center}.gm-stat-info h3{font-size:24px;font-weight:700;color:#1e293b;margin-bottom:4px}.gm-stat-info p{color:#64748b;font-size:14px;margin-bottom:8px}.gm-stat-trend{display:flex;align-items:center;gap:4px;font-size:12px;color:#64748b}.gm-filters-section{background:#fff;border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:0 1px 3px #0000001a}.gm-filters-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:20px}.gm-filter-group label{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500;color:#475569;margin-bottom:8px}.gm-filter-select{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;font-size:14px;color:#1e293b}.gm-date-range{display:flex;align-items:center;gap:8px}.gm-date-input{flex:1;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px}.gm-search-box{position:relative}.gm-search-box svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#94a3b8}.gm-search-input{width:100%;padding:10px 12px 10px 40px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px}.gm-filter-actions{display:flex;justify-content:flex-end;gap:12px;padding-top:16px;border-top:1px solid #f1f5f9}.gm-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:8px;font-weight:500;font-size:14px;cursor:pointer;border:none;transition:all .2s}.gm-btn-primary{background:#3b82f6;color:#fff}.gm-btn-primary:hover{background:#2563eb}.gm-btn-secondary{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0}.gm-btn-secondary:hover{background:#e2e8f0}.gm-btn-success{background:#10b981;color:#fff}.gm-btn-success:hover{background:#059669}.gm-btn-warning{background:#f59e0b;color:#fff}.gm-btn-warning:hover{background:#d97706}.gm-btn-danger{background:#ef4444;color:#fff}.gm-btn-danger:hover{background:#dc2626}.gm-btn-sm{padding:6px 12px;font-size:13px}.gm-btn-large{padding:12px 24px;font-size:16px}.gm-view-controls{background:#fff;border-radius:12px;padding:20px;margin-bottom:24px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 1px 3px #0000001a}.gm-view-tabs{display:flex;gap:8px}.gm-view-tab{display:flex;align-items:center;gap:8px;padding:10px 16px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;color:#64748b;font-weight:500;cursor:pointer;transition:all .2s}.gm-view-tab.active{background:#3b82f6;color:#fff;border-color:#3b82f6}.gm-view-tab:hover:not(.active){background:#e2e8f0}.gm-results-count{color:#64748b;font-size:14px}.gm-applications-container{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #0000001a}.gm-application-card{border:1px solid #e2e8f0;border-radius:12px;margin-bottom:16px;overflow:hidden}.gm-card-header{display:flex;justify-content:space-between;align-items:center;padding:20px;background:#f8fafc;cursor:pointer;transition:background .2s}.gm-card-header:hover{background:#f1f5f9}.gm-app-title{display:flex;align-items:center;gap:12px;margin-bottom:8px}.gm-app-title h3{font-size:18px;font-weight:600;color:#1e293b}.gm-branch-tag{padding:4px 8px;background:#dbeafe;color:#3b82f6;border-radius:6px;font-size:12px;font-weight:500}.gm-app-meta{display:flex;align-items:center;gap:12px;font-size:13px;color:#64748b}.gm-app-meta span{display:flex;align-items:center;gap:4px}.gm-app-actions{display:flex;align-items:center;gap:12px}.gm-status-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:20px;font-size:13px;font-weight:500}.gm-card-details{padding:20px;border-top:1px solid #e2e8f0}.gm-quick-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid #f1f5f9}.gm-summary-item{display:flex;justify-content:space-between;align-items:center}.gm-summary-item span{color:#64748b;font-size:14px}.gm-summary-item strong{color:#1e293b;font-weight:600}.gm-financial-summary{margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid #f1f5f9}.gm-financial-summary h4{display:flex;align-items:center;gap:8px;margin-bottom:16px;font-size:16px;color:#1e293b}.gm-financial-item{display:flex;flex-direction:column;gap:4px}.gm-financial-item.highlight strong{color:#10b981;font-size:18px}.gm-notes-section{margin-bottom:20px;padding:16px;background:#fefce8;border-radius:8px;border-left:4px solid #f59e0b}.gm-notes-section h4{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:16px;color:#92400e}.gm-notes-content{color:#92400e;line-height:1.6}.gm-workflow-history{margin-bottom:20px}.gm-workflow-history h4{display:flex;align-items:center;gap:8px;margin-bottom:16px;font-size:16px;color:#1e293b}.gm-history-item{padding:12px 16px;background:#f8fafc;border-radius:8px;border-left:4px solid #3b82f6}.gm-history-date{font-size:12px;color:#64748b;margin-bottom:4px}.gm-from-status,.gm-to-status{padding:2px 6px;background:#fff;border-radius:4px;font-size:12px;color:#475569}.gm-history-notes{font-size:13px;color:#64748b;margin-bottom:4px}.gm-action-buttons{display:flex;gap:12px;justify-content:flex-end;padding-top:20px;border-top:1px solid #f1f5f9}.gm-summary-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}.gm-summary-card{border:1px solid #e2e8f0;border-radius:12px;padding:20px;background:#fff}.gm-summary-card h4{font-size:16px;font-weight:600;color:#1e293b;margin-bottom:16px}.gm-summary-content{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}.gm-status-indicator{display:inline-block;padding:4px 8px;border-radius:6px;font-size:12px;font-weight:500}.gm-workflow-view{padding:20px}.gm-workflow-view h3{font-size:20px;font-weight:600;color:#1e293b;margin-bottom:24px}.gm-workflow-timeline{display:flex;flex-direction:column;gap:20px;margin-top:20px}.gm-workflow-stage{display:flex;align-items:center;gap:15px;position:relative}.gm-stage-indicator{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;flex-shrink:0;z-index:2}.gm-stage-indicator.completed{background:#10b981;color:#fff}.gm-stage-indicator.current{background:#f59e0b;color:#fff}.gm-stage-indicator.pending{background:#e2e8f0;color:#64748b}.gm-stage-content{flex:1;padding:15px;background:#f8fafc;border-radius:8px;border-left:4px solid #e2e8f0}.gm-stage-content.completed{background:#f0f9ff;border-left-color:#3b82f6}.gm-stage-content.current{background:#fefce8;border-left-color:#f59e0b}.gm-stage-content.pending{background:#f8fafc;border-left-color:#e2e8f0}.gm-stage-content p{font-size:14px;color:#64748b;margin-bottom:8px}.gm-stage-connector{position:absolute;left:16px;top:32px;bottom:-20px;width:2px;background:#e2e8f0;z-index:1}.gm-loan-history-container{background:#fff;border-radius:12px;border:1px solid #e2e8f0;overflow:hidden}.gm-history-filters{padding:20px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.gm-history-filters h3{font-size:20px;font-weight:600;color:#1e293b;margin-bottom:16px}.gm-history-tabs{display:flex;gap:8px;padding:0 20px;border-bottom:1px solid #e2e8f0}.gm-history-tab{padding:12px 20px;background:none;border:none;font-weight:500;color:#64748b;cursor:pointer;position:relative;display:flex;align-items:center;gap:8px}.gm-history-tab.active{color:#3b82f6}.gm-history-tab.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#3b82f6}.gm-monitoring-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin:20px}.gm-monitoring-card{background:#fff;border-radius:8px;padding:20px;border:1px solid #e2e8f0;box-shadow:0 1px 2px #0000000d}.gm-monitoring-card h4{margin:0 0 12px;font-size:14px;color:#64748b;font-weight:500}.gm-monitoring-value{font-size:24px;font-weight:700;margin-bottom:4px;color:#1e293b}.gm-monitoring-change{font-size:12px;display:flex;align-items:center;gap:4px;color:#64748b}.gm-change-positive{color:#10b981}.gm-change-negative{color:#ef4444}.gm-repayment-schedule{background:#fff;border-radius:8px;overflow:hidden;border:1px solid #e2e8f0;margin:20px 0}.gm-repayment-schedule h4{padding:16px;margin:0;font-size:16px;font-weight:600;color:#1e293b;background:#f8fafc;border-bottom:1px solid #e2e8f0}.gm-schedule-header{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr;padding:12px 16px;background:#f8fafc;font-weight:600;border-bottom:1px solid #e2e8f0;font-size:14px;color:#475569}.gm-schedule-row{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr;padding:12px 16px;border-bottom:1px solid #f1f5f9;font-size:14px;color:#475569}.gm-schedule-row:hover{background:#f8fafc}.gm-payment-status{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500}.gm-status-paid{background:#d1fae5;color:#065f46}.gm-status-pending{background:#fef3c7;color:#92400e}.gm-status-overdue{background:#fee2e2;color:#991b1b}.gm-disbursement-progress{padding:20px;background:#f8fafc;border-radius:8px;margin:20px 0}.gm-disbursement-checklist{background:#f8fafc;border-radius:8px;padding:20px;margin:20px 0}.gm-disbursement-checklist p{color:#64748b;font-size:14px;margin-bottom:16px}.gm-checklist-item{display:flex;align-items:flex-start;gap:12px;padding:12px;background:#fff;border-radius:6px;margin-bottom:8px;border:1px solid #e2e8f0}.gm-checkbox{width:20px;height:20px;border-radius:4px;border:2px solid #cbd5e1;display:flex;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer;transition:all .2s}.gm-payment-summary{padding:20px;background:#f8fafc;border-radius:8px;margin-top:20px}.gm-payment-summary h4{font-size:16px;font-weight:600;color:#1e293b;margin-bottom:16px}.gm-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.gm-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.gm-modal{background:#fff;border-radius:12px;width:100%;max-width:800px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column}.gm-modal-header{padding:24px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.gm-modal-header h2{font-size:20px;font-weight:600;color:#1e293b;display:flex;align-items:center;gap:12px}.gm-modal-close{background:none;border:none;color:#64748b;cursor:pointer;padding:4px;border-radius:4px}.gm-modal-close:hover{background:#f1f5f9}.gm-modal-content{flex:1;overflow-y:auto;padding:24px}.gm-modal-actions{padding:24px;border-top:1px solid #e2e8f0;display:flex;justify-content:flex-end;gap:12px}.gm-loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px}.gm-spinner{width:40px;height:40px;border:3px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:gm-spin 1s linear infinite;margin-bottom:16px}.spinning{animation:gm-spin 1s linear infinite}.gm-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center}.gm-empty-state svg{color:#cbd5e1;margin-bottom:16px}.gm-empty-state h3{font-size:18px;font-weight:600;color:#475569;margin-bottom:8px}.gm-empty-state p{color:#94a3b8;margin-bottom:20px}.gm-warning-box{display:flex;gap:16px;padding:16px;background:#fefce8;border-radius:8px;border-left:4px solid #f59e0b;margin:20px 0}.gm-warning-box h4{font-size:16px;font-weight:600;color:#92400e;margin-bottom:8px}.gm-warning-box p{color:#92400e;margin-bottom:12px}.gm-warning-box ul{color:#92400e;padding-left:20px;margin:0}.gm-warning-box li{margin-bottom:4px}.gm-helper-text{font-size:12px;color:#94a3b8;margin-top:4px}.gm-notes-textarea{width:100%;padding:12px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;font-family:inherit;resize:vertical;min-height:100px}.gm-notes-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.gm-schedule-header{padding:20px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.gm-schedule-header h3{font-size:18px;font-weight:600;color:#1e293b;margin-bottom:4px}.gm-schedule-header p{color:#64748b;font-size:14px}@media (max-width: 768px){.gm-filters-grid,.gm-stats-grid{grid-template-columns:1fr}.gm-view-controls{flex-direction:column;gap:16px;align-items:flex-start}.gm-view-tabs{flex-wrap:wrap}.gm-header-content{flex-direction:column;gap:16px}.gm-header-actions{width:100%;justify-content:flex-start}.gm-action-buttons{flex-direction:column}.gm-btn{width:100%;justify-content:center}.gm-progress-steps:before{left:5%;right:5%}.gm-monitoring-grid{grid-template-columns:1fr}.gm-schedule-header,.gm-schedule-row{grid-template-columns:1fr;gap:8px}.gm-modal{max-height:100vh;border-radius:0}}@media (max-width: 480px){.gm-loan-management{padding:12px}.gm-page-header,.gm-filters-section,.gm-applications-container{padding:16px}.gm-header-title h1{font-size:22px}.gm-stat-card{flex-direction:column;text-align:center}}.gm-detail-modal{max-width:1000px;max-height:90vh}.gm-detail-modal.fullscreen{max-width:100%;max-height:100vh;width:100vw;height:100vh;border-radius:0}.gm-detail-header{background:#fff;border-bottom:1px solid #e2e8f0}.gm-header-content{padding:24px;display:flex;justify-content:space-between;align-items:flex-start}.gm-header-title h2{font-size:24px;font-weight:700;color:#1e293b;margin-bottom:8px}.gm-header-subtitle{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.gm-branch-tag{padding:4px 12px;background:#dbeafe;color:#3b82f6;border-radius:6px;font-size:14px;font-weight:500}.gm-facilitator,.gm-date{color:#64748b;font-size:14px}.gm-status-bar{padding:16px 24px;background:#f8fafc;border-top:1px solid #e2e8f0;display:flex;align-items:center;gap:24px}.gm-status-info{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border-radius:20px;font-weight:500;font-size:14px}.gm-statistics{display:flex;gap:24px;align-items:center}.gm-stat{display:flex;align-items:center;gap:8px}.gm-stat strong{font-size:16px;font-weight:600;color:#1e293b}.gm-stat span{font-size:12px;color:#64748b}.gm-detail-tabs{display:flex;background:#f8fafc;border-bottom:1px solid #e2e8f0}.gm-tab{flex:1;padding:16px 24px;background:none;border:none;border-bottom:2px solid transparent;font-weight:500;color:#64748b;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:all .2s}.gm-tab.active{color:#3b82f6;border-bottom-color:#3b82f6;background:#fff}.gm-tab:hover:not(.active){background:#f1f5f9}.gm-modal-content{flex:1;overflow-y:auto}.gm-section{padding:24px;border-bottom:1px solid #e2e8f0}.gm-section:last-child{border-bottom:none}.gm-section h3{font-size:18px;font-weight:600;color:#1e293b;margin-bottom:16px;display:flex;align-items:center;gap:8px}.gm-performance-summary{display:flex;gap:32px;align-items:center}.gm-circular-progress{width:120px;height:120px;border-radius:50%;position:relative}.gm-progress-circle{width:100%;height:100%;border-radius:50%;display:flex;align-items:center;justify-content:center}.gm-progress-inner{width:80px;height:80px;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}.gm-progress-value{font-size:24px;font-weight:700;color:#1e293b}.gm-progress-label{font-size:12px;color:#64748b}.gm-performance-breakdown{flex:1}.gm-breakdown-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:16px}.gm-breakdown-item{display:flex;justify-content:space-between;align-items:center;padding:12px;border-radius:8px;background:#f8fafc}.gm-breakdown-item.excellent{border-left:4px solid #10b981}.gm-breakdown-item.good{border-left:4px solid #3b82f6}.gm-breakdown-item.fair{border-left:4px solid #f59e0b}.gm-breakdown-item.poor{border-left:4px solid #ef4444}.gm-breakdown-label{font-size:14px;color:#475569}.gm-breakdown-count{font-size:18px;font-weight:600;color:#1e293b}.gm-risk-warning{display:flex;align-items:center;gap:8px;padding:12px;background:#fefce8;border-radius:8px;border-left:4px solid #f59e0b;font-size:14px;color:#92400e}.gm-review-box{background:#f0f9ff;border-radius:8px;padding:20px;border-left:4px solid #3b82f6}.gm-review-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.gm-reviewer{display:flex;align-items:center;gap:8px}.gm-reviewer strong{color:#1e293b;font-weight:600}.gm-reviewer span{color:#64748b;font-size:12px}.gm-review-status{padding:4px 8px;background:#10b981;color:#fff;border-radius:4px;font-size:12px;font-weight:500}.gm-review-content p{color:#475569;line-height:1.6}.gm-financial-overview{background:#f8fafc;border-radius:8px;padding:20px}.gm-financial-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.gm-financial-card{background:#fff;padding:16px;border-radius:8px;text-align:center;border:1px solid #e2e8f0}.gm-financial-label{font-size:14px;color:#64748b;margin-bottom:8px}.gm-financial-value{font-size:20px;font-weight:700;color:#1e293b}.gm-financial-card.highlight{background:#f0f9ff;border-color:#3b82f6}.gm-financial-card.highlight .gm-financial-value{color:#3b82f6}.gm-recommendation-box{display:flex;gap:20px;padding:24px;border-radius:8px;align-items:flex-start}.gm-recommendation-box.approve{background:#f0fdf4;border:1px solid #86efac}.gm-recommendation-box.review{background:#fefce8;border:1px solid #fde047}.gm-recommendation-box.reject{background:#fef2f2;border:1px solid #fca5a5}.gm-recommendation-icon{flex-shrink:0}.gm-recommendation-content{flex:1}.gm-recommendation-content h4{font-size:18px;font-weight:700;margin-bottom:8px}.gm-recommendation-box.approve h4{color:#065f46}.gm-recommendation-box.review h4{color:#92400e}.gm-recommendation-box.reject h4{color:#991b1b}.gm-recommendation-content p{color:#475569;line-height:1.6;margin-bottom:16px}.gm-recommendation-actions{display:flex;gap:12px}.gm-disbursement-section{background:#f8fafc;border-radius:8px;padding:24px;margin-top:20px}.gm-disbursement-checklist{background:#fff;border-radius:8px;padding:20px;border:1px solid #e2e8f0;margin-bottom:24px}.gm-disbursement-checklist h4{font-size:16px;font-weight:600;color:#1e293b;margin-bottom:12px}.gm-disbursement-checklist p{color:#64748b;margin-bottom:16px;font-size:14px}.gm-checklist-item{display:flex;align-items:flex-start;gap:12px;padding:12px;background:#f8fafc;border-radius:6px;margin-bottom:8px;border:1px solid #e2e8f0;cursor:pointer;transition:all .2s}.gm-checklist-item:hover{background:#f1f5f9}.gm-checklist-item.verified{background:#f0fdf4;border-color:#86efac}.gm-checklist-item.error{background:#fef2f2;border-color:#fca5a5}.gm-checkbox{width:20px;height:20px;border-radius:4px;border:2px solid #cbd5e1;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .2s}.gm-checkbox.checked{background:#10b981;border-color:#10b981;color:#fff}.gm-checklist-item h5{font-size:14px;font-weight:600;color:#1e293b;margin-bottom:4px}.gm-checklist-item p{font-size:13px;color:#64748b;margin:0}.gm-disbursement-actions{text-align:center}.gm-disbursement-actions .gm-helper-text{margin-top:12px;color:#64748b;font-size:13px}.gm-disbursement-progress{background:#fff;border-radius:8px;padding:24px;margin:20px 0;border:1px solid #e2e8f0}.gm-progress-steps{display:flex;justify-content:space-between;position:relative;margin-bottom:30px}.gm-progress-steps:before{content:"";position:absolute;top:16px;left:10%;right:10%;height:2px;background:#e2e8f0;z-index:1}.gm-progress-step{display:flex;flex-direction:column;align-items:center;position:relative;z-index:2;flex:1}.gm-step-icon{width:32px;height:32px;border-radius:50%;background:#fff;border:2px solid #e2e8f0;display:flex;align-items:center;justify-content:center;font-weight:700;margin-bottom:8px;font-size:14px}.gm-progress-step.active .gm-step-icon{background:#3b82f6;border-color:#3b82f6;color:#fff}.gm-progress-step.completed .gm-step-icon{background:#10b981;border-color:#10b981;color:#fff}.gm-step-label{font-size:12px;color:#64748b;text-align:center}.gm-members-content{padding:0}.gm-members-header{padding:24px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.gm-members-header h3{margin:0}.gm-members-filters{display:flex;gap:12px;align-items:center}.gm-member-search{position:relative}.gm-member-search svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#94a3b8}.gm-member-search input{padding:8px 12px 8px 36px;border:1px solid #e2e8f0;border-radius:6px;font-size:14px;width:200px}.gm-performance-filter{padding:8px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:14px;background:#fff}.gm-empty-members{padding:60px 24px;text-align:center;color:#94a3b8}.gm-empty-members svg{margin-bottom:16px}.gm-members-list{padding:0}.gm-member-card{border-bottom:1px solid #f1f5f9;transition:background .2s}.gm-member-card:hover,.gm-member-card.expanded{background:#f8fafc}.gm-member-card-header{padding:16px 24px;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.gm-member-info{display:flex;align-items:center;gap:12px}.gm-member-avatar{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:16px}.gm-member-details h4{font-size:16px;font-weight:600;color:#1e293b;margin-bottom:4px}.gm-member-meta{display:flex;gap:12px;font-size:12px;color:#64748b}.gm-member-status{display:flex;align-items:center;gap:12px}.gm-performance-badge{padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500}.gm-view-history-btn{background:none;border:1px solid #e2e8f0;border-radius:4px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;color:#64748b;cursor:pointer;transition:all .2s}.gm-view-history-btn:hover{background:#f1f5f9;border-color:#cbd5e1}.gm-expand-icon{transition:transform .2s}.gm-expand-icon.expanded{transform:rotate(180deg)}.gm-member-expanded-details{padding:0 24px 24px 84px}.gm-expanded-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px;margin-bottom:24px}.gm-expanded-section{background:#fff;padding:16px;border-radius:8px;border:1px solid #e2e8f0}.gm-expanded-section h5{font-size:14px;font-weight:600;color:#475569;margin-bottom:12px;display:flex;align-items:center;gap:6px}.gm-detail-row{display:flex;justify-content:space-between;margin-bottom:8px;font-size:13px}.gm-detail-row:last-child{margin-bottom:0}.gm-detail-row span{color:#64748b}.gm-detail-row strong{color:#1e293b;font-weight:500}.gm-guarantors-section{background:#fff;padding:16px;border-radius:8px;border:1px solid #e2e8f0}.gm-guarantors-section h5{font-size:14px;font-weight:600;color:#475569;margin-bottom:12px;display:flex;align-items:center;gap:6px}.gm-guarantors-list{display:flex;flex-direction:column;gap:8px}.gm-guarantor{display:flex;gap:8px;font-size:13px}.gm-guarantor strong{color:#475569;min-width:80px}.gm-financial-content{padding:24px}.gm-financial-summary{background:#f8fafc;border-radius:8px;padding:24px;margin-bottom:24px}.gm-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}.gm-summary-card{background:#fff;padding:16px;border-radius:8px;border:1px solid #e2e8f0;text-align:center}.gm-summary-card h4{font-size:14px;font-weight:600;color:#64748b;margin-bottom:8px}.gm-summary-value{font-size:24px;font-weight:700;color:#1e293b;margin-bottom:4px}.gm-summary-subtitle{font-size:12px;color:#94a3b8}.gm-net-disbursement{text-align:center;padding:20px;background:#fff;border-radius:8px;border:2px solid #10b981}.gm-net-disbursement h4{font-size:16px;font-weight:600;color:#475569;margin-bottom:8px}.gm-net-amount{font-size:32px;font-weight:700;color:#10b981;margin-bottom:8px}.gm-net-disbursement p{color:#64748b;font-size:14px}.gm-breakdown-section{margin-top:24px}.gm-breakdown-section h4{font-size:16px;font-weight:600;color:#1e293b;margin-bottom:16px}.gm-breakdown-table{background:#fff;border-radius:8px;border:1px solid #e2e8f0;overflow:hidden}.gm-breakdown-table table{width:100%;border-collapse:collapse}.gm-breakdown-table th{background:#f8fafc;padding:12px 16px;text-align:left;font-weight:600;color:#475569;font-size:12px;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid #e2e8f0}.gm-breakdown-table td{padding:12px 16px;border-bottom:1px solid #f1f5f9;font-size:14px;color:#475569}.gm-breakdown-table tbody tr:hover,.gm-breakdown-table tfoot tr{background:#f8fafc}.gm-breakdown-table tfoot td{font-weight:600;color:#1e293b;border-bottom:none}.gm-workflow-content{padding:24px}.gm-workflow-timeline{display:flex;flex-direction:column;gap:24px;margin-bottom:32px}.gm-timeline-stage{display:flex;align-items:flex-start;gap:16px;position:relative}.gm-stage-icon{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;z-index:2}.gm-stage-content{flex:1;padding:16px;background:#f8fafc;border-radius:8px}.gm-timeline-stage.completed .gm-stage-content{background:#f0f9ff;border-left:4px solid #3b82f6}.gm-timeline-stage.current .gm-stage-content{background:#fefce8;border-left:4px solid #f59e0b}.gm-timeline-stage.pending .gm-stage-content{border-left:4px solid #e2e8f0}.gm-stage-content h4{font-size:16px;font-weight:600;color:#1e293b;margin-bottom:4px}.gm-stage-date{font-size:12px;color:#64748b;margin-bottom:4px}.gm-stage-user{display:flex;align-items:center;gap:4px;font-size:12px;color:#64748b;margin-bottom:8px}.gm-stage-status{font-size:12px;font-weight:500;color:#64748b}.gm-stage-connector{position:absolute;left:16px;top:32px;bottom:-24px;width:2px;background:#e2e8f0;z-index:1}.gm-history-log{background:#f8fafc;border-radius:8px;padding:20px}.gm-history-log h4{font-size:16px;font-weight:600;color:#1e293b;margin-bottom:16px}.gm-history-list{display:flex;flex-direction:column;gap:12px}.gm-history-item{background:#fff;padding:12px;border-radius:6px;border-left:4px solid #3b82f6;font-size:13px}.gm-history-date{font-size:11px;color:#64748b;margin-bottom:4px}.gm-history-action{display:flex;align-items:center;gap:8px;margin-bottom:4px}.gm-from-status,.gm-to-status{padding:2px 6px;background:#f1f5f9;border-radius:4px;color:#475569}.gm-history-by{font-size:11px;color:#94a3b8;text-transform:uppercase;letter-spacing:.5px}.gm-history-notes{margin-top:4px;color:#64748b;font-size:12px;font-style:italic}.gm-empty-history{text-align:center;padding:40px 20px;color:#94a3b8}.gm-empty-history svg{margin-bottom:16px}.gm-decision-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:2000}.gm-decision-modal{background:#fff;border-radius:12px;width:90%;max-width:500px;overflow:hidden}.gm-decision-header{padding:20px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.gm-decision-header h3{font-size:18px;font-weight:600;color:#1e293b}.gm-decision-content{padding:20px}.gm-form-group{margin-bottom:16px}.gm-form-group label{display:block;font-size:14px;font-weight:500;color:#475569;margin-bottom:8px}.gm-form-group textarea{width:100%;padding:12px;border:1px solid #e2e8f0;border-radius:6px;font-size:14px;font-family:inherit;resize:vertical;min-height:80px}.gm-form-group textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.gm-decision-actions{padding:20px;border-top:1px solid #e2e8f0;display:flex;justify-content:flex-end;gap:12px}@media (max-width: 768px){.gm-detail-modal{max-height:100vh}.gm-header-content{flex-direction:column;gap:16px}.gm-header-actions{width:100%;justify-content:flex-start}.gm-status-bar{flex-direction:column;align-items:flex-start;gap:16px}.gm-statistics{flex-wrap:wrap;gap:16px}.gm-performance-summary{flex-direction:column;text-align:center}.gm-breakdown-grid{grid-template-columns:1fr}.gm-recommendation-actions{flex-direction:column}.gm-members-header{flex-direction:column;align-items:flex-start;gap:16px}.gm-members-filters{width:100%;flex-direction:column}.gm-member-search input{width:100%}.gm-expanded-grid{grid-template-columns:1fr}.gm-member-expanded-details{padding:0 24px 24px}.gm-financial-grid,.gm-summary-grid{grid-template-columns:1fr}.gm-breakdown-table{overflow-x:auto}.gm-breakdown-table table{min-width:600px}}.gm-loading{padding:40px;text-align:center;color:#64748b}.gm-spinner-small{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:gm-spin 1s linear infinite}@keyframes gm-spin{to{transform:rotate(360deg)}}.gm-status-summary{margin-bottom:24px}.gm-status-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}.gm-status-card{background:#fff;border-radius:12px;padding:20px;display:flex;align-items:center;gap:16px;box-shadow:0 2px 8px #0000001a;border:1px solid #e5e7eb;transition:transform .2s ease,box-shadow .2s ease}.gm-status-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.gm-status-card.pending-review{border-left:4px solid #3b82f6}.gm-status-card.pending-disbursement{border-left:4px solid #f59e0b}.gm-status-card.disbursed{border-left:4px solid #10b981}.gm-status-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.gm-status-card.pending-review .gm-status-icon{background:#dbeafe;color:#3b82f6}.gm-status-card.pending-disbursement .gm-status-icon{background:#fef3c7;color:#f59e0b}.gm-status-card.disbursed .gm-status-icon{background:#d1fae5;color:#10b981}.gm-status-info{flex:1}.gm-status-info h3{font-size:24px;font-weight:700;margin:0 0 4px;color:#1f2937}.gm-status-info p{margin:0;font-weight:600;color:#374151;font-size:14px}.gm-status-info small{color:#6b7280;font-size:12px}.group-management{padding:1.5rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:2rem}.groups-section{background:#fff;border-radius:.75rem;padding:1.5rem;box-shadow:0 1px 3px #0000001a;border:1px solid #e5e7eb}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.section-header h2{margin:0;font-size:1.25rem;color:#1f2937}.controls{display:flex;gap:1rem;align-items:center}.groups-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem}.group-card{background:#f9fafb;border-radius:.75rem;padding:1.25rem;border:1px solid #e5e7eb;transition:transform .2s}.group-card:hover{transform:translateY(-2px);box-shadow:0 4px 6px #0000001a}.group-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.group-header h3{margin:0;font-size:1.125rem;color:#1f2937}.status{padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:500}.status.active{background:#d1fae5;color:#065f46}.status.inactive{background:#f3f4f6;color:#6b7280}.group-details p{margin:.5rem 0;color:#4b5563;font-size:.875rem;display:flex;align-items:center;gap:.5rem}.group-actions{display:flex;gap:.5rem;margin-top:1rem}.btn-sm{padding:.375rem .75rem;font-size:.75rem}.reports-container{padding:20px;background:#f8f9fa;min-height:100vh}.page-header{margin-bottom:30px}.page-header h1{display:flex;align-items:center;gap:10px;margin-bottom:5px;color:#2c3e50}.page-header p{color:#7f8c8d;font-size:14px}.controls-section{background:#fff;padding:20px;border-radius:10px;margin-bottom:25px;box-shadow:0 2px 4px #0000001a}.report-type-selector{margin-bottom:20px}.report-tabs{display:flex;flex-wrap:wrap;gap:10px}.report-tab{display:flex;align-items:center;gap:8px;padding:12px 20px;background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;font-size:14px;font-weight:500;color:#495057;cursor:pointer;transition:all .2s ease;white-space:nowrap}.report-tab:hover:not(.active):not(:disabled){background:#e9ecef;border-color:#dee2e6}.report-tab.active{background:#3498db;border-color:#3498db;color:#fff}.report-tab:disabled{opacity:.6;cursor:not-allowed}.tab-icon{display:flex;align-items:center}.report-controls{display:flex;flex-direction:column;gap:15px}.date-range-controls{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.date-range-selector,.branch-filter{flex:1;min-width:150px}.custom-date-range{display:flex;align-items:center;gap:10px;flex:2;min-width:300px}.custom-date-range input{flex:1}.custom-date-range span{color:#7f8c8d;font-size:14px}.export-controls{display:flex;justify-content:space-between;align-items:center;padding-top:15px;border-top:1px solid #e9ecef}.export-buttons{display:flex;gap:10px;flex-wrap:wrap}.export-buttons .btn{padding:8px 15px;font-size:13px}.report-main-content{background:#fff;border-radius:10px;padding:25px;box-shadow:0 2px 4px #0000001a;min-height:500px}.loading-indicator{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px;color:#7f8c8d}.loading-spinner{animation:spin 1s linear infinite;margin-bottom:15px}.report-header{margin-bottom:30px}.report-header h2{display:flex;align-items:center;gap:10px;margin-bottom:20px;color:#2c3e50}.report-summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;margin-bottom:25px}.summary-card{background:#f8f9fa;border-radius:8px;padding:20px;border-left:4px solid #3498db;display:flex;align-items:center;gap:15px}.summary-card.warning{border-left-color:#f39c12}.summary-card.danger{border-left-color:#e74c3c}.summary-card.success{border-left-color:#2ecc71}.summary-icon{width:40px;height:40px;border-radius:8px;background:#3498db1a;display:flex;align-items:center;justify-content:center;color:#3498db}.summary-card.warning .summary-icon{background:#f39c121a;color:#f39c12}.summary-card.danger .summary-icon{background:#e74c3c1a;color:#e74c3c}.summary-card.success .summary-icon{background:#2ecc711a;color:#27ae60}.summary-info h3{margin:0 0 5px;font-size:24px;color:#2c3e50}.summary-info p{margin:0;font-size:13px;color:#7f8c8d}.chart-section{margin-bottom:30px;padding:20px;background:#f8f9fa;border-radius:8px}.chart-section h3{margin-bottom:20px;color:#2c3e50}.chart-container{height:300px;position:relative}.data-table-section,.overdue-loans-section,.member-list-section,.branch-comparison{margin-top:30px}.data-table-section h3,.overdue-loans-section h3,.member-list-section h3,.branch-comparison h3{margin-bottom:20px;color:#2c3e50}.table-container{overflow-x:auto;border:1px solid #e9ecef;border-radius:8px}.data-table{width:100%;border-collapse:collapse;font-size:13px}.data-table th{background:#f8f9fa;padding:12px 15px;text-align:left;font-weight:600;color:#2c3e50;border-bottom:2px solid #e9ecef;white-space:nowrap}.data-table td{padding:15px;border-bottom:1px solid #e9ecef;vertical-align:middle}.data-table tbody tr:hover{background:#f8f9fa}.no-data{text-align:center;padding:40px!important}.no-data svg{color:#bdc3c7;margin-bottom:10px}.no-data p{color:#7f8c8d;margin-bottom:5px}.no-data small{color:#bdc3c7;font-size:12px}.status-badge{display:inline-block;padding:4px 10px;border-radius:12px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.status-badge.active,.status-badge.excellent,.status-badge.success{background:#d5f4e6;color:#27ae60}.status-badge.overdue,.status-badge.danger{background:#fadbd8;color:#e74c3c}.status-badge.pending,.status-badge.warning{background:#fff3cd;color:#856404}.status-badge.repaid,.status-badge.good{background:#d1ecf1;color:#0c5460}.status-badge.defaulted,.status-badge.needs-improvement{background:#d6d8d9;color:#383d41}.member-info,.branch-info{display:flex;flex-direction:column}.member-info strong,.branch-info strong{color:#2c3e50;margin-bottom:2px}.member-info small,.branch-info small{color:#7f8c8d;font-size:11px}.expanded-row{background:#f8f9fa}.expanded-row td{padding:0}.loan-details{padding:20px}.detail-section{margin-bottom:20px}.detail-section h4{margin-bottom:15px;color:#2c3e50;font-size:14px}.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px}.detail-item{background:#fff;padding:15px;border-radius:6px;border:1px solid #e9ecef}.detail-item span{display:block;font-size:12px;color:#7f8c8d;margin-bottom:5px}.detail-item strong{color:#2c3e50;font-size:14px}.aging-categories{margin-bottom:30px}.aging-categories h3{margin-bottom:20px;color:#2c3e50}.categories-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.category-card{background:#fff;border:1px solid #e9ecef;border-radius:8px;overflow:hidden}.category-header{padding:15px;background:#f8f9fa;border-bottom:1px solid #e9ecef;display:flex;justify-content:space-between;align-items:center}.category-header h4{margin:0;color:#2c3e50;font-size:14px}.loan-count{background:#3498db;color:#fff;padding:2px 8px;border-radius:10px;font-size:11px;font-weight:600}.category-body{padding:15px}.category-amount{font-size:24px;font-weight:600;color:#2c3e50;margin-bottom:15px;text-align:center}.category-loans{display:flex;flex-direction:column;gap:10px}.loan-item{display:flex;justify-content:space-between;align-items:center;padding:8px;background:#f8f9fa;border-radius:4px;font-size:12px}.loan-item span{color:#7f8c8d}.loan-item strong{color:#2c3e50;font-weight:600}.more-loans{text-align:center;font-size:11px;color:#95a5a6;margin-top:5px}.performance-tables{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:30px;margin-top:30px}.table-section h3{margin-bottom:15px;color:#2c3e50}.performance-score{display:flex;align-items:center;gap:10px}.score-bar{flex:1;height:6px;background:#ecf0f1;border-radius:3px;overflow:hidden}.score-fill{height:100%;background:linear-gradient(90deg,#3498db,#2980b9);border-radius:3px;transition:width .3s ease}.performance-score span{font-size:12px;font-weight:600;color:#2c3e50;min-width:30px;text-align:right}.financial-breakdown{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:30px;margin-top:30px}.breakdown-section h3{margin-bottom:20px;color:#2c3e50}.breakdown-cards{display:flex;flex-direction:column;gap:15px}.breakdown-card{background:#fff;border:1px solid #e9ecef;border-radius:8px;padding:15px}.breakdown-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.breakdown-header h4{margin:0;color:#2c3e50;font-size:14px}.percentage{background:#f8f9fa;padding:2px 8px;border-radius:10px;font-size:11px;font-weight:600;color:#3498db}.breakdown-amount{font-size:18px;font-weight:600;color:#2c3e50;margin-bottom:10px}.breakdown-bar{height:4px;background:#ecf0f1;border-radius:2px;overflow:hidden}.bar-fill{height:100%;background:linear-gradient(90deg,#2ecc71,#27ae60);border-radius:2px;transition:width .3s ease}.bar-fill.danger{background:linear-gradient(90deg,#e74c3c,#c0392b)}.member-statistics{margin-bottom:30px}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px}.stat-card{background:#f8f9fa;border-radius:8px;padding:20px;display:flex;align-items:center;gap:15px}.stat-icon{width:40px;height:40px;border-radius:8px;background:#3498db1a;display:flex;align-items:center;justify-content:center;color:#3498db}.stat-info h3{margin:0 0 5px;font-size:20px;color:#2c3e50}.stat-info p{margin:0;font-size:13px;color:#7f8c8d}.repayment-rate{display:flex;align-items:center;gap:10px}.rate-bar{flex:1;height:6px;background:#ecf0f1;border-radius:3px;overflow:hidden}.rate-fill{height:100%;background:linear-gradient(90deg,#2ecc71,#27ae60);border-radius:3px}.repayment-rate span{font-size:12px;font-weight:600;color:#2c3e50;min-width:40px;text-align:right}.coming-soon{text-align:center;padding:60px;color:#95a5a6;font-size:16px}.btn{padding:10px 20px;border:none;border-radius:5px;font-size:14px;font-weight:500;cursor:pointer;display:inline-flex;align-items:center;gap:8px;transition:all .2s ease}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background:#3498db;color:#fff}.btn-primary:hover:not(:disabled){background:#2980b9}.btn-secondary{background:#95a5a6;color:#fff}.btn-secondary:hover:not(:disabled){background:#7f8c8d}.btn-icon{background:transparent;border:1px solid #ddd;border-radius:4px;padding:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.btn-icon:hover{background:#f8f9fa;border-color:#3498db;color:#3498db}.form-control,.form-select{padding:10px 15px;border:1px solid #ddd;border-radius:5px;font-size:14px;background:#fff;color:#2c3e50;width:100%}.form-control:focus,.form-select:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 3px #3498db1a}.success{color:#27ae60}.danger{color:#e74c3c}.warning{color:#f39c12}.info{color:#3498db}@media (max-width: 768px){.report-tabs{flex-direction:column}.report-tab{justify-content:center}.date-range-controls{flex-direction:column;align-items:stretch}.custom-date-range{min-width:100%}.export-buttons{justify-content:center}.performance-tables,.financial-breakdown{grid-template-columns:1fr}.report-summary-cards{grid-template-columns:repeat(2,1fr)}.categories-grid{grid-template-columns:1fr}}@media (max-width: 480px){.report-summary-cards,.detail-grid{grid-template-columns:1fr}.controls-section,.report-main-content{padding:15px}}.top-performers-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:20px;margin-bottom:30px}.performers-card{background:#fff;padding:24px;border-radius:12px;box-shadow:0 2px 8px #00000014}.performers-card .card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.performers-card .card-header h3{margin:0;font-size:18px;font-weight:600;color:#1e293b;display:flex;align-items:center;gap:10px}.performers-list{display:flex;flex-direction:column;gap:16px}.performer-item{display:flex;justify-content:space-between;align-items:center;padding:16px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.performer-rank{display:flex;align-items:center;gap:12px}.rank-badge{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;font-weight:700;color:#fff;font-size:14px}.rank-1{background:linear-gradient(135deg,#f59e0b,#d97706)}.rank-2{background:linear-gradient(135deg,#94a3b8,#64748b)}.rank-3{background:linear-gradient(135deg,#d1d5db,#9ca3af)}.performer-info h4{margin:0;font-size:15px;font-weight:600;color:#1e293b}.performer-info small{color:#64748b;font-size:12px}.performer-metrics{display:flex;gap:20px}.performer-metrics .metric{display:flex;flex-direction:column;align-items:center}.performer-metrics .metric span{font-size:12px;color:#64748b;margin-bottom:4px}.performer-metrics .metric strong{font-size:16px;font-weight:700;color:#1e293b}.score-success{color:#10b981}.score-warning{color:#f59e0b}.score-danger{color:#ef4444}.financial-summary{background:#fff;padding:24px;border-radius:12px;box-shadow:0 2px 8px #00000014;margin-bottom:30px}.financial-summary .card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.financial-summary .card-header h3{margin:0;font-size:18px;font-weight:600;color:#1e293b;display:flex;align-items:center;gap:10px}.time-range{background:#e0f2fe;color:#0369a1;padding:4px 12px;border-radius:20px;font-size:13px;font-weight:500}.financial-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}.financial-metric{padding:20px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.financial-metric .metric-label{display:flex;align-items:center;gap:8px;margin-bottom:12px;color:#475569;font-weight:500;font-size:14px}.financial-metric .metric-value{font-size:24px;font-weight:700;color:#1e293b;margin-bottom:8px}.financial-metric .metric-trend{display:flex;align-items:center;gap:6px;font-size:13px}.positive{color:#10b981}.negative{color:#ef4444}.alerts-opportunities-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:20px;margin-bottom:30px}.alerts-card,.opportunities-card{background:#fff;padding:24px;border-radius:12px;box-shadow:0 2px 8px #00000014}.alerts-card .card-header,.opportunities-card .card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.alerts-card .card-header h3,.opportunities-card .card-header h3{margin:0;font-size:18px;font-weight:600;color:#1e293b;display:flex;align-items:center;gap:10px}.badge{padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600;color:#fff}.badge.danger{background:#ef4444}.badge.success{background:#10b981}.alerts-list,.opportunities-list{display:flex;flex-direction:column;gap:12px}.alert-item,.opportunity-item{display:flex;align-items:flex-start;gap:12px;padding:16px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.opportunity-item{align-items:center}.alert-icon,.opportunity-icon{flex-shrink:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#fee2e2;color:#dc2626}.opportunity-icon{background:#d1fae5;color:#059669}.alert-content,.opportunity-content{flex:1}.alert-content h4,.opportunity-content h4{margin:0 0 4px;font-size:14px;font-weight:600;color:#1e293b}.alert-content p,.opportunity-content p{margin:0 0 8px;font-size:13px;color:#64748b;line-height:1.4}.alert-meta,.opportunity-meta{display:flex;gap:12px;font-size:12px}.priority{padding:2px 8px;border-radius:4px;font-weight:500}.priority.critical{background:#fee2e2;color:#dc2626}.priority.high{background:#fef3c7;color:#d97706}.priority.medium{background:#dbeafe;color:#1d4ed8}.priority.low{background:#f1f5f9;color:#64748b}.impact{color:#059669;font-weight:500}.effort{color:#6366f1;font-weight:500}.no-alerts,.no-opportunities{text-align:center;padding:40px 20px;color:#64748b}.no-alerts svg,.no-opportunities svg{color:#cbd5e1;margin-bottom:16px}.no-alerts p,.no-opportunities p{margin:0 0 8px;font-weight:500}.no-alerts small,.no-opportunities small{font-size:13px}.branch-performance-view,.group-performance-view,.staff-performance-view,.financial-performance-view{animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.view-header{margin-bottom:30px}.view-header h2{margin:0;font-size:22px;font-weight:700;color:#1e293b;display:flex;align-items:center;gap:12px}.view-header p{margin:8px 0 0;color:#64748b;font-size:14px}.branch-performance-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:20px}.branch-performance-card{background:#fff;padding:24px;border-radius:12px;box-shadow:0 2px 8px #00000014;border:1px solid #e2e8f0}.branch-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #e2e8f0}.branch-header h3{margin:0;font-size:18px;font-weight:600;color:#1e293b}.performance-badge{padding:6px 12px;border-radius:20px;font-size:14px;font-weight:600;color:#fff}.performance-badge.success{background:linear-gradient(135deg,#10b981,#059669)}.performance-badge.warning{background:linear-gradient(135deg,#f59e0b,#d97706)}.performance-badge.danger{background:linear-gradient(135deg,#ef4444,#dc2626)}.branch-info{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px}.info-item{display:flex;flex-direction:column}.info-item span{font-size:12px;color:#64748b;margin-bottom:4px}.info-item strong{font-size:14px;font-weight:600;color:#1e293b}.status-active{color:#10b981}.branch-metrics-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:20px}.metric-item{padding:12px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.metric-label{display:flex;align-items:center;gap:6px;margin-bottom:8px;font-size:12px;color:#64748b}.metric-value{font-size:18px;font-weight:700;color:#1e293b;margin-bottom:4px}.metric-subtitle{font-size:11px;color:#94a3b8}.branch-actions{display:flex;gap:12px}.groups-table-container{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;overflow:hidden}.groups-table{width:100%;border-collapse:collapse}.groups-table thead{background:#f8fafc;border-bottom:2px solid #e2e8f0}.groups-table th{padding:16px 20px;text-align:left;font-weight:600;color:#475569;font-size:13px;text-transform:uppercase;letter-spacing:.5px}.groups-table tbody tr{border-bottom:1px solid #e2e8f0;transition:background .2s}.groups-table tbody tr:hover{background:#f8fafc}.groups-table td{padding:16px 20px;font-size:14px;color:#1e293b}.group-name-cell{display:flex;align-items:center;gap:10px;font-weight:500}.members-cell{display:flex;flex-direction:column}.members-cell .total{font-weight:600;font-size:15px}.members-cell .active{font-size:12px;color:#64748b}.savings-cell,.loan-cell{display:flex;flex-direction:column}.savings-cell strong,.loan-cell strong{font-size:15px;font-weight:600;margin-bottom:2px}.savings-cell small,.loan-cell small{font-size:11px;color:#64748b}.attendance-cell,.performance-cell{display:flex;align-items:center;gap:12px}.attendance-bar,.performance-bar{flex:1;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden}.attendance-fill,.performance-fill{height:100%;border-radius:4px;transition:width .3s ease}.attendance-fill{background:#3b82f6}.performance-cell.success .performance-fill{background:#10b981}.performance-cell.warning .performance-fill{background:#f59e0b}.performance-cell.danger .performance-fill{background:#ef4444}.attendance-cell span,.performance-cell span{min-width:40px;text-align:right;font-weight:600;font-size:13px}.btn-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;border:1px solid #e2e8f0;background:#fff;color:#64748b;cursor:pointer;transition:all .2s}.btn-icon:hover{background:#3b82f6;border-color:#3b82f6;color:#fff}.staff-performance-section{display:flex;flex-direction:column;gap:30px}.staff-category{background:#fff;padding:24px;border-radius:12px;box-shadow:0 2px 8px #00000014}.staff-category h3{margin:0 0 20px;font-size:18px;font-weight:600;color:#1e293b;display:flex;align-items:center;gap:10px}.staff-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}.staff-card{background:#f8fafc;padding:20px;border-radius:8px;border:1px solid #e2e8f0}.staff-header{display:flex;align-items:center;gap:12px;margin-bottom:20px}.staff-avatar{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;font-weight:700;font-size:18px}.staff-info{flex:1}.staff-info h4{margin:0;font-size:16px;font-weight:600;color:#1e293b}.staff-info small{font-size:12px;color:#64748b}.staff-score{padding:6px 12px;border-radius:20px;font-size:14px;font-weight:600;color:#fff}.staff-score.success{background:linear-gradient(135deg,#10b981,#059669)}.staff-score.warning{background:linear-gradient(135deg,#f59e0b,#d97706)}.staff-score.danger{background:linear-gradient(135deg,#ef4444,#dc2626)}.staff-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:20px}.staff-metrics .metric{display:flex;flex-direction:column;padding:10px;background:#fff;border-radius:6px;border:1px solid #e2e8f0}.staff-metrics .metric span{font-size:12px;color:#64748b;margin-bottom:4px}.staff-metrics .metric strong{font-size:14px;font-weight:600;color:#1e293b}.staff-actions{display:flex;gap:12px}.financial-metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-bottom:30px}.financial-summary-card{background:#fff;padding:24px;border-radius:12px;box-shadow:0 2px 8px #00000014;border:1px solid #e2e8f0}.financial-summary-card h3{margin:0 0 20px;font-size:16px;font-weight:600;color:#475569;border-bottom:2px solid #e2e8f0;padding-bottom:12px}.income-items,.expense-items,.profitability-items,.portfolio-items{display:flex;flex-direction:column;gap:12px}.income-item,.expense-item,.profitability-item,.portfolio-item{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #f1f5f9}.income-item:last-child,.expense-item:last-child,.profitability-item:last-child,.portfolio-item:last-child{border-bottom:none}.income-item.total,.expense-item.total{padding-top:16px;border-top:2px solid #e2e8f0;font-weight:700;color:#1e293b;font-size:16px}.income-item span,.expense-item span,.profitability-item span,.portfolio-item span{font-size:14px;color:#475569}.income-item strong,.expense-item strong,.profitability-item strong,.portfolio-item strong{font-size:16px;font-weight:600;color:#1e293b}.growth-metrics-section{background:#fff;padding:24px;border-radius:12px;box-shadow:0 2px 8px #00000014;margin-bottom:30px}.growth-metrics-section h3{margin:0 0 20px;font-size:18px;font-weight:600;color:#1e293b;display:flex;align-items:center;gap:10px}.growth-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}.growth-metric{padding:20px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0;display:flex;flex-direction:column;align-items:center;text-align:center}.growth-label{margin-bottom:12px}.growth-label span{display:block;font-weight:600;color:#475569;font-size:14px;margin-bottom:4px}.growth-label small{font-size:12px;color:#94a3b8}.growth-value{font-size:32px;font-weight:700}.growth-value.positive{color:#10b981}.growth-value.negative{color:#ef4444}.no-data-message{text-align:center;padding:60px 20px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;color:#64748b}.no-data-message svg{color:#cbd5e1;margin-bottom:20px}.no-data-message h3{margin:0 0 12px;font-size:18px;font-weight:600;color:#475569}.no-data-message p{font-size:14px;max-width:400px;margin:0 auto}.loading-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#ffffffe6;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:1000}.loading-overlay p{font-size:16px;color:#475569;font-weight:500}@media (max-width: 1024px){.controls-panel,.top-performers-section,.alerts-opportunities-section{grid-template-columns:1fr}.financial-metrics{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.analytics-header{flex-direction:column;gap:20px;text-align:center}.header-left h1,.time-range-buttons,.view-mode-buttons{justify-content:center}.financial-metrics{grid-template-columns:1fr}.groups-table{display:block;overflow-x:auto}.staff-grid,.summary-footer{grid-template-columns:1fr}}@media (max-width: 480px){.kpi-dashboard,.branch-performance-grid,.branch-metrics-grid,.branch-info,.financial-metrics-grid{grid-template-columns:1fr}}.performance-analytics{padding:20px;background:#f8fafc;min-height:100vh}.analytics-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;padding:20px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014}.header-left h1{margin:0;font-size:24px;font-weight:700;color:#1e293b;display:flex;align-items:center;gap:12px}.header-left p{margin:8px 0 0;color:#64748b;font-size:14px}.header-right{display:flex;gap:12px}.controls-panel{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-bottom:30px;padding:20px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014}.time-range-selector,.view-selector,.branch-filter{display:flex;flex-direction:column;gap:12px}.controls-panel label{font-weight:600;color:#475569;display:flex;align-items:center;gap:8px;font-size:14px}.time-range-buttons,.view-mode-buttons{display:flex;flex-wrap:wrap;gap:8px}.time-range-btn,.view-mode-btn{padding:8px 16px;border:2px solid #e2e8f0;border-radius:8px;background:#fff;color:#475569;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:6px}.time-range-btn:hover,.view-mode-btn:hover{border-color:#3b82f6;color:#3b82f6}.time-range-btn.active,.view-mode-btn.active{background:#3b82f6;border-color:#3b82f6;color:#fff}.branch-select{padding:10px 12px;border:2px solid #e2e8f0;border-radius:8px;background:#fff;color:#475569;font-size:14px;font-weight:500;cursor:pointer;width:100%;transition:border-color .2s}.branch-select:focus{outline:none;border-color:#3b82f6}.kpi-dashboard{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:30px}.kpi-card{background:#fff;padding:24px;border-radius:12px;box-shadow:0 2px 8px #00000014;border-left:4px solid}.kpi-card.primary{border-left-color:#3b82f6}.kpi-card.success{border-left-color:#10b981}.kpi-card.warning{border-left-color:#f59e0b}.kpi-card.info{border-left-color:#6366f1}.kpi-header{display:flex;align-items:center;gap:12px;margin-bottom:16px}.kpi-header h3{margin:0;font-size:16px;font-weight:600;color:#475569}.kpi-value{font-size:32px;font-weight:700;color:#1e293b;margin-bottom:12px}.kpi-progress{height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden;margin-bottom:12px}.kpi-progress .progress-bar{height:100%;background:currentColor;transition:width .3s ease}.kpi-trend{display:flex;align-items:center;gap:8px;font-size:13px;color:#64748b}.trend-up{color:#10b981}.trend-down{color:#ef4444}.trend-neutral{color:#64748b}.loading-fullscreen{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;text-align:center}.loading-spinner{animation:spin 1s linear infinite;color:#3b82f6;margin-bottom:20px}.summary-footer{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;padding:20px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;margin-top:30px}.summary-item{display:flex;flex-direction:column;align-items:center;text-align:center;padding:16px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.summary-label{font-size:13px;color:#64748b;margin-bottom:8px;font-weight:500}.summary-value{font-size:20px;font-weight:700;color:#1e293b}.summary-value.positive{color:#10b981}.summary-value.negative{color:#ef4444}.summary-value.warning{color:#f59e0b}@media (max-width: 768px){.analytics-header{flex-direction:column;gap:20px;text-align:center}.header-left h1{justify-content:center}.controls-panel,.kpi-dashboard,.summary-footer{grid-template-columns:1fr}}.general-manager-dashboard{background:#f5f7fa;min-height:100vh}.gm-theme .sidebar{background:linear-gradient(180deg,#1e3a8a,#1e40af)}.gm-theme .menu-item.active{border-left-color:#60a5fa}.gm-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin-bottom:30px}.gm-content-card{background:#fff;border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:0 2px 8px #00000014;transition:transform .2s,box-shadow .2s}.gm-content-card:hover{transform:translateY(-2px);box-shadow:0 4px 16px #0000001f}.gm-content-card .card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #f0f0f0}.gm-content-card .card-header h3{margin:0;color:#1a237e;font-size:18px;display:flex;align-items:center;gap:8px}.branch-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0;padding:16px 0;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0}.branch-stats .stat{text-align:center}.branch-stats .stat strong{display:block;font-size:24px;color:#1a237e;margin-bottom:4px}.branch-stats .stat small{font-size:12px;color:#666}.staff-breakdown{margin-top:15px}.role-item{display:flex;align-items:center;gap:10px;margin-bottom:8px;font-size:14px}.role-dot{width:12px;height:12px;border-radius:50%}.role-dot.branch-manager{background:#4caf50}.role-dot.facilitator{background:#ff9800}.quick-actions{display:flex;gap:10px;margin-top:15px}.quick-actions .btn{flex:1;justify-content:center}.loading-fullscreen{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh;gap:16px;background:#f5f7fa}.loading-fullscreen .loading-spinner{animation:spin 1s linear infinite}@media (max-width: 768px){.gm-stats-grid{grid-template-columns:repeat(2,1fr)}.branch-stats{grid-template-columns:1fr}.quick-actions{flex-direction:column}}.top-branches-list{display:flex;flex-direction:column;gap:.75rem}.branch-performance-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f9fafb;border-radius:.5rem;border:1px solid #e5e7eb}.branch-rank{display:flex;align-items:center;gap:1rem}.rank-number{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;background:linear-gradient(135deg,#3b82f6,#60a5fa);color:#fff;border-radius:50%;font-weight:600}.branch-info{display:flex;flex-direction:column}.branch-info strong{color:#1f2937}.branch-info small{color:#6b7280;font-size:.875rem}.branch-metrics{display:flex;gap:1.5rem}.branch-metrics .metric{display:flex;flex-direction:column;align-items:center}.branch-metrics .metric span{font-size:.75rem;color:#6b7280;margin-bottom:.25rem}.branch-metrics .metric strong{font-size:1rem;color:#1f2937}.performance-score{color:#10b981!important}.attention-alert{display:flex;align-items:center;gap:.5rem;padding:.75rem;background:#fef3c7;border:1px solid #fde68a;border-radius:.5rem;margin-top:1rem;color:#92400e;font-size:.875rem}.performance-metrics-section{margin-top:2rem}.performance-metrics-section h3{display:flex;align-items:center;gap:.5rem;margin-bottom:1.5rem;color:#1f2937}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.metric-card{background:#fff;border-radius:.75rem;padding:1.5rem;border:1px solid #e5e7eb;box-shadow:0 1px 3px #0000001a}.metric-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.metric-header h4{margin:0;font-size:1rem;color:#374151}.metric-value{font-size:1.5rem;font-weight:700;color:#1f2937}.metric-progress{height:.5rem;background:#f3f4f6;border-radius:9999px;margin-bottom:1rem;overflow:hidden}.progress-bar{height:100%;background:linear-gradient(90deg,#3b82f6,#60a5fa);border-radius:9999px;transition:width 1s ease-in-out}.progress-bar.success{background:linear-gradient(90deg,#10b981,#34d399)}.progress-bar.warning{background:linear-gradient(90deg,#f59e0b,#fbbf24)}.progress-bar.danger{background:linear-gradient(90deg,#ef4444,#f87171)}.metric-footer{display:flex;justify-content:space-between;align-items:center}.metric-trend{display:flex;align-items:center;gap:.25rem;font-size:.875rem;font-weight:500}.metric-trend.positive{color:#10b981}.metric-trend.negative{color:#ef4444}.metric-footer small{color:#6b7280;font-size:.75rem}.tab-content.full-width{padding:0}.loading-fullscreen{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh;gap:1rem}.loading-spinner{animation:spin 1s linear infinite}.bm-full-container{display:flex;flex-direction:column;min-height:100vh;background-color:#f8fafc;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.bm-topbar{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;background:#fff;box-shadow:0 2px 4px #0000000d;position:sticky;top:0;z-index:100}.bm-topbar-left{display:flex;align-items:center;gap:.75rem}.bm-logo{font-weight:700;font-size:1.25rem;color:#2b6cb0}.bm-branch-name{background:#e2e8f0;padding:.25rem .5rem;border-radius:999px;font-size:.875rem;color:#4a5568}.bm-topbar-right{display:flex;align-items:center;gap:1rem}.bm-user-info{display:flex;flex-direction:column;align-items:flex-end;font-size:.875rem}.bm-logout-btn{color:#e53e3e;background:none;border:none;font-size:.875rem;text-decoration:underline;cursor:pointer}.bm-menu-toggle{display:none;background:none;border:none;font-size:1.5rem;cursor:pointer}.bm-mobile-nav{background:#fff;padding:1rem;box-shadow:0 4px 6px #0000001a;display:flex;flex-direction:column;gap:.75rem}.bm-nav-item{padding:.75rem;background:#edf2f7;border:none;border-radius:8px;text-align:left;font-weight:600;cursor:pointer;transition:background .2s}.bm-nav-item:hover{background:#e2e8f0}.bm-main-content{flex:1;padding:1rem;max-width:1200px;margin:0 auto;width:100%}.bm-header h2{margin:0;color:#1a202c;font-size:1.5rem}.bm-header p{color:#718096;margin-top:.25rem}.bm-kpi-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin:1.5rem 0}@media (min-width: 768px){.bm-kpi-grid{grid-template-columns:repeat(5,1fr)}}.bm-kpi-card{background:#fff;border-radius:12px;padding:1rem;box-shadow:0 2px 4px #0000000d;display:flex;gap:.75rem;align-items:center}.bm-kpi-icon{font-size:1.5rem}.bm-kpi-value{font-size:1.25rem;font-weight:700;color:#2d3748}.bm-kpi-title{font-size:.875rem;color:#718096}.bm-actions h3,.bm-activity h3{font-size:1.125rem;margin:1.5rem 0 1rem;color:#2d3748}.bm-action-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}@media (min-width: 768px){.bm-action-grid{grid-template-columns:repeat(4,1fr)}}.bm-action-btn{padding:.75rem;background:#4299e1;color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:background .2s}.bm-action-btn:hover{background:#3182ce}.bm-activity-list{display:flex;flex-direction:column;gap:1rem}.bm-activity-item{display:flex;gap:.75rem;padding:.75rem;background:#fff;border-radius:8px;border-left:4px solid #4299e1}.bm-activity-icon{font-size:1.25rem;flex-shrink:0}.bm-activity-time{color:#a0aec0}.bm-loading,.bm-error{text-align:center;padding:2rem;color:#718096}.bm-error{color:#e53e3e}.bm-retry-btn{margin-top:1rem;padding:.5rem 1rem;background:#4299e1;color:#fff;border:none;border-radius:6px;cursor:pointer}@media (max-width: 767px){.bm-menu-toggle{display:block}.bm-user-info span,.bm-branch-name{display:none}}.bm-groups-tab{padding:20px;max-width:1400px;margin:0 auto}.bm-groups-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px;flex-wrap:wrap;gap:16px}.bm-groups-header h2{font-size:24px;color:#1e293b;margin:0;font-weight:700}.bm-groups-header p{color:#64748b;margin:4px 0 0;font-size:15px}.bm-groups-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.bm-groups-filter-select{padding:8px 12px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;font-size:14px;color:#475569;cursor:pointer;min-width:140px;outline:none;transition:border-color .2s}.bm-groups-filter-select:focus{border-color:#0ea5e9;box-shadow:0 0 0 3px #0ea5e91a}.bm-groups-export-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;border-radius:6px;font-weight:600;cursor:pointer;font-size:14px;transition:all .2s}.bm-groups-export-btn:hover{background:#e2e8f0;border-color:#cbd5e1}.bm-groups-search{display:flex;align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:0 12px;min-width:200px}.bm-groups-search svg{color:#94a3b8;margin-right:8px;flex-shrink:0}.bm-groups-search input{border:none;padding:8px 0;width:100%;font-size:14px;outline:none}.bm-groups-create-btn,.bm-groups-create-btn-alt{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;background:#0ea5e9;color:#fff;border:none;border-radius:6px;font-weight:600;cursor:pointer;font-size:14px;transition:background .2s}.bm-groups-create-btn-alt{background:#fff;color:#0ea5e9;border:1px solid #0ea5e9;margin-top:16px}.bm-groups-create-btn:hover{background:#0284c7}.bm-groups-section{margin-bottom:8px}.bm-groups-section-title{display:flex;align-items:center;gap:8px;margin:0 0 12px 4px;color:#475569;font-size:16px;font-weight:600}.bm-groups-section-title svg{color:#64748b}.bm-groups-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.bm-groups-card{background:#fff;border-radius:8px;padding:16px;border:1px solid #e2e8f0;cursor:pointer;transition:all .2s ease;position:relative;height:240px;display:flex;flex-direction:column}.bm-groups-card:hover{border-color:#0ea5e9;box-shadow:0 2px 8px #00000014}.bm-groups-card-inactive{opacity:.75;border-color:#fbbf24}.bm-groups-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;flex-shrink:0}.bm-groups-card-header h3{font-size:16px;font-weight:600;color:#1e293b;margin:0;word-break:break-word;flex:1;line-height:1.3}.bm-groups-card-actions{display:flex;gap:6px;margin-left:8px}.bm-groups-edit-btn{background:#f1f5f9;border:none;width:24px;height:24px;border-radius:4px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#475569;flex-shrink:0;font-size:12px}.bm-groups-edit-btn:hover{background:#e2e8f0;color:#0ea5e9}.bm-groups-delete-btn-icon{background:#fee2e2;border:none;width:24px;height:24px;border-radius:4px;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;font-size:12px}.bm-groups-content{flex:1;margin-bottom:8px;overflow:hidden}.bm-groups-row{display:flex;align-items:center;gap:6px;color:#475569;font-size:13px;margin:6px 0;min-height:20px}.bm-groups-row strong{margin-left:auto;font-weight:600;color:#1e293b;font-size:13px}.bm-groups-status-collected,.bm-groups-status-pending{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;padding:3px 8px;border-radius:12px}.bm-groups-status-collected{background:#dcfce7;color:#059669}.bm-groups-status-pending{background:#fef3c7;color:#d97706}.bm-groups-footer{margin-top:8px;padding-top:8px;border-top:1px dashed #e2e8f0;display:flex;flex-direction:column;gap:6px;flex-shrink:0}.bm-groups-manage-members{display:inline-flex;align-items:center;gap:4px;background:#dbeafe;color:#1d4ed8;border:none;padding:4px 10px;border-radius:4px;font-size:12px;font-weight:600;cursor:pointer;transition:background .2s;width:fit-content}.bm-groups-manage-members:hover{background:#bfdbfe}.bm-groups-delete-btn{display:inline-flex;align-items:center;justify-content:center;background:#fee2e2;color:#dc2626;border:none;padding:4px 10px;border-radius:4px;font-size:12px;font-weight:600;cursor:pointer;transition:background .2s;width:100%}.bm-groups-delete-btn:hover{background:#fecaca}.bm-groups-empty{text-align:center;padding:60px 20px;color:#94a3b8}.bm-groups-empty svg{opacity:.6;margin-bottom:16px}.bm-groups-loading,.bm-groups-error{text-align:center;padding:40px;color:#64748b}.bm-groups-error{color:#dc2626;display:flex;flex-direction:column;align-items:center;gap:12px}.bm-groups-retry{padding:6px 16px;background:#fee2e2;color:#dc2626;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:background .2s}.bm-groups-retry:hover{background:#fecaca}.bm-modal-form{display:flex;flex-direction:column;gap:16px}.bm-form-group{display:flex;flex-direction:column;gap:6px}.bm-form-group input,.bm-form-group select{padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:15px;outline:none;transition:border-color .2s}.bm-form-group input:focus,.bm-form-group select:focus{border-color:#0ea5e9;box-shadow:0 0 0 3px #0ea5e91a}.bm-form-row{display:flex;gap:12px}.bm-modal-error{display:flex;align-items:center;gap:8px;background:#fee2e2;color:#dc2626;padding:12px;border-radius:8px;font-size:14px}.bm-modal-actions{display:flex;gap:12px;margin-top:8px}.bm-btn-primary:disabled{opacity:.6;cursor:not-allowed}.bm-group-summary{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid #f1f5f9}.bm-summary-item{display:flex;align-items:center;gap:8px;background:#f8fafc;padding:8px 16px;border-radius:8px;font-size:14px;color:#334155}.bm-summary-item svg{color:#0ea5e9;flex-shrink:0}.bm-members-section h4{margin:0 0 16px;font-size:18px;color:#1e293b;font-weight:600}.bm-no-members{color:#94a3b8;font-style:italic;margin:0}.bm-members-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}.bm-member-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:12px;font-size:14px}.bm-member-name{font-weight:600;color:#1e293b;margin-bottom:6px}.bm-member-detail{display:flex;gap:6px;color:#475569;margin:4px 0;font-size:13px}.bm-status-active{color:#059669;font-weight:600}.bm-status-inactive{color:#dc2626;font-weight:600}.bm-member-assign-item{display:flex;justify-content:space-between;align-items:flex-start;padding:12px;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:all .2s;background:#fff}.bm-member-assign-item:hover{border-color:#0ea5e9;background:#f8fafc}.bm-member-assigned{border-color:#0ea5e9;background:#dbeafe}.bm-member-check{color:#059669;flex-shrink:0;margin-left:12px;align-self:flex-start}@media (max-width: 1024px){.bm-groups-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}}@media (max-width: 768px){.bm-groups-header{flex-direction:column;align-items:stretch}.bm-groups-actions{width:100%;justify-content:flex-end}.bm-groups-search{min-width:auto;flex:1}.bm-groups-filter-group{width:100%}.bm-groups-filter-select{flex:1}.bm-form-row{flex-direction:column}.bm-groups-card-header{flex-direction:column;align-items:stretch}.bm-groups-card-actions{margin-top:8px;justify-content:flex-start}.bm-groups-card{height:auto;min-height:240px}}@media (max-width: 480px){.bm-groups-grid{grid-template-columns:1fr}.bm-groups-card{padding:14px}.bm-groups-row{font-size:13px}.bm-groups-card-header h3{font-size:15px}.bm-groups-actions{flex-direction:column;align-items:stretch}.bm-groups-search,.bm-groups-filter-group,.bm-groups-export-btn,.bm-groups-create-btn{width:100%}.bm-groups-filter-group{flex-direction:column}.bm-groups-filter-select{width:100%}}.bm-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}.bm-modal-overlay-secondary{background-color:#0000004d;z-index:1001}.bm-modal{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;max-height:90vh;display:flex;flex-direction:column}.bm-modal-large{width:800px}.bm-modal-medium{width:500px}.bm-modal-small{width:400px}.bm-modal-header{padding:20px 24px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:flex-start}.bm-modal-header h3{margin:0;font-size:18px;font-weight:600;color:#111827;display:flex;align-items:center;gap:8px}.bm-modal-subtitle{margin:4px 0 0;color:#6b7280;font-size:14px}.bm-modal-close{background:none;border:none;padding:4px;cursor:pointer;color:#9ca3af;border-radius:6px;transition:all .2s}.bm-modal-close:hover{background-color:#f3f4f6;color:#374151}.bm-modal-content{padding:24px;overflow-y:auto;flex:1}.bm-modal-actions{padding:20px 24px;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end;gap:12px}.bm-modal-error{margin:0 24px 16px;padding:12px;background-color:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;font-size:14px;display:flex;align-items:center;gap:8px}.bm-modal-success{margin:0 24px 16px;padding:12px;background-color:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;color:#16a34a;font-size:14px;display:flex;align-items:center;gap:8px}.bm-warning{padding:12px;background-color:#fffbeb;border:1px solid #fde68a;border-radius:6px;color:#92400e;font-size:14px;display:flex;align-items:center;gap:8px;margin-top:16px}.bm-tabs{display:flex;border-bottom:1px solid #e5e7eb;padding:0 24px}.bm-tab{padding:12px 16px;background:none;border:none;border-bottom:2px solid transparent;font-size:14px;font-weight:500;color:#6b7280;cursor:pointer;transition:all .2s}.bm-tab:hover{color:#374151}.bm-tab.active{color:#2563eb;border-bottom-color:#2563eb}.bm-section-header{margin-bottom:20px}.bm-section-header h4{margin:0 0 8px;font-size:16px;font-weight:600;color:#111827}.bm-section-subtitle{margin:0;color:#6b7280;font-size:14px}.bm-search-container{position:relative;width:300px}.bm-search-input{width:100%;padding:8px 12px 8px 36px;border:1px solid #d1d5db;border-radius:6px;font-size:14px}.bm-search-container svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#9ca3af}.bm-members-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}.bm-member-card{border:1px solid #e5e7eb;border-radius:8px;padding:16px;background:#fff;transition:all .2s}.bm-member-card:hover{border-color:#d1d5db;box-shadow:0 4px 6px -1px #0000001a}.bm-member-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.bm-member-name{font-weight:600;color:#111827;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.bm-status-badge{padding:2px 8px;border-radius:12px;font-size:11px;font-weight:600;text-transform:uppercase}.bm-status-badge.active{background-color:#dcfce7;color:#166534}.bm-status-badge.inactive{background-color:#fee2e2;color:#991b1b}.bm-member-actions{display:flex;gap:4px}.bm-icon-btn{padding:4px;background:none;border:1px solid #e5e7eb;border-radius:4px;color:#6b7280;cursor:pointer;transition:all .2s}.bm-icon-btn:hover{background-color:#f9fafb;border-color:#d1d5db;color:#374151}.bm-icon-btn.bm-remove-btn:hover{background-color:#fef2f2;border-color:#fecaca;color:#dc2626}.bm-member-details{display:flex;flex-direction:column;gap:6px}.bm-detail{display:flex;align-items:center;gap:8px;font-size:13px;color:#6b7280}.bm-available-card{border-style:dashed;border-color:#d1d5db}.bm-add-btn{padding:6px 12px;background-color:#3b82f6;color:#fff;border:none;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:6px;transition:all .2s}.bm-add-btn:hover{background-color:#2563eb}.bm-add-btn:disabled{opacity:.5;cursor:not-allowed}.bm-new-member-form{max-width:500px}.bm-form-group{margin-bottom:16px}.bm-form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.bm-form-group label{display:block;margin-bottom:6px;font-size:14px;font-weight:500;color:#374151}.bm-form-group input,.bm-form-group select{width:100%;padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px}.bm-form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.bm-btn-primary{padding:8px 16px;background-color:#2563eb;color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:8px}.bm-btn-primary:hover:not(:disabled){background-color:#1d4ed8}.bm-btn-primary:disabled{opacity:.5;cursor:not-allowed}.bm-btn-secondary{padding:8px 16px;background-color:#fff;color:#374151;border:1px solid #d1d5db;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.bm-btn-secondary:hover{background-color:#f9fafb}.bm-btn-warning{padding:8px 16px;background-color:#dc2626;color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.bm-btn-warning:hover:not(:disabled){background-color:#b91c1c}.bm-btn-warning:disabled{opacity:.5;cursor:not-allowed}.bm-loading{text-align:center;padding:40px;color:#6b7280;font-size:14px}.bm-empty-state{text-align:center;padding:40px;color:#9ca3af}.bm-empty-state svg{margin-bottom:12px}.bm-select{width:100%;padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;background-color:#fff}.bm-groups-savings-info{display:flex;gap:20px;margin-top:8px;flex-wrap:wrap}.bm-groups-savings-type{display:flex;align-items:center;gap:6px;font-size:12px;color:#64748b;background:#f8fafc;padding:4px 8px;border-radius:4px;border:1px solid #e2e8f0}.bm-groups-savings-type svg{color:#0ea5e9}.bm-groups-card-has-loan:before{content:"🏦 LOAN";position:absolute;top:-8px;right:-8px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;font-size:10px;font-weight:700;padding:2px 8px;border-radius:4px;box-shadow:0 2px 4px #0000001a;z-index:1}.bm-groups-breakdown{margin:8px 0;padding:8px;background:#f8fafc;border-radius:6px;border:1px solid #e2e8f0}.bm-groups-breakdown .bm-groups-row:last-child{border-bottom:none;margin-bottom:0}.bm-groups-loan-info{background:#fef3c7!important;border-radius:4px;padding:6px 8px!important;margin-top:4px}.bm-groups-loan-detail{display:flex;justify-content:space-between;padding:2px 0!important;margin-top:0!important;border-bottom:none!important}.bm-groups-loan-balance{color:#d97706!important;font-weight:700}.bm-groups-fines{color:#dc2626!important}.bm-groups-total-savings{color:#0ea5e9!important;font-weight:700;position:relative}.bm-groups-current-savings{color:#10b981!important;font-weight:700}.bm-groups-savings-reduced{color:#f59e0b!important;position:relative}.bm-groups-savings-reduced:after{content:"↘";position:absolute;right:-16px;top:50%;transform:translateY(-50%);color:#f59e0b;font-size:14px}.bm-groups-loan-impact{display:flex;align-items:center;gap:6px;margin:6px 0;padding:6px 8px;background:#fffbeb;border:1px solid #fbbf24;border-radius:4px;font-size:12px}.bm-groups-row{transition:all .2s ease;padding:6px 0}.bm-groups-row:hover{background:#f1f5f9;padding:6px 8px;border-radius:4px;transform:translate(2px);cursor:pointer}.bm-groups-card-actions{display:flex;gap:4px}.bm-groups-edit-btn,.bm-groups-delete-btn-icon{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease}.bm-groups-edit-btn{background:#e0f2fe;color:#0ea5e9;border:1px solid #7dd3fc}.bm-groups-edit-btn:hover{background:#0ea5e9;color:#fff;transform:scale(1.05)}.bm-groups-delete-btn-icon{background:#fee2e2;border:1px solid #fca5a5}.bm-groups-delete-btn-icon:hover{background:#dc2626;transform:scale(1.05)}.bm-groups-delete-btn-icon:hover svg{color:#fff!important}.bm-groups-section-title{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#f8fafc;border-radius:8px;margin-bottom:16px;border-left:4px solid #0ea5e9}.bm-groups-savings-bar{display:flex;height:4px;background:#e2e8f0;border-radius:2px;margin:8px 0;overflow:hidden}.bm-groups-savings-bar-total{height:100%;background:linear-gradient(90deg,#0ea5e9,#38bdf8)}.bm-groups-savings-bar-current{height:100%;background:linear-gradient(90deg,#10b981,#34d399)}.bm-groups-status-collected{display:inline-flex;align-items:center;gap:4px;background:#dcfce7;color:#166534;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500;border:1px solid #86efac}.bm-groups-status-pending{display:inline-flex;align-items:center;gap:4px;background:#fef3c7;color:#92400e;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500;border:1px solid #fbbf24}.bm-groups-footer{display:flex;justify-content:space-between;align-items:center;padding-top:12px;border-top:1px solid #e2e8f0;margin-top:8px}.bm-groups-manage-members{display:flex;align-items:center;gap:6px;padding:6px 12px;background:#f0f9ff;color:#0ea5e9;border:1px solid #7dd3fc;border-radius:4px;font-size:12px;font-weight:500;transition:all .2s ease}.bm-groups-manage-members:hover{background:#0ea5e9;color:#fff;transform:translateY(-1px);box-shadow:0 2px 4px #0ea5e94d}.bm-groups-delete-btn{padding:6px 12px;background:#fee2e2;color:#dc2626;border:1px solid #fca5a5;border-radius:4px;font-size:12px;font-weight:500;transition:all .2s ease}.bm-groups-delete-btn:hover{background:#dc2626;color:#fff;transform:translateY(-1px);box-shadow:0 2px 4px #dc26264d}.bm-groups-card{transition:all .3s ease;position:relative;overflow:hidden}.bm-groups-card:hover{transform:translateY(-4px);box-shadow:0 8px 25px #0000001a;border-color:#0ea5e9}.bm-groups-card:hover:after{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#0ea5e9,#38bdf8)}.bm-groups-card-inactive{opacity:.7;background:#f8fafc}.bm-groups-card-inactive:hover{opacity:.9;transform:translateY(-2px)}.bm-groups-card-inactive .bm-groups-card-header h3{color:#94a3b8;text-decoration:line-through}.bm-groups-export-btn{display:flex;align-items:center;gap:6px;padding:8px 16px;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;border-radius:6px;font-weight:500;transition:all .2s ease}.bm-groups-export-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #10b9814d;background:linear-gradient(135deg,#059669,#047857)}.bm-groups-filter-group{display:flex;gap:8px}.bm-groups-filter-select{padding:8px 12px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-size:14px;color:#334155;transition:all .2s ease}.bm-groups-filter-select:hover{border-color:#0ea5e9;box-shadow:0 0 0 2px #0ea5e91a}.bm-groups-filter-select:focus{outline:none;border-color:#0ea5e9;box-shadow:0 0 0 3px #0ea5e933}.bm-groups-search{position:relative;min-width:250px}.bm-groups-search svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#94a3b8}.bm-groups-search input{width:100%;padding:8px 12px 8px 36px;border:1px solid #cbd5e1;border-radius:6px;font-size:14px;transition:all .2s ease}.bm-groups-search input:hover{border-color:#0ea5e9}.bm-groups-search input:focus{outline:none;border-color:#0ea5e9;box-shadow:0 0 0 3px #0ea5e933}.bm-groups-create-btn{display:flex;align-items:center;gap:6px;padding:8px 16px;background:linear-gradient(135deg,#0ea5e9,#0284c7);color:#fff;border:none;border-radius:6px;font-weight:500;transition:all .2s ease}.bm-groups-create-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0ea5e94d;background:linear-gradient(135deg,#0284c7,#0369a1)}.bm-groups-create-btn-alt{display:inline-flex;align-items:center;gap:8px;padding:12px 24px;background:linear-gradient(135deg,#0ea5e9,#0284c7);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:14px;transition:all .3s ease;margin-top:16px}.bm-groups-create-btn-alt:hover{transform:translateY(-3px);box-shadow:0 6px 20px #0ea5e966;background:linear-gradient(135deg,#0284c7,#0369a1)}.bm-spinner{animation:spin 1s linear infinite}.bm-groups-error{display:flex;align-items:center;gap:12px;padding:20px;background:#fee2e2;border:1px solid #fca5a5;border-radius:8px;color:#dc2626}.bm-groups-retry{margin-left:auto;padding:6px 12px;background:#dc2626;color:#fff;border:none;border-radius:4px;font-weight:500;transition:all .2s ease}.bm-groups-retry:hover{background:#b91c1c;transform:translateY(-1px)}.bm-groups-empty{text-align:center;padding:60px 20px;background:#f8fafc;border:2px dashed #cbd5e1;border-radius:12px;margin-top:20px}.bm-groups-empty svg{margin-bottom:16px;color:#cbd5e1}.bm-groups-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px;margin-bottom:32px}@media (max-width: 768px){.bm-groups-header{flex-direction:column;gap:16px}.bm-groups-actions{flex-direction:column;gap:12px;width:100%}.bm-groups-search{min-width:100%}.bm-groups-filter-group{flex-direction:column;width:100%}.bm-groups-grid{grid-template-columns:1fr}.bm-groups-card-has-loan:before{right:0;border-radius:0 8px 0 4px;padding:2px 6px;font-size:9px}}.bm-groups-savings-comparison{margin:8px 0}.bm-modal{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;overflow:hidden;width:100%;max-width:1200px;max-height:90vh;display:flex;flex-direction:column}.bm-modal-large{max-width:1400px;max-height:95vh}.bm-modal-header{padding:20px 24px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:flex-start;background:linear-gradient(135deg,#0ea5e9,#0284c7);color:#fff}.bm-modal-header h3{margin:0 0 8px;font-size:24px;font-weight:600}.bm-group-subtitle{display:flex;gap:16px;flex-wrap:wrap;font-size:14px;opacity:.9}.bm-group-subtitle span{display:inline-flex;align-items:center;gap:4px}.bm-modal-close{background:#fff3;border:1px solid rgba(255,255,255,.3);border-radius:8px;color:#fff;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.bm-modal-close:hover{background:#ffffff4d}.bm-modal-tabs{display:flex;border-bottom:1px solid #e2e8f0;background:#f8fafc;padding:0 24px}.bm-tab-btn{padding:12px 20px;background:none;border:none;border-bottom:2px solid transparent;color:#64748b;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:6px}.bm-tab-btn:hover{color:#0ea5e9}.bm-tab-active{color:#0ea5e9;border-bottom-color:#0ea5e9;background:#fff}.bm-loading-state,.bm-error-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center;color:#64748b}.bm-spinner{width:40px;height:40px;border:3px solid #e2e8f0;border-top-color:#0ea5e9;border-radius:50%;animation:bm-spin 1s linear infinite;margin-bottom:16px}.bm-error-state{color:#dc2626}.bm-retry-btn{margin-top:16px;padding:8px 16px;background:#0ea5e9;color:#fff;border:none;border-radius:6px;cursor:pointer;display:inline-flex;align-items:center;gap:6px;font-size:14px}.bm-modal-view-content{display:flex;flex-direction:column;gap:20px}.bm-group-header{background:#fff;border-radius:8px;padding:24px;border:1px solid #e2e8f0}.bm-group-header-main{margin-bottom:20px}.bm-group-info-row{display:flex;gap:20px;flex-wrap:wrap;font-size:14px;color:#64748b}.bm-group-info-row span{display:inline-flex;align-items:center;gap:6px}.bm-group-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.bm-stat-item{display:flex;align-items:center;gap:12px;padding:16px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.bm-cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}.bm-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.bm-card-header{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.bm-card-header h4,.bm-card-header h5{margin:0;color:#1e293b}.bm-big-number{font-size:32px;font-weight:700;color:#0ea5e9;margin-bottom:16px}.bm-breakdown{display:flex;flex-direction:column;gap:8px}.bm-breakdown-item{display:flex;justify-content:space-between;font-size:14px;color:#64748b}.bm-breakdown-item span:last-child{font-weight:500;color:#1e293b}.bm-detailed-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px;padding:16px 0}.bm-detailed-section{border:1px solid #e2e8f0;border-radius:8px;padding:16px}.bm-detailed-section h5{margin:0 0 12px;color:#1e293b;display:flex;align-items:center;gap:6px}.bm-detailed-item{display:flex;justify-content:space-between;font-size:14px;color:#64748b;margin-bottom:8px}.bm-detailed-total{display:flex;justify-content:space-between;font-size:16px;font-weight:600;color:#0ea5e9;padding-top:12px;border-top:1px solid #e2e8f0;margin-top:12px}.bm-view-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap;gap:16px}.bm-view-header h4{margin:0;color:#1e293b}.bm-search-box{position:relative;width:250px}.bm-search-box svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#94a3b8}.bm-search-box input{width:100%;padding:8px 12px 8px 36px;border:1px solid #cbd5e1;border-radius:6px;font-size:14px}.bm-export-btn{padding:8px 16px;background:#10b981;color:#fff;border:none;border-radius:6px;cursor:pointer;display:inline-flex;align-items:center;gap:6px;font-size:14px}.bm-table-container{overflow-x:auto;border:1px solid #e2e8f0;border-radius:8px}.bm-data-table{width:100%;border-collapse:collapse;font-size:14px}.bm-data-table thead{background:#f8fafc}.bm-data-table th{padding:12px 16px;text-align:left;color:#64748b;font-weight:500;border-bottom:1px solid #e2e8f0;white-space:nowrap}.bm-data-table td{padding:12px 16px;border-bottom:1px solid #f1f5f9;color:#334155}.bm-members-table-container{max-height:500px;overflow-y:auto}.bm-member-name-cell{display:flex;align-items:center;gap:6px}.bm-member-info{display:flex;flex-direction:column}.bm-member-info small{font-size:12px;color:#64748b}.bm-status-badge{padding:4px 8px;border-radius:4px;font-size:12px;font-weight:600;display:inline-block}.bm-status-active{background:#dcfce7;color:#166534}.bm-status-inactive{background:#fef3c7;color:#d97706}.bm-status-pending_suspension{background:#fee2e2;color:#dc2626}.bm-status-approved{background:#dbeafe;color:#1e40af}.bm-status-present{background:#dcfce7;color:#166534}.bm-status-absent{background:#fee2e2;color:#dc2626}.bm-action-btn{width:32px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer;border:none}.bm-view-btn{background:#f0f9ff;color:#0ea5e9;border:1px solid #7dd3fc}.bm-view-btn:hover{background:#e0f2fe}.bm-empty-state{text-align:center;padding:60px 20px;color:#64748b}.bm-empty-state svg{margin-bottom:16px;color:#cbd5e1}.bm-empty-state p{margin:0;font-size:14px}.bm-interest-cell{display:flex;align-items:center;gap:4px}.bm-member-profile-overlay{z-index:1001}.bm-member-profile-modal{max-width:800px}.bm-modal-header-left{display:flex;align-items:center;gap:12px}.bm-back-btn{background:#fff3;border:1px solid rgba(255,255,255,.3);border-radius:8px;color:#fff;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.bm-back-btn:hover{background:#ffffff4d}.bm-info-section,.bm-financial-section{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:20px}.bm-info-section h4,.bm-financial-section h4{margin:0 0 16px;color:#1e293b;display:flex;align-items:center;gap:8px}.bm-info-grid{display:grid;grid-template-columns:1fr;gap:12px}.bm-info-item{display:grid;grid-template-columns:1fr 1fr;gap:12px}.bm-info-value{color:#1e293b;font-weight:500;text-align:right}.bm-financial-grid{display:grid;grid-template-columns:1fr;gap:12px}.bm-financial-item{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #f1f5f9}.bm-total-item{border-top:2px solid #e2e8f0;border-bottom:none;padding-top:16px;margin-top:8px;font-weight:600;color:#0ea5e9}.bm-transactions-section{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:20px}.bm-transactions-section h4{margin:0 0 16px;color:#1e293b;display:flex;align-items:center;gap:8px}@media (max-width: 768px){.bm-modal-overlay{padding:10px}.bm-modal{max-height:95vh}.bm-modal-header{padding:16px}.bm-modal-header h3{font-size:20px}.bm-group-subtitle{font-size:12px}.bm-modal-tabs{padding:0 16px;overflow-x:auto}.bm-tab-btn{padding:10px 12px;font-size:13px;white-space:nowrap}.bm-modal-body{padding:16px}.bm-group-stats,.bm-cards-grid,.bm-detailed-grid{grid-template-columns:1fr}.bm-view-header{flex-direction:column;align-items:stretch}.bm-view-controls,.bm-search-box{width:100%}.bm-member-profile-grid{grid-template-columns:1fr}.bm-info-item{grid-template-columns:1fr 1fr}.bm-data-table th,.bm-data-table td{padding:8px 12px;font-size:13px}}.bm-inactive-badge{display:inline-block;margin-left:12px;padding:4px 8px;background:#fef3c7;color:#d97706;border-radius:12px;font-size:12px;font-weight:600}.bm-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.bm-modal{background:#fff;border-radius:16px;width:100%;max-width:1200px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 40px #0000001a;overflow:hidden}.bm-modal-large{max-width:1400px}.bm-modal-header{display:flex;justify-content:space-between;align-items:flex-start;padding:24px;border-bottom:1px solid #f1f5f9;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.bm-modal-header>div:first-child{flex:1}.bm-modal-header h3{margin:0;font-size:24px;font-weight:700;color:#fff}.bm-inactive-badge{display:inline-block;padding:4px 12px;background:#ef444433;color:#ef4444;border-radius:20px;font-size:12px;font-weight:600;margin-left:12px;border:1px solid rgba(239,68,68,.3)}.bm-header-actions{display:flex;align-items:center;gap:12px}.bm-modal-close{background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#fff;cursor:pointer;width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;transition:all .2s}.bm-modal-close:hover{background:#fff3;transform:rotate(90deg)}.bm-modal-tabs{display:flex;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:0 24px;gap:2px}.bm-tab-btn{display:flex;align-items:center;gap:8px;padding:16px 20px;background:none;border:none;color:#64748b;font-weight:600;font-size:15px;cursor:pointer;position:relative;transition:all .2s}.bm-tab-btn:hover{color:#475569;background:#f1f5f9}.bm-tab-active{color:#0ea5e9;background:#fff}.bm-tab-active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:3px;background:#0ea5e9;border-radius:3px 3px 0 0}.bm-modal-body{flex:1;overflow-y:auto;padding:24px}.bm-modal-view-content{display:flex;flex-direction:column;gap:24px}.bm-group-header{background:#fff;border-radius:12px;border:1px solid #e2e8f0;padding:24px}.bm-group-header-main h3{font-size:20px;color:#1e293b;margin:0 0 12px}.bm-group-info-row{display:flex;gap:20px;color:#64748b;font-size:14px;flex-wrap:wrap}.bm-group-info-row span{display:flex;align-items:center;gap:6px}.bm-group-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-top:24px}.bm-stat-item{display:flex;align-items:center;gap:16px;padding:20px;background:#f8fafc;border-radius:12px;border:1px solid #e2e8f0;transition:all .2s}.bm-stat-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.bm-stat-item svg{color:#0ea5e9}.bm-stat-value{font-size:24px;font-weight:700;color:#1e293b}.bm-stat-label{font-size:14px;color:#64748b;margin-top:4px}.bm-cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}.bm-card{background:#fff;border-radius:16px;border:1px solid #e2e8f0;overflow:hidden}.bm-card-header{display:flex;align-items:center;gap:12px;padding:20px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.bm-card-header h4{margin:0;font-size:16px;color:#1e293b;font-weight:600}.bm-card-header svg{color:#0ea5e9}.bm-card-content{padding:20px}.bm-kpi-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:20px}.bm-kpi-item{text-align:center;padding:12px;background:#f8fafc;border-radius:8px}.bm-kpi-label{font-size:12px;color:#64748b;margin-bottom:4px}.bm-kpi-value{font-size:18px;font-weight:700;color:#1e293b}.bm-big-number{font-size:32px;font-weight:800;color:#0ea5e9;text-align:center;margin:20px 0;padding:20px;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border-radius:12px}.bm-breakdown{display:flex;flex-direction:column;gap:12px}.bm-breakdown-item{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #f1f5f9}.bm-breakdown-item:last-child{border-bottom:none}.bm-breakdown-item span:first-child{color:#64748b}.bm-breakdown-item span:last-child{font-weight:600;color:#1e293b}.bm-loan-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:20px}.bm-loan-stat{text-align:center;padding:12px;background:#f8fafc;border-radius:8px}.bm-loan-stat-label{font-size:12px;color:#64748b;margin-bottom:4px}.bm-loan-stat-value{font-size:18px;font-weight:700;color:#1e293b}.bm-stat-danger{color:#ef4444!important}.bm-demographics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}.bm-demographic-item{text-align:center;padding:12px;background:#f8fafc;border-radius:8px}.bm-demographic-label{font-size:12px;color:#64748b;margin-bottom:4px}.bm-demographic-value{font-size:18px;font-weight:700;color:#1e293b}.bm-detailed-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.bm-detailed-section{background:#f8fafc;border-radius:12px;padding:20px}.bm-detailed-section h5{display:flex;align-items:center;gap:8px;margin:0 0 16px;font-size:14px;color:#475569}.bm-detailed-item{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #e2e8f0}.bm-detailed-item:last-child{border-bottom:none}.bm-detailed-total{display:flex;justify-content:space-between;padding:12px 0;margin-top:12px;border-top:2px solid #e2e8f0;font-weight:700}.bm-highlight{color:#0ea5e9}.bm-view-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.bm-view-header h4{margin:0;font-size:18px;color:#1e293b}.bm-view-controls{display:flex;gap:12px;align-items:center}.bm-search-box{display:flex;align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:0 12px;min-width:200px}.bm-action-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;background:#0ea5e9;color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.bm-action-btn:hover{background:#0284c7}.bm-action-btn:disabled{opacity:.6;cursor:not-allowed}.bm-export-btn{background:#10b981}.bm-export-btn:hover{background:#059669}.bm-view-btn{padding:6px 12px;background:#6366f1}.bm-view-btn:hover{background:#4f46e5}.bm-members-table-container{overflow-x:auto;border:1px solid #e2e8f0;border-radius:12px}.bm-members-table{width:100%;border-collapse:collapse}.bm-members-table thead{background:#f8fafc}.bm-members-table th{padding:16px;text-align:left;font-weight:600;color:#475569;font-size:14px;border-bottom:2px solid #e2e8f0}.bm-members-table td{padding:16px;border-bottom:1px solid #f1f5f9}.bm-members-table tbody tr:hover{background:#f8fafc}.bm-member-number{font-weight:700;color:#0ea5e9;font-size:14px}.bm-member-details{min-width:200px}.bm-member-name{font-weight:600;color:#1e293b;display:flex;align-items:center;gap:6px;margin-bottom:4px}.bm-status-icon-active{color:#10b981}.bm-status-icon-inactive{color:#ef4444}.bm-member-meta{display:flex;gap:8px;color:#64748b;font-size:13px;margin-bottom:4px}.bm-member-address{font-size:13px;color:#94a3b8}.bm-contact-info{min-width:120px}.bm-phone,.bm-alt-phone{display:flex;align-items:center;gap:6px;font-size:14px;color:#475569}.bm-alt-phone{font-size:13px;color:#94a3b8;margin-top:4px}.bm-financial-summary{min-width:150px}.bm-savings-amount{font-weight:700;color:#1e293b;margin-bottom:4px}.bm-breakdown-small{display:flex;flex-direction:column;gap:2px;font-size:12px;color:#64748b}.bm-registration-status{min-width:150px}.bm-reg-progress{height:6px;background:#e2e8f0;border-radius:3px;margin-bottom:8px;overflow:hidden}.bm-reg-progress-bar{height:100%;background:#0ea5e9;transition:width .3s}.bm-reg-complete .bm-reg-progress-bar{background:#10b981}.bm-reg-amounts{display:flex;gap:4px;font-size:13px;color:#475569}.bm-status-badge{display:inline-block;padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.bm-status-active{background:#d1fae5;color:#065f46}.bm-status-inactive{background:#fee2e2;color:#991b1b}.bm-dormant-badge{display:inline-block;padding:2px 8px;background:#f1f5f9;color:#64748b;border-radius:12px;font-size:11px;margin-top:4px}.bm-loan-summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin-bottom:24px}.bm-loan-summary-card{display:flex;align-items:center;gap:16px;padding:20px;background:#fff;border:1px solid #e2e8f0;border-radius:12px}.bm-loan-summary-icon{width:48px;height:48px;background:#f0f9ff;border-radius:12px;display:flex;align-items:center;justify-content:center}.bm-loan-summary-icon svg{color:#0ea5e9}.bm-loan-summary-content{flex:1}.bm-loan-summary-label{font-size:14px;color:#64748b;margin-bottom:4px}.bm-loan-summary-value{font-size:24px;font-weight:700;color:#1e293b}.bm-table-container{overflow-x:auto;border:1px solid #e2e8f0;border-radius:12px}.bm-data-table{width:100%;border-collapse:collapse}.bm-data-table th{padding:16px;text-align:left;font-weight:600;color:#475569;font-size:14px;background:#f8fafc;border-bottom:2px solid #e2e8f0}.bm-data-table td{padding:16px;border-bottom:1px solid #f1f5f9}.bm-data-table tbody tr:hover{background:#f8fafc}.bm-loan-id{font-family:SF Mono,Monaco,monospace;color:#0ea5e9;font-weight:600}.bm-balance-cell{min-width:150px}.bm-progress-bar{height:6px;background:#e2e8f0;border-radius:3px;margin-top:8px;overflow:hidden}.bm-progress-fill{height:100%;background:#0ea5e9;border-radius:3px}.bm-interest-cell{display:flex;align-items:center;gap:4px;font-weight:600;color:#10b981}.bm-weeks-cell{min-width:120px}.bm-weeks-text{font-weight:600;margin-bottom:4px}.bm-weeks-progress{height:4px;background:#e2e8f0;border-radius:2px;overflow:hidden}.bm-weeks-progress-fill{height:100%;background:#0ea5e9}.bm-member-info{min-width:200px}.bm-member-name{font-weight:600;color:#1e293b;margin-bottom:4px}.bm-member-meta{font-size:13px;color:#64748b}.bm-transaction-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}.bm-transaction-summary-item{text-align:center;padding:20px;background:#fff;border:1px solid #e2e8f0;border-radius:12px}.bm-transaction-summary-label{font-size:14px;color:#64748b;margin-bottom:8px}.bm-transaction-summary-value{font-size:24px;font-weight:700;color:#1e293b}.bm-tx-date{min-width:100px}.bm-amount-cell{font-weight:600;color:#1e293b;min-width:100px}.bm-amount-shares{color:#0ea5e9}.bm-amount-loan{color:#10b981}.bm-amount-social{color:#8b5cf6}.bm-amount-opening{color:#f59e0b}.bm-amount-fines{color:#ef4444}.bm-amount-total{color:#1e293b;font-weight:700}.bm-tx-meta{font-size:12px;color:#94a3b8;margin-top:2px}.bm-export-dropdown{position:relative}.bm-export-main-btn{display:flex;align-items:center;gap:8px;padding:10px 16px;background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);border-radius:10px;font-weight:600;cursor:pointer;transition:all .2s}.bm-export-main-btn:hover{background:#ffffff4d}.bm-export-main-btn:disabled{opacity:.6;cursor:not-allowed}.bm-export-menu{position:absolute;top:calc(100% + 8px);right:0;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:8px;min-width:200px;box-shadow:0 10px 25px #0000001a;z-index:100}.bm-export-menu-item:hover{background:#f1f5f9;color:#0ea5e9}.bm-export-menu-divider{height:1px;background:#e2e8f0;margin:8px 0}.bm-export-menu-overlay{position:fixed;top:0;left:0;right:0;bottom:0;z-index:99}.bm-member-profile-overlay{z-index:2000}.bm-member-profile-modal{max-width:1000px;max-height:85vh}.bm-modal-header-left{display:flex;align-items:center;gap:16px}.bm-back-btn{background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#fff;cursor:pointer;width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;transition:all .2s}.bm-back-btn:hover{background:#fff3}.bm-member-profile-subtitle{font-size:14px;opacity:.9;margin-top:4px}.bm-member-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:24px}.bm-member-info-section h4,.bm-member-financial-section h4{display:flex;align-items:center;gap:8px;margin:0 0 16px;font-size:16px;color:#1e293b}.bm-info-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}.bm-info-item{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #f1f5f9}.bm-info-label{color:#64748b;font-size:14px}.bm-info-value{color:#1e293b;font-weight:500;text-align:right;max-width:200px}.bm-financial-grid{display:flex;flex-direction:column;gap:8px}.bm-financial-item{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #f1f5f9}.bm-financial-item span:first-child{color:#64748b}.bm-financial-item span:last-child{font-weight:600;color:#1e293b}.bm-total-item{margin-top:12px;border-top:2px solid #e2e8f0;padding-top:12px}.bm-loan-section{margin-top:24px;padding-top:24px;border-top:1px solid #e2e8f0}.bm-loan-section h5{display:flex;align-items:center;gap:8px;margin:0 0 16px;font-size:14px;color:#475569}.bm-loan-details{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}.bm-loan-detail{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #f1f5f9}.bm-loan-detail:last-child{border-bottom:none}.bm-status-present{background:#d1fae5;color:#065f46}.bm-status-absent{background:#fee2e2;color:#991b1b}.bm-status-approved{background:#d1fae5;color:#065f46}.bm-status-pending{background:#fef3c7;color:#92400e}.bm-status-defaulted,.bm-status-rejected{background:#fee2e2;color:#991b1b}.bm-status-revision{background:#dbeafe;color:#1e40af}.bm-loading-state{text-align:center;padding:60px 20px;color:#64748b}.bm-spinner{width:40px;height:40px;border:3px solid #f1f5f9;border-top-color:#0ea5e9;border-radius:50%;animation:bm-spin 1s linear infinite;margin:0 auto 16px}.bm-error-state{text-align:center;padding:40px 20px;color:#dc2626}.bm-error-state svg{margin-bottom:16px}.bm-retry-btn{display:inline-flex;align-items:center;gap:6px;margin-top:16px;padding:8px 16px;background:#fee2e2;color:#dc2626;border:none;border-radius:8px;font-weight:600;cursor:pointer}.bm-empty-state{text-align:center;padding:60px 20px;color:#94a3b8}.bm-empty-state svg{opacity:.6;margin-bottom:16px}.bm-clear-search{margin-top:12px;padding:6px 16px;background:#f1f5f9;color:#475569;border:none;border-radius:6px;cursor:pointer}.bm-clear-search:hover{background:#e2e8f0}.bm-message-notification{display:flex;align-items:center;gap:8px;padding:12px 16px;border-radius:8px;margin-bottom:16px;font-weight:500}.bm-message-success{background:#d1fae5;color:#065f46;border:1px solid #a7f3d0}.bm-message-error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}@media (max-width: 1024px){.bm-member-profile-grid{grid-template-columns:1fr}.bm-modal-tabs{overflow-x:auto;padding:0 16px}.bm-tab-btn{white-space:nowrap}}@media (max-width: 768px){.bm-modal{max-width:calc(100vw - 40px);border-radius:12px}.bm-modal-header{flex-direction:column;gap:16px;padding:16px}.bm-header-actions{width:100%;justify-content:space-between}.bm-group-stats,.bm-cards-grid,.bm-loan-summary-cards,.bm-transaction-summary{grid-template-columns:1fr}.bm-group-info-row{flex-direction:column;gap:8px}.bm-view-header{flex-direction:column;align-items:stretch;gap:12px}.bm-view-controls{flex-direction:column}.bm-search-box{width:100%}.bm-member-profile-modal{max-width:calc(100vw - 40px)}.bm-info-grid,.bm-loan-details{grid-template-columns:1fr}.bm-members-table,.bm-data-table{font-size:13px}.bm-members-table th,.bm-members-table td,.bm-data-table th,.bm-data-table td{padding:12px 8px}.bm-export-menu{position:fixed;top:auto;bottom:20px;left:20px;right:20px;width:auto}}@media (max-width: 480px){.bm-modal-body,.bm-card-content{padding:16px}.bm-kpi-grid,.bm-loan-stats,.bm-demographics,.bm-detailed-grid{grid-template-columns:1fr}.bm-loan-summary-card{flex-direction:column;text-align:center}}.bm-export-type-selector{display:flex;background:#f1f5f9;border-radius:8px;padding:4px;margin-bottom:12px}.bm-export-type-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 12px;background:none;border:none;border-radius:6px;font-size:13px;font-weight:600;color:#64748b;cursor:pointer;transition:all .2s}.bm-export-type-btn:hover{background:#e2e8f0}.bm-export-type-active{background:#fff;color:#0ea5e9;box-shadow:0 2px 4px #0000001a}.bm-export-info{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#f0f9ff;border-radius:6px;margin-top:8px;font-size:11px;color:#0369a1}.bm-export-info svg{flex-shrink:0}.bm-export-options{display:flex;flex-direction:column;gap:2px}.bm-export-menu-item{display:flex;align-items:center;gap:12px;padding:12px;width:100%;background:none;border:none;border-radius:8px;color:#475569;font-size:14px;cursor:pointer;transition:all .2s;text-align:left}.bm-export-menu-item:hover:not(:disabled){background:#f1f5f9;color:#0ea5e9}.bm-export-menu-item:disabled{opacity:.5;cursor:not-allowed}.bm-export-all{background:#f0f9ff;color:#0ea5e9;font-weight:600}.bm-exporting-state{display:flex;align-items:center;gap:8px;padding:12px;color:#475569;font-size:14px}.bm-spin{animation:bm-spin 1s linear infinite}@keyframes bm-spin{to{transform:rotate(360deg)}}.bm-group-subtitle{display:flex;gap:20px;margin-top:8px;flex-wrap:wrap}.bm-group-subtitle span{display:flex;align-items:center;gap:6px;font-size:14px;opacity:.9}.bm-charts-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-top:24px}.bm-chart-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px}.bm-chart-header{display:flex;align-items:center;gap:8px;margin-bottom:16px}.bm-chart-header h5{margin:0;font-size:16px;color:#1e293b}.bm-chart-placeholder{height:200px;display:flex;align-items:center;justify-content:center;background:#f8fafc;border-radius:8px;color:#94a3b8}@media (max-width: 768px){.bm-export-type-selector{flex-direction:column}.bm-charts-container{grid-template-columns:1fr}.bm-group-subtitle{flex-direction:column;gap:8px}}.bm-groups-container{display:flex;flex-direction:column;gap:24px;width:100%}.bm-groups-section{margin-bottom:16px;width:100%}.bm-groups-section-title{display:flex;align-items:center;gap:8px;margin:0 0 16px 4px;color:#475569;font-size:16px;font-weight:600;padding:8px 0;border-bottom:2px solid #e2e8f0}.bm-groups-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;width:100%;align-items:stretch}.bm-groups-card{background:#fff;border-radius:12px;padding:16px;border:1px solid #e2e8f0;cursor:pointer;transition:all .3s ease;position:relative;display:flex;flex-direction:column;min-height:200px;max-height:300px;overflow:hidden;box-shadow:0 2px 4px #0000000a}.bm-groups-card:hover{border-color:#0ea5e9;box-shadow:0 8px 16px #0ea5e91a;transform:translateY(-2px)}.bm-groups-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;flex-shrink:0;min-height:40px}.bm-groups-card-header h3{font-size:16px;font-weight:600;color:#1e293b;margin:0;line-height:1.3;flex:1;padding-right:8px;word-break:break-word}.bm-groups-meeting-info{display:block;font-size:11px;color:#64748b;margin-top:4px;padding:2px 6px;background:#f8fafc;border-radius:4px;width:fit-content;font-weight:500}.bm-groups-card-actions{display:flex;gap:4px;margin-left:4px}.bm-groups-content{flex:1;display:flex;flex-direction:column;overflow:hidden;margin-bottom:8px;min-height:120px}.bm-groups-row{display:flex;align-items:center;gap:6px;color:#475569;font-size:13px;margin:4px 0;min-height:20px;padding:4px 0}.bm-groups-row svg{color:#64748b;flex-shrink:0;width:14px;height:14px}.bm-groups-row strong{margin-left:auto;font-weight:600;color:#1e293b;font-size:13px;text-align:right;min-width:80px}.bm-groups-breakdown{margin:8px 0;padding:8px;background:#f8fafc;border-radius:6px;border:1px solid #e2e8f0;max-height:120px;overflow-y:auto}.bm-groups-breakdown .bm-groups-row{margin-bottom:4px;padding:4px 0;border-bottom:1px dashed #e2e8f0}.bm-groups-breakdown .bm-groups-row:last-child{border-bottom:none}.bm-groups-status{margin-top:8px;padding-top:8px;border-top:1px dashed #e2e8f0;flex-shrink:0}.bm-groups-footer{margin-top:auto;padding-top:12px;border-top:1px solid #e2e8f0;display:flex;flex-direction:column;gap:6px;flex-shrink:0}.bm-groups-savings-comparison{margin:8px 0;flex-shrink:0}.bm-groups-savings-bar{display:flex;height:4px;background:#e2e8f0;border-radius:2px;margin:4px 0;overflow:hidden}.bm-groups-savings-labels{display:flex;justify-content:space-between;margin-top:4px;font-size:11px}.bm-groups-loan-impact{display:flex;align-items:center;gap:6px;margin:4px 0;padding:4px 6px;background:#fffbeb;border:1px solid #fbbf24;border-radius:4px;font-size:11px;flex-shrink:0}.bm-groups-scrollable-content{flex:1;overflow-y:auto;max-height:150px;padding-right:4px;margin-bottom:8px}.bm-groups-scrollable-content::-webkit-scrollbar{width:4px}.bm-groups-scrollable-content::-webkit-scrollbar-track{background:#f1f5f9}.bm-groups-scrollable-content::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}@media (max-width: 1200px){.bm-groups-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}@media (max-width: 768px){.bm-groups-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}.bm-groups-card{padding:12px}}@media (max-width: 480px){.bm-groups-grid{grid-template-columns:1fr}.bm-groups-card{min-height:180px}.bm-groups-row{font-size:12px}.bm-groups-row strong{font-size:12px;min-width:70px}}.bm-groups-card-inactive{opacity:.7;background:#f8fafc;border-color:#fbbf24}.bm-groups-card-has-loan{border-left:4px solid #f59e0b!important;position:relative}.bm-groups-card-has-loan:before{content:"🏦 LOAN";position:absolute;top:-8px;right:-8px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;font-size:9px;font-weight:700;padding:2px 6px;border-radius:4px;box-shadow:0 2px 4px #0000001a;z-index:1}.bm-groups-content-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:8px}.bm-groups-content-grid .bm-groups-row{margin:0;padding:4px;background:#f8fafc;border-radius:4px}.bm-group-name-truncate{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;max-height:2.6em;line-height:1.3}.bm-groups-grid-equal{display:flex;flex-wrap:wrap;gap:16px}.bm-groups-grid-equal .bm-groups-card{flex:1 0 300px;display:flex;flex-direction:column}:root{--bm-primary: #0ea5e9;--bm-primary-hover: #0284c7;--bm-success: #059669;--bm-warning: #f59e0b;--bm-danger: #dc2626;--bm-inactive: #94a3b8;--bm-text-primary: #1e293b;--bm-text-secondary: #475569;--bm-text-muted: #64748b;--bm-bg-primary: #ffffff;--bm-bg-secondary: #f8fafc;--bm-bg-hover: #f1f5f9;--bm-border: #e2e8f0;--bm-border-hover: #cbd5e1;--bm-radius: 12px;--bm-radius-sm: 8px;--bm-shadow: 0 4px 12px rgba(0, 0, 0, .1);--bm-shadow-sm: 0 2px 8px rgba(0, 0, 0, .08)}.bm-facilitators-tab{padding:20px;max-width:1400px;margin:0 auto;background:var(--bm-bg-secondary);min-height:100vh}.bm-facilitators-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px;flex-wrap:wrap;gap:16px}.bm-facilitators-header h2{font-size:24px;color:var(--bm-text-primary);margin:0 0 16px;font-weight:700}.bm-facilitators-stats{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:8px}.bm-facilitators-stat-card{background:var(--bm-bg-primary);border:1px solid var(--bm-border);border-radius:var(--bm-radius-sm);padding:16px;min-width:160px;display:flex;align-items:center;gap:12px;transition:all .2s ease;box-shadow:var(--bm-shadow-sm)}.bm-facilitators-stat-card:hover{transform:translateY(-2px);box-shadow:var(--bm-shadow);border-color:var(--bm-primary)}.bm-facilitators-stat-card svg{color:var(--bm-primary);flex-shrink:0}.bm-facilitators-stat-value{font-size:24px;font-weight:700;color:var(--bm-text-primary);line-height:1}.bm-facilitators-stat-label{font-size:14px;color:var(--bm-text-muted);margin-top:4px}.bm-facilitators-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.bm-facilitators-search{display:flex;align-items:center;background:var(--bm-bg-primary);border:1px solid var(--bm-border);border-radius:var(--bm-radius-sm);padding:0 12px;min-width:250px;transition:all .2s}.bm-facilitators-search:focus-within{border-color:var(--bm-primary);box-shadow:0 0 0 3px #0ea5e91a}.bm-facilitators-search svg{color:var(--bm-text-muted);margin-right:8px;flex-shrink:0}.bm-facilitators-search input{border:none;padding:10px 0;width:100%;font-size:14px;outline:none;background:transparent;color:var(--bm-text-primary)}.bm-facilitators-search input::placeholder{color:var(--bm-text-muted)}.bm-facilitators-export-btn{display:inline-flex;align-items:center;gap:6px;padding:10px 16px;background:var(--bm-primary);color:#fff;border:none;border-radius:var(--bm-radius-sm);font-weight:600;cursor:pointer;font-size:14px;transition:all .2s}.bm-facilitators-export-btn:hover{background:var(--bm-primary-hover);transform:translateY(-1px)}.bm-facilitators-summary{background:var(--bm-bg-primary);border:1px solid var(--bm-border);border-radius:var(--bm-radius-sm);padding:12px 16px;margin-bottom:20px;color:var(--bm-text-secondary);font-size:14px;font-weight:500}.bm-facilitators-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px;margin-bottom:40px}.bm-facilitators-card{background:var(--bm-bg-primary);border-radius:var(--bm-radius);padding:20px;border:1px solid var(--bm-border);transition:all .3s ease;position:relative;display:flex;flex-direction:column;height:100%}.bm-facilitators-card:hover{border-color:var(--bm-primary);box-shadow:var(--bm-shadow);transform:translateY(-2px)}.bm-facilitators-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid var(--bm-border)}.bm-facilitators-name-container{flex:1}.bm-facilitators-card-header h3{font-size:18px;font-weight:600;color:var(--bm-text-primary);margin:0 0 8px;word-break:break-word;line-height:1.3}.bm-facilitators-status-indicator{display:flex;align-items:center;gap:8px}.bm-facilitators-status-dot{width:8px;height:8px;border-radius:50%}.bm-facilitators-status-dot.active{background:var(--bm-success);box-shadow:0 0 0 2px #05966933}.bm-facilitators-status-dot.inactive{background:var(--bm-inactive)}.bm-facilitators-status-text{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.bm-facilitators-status-text.active{color:var(--bm-success)}.bm-facilitators-status-text.inactive{color:var(--bm-inactive)}.bm-facilitators-actions-row{display:flex;gap:8px;margin-left:12px}.bm-facilitators-action-btn{background:var(--bm-bg-hover);border:1px solid var(--bm-border);width:32px;height:32px;border-radius:var(--bm-radius-sm);display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--bm-text-secondary);flex-shrink:0;transition:all .2s}.bm-facilitators-action-btn:hover{background:var(--bm-primary);border-color:var(--bm-primary);color:#fff;transform:scale(1.05)}.bm-facilitators-badge-inactive{display:inline-block;padding:6px 12px;background:#fef3c7;color:#d97706;border-radius:20px;font-size:12px;font-weight:600;margin-bottom:16px;align-self:flex-start;border:1px solid #fde68a}.bm-facilitators-contact-info{margin-bottom:20px}.bm-facilitators-row{display:flex;align-items:center;gap:10px;color:var(--bm-text-secondary);font-size:14px;margin:10px 0;min-height:22px}.bm-facilitators-row svg{color:var(--bm-text-muted);flex-shrink:0}.bm-facilitators-stats-row{display:flex;gap:16px;margin-bottom:20px;padding:16px;background:var(--bm-bg-secondary);border-radius:var(--bm-radius-sm)}.bm-facilitators-stat-item{flex:1;display:flex;align-items:center;gap:10px;padding:8px;background:var(--bm-bg-primary);border-radius:var(--bm-radius-sm);border:1px solid var(--bm-border)}.bm-facilitators-stat-item svg{color:var(--bm-primary)}.bm-facilitators-stat-item .bm-facilitators-stat-value{font-size:18px;font-weight:700;color:var(--bm-text-primary)}.bm-facilitators-stat-item .bm-facilitators-stat-label{font-size:12px;color:var(--bm-text-muted);margin-top:2px}.bm-facilitators-performance{display:flex;align-items:center;gap:10px;margin-bottom:16px;padding:12px;background:linear-gradient(90deg,#f0f9ff,#e0f2fe);border-radius:var(--bm-radius-sm);border-left:4px solid var(--bm-primary)}.bm-facilitators-performance svg{color:var(--bm-primary)}.bm-facilitators-rating{flex:1;display:flex;align-items:center;gap:10px}.bm-facilitators-rating-bar{flex:1;height:8px;background:linear-gradient(90deg,var(--bm-primary) 0%,#38bdf8 100%);border-radius:4px;transition:width .5s ease}.bm-facilitators-rating span:last-child{font-weight:600;color:var(--bm-text-primary);min-width:40px}.bm-facilitators-last-login{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--bm-text-muted);margin-top:8px;padding-top:8px;border-top:1px solid var(--bm-border)}.bm-facilitators-footer{margin-top:auto;padding-top:20px;border-top:1px dashed var(--bm-border);display:flex;justify-content:center}.bm-facilitators-assign-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 16px;background:#dbeafe;color:#1d4ed8;border:none;border-radius:var(--bm-radius-sm);font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;width:100%}.bm-facilitators-assign-btn:hover{background:#bfdbfe;transform:translateY(-1px)}.bm-facilitators-empty,.bm-facilitators-empty-search{text-align:center;padding:60px 20px;background:var(--bm-bg-primary);border-radius:var(--bm-radius);border:2px dashed var(--bm-border);margin:20px 0}.bm-facilitators-empty svg,.bm-facilitators-empty-search svg{opacity:.4;margin-bottom:16px;color:var(--bm-text-muted)}.bm-facilitators-empty p,.bm-facilitators-empty-search p{color:var(--bm-text-muted);font-size:16px;margin-bottom:16px}.bm-facilitators-hint{font-size:14px;color:var(--bm-text-muted);text-align:center;margin:8px auto 16px;max-width:400px;line-height:1.5}.bm-facilitators-clear-search{padding:10px 20px;background:var(--bm-bg-hover);color:var(--bm-text-secondary);border:1px solid var(--bm-border);border-radius:var(--bm-radius-sm);font-weight:600;cursor:pointer;transition:all .2s}.bm-facilitators-clear-search:hover{background:var(--bm-border-hover);transform:translateY(-1px)}.bm-facilitators-loading{text-align:center;padding:80px 20px;background:var(--bm-bg-primary);border-radius:var(--bm-radius);border:1px solid var(--bm-border)}.bm-spinner{animation:spin 1s linear infinite;margin-bottom:16px;color:var(--bm-primary)}.bm-facilitators-error{text-align:center;padding:40px 20px;background:var(--bm-bg-primary);border-radius:var(--bm-radius);border:1px solid #fecaca;margin:20px 0}.bm-facilitators-error svg{color:var(--bm-danger);margin-bottom:12px}.bm-facilitators-error>div{color:var(--bm-danger);font-size:16px;margin-bottom:20px;font-weight:500}.bm-facilitators-retry{padding:10px 24px;background:#fee2e2;color:var(--bm-danger);border:1px solid #fecaca;border-radius:var(--bm-radius-sm);font-weight:600;cursor:pointer;transition:all .2s}.bm-facilitators-retry:hover{background:#fecaca;transform:translateY(-1px)}.bm-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:fadeIn .2s ease}.bm-modal{background:var(--bm-bg-primary);border-radius:var(--bm-radius);width:100%;max-width:500px;max-height:90vh;overflow-y:auto;animation:slideUp .3s ease;box-shadow:0 20px 40px #00000026}.bm-modal-large{max-width:800px}.bm-modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px;border-bottom:1px solid var(--bm-border);background:var(--bm-bg-secondary);border-radius:var(--bm-radius) var(--bm-radius) 0 0}.bm-modal-header h3{margin:0;font-size:20px;color:var(--bm-text-primary);font-weight:600}.bm-modal-close{background:none;border:none;color:var(--bm-text-muted);cursor:pointer;width:36px;height:36px;border-radius:var(--bm-radius-sm);display:flex;align-items:center;justify-content:center;transition:all .2s}.bm-modal-close:hover{background:var(--bm-bg-hover);color:var(--bm-text-primary)}.bm-modal-form{display:flex;flex-direction:column;gap:20px}.bm-form-group{display:flex;flex-direction:column;gap:8px}.bm-form-group label{font-size:14px;color:var(--bm-text-secondary);font-weight:500;display:flex;align-items:center;gap:4px}.bm-form-group input,.bm-form-group select,.bm-form-group textarea{padding:12px;border:1px solid var(--bm-border);border-radius:var(--bm-radius-sm);font-size:15px;outline:none;transition:all .2s;background:var(--bm-bg-primary);color:var(--bm-text-primary)}.bm-form-group input:focus,.bm-form-group select:focus,.bm-form-group textarea:focus{border-color:var(--bm-primary);box-shadow:0 0 0 3px #0ea5e91a}.bm-form-row{display:flex;gap:16px}.bm-form-row .bm-form-group{flex:1}.bm-modal-error{display:flex;align-items:center;gap:10px;background:#fee2e2;color:var(--bm-danger);padding:14px;border-radius:var(--bm-radius-sm);font-size:14px;border-left:4px solid var(--bm-danger)}.bm-modal-error svg{flex-shrink:0}.bm-modal-actions{display:flex;gap:12px;margin-top:24px;padding-top:24px;border-top:1px solid var(--bm-border)}.bm-btn-primary,.bm-btn-secondary{flex:1;padding:12px;border-radius:var(--bm-radius-sm);font-weight:600;font-size:15px;cursor:pointer;border:none;text-align:center;transition:all .2s}.bm-btn-primary{background:var(--bm-primary);color:#fff}.bm-btn-primary:hover:not(:disabled){background:var(--bm-primary-hover);transform:translateY(-1px)}.bm-btn-primary:disabled{opacity:.6;cursor:not-allowed;transform:none}.bm-btn-secondary{background:var(--bm-bg-hover);color:var(--bm-text-secondary)}.bm-btn-secondary:hover{background:var(--bm-border);transform:translateY(-1px)}.bm-members-assign-grid{display:flex;flex-direction:column;gap:12px;max-height:400px;overflow-y:auto;padding-right:8px}.bm-members-assign-grid::-webkit-scrollbar{width:6px}.bm-members-assign-grid::-webkit-scrollbar-track{background:var(--bm-bg-hover);border-radius:3px}.bm-members-assign-grid::-webkit-scrollbar-thumb{background:var(--bm-border);border-radius:3px}.bm-members-assign-grid::-webkit-scrollbar-thumb:hover{background:var(--bm-text-muted)}.bm-member-assign-item{display:flex;justify-content:space-between;align-items:flex-start;padding:16px;border:1px solid var(--bm-border);border-radius:var(--bm-radius-sm);cursor:pointer;transition:all .2s;background:var(--bm-bg-primary)}.bm-member-assign-item:hover{border-color:var(--bm-primary);background:var(--bm-bg-hover);transform:translate(4px)}.bm-member-assigned{border-color:var(--bm-primary);background:#dbeafe;position:relative}.bm-member-assigned:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--bm-primary);border-radius:var(--bm-radius-sm) 0 0 var(--bm-radius-sm)}.bm-member-assign-info{flex:1}.bm-member-name{font-weight:600;color:var(--bm-text-primary);margin-bottom:8px;font-size:15px}.bm-member-detail{display:flex;align-items:center;gap:8px;color:var(--bm-text-secondary);margin:4px 0;font-size:13px}.bm-member-detail svg{flex-shrink:0;color:var(--bm-text-muted)}.bm-member-check{color:var(--bm-success);flex-shrink:0;margin-left:12px;align-self:center;animation:checkAppear .3s ease}@keyframes checkAppear{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}@media (max-width: 1024px){.bm-facilitators-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}@media (max-width: 768px){.bm-facilitators-tab{padding:16px}.bm-facilitators-header{flex-direction:column;align-items:stretch}.bm-facilitators-stats{gap:12px}.bm-facilitators-stat-card{min-width:calc(50% - 6px);flex:1}.bm-facilitators-actions{width:100%;justify-content:flex-start}.bm-facilitators-search{min-width:auto;flex:1}.bm-form-row{flex-direction:column}.bm-facilitators-card-header{flex-direction:column;align-items:stretch}.bm-facilitators-actions-row{margin-top:12px;justify-content:flex-start}.bm-modal{max-width:calc(100vw - 40px)}}@media (max-width: 480px){.bm-facilitators-grid{grid-template-columns:1fr}.bm-facilitators-stat-card{min-width:100%}.bm-facilitators-card{padding:16px}.bm-facilitators-row{font-size:13px}.bm-facilitators-card-header h3{font-size:16px}.bm-facilitators-stats-row{flex-direction:column}.bm-facilitators-actions{flex-direction:column;align-items:stretch}.bm-facilitators-search{width:100%}.bm-modal-header,.bm-modal-content{padding:16px}}.bm-groups-container{display:flex;flex-direction:column;gap:24px}.bm-groups-section{background:var(--bm-bg-primary);border:1px solid var(--bm-border);border-radius:var(--bm-radius-sm);overflow:hidden}.bm-section-header{display:flex;justify-content:space-between;align-items:center;padding:16px;background:var(--bm-bg-secondary);border-left:4px solid var(--bm-primary);font-size:15px}.bm-section-header h4{margin:0;font-size:16px;font-weight:600;color:var(--bm-text-primary)}.bm-section-count{font-size:12px;color:var(--bm-text-muted);background:var(--bm-bg-hover);padding:2px 8px;border-radius:10px;margin-left:8px}.bm-groups-grid{display:flex;flex-direction:column;gap:8px;padding:16px;max-height:300px;overflow-y:auto}.bm-group-item{display:flex;justify-content:space-between;align-items:flex-start;padding:16px;border:1px solid var(--bm-border);border-radius:var(--bm-radius-sm);cursor:pointer;transition:all .2s;background:var(--bm-bg-primary);position:relative}.bm-group-item:hover{transform:translate(4px);border-color:var(--bm-primary);background:var(--bm-bg-hover)}.bm-group-selected{background:linear-gradient(90deg,#f0f9ff,#e0f2fe);border-color:var(--bm-primary);border-left-width:6px}.bm-group-info{flex:1}.bm-group-name{font-weight:600;color:var(--bm-text-primary);margin-bottom:8px;font-size:15px}.bm-inactive-badge{margin-left:8px;padding:2px 6px;background:#fee2e2;color:#dc2626;border-radius:4px;font-size:11px;font-weight:600;text-transform:uppercase}.bm-group-details{display:flex;gap:16px;color:var(--bm-text-secondary);font-size:13px}.bm-group-details span{display:flex;align-items:center;gap:4px}.bm-check-icon{color:var(--bm-success);flex-shrink:0;margin-left:12px;align-self:center;animation:checkAppear .3s ease}.bm-groups-search{display:flex;align-items:center;background:var(--bm-bg-primary);border:1px solid var(--bm-border);border-radius:var(--bm-radius-sm);padding:0 12px;transition:all .2s}.bm-groups-search:focus-within{border-color:var(--bm-primary);box-shadow:0 0 0 3px #0ea5e91a}.bm-groups-search svg{color:var(--bm-text-muted);margin-right:8px;flex-shrink:0}.bm-groups-search input{border:none;padding:12px 0;width:100%;font-size:14px;outline:none;background:transparent;color:var(--bm-text-primary)}.bm-groups-search input::placeholder{color:var(--bm-text-muted)}.bm-groups-grid::-webkit-scrollbar{width:6px}.bm-groups-grid::-webkit-scrollbar-track{background:var(--bm-bg-hover);border-radius:3px}.bm-groups-grid::-webkit-scrollbar-thumb{background:var(--bm-border);border-radius:3px}.bm-groups-grid::-webkit-scrollbar-thumb:hover{background:var(--bm-text-muted)}@media (max-width: 768px){.bm-group-item{flex-direction:column;gap:8px}.bm-group-details{flex-direction:column;gap:4px}.bm-check-icon{align-self:flex-end;margin-left:0}}.bm-loans-tab{padding:20px;max-width:1400px;margin:0 auto}.bm-loans-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px;flex-wrap:wrap;gap:16px}.bm-loans-header h2{font-size:24px;color:#1e293b;margin:0;font-weight:700}.bm-loans-header p{color:#64748b;margin:4px 0 0;font-size:15px}.bm-loans-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.bm-loans-search{display:flex;align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:0 12px;min-width:200px}.bm-loans-search svg{color:#94a3b8;margin-right:8px;flex-shrink:0}.bm-loans-search input{border:none;padding:8px 0;width:100%;font-size:14px;outline:none}.bm-loans-refresh{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;border-radius:6px;font-weight:600;cursor:pointer;font-size:14px;transition:all .2s}.bm-loans-refresh:hover{background:#e2e8f0}.bm-loans-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}.bm-loans-card{background:#fff;border-radius:12px;padding:20px;border:1px solid #e2e8f0;transition:all .2s ease}.bm-loans-card:hover{border-color:#0ea5e9;box-shadow:0 4px 12px #0000001a}.bm-loans-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.bm-loans-card-header h3{font-size:18px;font-weight:600;color:#1e293b;margin:0;word-break:break-word;flex:1}.bm-loans-badges{display:flex;gap:8px}.bm-loans-status-pending,.bm-loans-status-revision,.bm-loans-status-draft,.bm-loans-status-approved-bm,.bm-loans-status-pending-gm,.bm-loans-status-approved-gm,.bm-loans-status-rejected,.bm-loans-status-disbursed,.bm-loans-status-active,.bm-loans-status-other{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:12px;font-size:11px;font-weight:600;text-transform:uppercase}.bm-loans-status-pending{background:#fef3c7;color:#92400e}.bm-loans-status-revision{background:#dbeafe;color:#1e40af}.bm-loans-status-draft{background:#e5e7eb;color:#374151}.bm-loans-status-approved-bm{background:#d1fae5;color:#065f46}.bm-loans-status-pending-gm{background:#fef3c7;color:#92400e}.bm-loans-status-approved-gm{background:#d1fae5;color:#065f46}.bm-loans-status-rejected{background:#fee2e2;color:#991b1b}.bm-loans-status-disbursed{background:#dbeafe;color:#1e40af}.bm-loans-status-active{background:#d1fae5;color:#065f46}.bm-loans-status-other{background:#f3f4f6;color:#4b5563}.bm-loans-row{display:flex;justify-content:space-between;color:#475569;font-size:14px;margin:8px 0}.bm-loans-row strong{color:#1e293b;font-weight:600}.bm-loans-view-btn{width:100%;margin-top:16px;padding:10px;background:#0ea5e9;color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:background .2s}.bm-loans-view-btn:hover{background:#0284c7}.bm-loans-empty{text-align:center;padding:60px 20px;color:#94a3b8}.bm-loans-empty svg{opacity:.6;margin-bottom:16px}.bm-loans-empty-subtext{margin-top:8px;font-size:14px;color:#cbd5e1}.bm-loans-loading,.bm-loans-error{text-align:center;padding:40px;color:#64748b}.bm-loans-error{color:#dc2626;display:flex;flex-direction:column;align-items:center;gap:12px}.bm-loans-retry{padding:6px 16px;background:#fee2e2;color:#dc2626;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:background .2s}.bm-loans-retry:hover{background:#fecaca}.bm-modal{background:#fff;border-radius:12px;width:100%;max-width:800px;max-height:90vh;overflow-y:auto}.bm-loans-tabs{display:flex;gap:4px;margin-bottom:24px;border-bottom:1px solid #e2e8f0;padding-bottom:4px}.bm-loans-tab-btn{display:flex;align-items:center;gap:8px;padding:10px 16px;background:none;border:none;border-radius:6px;font-weight:600;font-size:15px;color:#64748b;cursor:pointer;transition:all .2s;position:relative}.bm-loans-tab-btn:hover{background:#f1f5f9;color:#475569}.bm-loans-tab-btn.active{background:#0ea5e9;color:#fff}.bm-loans-tab-count{background:#fff3;color:#fff;padding:2px 8px;border-radius:12px;font-size:12px;font-weight:600}.bm-loans-tab-btn.active .bm-loans-tab-count{background:#0003}.bm-history-filters{display:flex;gap:16px;margin-bottom:24px;padding:16px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0;flex-wrap:wrap}.bm-filter-group{display:flex;align-items:center;gap:8px}.bm-filter-group label{display:flex;align-items:center;gap:4px;font-size:14px;font-weight:500;color:#475569;white-space:nowrap}.bm-filter-select{padding:6px 10px;border-radius:6px;border:1px solid #cbd5e1;background:#fff;font-size:14px;min-width:150px}.bm-date-input{padding:6px 10px;border-radius:6px;border:1px solid #cbd5e1;background:#fff;font-size:14px;min-width:120px}.bm-clear-filters{padding:6px 10px;background:#f1f5f9;color:#475569;border:1px solid #cbd5e1;border-radius:6px;font-size:13px;cursor:pointer;transition:background .2s}.bm-clear-filters:hover{background:#e2e8f0}.bm-fullpage-container{background:#fff;min-height:100vh;display:flex;flex-direction:column}.bm-fullpage-header{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;background:#fff;border-bottom:1px solid #e2e8f0;box-shadow:0 2px 8px #0000000d;position:sticky;top:0;z-index:100}.bm-nav-left{display:flex;flex-direction:column;gap:8px}.bm-back-btn{display:flex;align-items:center;gap:8px;background:none;border:none;color:#475569;font-size:14px;font-weight:500;cursor:pointer;padding:4px 8px;border-radius:6px;transition:all .2s}.bm-back-btn:hover{background:#f1f5f9;color:#1e293b}.bm-breadcrumb{display:flex;align-items:center;gap:8px;font-size:13px;color:#64748b}.bm-breadcrumb-active{color:#0ea5e9;font-weight:500}.bm-nav-right{display:flex;gap:12px;align-items:center}.bm-action-btn{display:flex;align-items:center;gap:6px;padding:8px 16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;color:#475569;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.bm-action-btn:hover{background:#f1f5f9;border-color:#cbd5e1}.bm-download-btn{background:#0ea5e9;color:#fff;border:none}.bm-download-btn:hover{background:#0284c7}.bm-fullpage-content{flex:1;padding:24px;max-width:1400px;margin:0 auto;width:100%}.bm-profile-header{display:flex;gap:32px;margin-bottom:32px;padding:24px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:16px;color:#fff}.bm-profile-avatar{display:flex;flex-direction:column;align-items:center;gap:12px}.bm-avatar-large{width:100px;height:100px;background:#fff;border-radius:20px;display:flex;align-items:center;justify-content:center;font-size:40px;font-weight:700;color:#667eea;box-shadow:0 8px 32px #0003}.bm-profile-status{display:flex;align-items:center;gap:6px;background:#fff3;padding:4px 12px;border-radius:20px;font-size:13px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.bm-status-indicator{width:8px;height:8px;border-radius:50%}.bm-status-indicator.active{background:#10b981}.bm-status-indicator.warning{background:#f59e0b}.bm-profile-name{font-size:32px;font-weight:700;margin:0 0 16px;line-height:1.2}.bm-profile-details{display:flex;flex-wrap:wrap;gap:20px}.bm-detail-item{display:flex;align-items:center;gap:8px;font-size:15px;opacity:.9}.bm-profile-stats{display:flex;gap:20px}.bm-stat-card{display:flex;flex-direction:column;align-items:center;background:#ffffff26;padding:16px 20px;border-radius:12px;min-width:100px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1)}.bm-stat-card .bm-stat-value{font-size:28px;font-weight:800;margin-bottom:4px;line-height:1}.bm-stat-card .bm-stat-label{font-size:13px;opacity:.9;text-align:center}.bm-stat-card .highlight{color:gold}.bm-main-tabs{display:flex;gap:2px;background:#f8fafc;padding:8px;border-radius:12px;margin-bottom:32px;overflow-x:auto}.bm-main-tab{display:flex;align-items:center;gap:8px;padding:16px 24px;background:none;border:none;border-radius:8px;font-size:16px;font-weight:600;color:#64748b;cursor:pointer;white-space:nowrap;transition:all .2s}.bm-main-tab:hover{background:#fff;color:#475569;box-shadow:0 2px 8px #0000001a}.bm-main-tab.active{background:#fff;color:#0ea5e9;box-shadow:0 2px 8px #0ea5e933}.bm-tab-count{background:#0ea5e9;color:#fff;padding:2px 8px;border-radius:12px;font-size:12px;font-weight:600;margin-left:4px}.bm-main-tab.active .bm-tab-count{background:#0284c7}.bm-tab-content{min-height:500px}.bm-overview-page{display:flex;flex-direction:column;gap:24px}.bm-section-card{background:#fff;border-radius:16px;padding:32px;border:1px solid #e2e8f0;box-shadow:0 4px 12px #0000000d}.bm-section-header{margin-bottom:32px}.bm-section-header h2{font-size:24px;color:#1e293b;margin:0 0 8px;font-weight:700}.bm-section-header p{margin:0;color:#64748b;font-size:15px}.bm-performance-display{display:flex;align-items:center;gap:48px}.bm-score-circle-large{display:flex;flex-direction:column;align-items:center;gap:20px}.bm-score-progress{width:200px;height:200px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative}.bm-score-inner{width:160px;height:160px;background:#fff;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 8px 24px #0000001a}.bm-score-number{font-size:56px;font-weight:800;color:#1e293b;line-height:1}.bm-score-text{font-size:16px;color:#64748b;margin-top:8px}.bm-score-rating{display:flex;align-items:center;gap:8px;font-size:20px;font-weight:600}.bm-rating-label{font-size:18px}.bm-performance-metrics{flex:1}.bm-metric-row{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.bm-metric-item{padding:24px;background:#f8fafc;border-radius:12px;border:1px solid #e2e8f0;text-align:center}.bm-metric-item .bm-metric-value{font-size:32px;font-weight:800;color:#1e293b;margin-bottom:8px;line-height:1}.bm-metric-item .bm-metric-label{font-size:14px;color:#64748b;margin-bottom:8px}.bm-metric-item .bm-metric-trend{display:inline-block;padding:6px 12px;background:#e2e8f0;color:#475569;border-radius:20px;font-size:13px;font-weight:600}.bm-loan-details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.bm-loan-detail-card{padding:24px;background:#f8fafc;border-radius:12px;border:1px solid #e2e8f0}.bm-loan-detail-card.highlight{background:#f0fdf4;border-color:#bbf7d0}.bm-loan-detail-card .bm-loan-label{font-size:14px;color:#64748b;margin-bottom:12px}.bm-loan-detail-card .bm-loan-value{font-size:24px;font-weight:700;color:#1e293b;line-height:1}.bm-guarantors-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}.bm-guarantor-card{padding:24px;background:#f8fafc;border-radius:12px;border:1px solid #e2e8f0}.bm-guarantor-header{display:flex;align-items:center;gap:16px;margin-bottom:20px}.bm-guarantor-avatar{width:60px;height:60px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:24px;font-weight:700}.bm-guarantor-title{font-size:13px;color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.bm-guarantor-name{font-size:18px;font-weight:600;color:#1e293b}.bm-guarantor-details{display:grid;grid-template-columns:1fr 1fr;gap:12px}.bm-detail-row{font-size:14px}.bm-detail-row span{color:#64748b;margin-right:4px}.bm-recommendation-card{display:flex;gap:24px;padding:32px;border-radius:16px}.bm-recommendation-card.approve{background:#f0fdf4;border:1px solid #bbf7d0}.bm-recommendation-card.review{background:#fffbeb;border:1px solid #fde68a}.bm-recommendation-card.reject{background:#fef2f2;border:1px solid #fecaca}.bm-recommendation-content h3{font-size:28px;margin:0 0 16px;line-height:1.2}.bm-recommendation-card.approve h3{color:#166534}.bm-recommendation-card.review h3{color:#92400e}.bm-recommendation-card.reject h3{color:#dc2626}.bm-recommendation-content p{margin:0 0 24px;color:#475569;font-size:16px;line-height:1.6}.bm-activity-list{display:flex;flex-direction:column;gap:12px}.bm-activity-item{display:flex;align-items:center;gap:16px;padding:16px;background:#f8fafc;border-radius:12px;border:1px solid #e2e8f0}.bm-activity-icon{width:48px;height:48px;background:#fff;border-radius:12px;display:flex;align-items:center;justify-content:center}.bm-activity-content{flex:1}.bm-activity-title{font-size:16px;font-weight:600;color:#1e293b;margin-bottom:4px;display:flex;justify-content:space-between;align-items:center}.bm-activity-date{font-size:13px;color:#64748b;font-weight:400}.bm-activity-details{display:flex;gap:16px;font-size:14px;color:#64748b}.bm-activity-status{padding:6px 12px;border-radius:20px;font-size:13px;font-weight:600}.bm-activity-status.present{background:#dcfce7;color:#166534}.bm-activity-status.absent{background:#fee2e2;color:#dc2626}.bm-empty-activity{text-align:center;padding:48px;color:#94a3b8}.bm-transactions-page{display:flex;flex-direction:column;gap:32px}.bm-page-header{margin-bottom:8px}.bm-page-header h2{font-size:28px;color:#1e293b;margin:0 0 8px;font-weight:700}.bm-page-header p{margin:0;color:#64748b;font-size:16px}.bm-transactions-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}.bm-summary-card{padding:24px;background:#fff;border-radius:12px;border:1px solid #e2e8f0;text-align:center;box-shadow:0 2px 8px #0000000d}.bm-summary-card .bm-summary-value{font-size:32px;font-weight:800;color:#0ea5e9;margin-bottom:8px;line-height:1}.bm-table-container{overflow-x:auto;border-radius:12px;border:1px solid #e2e8f0;background:#fff}.bm-full-table{width:100%;border-collapse:collapse;min-width:1000px}.bm-full-table th{background:#f8fafc;padding:16px 20px;text-align:left;font-size:14px;font-weight:600;color:#475569;border-bottom:1px solid #e2e8f0;position:sticky;top:0;white-space:nowrap}.bm-full-table td{padding:16px 20px;border-bottom:1px solid #f1f5f9;font-size:14px;white-space:nowrap}.bm-full-table tr.even{background:#f8fafc}.bm-full-table tr:hover{background:#f1f5f9}.bm-shares-count.good{color:#10b981;font-weight:600}.bm-shares-count.poor{color:#ef4444;font-weight:600}.bm-positive{color:#059669;font-weight:600}.bm-repayment{color:#3b82f6;font-weight:600}.bm-interest{color:#d97706;font-weight:600}.bm-fines{color:#dc2626;font-weight:600}.bm-social{color:#7c3aed;font-weight:600}.bm-notes-cell{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bm-loans-page{display:flex;flex-direction:column;gap:32px}.bm-loans-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}.bm-loans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:24px}.bm-loan-card{padding:24px;background:#fff;border-radius:16px;border:1px solid #e2e8f0;box-shadow:0 4px 12px #0000000d}.bm-loan-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.bm-loan-id{font-size:14px;color:#64748b;font-weight:500}.bm-loan-details{margin-bottom:20px}.bm-loan-amount{font-size:28px;font-weight:800;color:#1e293b;margin-bottom:8px;line-height:1}.bm-loan-date{font-size:14px;color:#64748b}.bm-loan-progress{margin-bottom:20px}.bm-progress-bar{height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden;margin-bottom:8px}.bm-progress-fill{height:100%;background:linear-gradient(90deg,#0ea5e9,#3b82f6);border-radius:4px;transition:width .3s ease}.bm-progress-text{display:flex;justify-content:space-between;font-size:13px;color:#64748b}.bm-loan-balance{display:flex;justify-content:space-between;align-items:center;padding:12px;background:#f8fafc;border-radius:8px;margin-bottom:20px}.bm-loan-balance span{color:#64748b;font-size:14px}.bm-loan-balance strong{color:#1e293b;font-size:18px;font-weight:700}.bm-view-details-btn{width:100%;padding:12px;background:#0ea5e9;color:#fff;border:none;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;transition:background .2s}.bm-view-details-btn:hover{background:#0284c7}.bm-loading-full,.bm-empty-full{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;color:#94a3b8}.bm-spinner-large{animation:spin 1s linear infinite;width:48px;height:48px;margin-bottom:20px}.bm-empty-full h3{margin:16px 0 8px;color:#64748b}.bm-empty-full p{margin:0;color:#cbd5e1}@media (min-width: 1200px){.bm-fullpage-content{padding:32px 48px}.bm-profile-header{padding:32px}.bm-section-card{padding:40px}}@media (min-width: 768px) and (max-width: 1199px){.bm-fullpage-content{padding:24px}.bm-profile-header{flex-direction:column;gap:24px;text-align:center}.bm-profile-details{justify-content:center}.bm-profile-stats{width:100%;justify-content:center}.bm-performance-display{flex-direction:column;gap:32px}.bm-metric-row{grid-template-columns:1fr 1fr}.bm-loans-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}}@media (max-width: 767px){.bm-fullpage-header{flex-direction:column;gap:16px;padding:16px}.bm-nav-right{width:100%;justify-content:center}.bm-fullpage-content{padding:16px}.bm-profile-header{padding:20px;gap:20px}.bm-profile-name{font-size:24px}.bm-profile-details{flex-direction:column;gap:12px;align-items:flex-start}.bm-profile-stats{width:100%;justify-content:space-between;flex-wrap:wrap;gap:12px}.bm-stat-card{min-width:calc(50% - 6px);padding:12px}.bm-stat-card .bm-stat-value{font-size:20px}.bm-main-tabs{flex-direction:column}.bm-main-tab{justify-content:center}.bm-section-card{padding:20px}.bm-performance-display{flex-direction:column;gap:24px}.bm-score-progress{width:160px;height:160px}.bm-score-inner{width:130px;height:130px}.bm-score-number{font-size:40px}.bm-metric-row,.bm-loan-details-grid,.bm-guarantors-grid,.bm-transactions-summary,.bm-loans-summary{grid-template-columns:1fr}.bm-recommendation-card{flex-direction:column;text-align:center;gap:16px}.bm-activity-item{flex-direction:column;text-align:center;gap:12px}.bm-activity-title,.bm-activity-details{flex-direction:column;gap:4px}.bm-loans-grid{grid-template-columns:1fr}.bm-modal{max-width:calc(100vw - 40px);max-height:calc(100vh - 40px)}.bm-modal-header,.bm-modal-content{padding:16px}}@media print{.bm-fullpage-header,.bm-main-tabs,.bm-action-btn{display:none}.bm-section-card{box-shadow:none;border:1px solid #ccc;page-break-inside:avoid}.bm-fullpage-content{padding:0}.bm-profile-header{background:#fff!important;color:#000!important;border:1px solid #ccc}}.bm-performance-badge{padding:2px 8px;border-radius:12px;font-size:11px;font-weight:600;display:inline-block;margin-left:6px}.bm-performance-badge.excellent{background-color:#10b98120;color:#10b981;border:1px solid #10b98140}.bm-performance-badge.good{background-color:#3b82f620;color:#3b82f6;border:1px solid #3b82f640}.bm-performance-badge.fair{background-color:#f59e0b20;color:#f59e0b;border:1px solid #f59e0b40}.bm-performance-badge.poor{background-color:#ef444420;color:#ef4444;border:1px solid #ef444440}.bm-spinner-small{animation:spin 1s linear infinite;margin-right:6px}.bm-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;padding:20px}.bm-modal{background:#fff;border-radius:12px;box-shadow:0 10px 25px #0003;max-height:90vh;overflow-y:auto;width:100%;max-width:1200px}.bm-modal-header{display:flex;justify-content:space-between;align-items:flex-start;padding:20px 24px;border-bottom:1px solid #f1f5f9;position:sticky;top:0;background:#fff;z-index:10}.bm-modal-close:disabled{opacity:.5;cursor:not-allowed}.bm-application-summary{margin-bottom:24px}.bm-summary-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.bm-summary-header h4{font-size:18px;color:#1e293b;margin:0}.bm-summary-status .bm-status-badge{padding:6px 12px;border-radius:20px;font-size:12px;font-weight:600;text-transform:uppercase}.bm-status-badge.status-pending_branch_review{background:#fef3c7;color:#92400e}.bm-status-badge.status-returned_for_correction{background:#dbeafe;color:#1e40af}.bm-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-bottom:24px}.bm-summary-card{background:#f8fafc;border-radius:12px;padding:20px;border:1px solid #e2e8f0}.bm-summary-card-header{display:flex;align-items:center;gap:8px;margin-bottom:16px;color:#475569}.bm-summary-card-header h5{margin:0;font-size:16px;color:#475569}.bm-summary-content{display:flex;flex-direction:column;gap:12px}.bm-summary-row{display:flex;justify-content:space-between;align-items:center;font-size:14px}.bm-summary-row span{color:#64748b}.bm-summary-row strong{color:#1e293b;font-weight:600}.bm-summary-row .highlight{color:#059669;font-weight:700}.bm-performance-circle{display:flex;flex-direction:column;align-items:center;gap:12px}.bm-performance-circle-inner{width:100px;height:100px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative}.bm-performance-circle-inner:before{content:"";position:absolute;width:80px;height:80px;background:#fff;border-radius:50%;z-index:1}.bm-performance-circle-inner span{font-size:24px;font-weight:700;color:#1e293b;z-index:2}.bm-performance-circle-label{font-size:14px;color:#64748b}.bm-performance-breakdown{display:flex;flex-direction:column;gap:8px;margin-top:12px}.bm-performance-metric{display:flex;justify-content:space-between;align-items:center;font-size:14px}.bm-performance-metric span{color:#64748b}.bm-member-list-container{margin-bottom:24px}.bm-member-list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap;gap:16px}.bm-member-list-header h4{font-size:18px;color:#1e293b;margin:0}.bm-member-list-filters{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.bm-member-search{display:flex;align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:0 12px;min-width:200px}.bm-member-search svg{color:#94a3b8;margin-right:8px}.bm-member-search input{border:none;padding:8px 0;width:100%;font-size:14px;outline:none}.bm-performance-filter{padding:8px 12px;border-radius:6px;border:1px solid #cbd5e1;background:#fff;font-size:14px;min-width:150px}.bm-member-list{display:flex;flex-direction:column;gap:12px}.bm-member-list-item{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;transition:all .2s}.bm-member-list-item.expanded{border-color:#0ea5e9;box-shadow:0 4px 12px #0ea5e91a}.bm-member-list-item-header{display:flex;justify-content:space-between;align-items:center;padding:16px;cursor:pointer;background:#f8fafc}.bm-member-list-info{display:flex;align-items:center;gap:12px;flex:1}.bm-member-avatar{width:40px;height:40px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:16px}.bm-member-details h5{margin:0 0 4px;font-size:16px;color:#1e293b;font-weight:600}.bm-member-meta{display:flex;gap:16px;font-size:12px;color:#64748b}.bm-member-list-actions{display:flex;align-items:center;gap:12px}.bm-member-performance{display:flex;align-items:center;gap:8px}.bm-performance-indicator{padding:4px 8px;border-radius:12px;font-size:11px;font-weight:600}.bm-view-history-btn{display:flex;align-items:center;gap:6px;padding:6px 12px;background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;border-radius:6px;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s}.bm-view-history-btn:hover{background:#e2e8f0}.bm-member-expanded-details{padding:20px;background:#fff;border-top:1px solid #e2e8f0}.bm-expanded-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;margin-bottom:20px}.bm-expanded-section{display:flex;flex-direction:column;gap:12px}.bm-expanded-section h6{margin:0 0 8px;font-size:14px;color:#475569;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.bm-guarantors-section h6{margin:0 0 12px;font-size:14px;color:#475569;font-weight:600}.bm-guarantors-list{display:flex;flex-direction:column;gap:8px}.bm-guarantor-item{padding:12px;background:#f8fafc;border-radius:8px;font-size:14px}.bm-guarantor-item strong{color:#1e293b;margin-right:8px}.bm-guarantor-item span{color:#64748b}.bm-member-action-buttons{display:flex;justify-content:flex-end;margin-top:20px;padding-top:20px;border-top:1px solid #e2e8f0}.bm-member-action-btn{display:flex;align-items:center;gap:6px;padding:8px 16px;background:#0ea5e9;color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:background .2s}.bm-member-action-btn:hover{background:#0284c7}.bm-view-full-history{background:#f1f5f9;color:#475569}.bm-view-full-history:hover{background:#e2e8f0}.bm-review-notes-section{margin-bottom:24px}.bm-review-notes-section h4{font-size:18px;color:#1e293b;margin-bottom:12px}.bm-review-textarea{width:100%;padding:12px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;font-family:inherit;resize:vertical;min-height:100px}.bm-review-textarea:focus{outline:none;border-color:#0ea5e9;box-shadow:0 0 0 3px #0ea5e91a}.bm-decision-summary{margin-bottom:24px;padding:20px;background:#f8fafc;border-radius:12px;border:1px solid #e2e8f0}.bm-decision-summary h4{font-size:18px;color:#1e293b;margin-bottom:16px}.bm-decision-summary .bm-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.bm-summary-item{display:flex;flex-direction:column;gap:4px}.bm-summary-item span{font-size:14px;color:#64748b}.bm-summary-item strong{font-size:20px;color:#1e293b;font-weight:700}.bm-recommendation-text{padding:4px 12px;border-radius:20px;font-size:14px;font-weight:600}.bm-recommendation-text.approve{background:#d1fae5;color:#065f46}.bm-recommendation-text.review{background:#fef3c7;color:#92400e}.bm-recommendation-text.reject{background:#fee2e2;color:#dc2626}.bm-loan-actions{display:flex;gap:12px;justify-content:flex-end;padding-top:24px;border-top:1px solid #e2e8f0;flex-wrap:wrap}.bm-loan-action-btn{display:flex;align-items:center;gap:8px;padding:12px 20px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.bm-loan-action-btn:disabled{opacity:.5;cursor:not-allowed}.bm-loan-action-revise{background:#fef3c7;color:#92400e;border:1px solid #fde68a}.bm-loan-action-revise:hover:not(:disabled){background:#fde68a}.bm-loan-action-reject{background:#fee2e2;color:#dc2626;border:1px solid #fecaca}.bm-loan-action-reject:hover:not(:disabled){background:#fecaca}.bm-loan-action-approve{background:#10b981;color:#fff;border:1px solid #059669}.bm-loan-action-approve:hover:not(:disabled){background:#059669}.bm-decision-input{grid-column:1 / -1;padding:20px;background:#f8fafc;border-radius:12px;border:1px solid #e2e8f0}.bm-decision-input h5{margin:0 0 12px;font-size:16px;color:#1e293b}.bm-decision-input textarea{width:100%;padding:12px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;font-family:inherit;resize:vertical;min-height:80px;margin-bottom:16px}.bm-decision-buttons{display:flex;gap:12px;justify-content:flex-end}.bm-decision-buttons button{padding:8px 16px;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.bm-decision-buttons button:first-child{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0}.bm-decision-buttons button:first-child:hover{background:#e2e8f0}.bm-danger-btn{background:#ef4444;color:#fff;border:1px solid #dc2626}.bm-danger-btn:hover:not(:disabled){background:#dc2626}.bm-warning-btn{background:#f59e0b;color:#fff;border:1px solid #d97706}.bm-warning-btn:hover:not(:disabled){background:#d97706}.bm-already-processed{grid-column:1 / -1;text-align:center;padding:40px;color:#64748b}.bm-status-display{margin-top:12px;font-size:14px}.bm-empty-members{text-align:center;padding:40px 20px;color:#94a3b8}.bm-empty-members p{margin:0}.bm-empty-subtext{margin-top:8px;font-size:14px;color:#cbd5e1}@media (max-width: 768px){.bm-modal{max-width:calc(100vw - 40px);max-height:calc(100vh - 40px)}.bm-modal-header,.bm-modal-content{padding:16px}.bm-summary-grid{grid-template-columns:1fr}.bm-loan-actions{flex-direction:column}.bm-loan-action-btn{width:100%;justify-content:center}.bm-member-list-header,.bm-member-list-filters{flex-direction:column;align-items:stretch}.bm-member-search{min-width:100%}}.bm-member-history-container{min-height:100vh;background:#f8fafc}.bm-history-header{background:#fff;border-bottom:1px solid #e2e8f0;padding:16px 0;position:sticky;top:0;z-index:100;box-shadow:0 1px 3px #0000001a}.bm-history-header-content{max-width:1200px;margin:0 auto;padding:0 20px;display:flex;justify-content:space-between;align-items:center}.bm-back-button{display:inline-flex;align-items:center;gap:8px;background:none;border:none;color:#475569;font-size:14px;font-weight:500;cursor:pointer;padding:8px 12px;border-radius:6px;transition:all .2s}.bm-back-button:hover{background:#f1f5f9;color:#1e293b}.bm-header-actions{display:flex;gap:8px}.bm-action-button{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;border:1px solid #e2e8f0;background:#fff;color:#475569}.bm-action-button.primary{background:#0ea5e9;color:#fff;border-color:#0ea5e9}.bm-action-button.primary:hover{background:#0284c7;border-color:#0284c7}.bm-action-button.secondary:hover{background:#f1f5f9;border-color:#cbd5e1}.bm-history-main{max-width:1200px;margin:0 auto;padding:24px 20px}.bm-profile-overview{background:#fff;border-radius:12px;padding:24px;margin-bottom:24px;border:1px solid #e2e8f0;box-shadow:0 1px 3px #0000001a}.bm-profile-header{display:flex;gap:20px;margin-bottom:24px;flex-wrap:wrap}.bm-profile-avatar-large{display:flex;flex-direction:column;align-items:center;gap:12px}.bm-avatar-circle{width:80px;height:80px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:32px;font-weight:700;box-shadow:0 4px 12px #667eea33}.bm-profile-status-indicator{display:flex;align-items:center;gap:6px;background:#f8fafc;padding:6px 12px;border-radius:20px;font-size:12px;font-weight:500}.bm-status-dot{width:8px;height:8px;border-radius:50%}.bm-profile-info{flex:1;min-width:200px}.bm-member-name{font-size:28px;font-weight:700;color:#1e293b;margin:0 0 12px;line-height:1.2}.bm-profile-meta{display:flex;flex-wrap:wrap;gap:16px}.bm-meta-item{display:flex;align-items:center;gap:6px;color:#64748b;font-size:14px}.bm-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.bm-stat-card{display:flex;align-items:center;justify-content:space-between;padding:20px;background:#f8fafc;border-radius:10px;border:1px solid #e2e8f0;transition:transform .2s}.bm-stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000000d}.bm-stat-content{display:flex;flex-direction:column}.bm-stat-value{font-size:32px;font-weight:700;line-height:1;margin-bottom:4px}.bm-stat-label{font-size:14px;color:#64748b}.bm-stat-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center}.bm-history-tabs-nav{display:flex;gap:4px;margin-bottom:24px;background:#f1f5f9;padding:8px;border-radius:12px;overflow-x:auto;scrollbar-width:none}.bm-history-tabs-nav::-webkit-scrollbar{display:none}.bm-tab-button{display:flex;align-items:center;gap:8px;padding:12px 20px;background:none;border:none;border-radius:8px;font-size:15px;font-weight:500;color:#64748b;cursor:pointer;white-space:nowrap;transition:all .2s;flex:1;justify-content:center}.bm-tab-button:hover{background:#fff;color:#475569}.bm-tab-button.active{background:#fff;color:#0ea5e9;box-shadow:0 2px 8px #0ea5e926}.bm-tab-badge{background:#0ea5e9;color:#fff;padding:2px 8px;border-radius:12px;font-size:12px;font-weight:600;margin-left:4px}.bm-tab-button.active .bm-tab-badge{background:#0284c7}.bm-tab-content-wrapper{background:#fff;border-radius:12px;border:1px solid #e2e8f0;overflow:hidden}.bm-section{padding:24px;border-bottom:1px solid #f1f5f9}.bm-section-title{font-size:20px;font-weight:600;color:#1e293b;margin:0 0 20px}.bm-performance-card{padding:24px;border-radius:12px;margin-bottom:24px}.bm-performance-score-display{display:flex;align-items:center;gap:32px;flex-wrap:wrap}.bm-circular-progress{flex-shrink:0}.bm-progress-circle{width:120px;height:120px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative}.bm-progress-circle:before{content:"";position:absolute;width:100px;height:100px;background:#fff;border-radius:50%;z-index:1}.bm-progress-inner{display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:2}.bm-progress-value{font-size:32px;font-weight:700;color:#1e293b;line-height:1}.bm-progress-label{font-size:14px;color:#64748b;margin-top:4px}.bm-performance-details{flex:1;min-width:200px}.bm-rating-display{display:flex;align-items:center;gap:8px;margin-bottom:8px}.bm-rating-label{font-size:18px;font-weight:600}.bm-performance-description{color:#64748b;margin:0;font-size:14px}.bm-metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.bm-metric-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:20px;transition:transform .2s}.bm-metric-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000000d}.bm-metric-header{display:flex;align-items:center;gap:8px;margin-bottom:16px}.bm-metric-header h3{font-size:16px;font-weight:600;color:#1e293b;margin:0}.bm-metric-value{font-size:28px;font-weight:700;color:#1e293b;margin-bottom:8px;line-height:1}.bm-metric-progress{height:6px;background:#e2e8f0;border-radius:3px;overflow:hidden;margin:12px 0}.bm-progress-bar{height:100%;border-radius:3px;transition:width .3s ease}.bm-metric-label{font-size:14px;color:#64748b;margin-bottom:4px}.bm-metric-subvalue{font-size:14px;color:#10b981;font-weight:500}.bm-loan-request-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:24px}.bm-loan-request-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.bm-loan-request-header h3{font-size:18px;font-weight:600;color:#1e293b;margin:0}.bm-loan-status{padding:6px 12px;border-radius:20px;font-size:12px;font-weight:600;text-transform:uppercase}.bm-loan-status.pending{background:#fef3c7;color:#92400e}.bm-loan-request-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.bm-loan-amount-item{display:flex;flex-direction:column;gap:4px}.bm-loan-amount-item.highlight{background:#f0fdf4;padding:12px;border-radius:8px;border:1px solid #bbf7d0}.bm-loan-label{font-size:14px;color:#64748b}.bm-loan-value{font-size:20px;font-weight:600;color:#1e293b}.bm-loan-amount-item.highlight .bm-loan-value{color:#059669}.bm-guarantors-container{display:flex;flex-direction:column;gap:12px}.bm-guarantor-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.bm-guarantor-header{display:flex;justify-content:space-between;align-items:center;padding:16px;cursor:pointer;background:#f8fafc;transition:background .2s}.bm-guarantor-header:hover{background:#f1f5f9}.bm-guarantor-avatar{display:flex;align-items:center;gap:12px}.bm-guarantor-avatar-circle{width:48px;height:48px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:18px;font-weight:600}.bm-guarantor-info h4{font-size:16px;font-weight:600;color:#1e293b;margin:0 0 4px}.bm-guarantor-role{font-size:12px;color:#64748b;padding:2px 8px;background:#e2e8f0;border-radius:12px;display:inline-block}.bm-guarantor-details{padding:20px;background:#fff;border-top:1px solid #e2e8f0}.bm-detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.bm-detail-item{display:flex;align-items:center;gap:8px;font-size:14px;color:#475569}.bm-recommendation-box{padding:24px;border-radius:12px;display:flex;gap:20px;align-items:flex-start}.bm-recommendation-box.approve{background:#f0fdf4;border:1px solid #bbf7d0}.bm-recommendation-box.review{background:#fffbeb;border:1px solid #fde68a}.bm-recommendation-box.reject{background:#fef2f2;border:1px solid #fecaca}.bm-recommendation-title{font-size:22px;font-weight:700;margin:0 0 12px}.bm-recommendation-box.approve .bm-recommendation-title{color:#166534}.bm-recommendation-box.review .bm-recommendation-title{color:#92400e}.bm-recommendation-text{color:#475569;margin:0 0 20px;line-height:1.5;font-size:15px}.bm-risk-factors{display:flex;flex-wrap:wrap;gap:20px}.bm-risk-factor{display:flex;flex-direction:column;gap:4px}.bm-risk-label{font-size:14px;color:#64748b}.bm-risk-value{font-size:16px;font-weight:600;color:#1e293b}.bm-summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin-bottom:24px}.bm-summary-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:20px;text-align:center}.bm-summary-card .bm-summary-value{font-size:24px;font-weight:700;color:#0ea5e9;margin-bottom:4px;line-height:1}.bm-summary-card .bm-summary-label{font-size:14px;color:#64748b}.bm-transactions-list{display:flex;flex-direction:column;gap:12px}.bm-transaction-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:16px;transition:transform .2s}.bm-transaction-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000000d}.bm-transaction-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.bm-transaction-date{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500;color:#1e293b}.bm-attendance-status{display:flex;align-items:center;gap:6px;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500}.bm-attendance-status.present{background:#dcfce7;color:#166534}.bm-attendance-status.absent{background:#fee2e2;color:#dc2626}.bm-transaction-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:12px}.bm-detail-row{display:flex;justify-content:space-between;align-items:center;font-size:14px}.bm-detail-label{color:#64748b}.bm-detail-value{font-weight:500;color:#1e293b}.bm-detail-value.positive{color:#10b981}.bm-detail-value.neutral{color:#64748b}.bm-transaction-notes{padding-top:12px;border-top:1px solid #e2e8f0}.bm-notes-label{font-size:12px;color:#64748b;font-weight:500;margin-right:8px}.bm-notes-text{font-size:14px;color:#475569}.bm-loan-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}.bm-loan-summary-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:20px;text-align:center}.bm-summary-label{font-size:14px;color:#64748b;margin-bottom:8px}.bm-loan-summary-item .bm-summary-value{font-size:20px;font-weight:700;color:#1e293b;line-height:1}.bm-loans-list{display:flex;flex-direction:column;gap:12px}.bm-loan-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.bm-loan-header{display:flex;justify-content:space-between;align-items:center;padding:16px;cursor:pointer;transition:background .2s}.bm-loan-header:hover{background:#f1f5f9}.bm-loan-info h3{font-size:16px;font-weight:600;color:#1e293b;margin:0 0 4px}.bm-loan-meta{display:flex;gap:8px;font-size:14px;color:#64748b;flex-wrap:wrap}.bm-loan-actions{display:flex;align-items:center;gap:12px}.bm-loan-status{padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600}.bm-loan-status.active{background:#dbeafe;color:#1e40af}.bm-loan-status.completed{background:#dcfce7;color:#166534}.bm-loan-status.defaulted{background:#fee2e2;color:#dc2626}.bm-loan-details{padding:20px;background:#fff;border-top:1px solid #e2e8f0}.bm-loan-details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:16px}.bm-detail-item .bm-detail-value{font-weight:500;color:#1e293b}.bm-detail-value.status-active{color:#1e40af}.bm-detail-value.status-completed{color:#166534}.bm-detail-value.status-defaulted{color:#dc2626}.bm-loading-state,.bm-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 24px;text-align:center;color:#94a3b8}.bm-spinner{animation:spin 1s linear infinite;margin-bottom:16px}.bm-empty-state h3{margin:16px 0 8px;color:#64748b;font-weight:600}.bm-empty-state p{margin:0;color:#cbd5e1}.bm-member-history-modal{max-width:600px;max-height:80vh}.bm-modal-subtitle{margin:4px 0 0;color:#64748b;font-size:14px}.bm-quick-stats{display:flex;justify-content:space-around;padding:20px 0;border-bottom:1px solid #e2e8f0;margin-bottom:20px}.bm-stat{text-align:center}.bm-stat .bm-stat-value{font-size:24px;font-weight:700;color:#0ea5e9;margin-bottom:4px;line-height:1}.bm-stat .bm-stat-label{font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.bm-simple-tabs{display:flex;border-bottom:1px solid #e2e8f0;margin-bottom:20px}.bm-simple-tab{flex:1;padding:12px;background:none;border:none;border-bottom:2px solid transparent;font-size:14px;font-weight:500;color:#64748b;cursor:pointer;transition:all .2s}.bm-simple-tab:hover{color:#475569}.bm-simple-tab.active{color:#0ea5e9;border-bottom-color:#0ea5e9}.bm-simple-content{padding-bottom:20px}.bm-performance-summary{display:flex;align-items:center;gap:24px;margin-bottom:24px}.bm-score-circle-small{display:flex;flex-direction:column;align-items:center;gap:8px}.bm-small-progress{width:80px;height:80px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative}.bm-small-progress:before{content:"";position:absolute;width:64px;height:64px;background:#fff;border-radius:50%;z-index:1}.bm-small-progress span{font-size:20px;font-weight:700;color:#1e293b;z-index:2}.bm-loan-request-info h4{margin:0 0 8px;font-size:16px;color:#475569;font-weight:600}.bm-loan-amount{font-size:24px;font-weight:700;color:#1e293b;margin-bottom:4px}.bm-loan-netcash{font-size:14px;color:#059669;font-weight:500}.bm-activity-list-compact,.bm-loans-list-compact{display:flex;flex-direction:column;gap:8px}.bm-activity-item-compact,.bm-loan-item-compact{display:flex;justify-content:space-between;align-items:center;padding:12px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.bm-activity-date{font-size:14px;font-weight:500;color:#1e293b}.bm-activity-details{display:flex;gap:12px;font-size:13px;color:#64748b}.bm-no-data{text-align:center;padding:24px;color:#94a3b8}.bm-modal-actions{display:flex;justify-content:flex-end;gap:12px;padding-top:20px;border-top:1px solid #e2e8f0}@media (max-width: 1023px){.bm-history-header-content,.bm-history-main{padding:0 16px}.bm-profile-header{flex-direction:column;text-align:center}.bm-profile-avatar-large{align-self:center}.bm-profile-meta{justify-content:center}.bm-performance-score-display{flex-direction:column;text-align:center}.bm-tab-button{padding:10px 16px;font-size:14px}}@media (max-width: 767px){.bm-history-main{padding:16px}.bm-profile-overview{padding:20px}.bm-member-name{font-size:24px}.bm-stats-grid{grid-template-columns:repeat(2,1fr)}.bm-stat-card{padding:16px}.bm-stat-value{font-size:24px}.bm-section{padding:20px}.bm-metrics-grid,.bm-loan-request-grid,.bm-loan-summary,.bm-transaction-details,.bm-loan-details-grid{grid-template-columns:1fr}.bm-modal{max-width:calc(100vw - 32px);margin:16px}}@media (max-width: 479px){.bm-stats-grid{grid-template-columns:1fr}.bm-summary-cards{grid-template-columns:repeat(2,1fr)}.bm-tab-button{padding:8px 12px;font-size:13px}.bm-progress-circle{width:100px;height:100px}.bm-progress-circle:before{width:80px;height:80px}.bm-progress-value{font-size:24px}}@media print{.bm-history-header,.bm-header-actions,.bm-back-button{display:none}.bm-section{break-inside:avoid;border:1px solid #ddd;margin-bottom:20px}.bm-profile-overview{box-shadow:none;border:1px solid #ddd}}.bm-history-modal{max-width:1000px}.bm-status-banner{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;margin-bottom:24px}.bm-status-content{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}.bm-status-info{display:flex;align-items:center;gap:12px}.bm-status-info h4{margin:0;font-size:16px;font-weight:600}.bm-status-details{margin:4px 0 0;font-size:13px;color:#64748b}.bm-status-actions{display:flex;gap:8px}.bm-action-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;border:1px solid #e2e8f0;background:#fff;color:#475569}.bm-action-btn.export-btn{background:#059669;color:#fff;border-color:#059669}.bm-action-btn.export-btn:hover{background:#047857;border-color:#047857}.bm-detail-tabs{display:flex;gap:4px;background:#f8fafc;padding:8px;border-radius:12px;margin-bottom:24px;overflow-x:auto}.bm-detail-tab{display:flex;align-items:center;gap:8px;padding:12px 20px;background:none;border:none;border-radius:8px;font-size:14px;font-weight:500;color:#64748b;cursor:pointer;white-space:nowrap;transition:all .2s;flex:1;justify-content:center}.bm-detail-tab:hover{background:#fff;color:#475569}.bm-detail-tab.active{background:#fff;color:#0ea5e9;box-shadow:0 2px 8px #0ea5e926}.bm-detail-section{background:#fff;border-radius:12px;border:1px solid #e2e8f0;padding:24px;margin-bottom:24px}.bm-quick-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:24px}.bm-quick-stat{display:flex;align-items:center;gap:12px;padding:16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px}.bm-quick-stat-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.bm-quick-stat-content{flex:1}.bm-quick-stat-value{font-size:24px;font-weight:700;color:#1e293b;line-height:1;margin-bottom:4px}.bm-quick-stat-label{font-size:13px;color:#64748b}.bm-performance-breakdown-section{margin-bottom:24px}.bm-performance-breakdown-section h4{font-size:16px;font-weight:600;color:#1e293b;margin:0 0 16px}.bm-performance-breakdown{display:flex;flex-direction:column;gap:12px}.bm-performance-category{display:flex;align-items:center;gap:16px}.bm-category-label{display:flex;align-items:center;gap:8px;font-size:14px;color:#475569;min-width:100px}.bm-category-dot{width:8px;height:8px;border-radius:50%}.bm-category-count{font-size:14px;font-weight:600;color:#1e293b;min-width:30px;text-align:right}.bm-category-bar{flex:1;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden}.bm-category-bar-fill{height:100%;border-radius:4px;transition:width .3s ease}.bm-details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-bottom:24px}.bm-detail-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:20px}.bm-detail-card h5{font-size:16px;font-weight:600;color:#1e293b;margin:0 0 16px}.bm-detail-list{display:flex;flex-direction:column;gap:12px}.bm-detail-item{display:flex;justify-content:space-between;align-items:center;font-size:14px}.bm-detail-item span{color:#64748b}.bm-detail-item strong{color:#1e293b;font-weight:500;text-align:right}.bm-detail-item.highlight strong{color:#059669;font-weight:600}.bm-notes-section{border-top:1px solid #e2e8f0;padding-top:24px}.bm-notes-section h4{font-size:16px;font-weight:600;color:#1e293b;margin:0 0 16px}.bm-note-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:16px;margin-bottom:12px}.bm-note-card:last-child{margin-bottom:0}.bm-note-header{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:14px;color:#475569}.bm-note-content{margin:0;font-size:14px;color:#475569;line-height:1.5}.bm-members-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap;gap:16px}.bm-members-header h4{font-size:18px;font-weight:600;color:#1e293b;margin:0}.bm-members-filters{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.bm-search-box{display:flex;align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:0 12px;min-width:250px}.bm-search-box svg{color:#94a3b8;margin-right:8px}.bm-search-box input{border:none;padding:8px 0;width:100%;font-size:14px;outline:none}.bm-status-filter{padding:8px 12px;border-radius:6px;border:1px solid #cbd5e1;background:#fff;font-size:14px;min-width:120px}.bm-loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px;color:#64748b}.bm-loading-container .bm-spinner{animation:spin 1s linear infinite;margin-bottom:16px}.bm-empty-members{text-align:center;padding:48px 24px;color:#94a3b8}.bm-empty-members svg{opacity:.5;margin-bottom:16px}.bm-empty-members h5{margin:0 0 8px;color:#64748b;font-weight:600}.bm-empty-members p{margin:0 0 16px;color:#cbd5e1}.bm-clear-filters-btn{padding:8px 16px;background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.bm-clear-filters-btn:hover{background:#e2e8f0}.bm-members-list{display:flex;flex-direction:column;gap:12px}.bm-member-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;transition:all .2s}.bm-member-card.expanded{border-color:#0ea5e9;box-shadow:0 4px 12px #0ea5e91a}.bm-member-card-header{display:flex;justify-content:space-between;align-items:center;padding:16px;cursor:pointer;background:#f8fafc;transition:background .2s}.bm-member-card-header:hover{background:#f1f5f9}.bm-member-info{display:flex;align-items:center;gap:12px;flex:1}.bm-member-avatar{width:40px;height:40px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:16px;flex-shrink:0}.bm-member-details h5{margin:0 0 4px;font-size:16px;font-weight:600;color:#1e293b;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.bm-member-id{font-size:12px;font-weight:400;color:#64748b;background:#f1f5f9;padding:2px 8px;border-radius:12px}.bm-member-meta{display:flex;gap:16px;font-size:12px;color:#64748b;flex-wrap:wrap}.bm-member-meta span{display:flex;align-items:center;gap:4px}.bm-member-status{display:flex;align-items:center;gap:12px}.bm-status-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border-radius:20px;font-size:12px;font-weight:500}.bm-member-actions{display:flex;align-items:center;gap:8px}.bm-member-expanded{padding:20px;background:#fff;border-top:1px solid #e2e8f0}.bm-expanded-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px;margin-bottom:20px}.bm-detail-section h6{font-size:14px;font-weight:600;color:#475569;margin:0 0 12px;text-transform:uppercase;letter-spacing:.5px}.bm-detail-row{display:flex;justify-content:space-between;align-items:center;font-size:14px;padding:4px 0}.bm-detail-row span{color:#64748b}.bm-detail-row strong{color:#1e293b;font-weight:500}.bm-guarantors-section{margin-top:20px;padding-top:20px;border-top:1px solid #e2e8f0}.bm-guarantors-section h6{font-size:14px;font-weight:600;color:#475569;margin:0 0 12px}.bm-guarantors-list{display:flex;flex-direction:column;gap:12px}.bm-guarantor-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:16px}.bm-guarantor-header{display:flex;align-items:center;gap:12px;margin-bottom:12px}.bm-guarantor-avatar{width:32px;height:32px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:14px}.bm-guarantor-info{display:flex;flex-direction:column;gap:2px}.bm-guarantor-info strong{font-size:14px;font-weight:600;color:#1e293b}.bm-guarantor-info span{font-size:13px;color:#64748b}.bm-guarantor-details{display:flex;gap:16px;font-size:13px;color:#64748b}.bm-loan-info-section{margin-top:20px;padding-top:20px;border-top:1px solid #e2e8f0}.bm-loan-info-section h6{font-size:14px;font-weight:600;color:#475569;margin:0 0 12px}.bm-loan-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.bm-loan-info-item{display:flex;flex-direction:column;gap:4px}.bm-loan-info-item span{font-size:13px;color:#64748b}.bm-loan-info-item strong{font-size:14px;font-weight:500;color:#1e293b}.status-active{color:#1e40af}.status-completed{color:#166534}.status-defaulted{color:#dc2626}.bm-timeline-container{display:flex;flex-direction:column;gap:24px;position:relative;padding-left:24px}.bm-timeline-event{display:flex;gap:16px;position:relative}.bm-timeline-event-icon{display:flex;flex-direction:column;align-items:center;flex-shrink:0}.bm-timeline-icon-circle{width:32px;height:32px;background:#fff;border:2px solid #0ea5e9;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#0ea5e9;z-index:2}.bm-timeline-connector{width:2px;flex:1;background:#e2e8f0;margin-top:8px}.bm-timeline-event-content{flex:1;padding-bottom:8px}.bm-timeline-event-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px;flex-wrap:wrap;gap:8px}.bm-timeline-event-header h5{font-size:16px;font-weight:600;color:#1e293b;margin:0}.bm-timeline-event-date{font-size:13px;color:#64748b;white-space:nowrap}.bm-timeline-event-description{margin:0;font-size:14px;color:#64748b;line-height:1.5}.bm-export-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:24px}.bm-export-header{margin-bottom:20px}.bm-export-header h4{font-size:18px;font-weight:600;color:#1e293b;margin:0 0 4px}.bm-export-header p{margin:0;color:#64748b;font-size:14px}.bm-export-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}.bm-export-option-btn{display:flex;align-items:center;gap:16px;padding:20px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;cursor:pointer;transition:all .2s;text-align:left;width:100%}.bm-export-option-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.bm-export-option-btn.excel{border-color:#059669}.bm-export-option-btn.excel:hover{background:#f0fdf4;border-color:#10b981}.bm-export-option-btn.summary:hover{background:#f8fafc;border-color:#cbd5e1}.bm-export-option-btn svg:first-child{flex-shrink:0}.bm-export-option-btn.excel svg:first-child{color:#059669}.bm-export-option-btn div{flex:1}.bm-export-option-btn strong{display:block;font-size:16px;font-weight:600;color:#1e293b;margin-bottom:4px}.bm-export-option-btn span{display:block;font-size:14px;color:#64748b}@media (max-width: 768px){.bm-history-modal{max-width:calc(100vw - 32px);margin:16px}.bm-status-content{flex-direction:column;align-items:flex-start}.bm-detail-tabs{flex-direction:column}.bm-quick-stats-grid{grid-template-columns:repeat(2,1fr)}.bm-members-header,.bm-members-filters{flex-direction:column;align-items:stretch}.bm-search-box{min-width:100%}.bm-export-options{grid-template-columns:1fr}}@media (max-width: 480px){.bm-quick-stats-grid,.bm-details-grid{grid-template-columns:1fr}.bm-member-meta{flex-direction:column;gap:8px}.bm-expanded-grid{grid-template-columns:1fr}.bm-guarantor-details{flex-direction:column;gap:8px}.bm-loan-info-grid{grid-template-columns:1fr}}.bm-loan-history-container{position:fixed;top:0;left:0;right:0;bottom:0;background:#f8fafc;z-index:1000;overflow-y:auto}.bm-loan-history-header{background:#fff;border-bottom:1px solid #e2e8f0;padding:1rem 1.5rem;position:sticky;top:0;z-index:100}.bm-loan-history-header-content{display:flex;justify-content:space-between;align-items:center;max-width:1400px;margin:0 auto}.bm-back-button{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:.5rem;color:#475569;cursor:pointer;font-size:.875rem;font-weight:500;transition:all .2s}.bm-back-button:hover{background:#e2e8f0;border-color:#94a3b8}.bm-header-actions{display:flex;gap:.75rem;align-items:center}.bm-action-button{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:.5rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s;border:1px solid transparent}.bm-action-button.primary{background:#3b82f6;color:#fff;border-color:#3b82f6}.bm-action-button.primary:hover{background:#2563eb;border-color:#2563eb}.bm-action-button.secondary{background:#fff;color:#475569;border:1px solid #cbd5e1}.bm-action-button.secondary:hover{background:#f8fafc;border-color:#94a3b8}.bm-loan-history-main{max-width:1400px;margin:0 auto;padding:1.5rem}.bm-application-header-card{background:#fff;border-radius:1rem;padding:1.5rem;margin-bottom:1.5rem;box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}.bm-application-header-info{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem}.bm-application-title h1{font-size:1.5rem;font-weight:600;color:#1e293b;margin-bottom:.5rem}.bm-application-meta{display:flex;gap:1rem;flex-wrap:wrap}.bm-status-badge-large{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:9999px;font-size:.875rem;font-weight:500}.bm-application-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}.bm-stat-card-large{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;padding:1rem;display:flex;justify-content:space-between;align-items:center}.bm-stat-value{font-size:1.5rem;font-weight:600;color:#1e293b;line-height:1.2}.bm-stat-label{font-size:.875rem;color:#64748b;margin-top:.25rem}.bm-stat-icon{width:3rem;height:3rem;border-radius:.75rem;display:flex;align-items:center;justify-content:center}.bm-loan-history-tabs-nav{display:flex;gap:.5rem;margin-bottom:1.5rem;overflow-x:auto;padding-bottom:.5rem}.bm-tab-button{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;color:#64748b;font-size:.875rem;font-weight:500;cursor:pointer;white-space:nowrap;transition:all .2s}.bm-tab-button:hover{background:#f8fafc;border-color:#cbd5e1}.bm-tab-button.active{background:#3b82f6;color:#fff;border-color:#3b82f6}.bm-tab-badge{background:#fff3;color:#fff;font-size:.75rem;padding:.125rem .5rem;border-radius:9999px;margin-left:.25rem}.bm-loan-tab-content-wrapper{background:#fff;border-radius:1rem;padding:1.5rem;box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}.bm-section{margin-bottom:2rem}.bm-section-title{font-size:1.125rem;font-weight:600;color:#1e293b;margin-bottom:1rem}.bm-performance-distribution{display:flex;flex-direction:column;gap:.75rem}.bm-distribution-item{display:grid;grid-template-columns:1fr auto auto;gap:1rem;align-items:center}.bm-distribution-label{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#475569}.bm-distribution-dot{width:.5rem;height:.5rem;border-radius:50%}.bm-distribution-count{font-weight:600;color:#1e293b;min-width:2rem;text-align:center}.bm-distribution-bar{flex:1;height:.5rem;background:#e2e8f0;border-radius:9999px;overflow:hidden}.bm-distribution-bar-fill{height:100%;border-radius:9999px}.bm-distribution-percentage{font-size:.875rem;color:#64748b;min-width:3rem;text-align:right}.bm-details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem}.bm-detail-card{border:1px solid #e2e8f0;border-radius:.75rem;padding:1rem}.bm-detail-card h3{font-size:1rem;font-weight:600;color:#1e293b;margin-bottom:.75rem}.bm-detail-list{display:flex;flex-direction:column;gap:.5rem}.bm-detail-item{display:flex;justify-content:space-between;align-items:center;padding:.375rem 0;border-bottom:1px solid #f1f5f9}.bm-detail-item span:first-child{color:#64748b;font-size:.875rem}.bm-detail-item strong{color:#1e293b;font-weight:500}.bm-detail-item.highlight{padding:.5rem;background:#f0f9ff;border-radius:.375rem;border:1px solid #e0f2fe}.bm-members-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;flex-wrap:wrap;gap:1rem}.bm-members-filters{display:flex;gap:1rem;align-items:center}.bm-search-box{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:#fff;border:1px solid #cbd5e1;border-radius:.5rem;min-width:300px}.bm-search-box input{border:none;outline:none;flex:1;font-size:.875rem;color:#1e293b}.bm-search-box input::placeholder{color:#94a3b8}.bm-status-filter{padding:.5rem .75rem;border:1px solid #cbd5e1;border-radius:.5rem;background:#fff;font-size:.875rem;color:#475569;cursor:pointer;min-width:150px}.bm-members-list{display:flex;flex-direction:column;gap:.75rem}.bm-member-card{border:1px solid #e2e8f0;border-radius:.75rem;overflow:hidden;transition:all .2s}.bm-member-card.expanded{border-color:#cbd5e1;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a}.bm-member-card-header{display:flex;justify-content:space-between;align-items:center;padding:1rem;cursor:pointer;background:#fff;transition:background-color .2s}.bm-member-card-header:hover{background:#f8fafc}.bm-member-info{display:flex;align-items:center;gap:1rem}.bm-member-avatar{width:2.5rem;height:2.5rem;border-radius:50%;background:#3b82f6;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:1rem}.bm-member-details h3{font-size:1rem;font-weight:600;color:#1e293b;margin-bottom:.25rem}.bm-member-id{font-size:.75rem;color:#64748b;margin-left:.5rem;font-weight:400}.bm-member-meta{display:flex;gap:1rem;flex-wrap:wrap}.bm-member-meta span{display:flex;align-items:center;gap:.25rem;font-size:.75rem;color:#64748b}.bm-member-status{display:flex;align-items:center;gap:1rem}.bm-status-badge{display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:500}.bm-member-expanded-content{padding:1rem;background:#f8fafc;border-top:1px solid #e2e8f0}.bm-expanded-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:1.5rem}.bm-detail-column h4{font-size:.875rem;font-weight:600;color:#475569;margin-bottom:.75rem}.bm-detail-column .bm-detail-list{gap:.375rem}.bm-detail-column .bm-detail-item{padding:.25rem 0;border-bottom:none;justify-content:space-between}.bm-detail-column .bm-detail-item span:first-child{color:#64748b;font-size:.75rem}.bm-detail-column .bm-detail-item span:last-child{color:#1e293b;font-size:.875rem;font-weight:500;text-align:right}.bm-guarantors-section{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e2e8f0}.bm-guarantors-section h4{font-size:.875rem;font-weight:600;color:#475569;margin-bottom:1rem}.bm-guarantors-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.bm-guarantor-card{border:1px solid #e2e8f0;border-radius:.75rem;padding:1rem;background:#fff}.bm-guarantor-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.bm-guarantor-avatar{width:2rem;height:2rem;border-radius:50%;background:#8b5cf6;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.875rem}.bm-guarantor-info strong{display:block;font-size:.75rem;color:#64748b;margin-bottom:.125rem}.bm-guarantor-info span{font-size:.875rem;color:#1e293b;font-weight:500}.bm-guarantor-details{display:flex;flex-direction:column;gap:.25rem;font-size:.75rem;color:#64748b}.bm-guarantor-details span{display:flex;align-items:center;gap:.25rem}.bm-timeline-container{position:relative;padding-left:1.5rem}.bm-timeline-event{position:relative;margin-bottom:2rem}.bm-timeline-event:last-child{margin-bottom:0}.bm-timeline-event-icon{position:absolute;left:-1.5rem}.bm-timeline-icon-circle{width:2.5rem;height:2.5rem;border-radius:50%;border:2px solid;display:flex;align-items:center;justify-content:center;background:#fff;z-index:1}.bm-timeline-connector{position:absolute;left:1.25rem;top:2.5rem;bottom:-2rem;width:2px;background:#e2e8f0}.bm-timeline-event-content{margin-left:2rem}.bm-timeline-event-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.5rem}.bm-timeline-event-header h3{font-size:1rem;font-weight:600;color:#1e293b}.bm-timeline-event-date{font-size:.75rem;color:#64748b}.bm-timeline-event-description{font-size:.875rem;color:#475569;line-height:1.5}.bm-documents-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem}.bm-document-card{border:1px solid #e2e8f0;border-radius:.75rem;padding:1.5rem;display:flex;flex-direction:column;gap:1rem;background:#fff}.bm-document-icon{width:3rem;height:3rem;border-radius:.75rem;display:flex;align-items:center;justify-content:center;background:#f8fafc}.bm-document-info h3{font-size:1rem;font-weight:600;color:#1e293b;margin-bottom:.25rem}.bm-document-info p{font-size:.875rem;color:#64748b;line-height:1.5}.bm-download-button{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem 1rem;background:#3b82f6;color:#fff;border:none;border-radius:.5rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .2s}.bm-download-button:hover{background:#2563eb}.bm-loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;color:#64748b}.bm-spinner{animation:spin 1s linear infinite;color:#3b82f6;margin-bottom:1rem}.bm-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;text-align:center;color:#64748b}.bm-empty-state h3{font-size:1.125rem;font-weight:600;color:#475569;margin-bottom:.5rem}@media (max-width: 768px){.bm-loan-history-header-content{flex-direction:column;gap:1rem;align-items:stretch}.bm-header-actions{justify-content:flex-end}.bm-application-header-info{flex-direction:column;gap:1rem}.bm-application-stats{grid-template-columns:repeat(2,1fr)}.bm-members-header,.bm-members-filters{flex-direction:column;align-items:stretch}.bm-search-box{min-width:auto}.bm-expanded-grid,.bm-details-grid,.bm-documents-grid{grid-template-columns:1fr}.bm-member-info{flex-direction:column;align-items:flex-start;gap:.5rem}.bm-member-meta{flex-direction:column;gap:.25rem}.bm-member-status{width:100%;justify-content:space-between}.bm-timeline-event-header{flex-direction:column;align-items:flex-start;gap:.25rem}}@media (max-width: 480px){.bm-loan-history-main{padding:1rem}.bm-application-stats{grid-template-columns:1fr}.bm-tab-button{padding:.5rem .75rem;font-size:.75rem}.bm-stat-card-large{flex-direction:column;text-align:center;gap:.75rem}.bm-stat-icon{width:2.5rem;height:2.5rem}.bm-distribution-item{grid-template-columns:1fr;gap:.5rem}.bm-distribution-bar{order:3}.bm-distribution-percentage{text-align:left}}@media print{.bm-loan-history-header,.bm-header-actions,.bm-loan-history-tabs-nav,.bm-download-button{display:none!important}.bm-loan-history-container{position:static;overflow:visible}.bm-loan-history-main{max-width:none;padding:0}.bm-application-header-card,.bm-loan-tab-content-wrapper{box-shadow:none;border:1px solid #e2e8f0;page-break-inside:avoid}.bm-member-card{page-break-inside:avoid}.bm-member-card.expanded{border:1px solid #e2e8f0}.bm-member-expanded-content{display:block!important}}.bm-loan-history-modal{max-width:1200px;width:95%;max-height:90vh}.bm-modal-header-content{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.bm-modal-subtitle{margin:4px 0 0;color:#64748b;font-size:14px;display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.bm-modal-actions{display:flex;gap:.5rem;align-items:center}.bm-action-btn{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:.5rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s;border:1px solid transparent}.bm-action-btn.primary{background:#3b82f6;color:#fff;border-color:#3b82f6}.bm-action-btn.primary:hover{background:#2563eb;border-color:#2563eb}.bm-action-btn.secondary{background:#fff;color:#475569;border:1px solid #cbd5e1}.bm-action-btn.secondary:hover{background:#f8fafc;border-color:#94a3b8}.bm-action-btn.print{background:#f1f5f9;color:#475569;border:1px solid #cbd5e1}.bm-action-btn.print:hover{background:#e2e8f0}.bm-status-banner{background:#f8fafc;border-radius:.75rem;padding:1rem;margin-bottom:1.5rem}.bm-status-content{display:flex;justify-content:space-between;align-items:center;gap:1rem}.bm-status-info{display:flex;align-items:center;gap:.75rem}.bm-status-details{font-size:.75rem;color:#64748b;margin-top:.25rem}.bm-detail-tabs{display:flex;gap:.25rem;border-bottom:1px solid #e2e8f0;margin-bottom:1.5rem;overflow-x:auto}.bm-detail-tab{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:transparent;border:none;color:#64748b;font-size:.875rem;font-weight:500;cursor:pointer;white-space:nowrap;border-bottom:2px solid transparent;transition:all .2s}.bm-detail-tab:hover{color:#3b82f6}.bm-detail-tab.active{color:#3b82f6;border-bottom-color:#3b82f6;background:#eff6ff}.bm-detail-content{overflow-y:auto;max-height:calc(90vh - 300px);padding-right:.5rem}@media (max-width: 768px){.bm-modal-header-content{flex-direction:column;gap:1rem}.bm-modal-actions{width:100%;justify-content:flex-end}.bm-status-content{flex-direction:column;align-items:stretch;gap:1rem}.bm-detail-tabs{flex-wrap:wrap}.bm-detail-content{max-height:calc(90vh - 350px)}}.bm-modal-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;color:#64748b}.bm-modal-loading .spinner{animation:spin 1s linear infinite;color:#3b82f6;margin-bottom:1rem}.bm-loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;color:#64748b}.bm-loading-container .spinner{animation:spin 1s linear infinite;color:#3b82f6;margin-bottom:1rem}.bm-member-history-container{width:100%;min-height:100vh;background-color:#f8fafc}.bm-history-header{background:#fff;border-bottom:1px solid #e2e8f0;padding:1rem 1.5rem;position:sticky;top:0;z-index:50}.bm-history-header-content{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center}.bm-back-button{display:flex;align-items:center;gap:.5rem;background:none;border:none;color:#64748b;font-size:.875rem;font-weight:500;cursor:pointer;padding:.5rem;border-radius:.375rem;transition:background-color .2s}.bm-back-button:hover{background-color:#f1f5f9;color:#334155}.bm-header-actions{display:flex;gap:.5rem}.bm-action-button{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:.375rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s;border:1px solid transparent}.bm-action-button.primary{background-color:#0ea5e9;color:#fff;border-color:#0ea5e9}.bm-action-button.primary:hover{background-color:#0284c7;border-color:#0284c7}.bm-action-button.secondary{background-color:#fff;color:#64748b;border-color:#cbd5e1}.bm-action-button.secondary:hover{background-color:#f8fafc;color:#334155;border-color:#94a3b8}.bm-history-main{max-width:1200px;margin:0 auto;padding:1.5rem}.bm-profile-overview{background:#fff;border-radius:.75rem;border:1px solid #e2e8f0;padding:1.5rem;margin-bottom:1.5rem;box-shadow:0 1px 3px #0000001a}.bm-profile-header{display:flex;align-items:flex-start;gap:1.5rem;margin-bottom:1.5rem}.bm-profile-avatar-large{display:flex;flex-direction:column;align-items:center;gap:.5rem}.bm-avatar-circle{width:5rem;height:5rem;border-radius:50%;background:linear-gradient(135deg,#0ea5e9,#0284c7);display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:700;color:#fff}.bm-profile-status-indicator{display:flex;align-items:center;gap:.375rem;font-size:.75rem;font-weight:500}.bm-status-dot{width:.5rem;height:.5rem;border-radius:50%}.bm-profile-info{flex:1}.bm-member-name{font-size:1.875rem;font-weight:700;color:#1e293b;margin:0 0 .5rem}.bm-profile-meta{display:flex;flex-wrap:wrap;gap:1rem;margin-top:.5rem}.bm-meta-item{display:flex;align-items:center;gap:.375rem;font-size:.875rem;color:#64748b}.bm-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-top:1.5rem}.bm-stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;padding:1rem;display:flex;justify-content:space-between;align-items:center;transition:all .2s}.bm-stat-card:hover{border-color:#cbd5e1;box-shadow:0 2px 4px #0000000d}.bm-stat-content{flex:1}.bm-stat-value{font-size:1.875rem;font-weight:700;margin-bottom:.25rem}.bm-stat-label{font-size:.875rem;color:#64748b;margin-bottom:.25rem}.bm-stat-subtitle{font-size:.75rem;color:#94a3b8}.bm-stat-icon{width:2.5rem;height:2.5rem;border-radius:.5rem;display:flex;align-items:center;justify-content:center}.bm-history-tabs-nav{display:flex;gap:.5rem;background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;padding:.25rem;margin-bottom:1.5rem;overflow-x:auto}.bm-tab-button{display:flex;align-items:center;gap:.5rem;padding:.625rem 1rem;background:none;border:none;border-radius:.375rem;font-size:.875rem;font-weight:500;color:#64748b;cursor:pointer;white-space:nowrap;transition:all .2s}.bm-tab-button:hover{background-color:#f1f5f9;color:#334155}.bm-tab-button.active{background-color:#0ea5e9;color:#fff}.bm-tab-badge{background-color:#ef4444;color:#fff;font-size:.75rem;padding:.125rem .375rem;border-radius:9999px;margin-left:.25rem}.bm-tab-content-wrapper{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;overflow:hidden}.bm-section{padding:1.5rem;border-bottom:1px solid #f1f5f9}.bm-section:last-child{border-bottom:none}.bm-section-title{font-size:1.25rem;font-weight:600;color:#1e293b;margin:0 0 1rem}.bm-savings-breakdown{margin-top:1rem}.bm-savings-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;padding:1.5rem}.bm-savings-header h3{font-size:1.25rem;font-weight:600;color:#1e293b;margin:0 0 1rem}.bm-savings-breakdown-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;margin-bottom:1.5rem}.bm-savings-category h4{font-size:1rem;font-weight:600;color:#334155;margin:0 0 .75rem;padding-bottom:.5rem;border-bottom:1px solid #e2e8f0}.bm-savings-component{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem;padding:.5rem;background:#fff;border-radius:.375rem;border:1px solid #f1f5f9}.bm-component-label{font-size:.875rem;color:#64748b}.bm-component-value{font-size:.875rem;font-weight:600;color:#1e293b}.bm-component-percentage{font-size:.75rem;color:#94a3b8;background:#f1f5f9;padding:.125rem .375rem;border-radius:.25rem}.bm-savings-summary{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;padding:1rem}.bm-summary-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem;border-bottom:1px solid #f1f5f9}.bm-summary-item:last-child{border-bottom:none}.bm-summary-item.total{background:#f0f9ff;border-radius:.375rem;margin-top:.5rem}.bm-summary-value{font-size:.875rem;font-weight:600;color:#1e293b}.bm-summary-item.total .bm-summary-label{font-weight:600;color:#0369a1}.bm-summary-item.total .bm-summary-value{font-size:1rem;font-weight:700;color:#0c4a6e}.bm-performance-card{border-radius:.75rem;padding:1.5rem;margin-bottom:1rem}.bm-performance-score-display{display:flex;align-items:center;gap:2rem}.bm-circular-progress{position:relative;width:8rem;height:8rem}.bm-progress-circle{width:100%;height:100%;border-radius:50%;position:relative}.bm-progress-inner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:6rem;height:6rem;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}.bm-progress-value{font-size:2rem;font-weight:700;color:#1e293b}.bm-progress-label{font-size:.875rem;color:#64748b}.bm-performance-details{flex:1}.bm-rating-display{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.bm-rating-label{font-size:1rem;font-weight:600}.bm-performance-description{color:#64748b;margin:.5rem 0 1rem}.bm-performance-factors{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:.75rem;margin-top:1rem}.bm-factor{display:flex;justify-content:space-between;align-items:center;padding:.75rem;background:#fff;border-radius:.375rem;border:1px solid #e2e8f0}.bm-factor-label{font-size:.875rem;color:#64748b}.bm-factor-value{font-size:.875rem;font-weight:600;color:#1e293b;text-align:right}.bm-registration-summary{background:#f0f9ff;border:1px solid #7dd3fc;border-radius:.5rem;padding:1rem;margin-bottom:1.5rem}.bm-registration-summary h4{font-size:1rem;font-weight:600;color:#0369a1;margin:0 0 .75rem}.bm-registration-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.bm-registration-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem;background:#fff;border-radius:.375rem;border:1px solid #bae6fd}.bm-registration-item.total{background:#e0f2fe;border-color:#38bdf8;font-weight:600}.bm-registration-summary-compact{background:#f0f9ff;border:1px solid #7dd3fc;border-radius:.5rem;padding:.75rem;margin-bottom:1rem}.bm-registration-summary-compact .bm-registration-item{padding:.5rem;margin-bottom:.5rem;font-size:.875rem}.bm-registration-summary-compact .bm-registration-item:last-child{margin-bottom:0}.bm-loan-request-card{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;padding:1.5rem}.bm-loan-request-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #f1f5f9}.bm-loan-request-header h3{font-size:1.125rem;font-weight:600;color:#1e293b;margin:0}.bm-loan-status{font-size:.75rem;font-weight:600;padding:.25rem .75rem;border-radius:9999px;text-transform:uppercase}.bm-loan-status.pending{background-color:#fef3c7;color:#d97706;border:1px solid #fbbf24}.bm-loan-request-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.bm-loan-amount-item{padding:1rem;background:#f8fafc;border-radius:.375rem;border:1px solid #e2e8f0}.bm-loan-amount-item.highlight{background:#dbeafe;border-color:#93c5fd}.bm-loan-label{display:block;font-size:.875rem;color:#64748b;margin-bottom:.5rem}.bm-loan-value{display:block;font-size:1.25rem;font-weight:600;color:#1e293b}.bm-loan-performance-card{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;padding:1.5rem}.bm-loan-performance-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid #f1f5f9}.bm-loan-performance-header h3{font-size:1.125rem;font-weight:600;color:#1e293b;margin:0}.bm-loan-performance-rating{display:flex;align-items:center;gap:.5rem}.bm-rating-label{font-size:.875rem;color:#64748b}.bm-rating-value{font-size:1rem;font-weight:600}.bm-loan-performance-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.bm-performance-metric{padding:1rem;background:#f8fafc;border-radius:.375rem;border:1px solid #e2e8f0}.bm-metric-label{display:block;font-size:.875rem;color:#64748b;margin-bottom:.5rem}.bm-metric-value{display:block;font-size:1rem;font-weight:600;color:#1e293b}.bm-guarantors-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem;margin-top:1rem}.bm-guarantor-card{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;overflow:hidden}.bm-guarantor-header{display:flex;justify-content:space-between;align-items:center;padding:1rem;cursor:pointer;transition:background-color .2s}.bm-guarantor-header:hover{background-color:#f8fafc}.bm-guarantor-avatar{display:flex;align-items:center;gap:.75rem}.bm-guarantor-avatar-circle{width:2.5rem;height:2.5rem;border-radius:50%;background:linear-gradient(135deg,#8b5cf6,#7c3aed);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600}.bm-guarantor-info{flex:1}.bm-guarantor-info h4{font-size:1rem;font-weight:600;color:#1e293b;margin:0 0 .25rem}.bm-guarantor-role{font-size:.75rem;color:#64748b;background:#f1f5f9;padding:.125rem .375rem;border-radius:.25rem;display:inline-block}.bm-guarantor-savings{font-size:.875rem;color:#059669;font-weight:500;margin-top:.25rem}.bm-expand-icon{transition:transform .2s}.bm-guarantor-details{padding:1rem;background-color:#f8fafc;border-top:1px solid #e2e8f0}.bm-detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem}.bm-detail-item{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#64748b}.bm-recommendation-box{border-radius:.75rem;padding:1.5rem;display:flex;gap:1.5rem;align-items:flex-start}.bm-recommendation-box.approve{background-color:#f0fdf4;border:1px solid #bbf7d0}.bm-recommendation-box.review{background-color:#fffbeb;border:1px solid #fde68a}.bm-recommendation-box.reject{background-color:#fef2f2;border:1px solid #fecaca}.bm-recommendation-icon{flex-shrink:0}.bm-recommendation-content{flex:1}.bm-recommendation-title{font-size:1.25rem;font-weight:700;margin:0 0 .75rem}.bm-recommendation-box.approve .bm-recommendation-title{color:#059669}.bm-recommendation-box.review .bm-recommendation-title{color:#d97706}.bm-recommendation-box.reject .bm-recommendation-title{color:#dc2626}.bm-recommendation-text{color:#475569;margin:0 0 1rem;line-height:1.6}.bm-risk-factors{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;margin-top:1rem}.bm-risk-factor{display:flex;justify-content:space-between;align-items:center;padding:.75rem;background:#fff;border-radius:.375rem}.bm-risk-label{font-size:.875rem;color:#64748b}.bm-risk-value{font-size:.875rem;font-weight:600}.bm-summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin-bottom:1.5rem}.bm-summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;padding:1rem;text-align:center}.bm-summary-value{font-size:1.5rem;font-weight:700;color:#0ea5e9;margin-bottom:.25rem}.bm-summary-label{font-size:.875rem;color:#64748b}.bm-transactions-list{display:flex;flex-direction:column;gap:1rem}.bm-transaction-item{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;padding:1rem;transition:all .2s}.bm-transaction-item:hover{border-color:#cbd5e1;box-shadow:0 2px 4px #0000000d}.bm-transaction-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid #f1f5f9}.bm-transaction-date{display:flex;align-items:center;gap:.5rem;font-size:.875rem;font-weight:600;color:#1e293b}.bm-attendance-status{display:flex;align-items:center;gap:.375rem;font-size:.75rem;font-weight:500;padding:.25rem .5rem;border-radius:.25rem}.bm-attendance-status.present{background-color:#dcfce7;color:#166534}.bm-attendance-status.absent{background-color:#fee2e2;color:#dc2626}.bm-transaction-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem}.bm-detail-row{display:flex;justify-content:space-between;align-items:center;padding:.5rem;background:#f8fafc;border-radius:.375rem}.bm-detail-row.total-row{background:#e0f2fe;border:1px solid #7dd3fc;grid-column:1 / -1}.bm-detail-label{font-size:.875rem;color:#64748b}.bm-detail-value{font-size:.875rem;font-weight:600}.bm-detail-value.positive{color:#059669}.bm-detail-value.negative{color:#dc2626}.bm-detail-value.neutral{color:#6b7280}.bm-detail-value.excellent{color:#10b981}.bm-detail-value.good{color:#3b82f6}.bm-detail-value.poor{color:#ef4444}.bm-detail-value.total{color:#0c4a6e;font-size:1rem}.bm-shares-badge{font-size:.625rem;background-color:#10b981;color:#fff;padding:.125rem .375rem;border-radius:.25rem;margin-left:.5rem}.bm-transaction-notes{margin-top:.75rem;padding-top:.75rem;border-top:1px solid #f1f5f9;font-size:.875rem}.bm-notes-label{font-weight:600;color:#64748b;margin-right:.5rem}.bm-notes-text{color:#475569}.bm-loan-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:1.5rem}.bm-loan-summary-item{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;padding:1rem;text-align:center}.bm-loans-list{display:flex;flex-direction:column;gap:1rem}.bm-loan-item{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;overflow:hidden}.bm-loan-header{display:flex;justify-content:space-between;align-items:center;padding:1rem;cursor:pointer;transition:background-color .2s}.bm-loan-header:hover{background-color:#f8fafc}.bm-loan-info{flex:1}.bm-loan-title{font-size:1.125rem;font-weight:600;color:#1e293b;margin:0 0 .25rem}.bm-loan-meta{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#64748b}.bm-loan-actions{display:flex;align-items:center;gap:1rem}.bm-loan-details{padding:1rem;background-color:#f8fafc;border-top:1px solid #e2e8f0}.bm-loan-details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:1rem}.bm-detail-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem;background:#fff;border-radius:.375rem;border:1px solid #e2e8f0}.bm-progress-percentage{font-size:.75rem;color:#94a3b8;margin-left:.5rem}.bm-loan-notes{padding:.75rem;background:#fff;border-radius:.375rem;border:1px solid #e2e8f0;font-size:.875rem}.bm-empty-state{text-align:center;padding:3rem 1.5rem;color:#64748b}.bm-empty-state svg{margin-bottom:1rem;color:#cbd5e1}.bm-empty-state h3{font-size:1.25rem;color:#1e293b;margin:0 0 .5rem}.bm-empty-state p{margin:0}.bm-loading-state{text-align:center;padding:3rem 1.5rem;color:#64748b}.bm-spinner{animation:spin 1s linear infinite;margin-bottom:1rem;color:#0ea5e9}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.bm-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.bm-member-history-modal{background:#fff;border-radius:.75rem;width:100%;max-width:600px;max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.bm-modal-header{padding:1.25rem 1.5rem;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:flex-start}.bm-modal-header h3{font-size:1.25rem;font-weight:600;color:#1e293b;margin:0 0 .25rem}.bm-modal-subtitle{font-size:.875rem;color:#64748b;margin:0}.bm-modal-close{background:none;border:none;color:#94a3b8;cursor:pointer;padding:.25rem;border-radius:.25rem;transition:background-color .2s}.bm-modal-close:hover{background-color:#f1f5f9;color:#64748b}.bm-modal-content{flex:1;overflow-y:auto;padding:1.5rem}.bm-quick-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-bottom:1.5rem}.bm-quick-stats .bm-stat{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;padding:1rem;text-align:center}.bm-quick-stats .bm-stat-value{font-size:1.25rem;font-weight:700;color:#0ea5e9;margin-bottom:.25rem}.bm-quick-stats .bm-stat-label{font-size:.75rem;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.bm-simple-tabs{display:flex;gap:.25rem;background:#f1f5f9;border-radius:.5rem;padding:.25rem;margin-bottom:1.5rem}.bm-simple-tab{flex:1;text-align:center;padding:.5rem;background:none;border:none;border-radius:.375rem;font-size:.875rem;font-weight:500;color:#64748b;cursor:pointer;transition:all .2s}.bm-simple-tab:hover{background:#fff;color:#334155}.bm-simple-tab.active{background:#fff;color:#0ea5e9;box-shadow:0 1px 3px #0000001a}.bm-simple-content{min-height:200px}.bm-performance-summary{display:flex;align-items:center;gap:1.5rem;margin-bottom:1.5rem}.bm-score-circle-small{position:relative;width:5rem;height:5rem}.bm-small-progress{width:100%;height:100%;border-radius:50%;position:relative}.bm-small-progress span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:1.25rem;font-weight:700;color:#1e293b}.bm-score-label{text-align:center;font-size:.75rem;font-weight:600;color:#64748b;margin-top:.25rem}.bm-financial-summary{flex:1}.bm-financial-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #f1f5f9}.bm-financial-item:last-child{border-bottom:none}.bm-financial-item.total{font-weight:600;color:#1e293b}.bm-financial-item.loan-request{background:#f0f9ff;border-radius:.375rem;padding:.5rem;margin-top:.5rem;border:1px solid #bae6fd}.bm-activity-list-compact{display:flex;flex-direction:column;gap:.75rem}.bm-activity-item-compact{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;padding:.75rem}.bm-activity-date{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;font-size:.875rem;font-weight:600;color:#1e293b}.bm-activity-status{font-size:.75rem;padding:.125rem .375rem;border-radius:.25rem}.bm-activity-status.present{background-color:#dcfce7;color:#166534}.bm-activity-status.absent{background-color:#fee2e2;color:#dc2626}.bm-activity-details{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:#64748b}.bm-activity-total{font-weight:600;color:#0ea5e9}.bm-loans-list-compact{display:flex;flex-direction:column;gap:.75rem}.bm-loan-item-compact{display:flex;align-items:center;gap:1rem;padding:.75rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem}.bm-loan-amount{font-size:1rem;font-weight:600;color:#1e293b;flex:1}.bm-loan-details{font-size:.75rem;color:#64748b;display:flex;align-items:center;gap:.5rem;flex:2}.bm-loan-status{font-size:.75rem;font-weight:600;padding:.25rem .5rem;border-radius:.25rem;text-transform:uppercase}.bm-loan-status.active{background-color:#dcfce7;color:#166534}.bm-loan-status.paid{background-color:#dbeafe;color:#1e40af}.bm-loan-status.defaulted{background-color:#fee2e2;color:#dc2626}.bm-loan-status.pending{background-color:#fef3c7;color:#d97706}.bm-loading,.bm-no-data{text-align:center;padding:2rem;color:#64748b;font-size:.875rem}.bm-modal-actions{display:flex;justify-content:flex-end;gap:.75rem;padding:1.25rem 1.5rem;border-top:1px solid #e2e8f0;background:#fff}@media (max-width: 768px){.bm-history-main{padding:1rem}.bm-profile-header{flex-direction:column;align-items:center;text-align:center}.bm-profile-meta{justify-content:center}.bm-stats-grid{grid-template-columns:1fr}.bm-performance-score-display{flex-direction:column;text-align:center;gap:1.5rem}.bm-performance-factors,.bm-savings-breakdown-details{grid-template-columns:1fr}.bm-quick-stats{grid-template-columns:repeat(3,1fr)}.bm-performance-summary{flex-direction:column;text-align:center}.bm-transaction-details,.bm-loan-details-grid{grid-template-columns:1fr}}@media (max-width: 480px){.bm-history-tabs-nav{flex-direction:column}.bm-quick-stats{grid-template-columns:1fr}.bm-modal-actions{flex-direction:column}.bm-action-button{width:100%;justify-content:center}}.bm-guarantors-section{margin-top:2rem}.bm-guarantors-section .bm-section-title{margin-bottom:1.5rem}.bm-guarantors-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:1.5rem}.bm-guarantor-card{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;overflow:hidden;transition:all .2s ease;box-shadow:0 1px 3px #0000001a}.bm-guarantor-card:hover{border-color:#cbd5e1;box-shadow:0 4px 6px #0000000d}.bm-guarantor-header{display:flex;align-items:center;gap:1rem;padding:1.25rem;cursor:pointer;background:#f8fafc;border-bottom:1px solid #e2e8f0}.bm-guarantor-avatar{display:flex;align-items:center;gap:.75rem;flex:1}.bm-guarantor-avatar-circle{width:3rem;height:3rem;border-radius:50%;background:linear-gradient(135deg,#8b5cf6,#7c3aed);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:1.125rem;flex-shrink:0}.bm-guarantor-info{flex:1;min-width:0}.bm-guarantor-name{font-size:1.125rem;font-weight:600;color:#1e293b;margin:0 0 .25rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bm-guarantor-badges{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.25rem}.bm-guarantor-role{font-size:.75rem;font-weight:600;padding:.25rem .625rem;border-radius:9999px;text-transform:uppercase;letter-spacing:.05em;background-color:#dbeafe;color:#1e40af;border:1px solid #93c5fd}.bm-guarantor-performance{font-size:.75rem;font-weight:600;padding:.25rem .625rem;border-radius:9999px;background-color:#f0fdf4;color:#166534;border:1px solid #86efac}.bm-guarantor-savings{font-size:.875rem;font-weight:600;color:#059669;margin-top:.25rem;display:flex;align-items:center;gap:.25rem}.bm-expand-button{background:none;border:none;color:#94a3b8;cursor:pointer;padding:.5rem;border-radius:.375rem;transition:all .2s;display:flex;align-items:center;justify-content:center}.bm-expand-button:hover{background-color:#e2e8f0;color:#64748b}.bm-expand-icon{transition:transform .2s ease}.bm-expand-icon.expanded{transform:rotate(180deg)}.bm-guarantor-details{padding:1.25rem;background-color:#f8fafc;border-top:1px solid #e2e8f0;animation:slideDown .2s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.bm-details-title{font-size:.875rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em;margin:0 0 1rem;padding-bottom:.5rem;border-bottom:1px solid #e2e8f0}.bm-details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.bm-detail-group{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;padding:1rem}.bm-detail-group-title{font-size:.875rem;font-weight:600;color:#475569;margin:0 0 .75rem;display:flex;align-items:center;gap:.5rem}.bm-detail-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #f1f5f9}.bm-detail-item:last-child{border-bottom:none}.bm-detail-label{font-size:.875rem;color:#64748b;display:flex;align-items:center;gap:.375rem}.bm-detail-value{font-size:.875rem;font-weight:600;color:#1e293b;text-align:right}.bm-detail-value.highlight{color:#059669}.bm-detail-value.warning{color:#d97706}.bm-savings-breakdown-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-top:.75rem}.bm-savings-item{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;padding:.75rem}.bm-savings-label{font-size:.75rem;color:#64748b;margin-bottom:.25rem}.bm-savings-value{font-size:.875rem;font-weight:600;color:#1e293b}.bm-total-savings{grid-column:1 / -1;background:#f0f9ff;border-color:#7dd3fc;display:flex;justify-content:space-between;align-items:center;padding:1rem}.bm-total-label{font-size:.875rem;font-weight:600;color:#0369a1}.bm-total-value{font-size:1rem;font-weight:700;color:#0c4a6e}.bm-performance-score{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;margin-top:.75rem}.bm-score-circle{position:relative;width:2.5rem;height:2.5rem;flex-shrink:0}.bm-score-progress{width:100%;height:100%;border-radius:50%;position:relative}.bm-score-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:.75rem;font-weight:700}.bm-score-info{flex:1}.bm-score-label{font-size:.75rem;color:#64748b;margin-bottom:.125rem}.bm-score-rating{font-size:.875rem;font-weight:600;color:#1e293b}.bm-registration-status{padding:.75rem;background:#fffbeb;border:1px solid #fbbf24;border-radius:.5rem;margin-top:.75rem}.bm-registration-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.bm-registration-title{font-size:.875rem;font-weight:600;color:#92400e}.bm-registration-details{display:flex;justify-content:space-between;align-items:center}.bm-paid-amount{font-size:.875rem;color:#92400e}.bm-balance-amount{font-size:.875rem;font-weight:600;color:#dc2626}@media (max-width: 768px){.bm-guarantors-grid,.bm-details-grid,.bm-savings-breakdown-grid{grid-template-columns:1fr}.bm-guarantor-header{flex-direction:column;align-items:stretch;gap:.75rem}.bm-guarantor-avatar{justify-content:center;text-align:center}.bm-expand-button{align-self:flex-end}}@media (max-width: 480px){.bm-guarantor-card{margin:0 -1rem;border-radius:0;border-left:none;border-right:none}}.responsive-modal{max-width:95vw!important;margin:1rem;padding:0;overflow:hidden}@media (min-width: 768px){.responsive-modal{max-width:1200px!important;margin:2rem auto}}.responsive-content{padding:1rem}@media (min-width: 768px){.responsive-content{padding:1.5rem}}.bm-journey-section{margin-bottom:1.5rem}.section-title{font-size:1.125rem;font-weight:600;margin-bottom:1rem;color:#374151}.journey-stages-desktop{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;padding:1rem 0}.journey-stage{position:relative}.stage-header{display:flex;align-items:center;margin-bottom:.75rem}.stage-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;border:2px solid;position:relative;z-index:2}.stage-icon.completed{background-color:#f0fdf4!important;border-color:#10b981!important}.stage-icon.current{background-color:#eff6ff!important;border-color:#3b82f6!important;animation:pulse 2s infinite}@keyframes pulse{0%,to{box-shadow:0 0 #3b82f680}50%{box-shadow:0 0 0 8px #3b82f600}}.stage-connector{position:absolute;left:calc(50% + 24px);right:-50%;top:24px;height:2px;background-color:#e5e7eb}.connector-line.completed{background-color:#10b981}.connector-line.current{background-color:#3b82f6;animation:pulse-line 2s infinite}@keyframes pulse-line{0%,to{background-color:#3b82f6}50%{background-color:#93c5fd}}.stage-content{text-align:center}.stage-title{font-size:.875rem;font-weight:600;margin-bottom:.25rem;color:#374151}.stage-description{font-size:.75rem;color:#6b7280;margin-bottom:.5rem;line-height:1.2}.stage-date,.stage-user,.stage-notes{display:flex;align-items:center;gap:.25rem;font-size:.75rem;color:#9ca3af;margin-top:.25rem}.stage-notes{background-color:#f9fafb;padding:.25rem .5rem;border-radius:.375rem;margin-top:.5rem;max-height:60px;overflow-y:auto}.journey-stages-mobile{display:flex;flex-direction:column;gap:.75rem}.journey-stage-mobile{background-color:#fff;border-radius:.75rem;padding:1rem;box-shadow:0 1px 3px #0000001a;border:1px solid #e5e7eb}.journey-stage-mobile.completed{border-color:#10b981}.journey-stage-mobile.current{border-color:#3b82f6;animation:pulse-border 2s infinite}@keyframes pulse-border{0%,to{border-color:#3b82f6}50%{border-color:#93c5fd}}.mobile-stage-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}.mobile-stage-left{display:flex;align-items:center;gap:.75rem;flex:1}.mobile-stage-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;border:2px solid;flex-shrink:0}.mobile-stage-info{flex:1;min-width:0}.mobile-stage-title{font-size:.875rem;font-weight:600;margin-bottom:.125rem;color:#374151}.mobile-stage-description{font-size:.75rem;color:#6b7280;line-height:1.2}.mobile-stage-status{flex-shrink:0}.mobile-stage-details{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.mobile-stage-detail{display:flex;align-items:center;gap:.25rem;font-size:.75rem;color:#6b7280;background-color:#f9fafb;padding:.25rem .5rem;border-radius:.375rem}.mobile-stage-notes{margin-top:.5rem;padding-top:.5rem;border-top:1px solid #e5e7eb;font-size:.75rem;color:#6b7280;display:flex;align-items:flex-start;gap:.5rem}.responsive-subtitle{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-top:.5rem}.badge{padding:.25rem .5rem;border-radius:.375rem;font-size:.75rem;font-weight:500}.badge-group{background-color:#dbeafe;color:#1e40af}.badge-members{background-color:#dcfce7;color:#166534}.badge-amount{background-color:#fef3c7;color:#92400e}.responsive-actions{display:flex;align-items:center;gap:.5rem}.mobile-hidden{display:none}@media (min-width: 640px){.mobile-hidden{display:flex}}.mobile-only{display:flex}@media (min-width: 640px){.mobile-only{display:none}}.responsive-banner{margin:1rem 0;padding:1rem}.responsive-status{flex-direction:column;gap:1rem}@media (min-width: 640px){.responsive-status{flex-direction:row;justify-content:space-between}}.responsive-details{display:flex;flex-wrap:wrap;gap:.5rem;font-size:.75rem}.responsive-tabs{display:flex;gap:.25rem;padding:.25rem;background-color:#f9fafb;border-radius:.5rem;margin:1rem 0}.bm-detail-tab{flex:1;padding:.5rem .75rem;border-radius:.375rem;font-size:.875rem;display:flex;align-items:center;justify-content:center;gap:.5rem}@media (min-width: 640px){.bm-detail-tab{flex:none;padding:.5rem 1rem}}.tab-badge{background-color:#3b82f6;color:#fff;font-size:.75rem;padding:.125rem .375rem;border-radius:9999px;margin-left:.25rem}.responsive-stats-grid{grid-template-columns:repeat(2,1fr)!important;gap:1rem!important}@media (min-width: 640px){.responsive-stats-grid{grid-template-columns:repeat(4,1fr)!important}}.responsive-details-grid{grid-template-columns:1fr!important;gap:1rem!important}@media (min-width: 768px){.responsive-details-grid{grid-template-columns:repeat(2,1fr)!important}}.responsive-members-header{flex-direction:column;gap:1rem;margin-bottom:1rem}@media (min-width: 640px){.responsive-members-header{flex-direction:row;justify-content:space-between;align-items:center}}.responsive-filters{width:100%;display:flex;flex-direction:column;gap:.75rem}@media (min-width: 640px){.responsive-filters{width:auto;flex-direction:row;align-items:center}}.responsive-member-card{margin-bottom:.75rem}.responsive-member-header{padding:.75rem;cursor:pointer}.responsive-member-info{flex:1;min-width:0}.responsive-member-details h5{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.member-index{font-weight:600;color:#6b7280}.member-name{flex:1;min-width:120px}.responsive-member-meta{display:flex;flex-wrap:wrap;gap:.75rem;font-size:.75rem;color:#6b7280;margin-top:.25rem}.responsive-member-status{display:flex;align-items:center;gap:.5rem}.status-label{display:none}@media (min-width: 480px){.status-label{display:inline}}.responsive-expanded-grid{grid-template-columns:1fr!important;gap:1rem!important;padding:1rem}@media (min-width: 768px){.responsive-expanded-grid{grid-template-columns:repeat(2,1fr)!important}}.mobile-member-overview{padding:1rem;background-color:#f9fafb;border-radius:.5rem;margin-bottom:1rem;display:flex;flex-direction:column;gap:.5rem}.mobile-member-row{display:flex;justify-content:space-between;font-size:.875rem}.responsive-timeline{padding-left:1rem}.bm-timeline-event{padding-left:2rem;position:relative;margin-bottom:1.5rem}.bm-timeline-event-icon{position:absolute;left:0;top:0}.bm-timeline-icon-circle{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid;position:relative}.bm-timeline-connector{position:absolute;top:32px;left:15px;width:2px;height:calc(100% + 1.5rem);background-color:#e5e7eb}.bm-timeline-event-content{background-color:#fff;padding:1rem;border-radius:.5rem;border:1px solid #e5e7eb;box-shadow:0 1px 2px #0000000d}.bm-timeline-event-header{display:flex;flex-direction:column;gap:.25rem;margin-bottom:.5rem}@media (min-width: 640px){.bm-timeline-event-header{flex-direction:row;justify-content:space-between;align-items:flex-start}}.bm-timeline-event-date{font-size:.75rem;color:#6b7280;white-space:nowrap}.bm-timeline-event-description{font-size:.875rem;color:#374151;margin-bottom:.5rem}.bm-timeline-event-from{display:flex;align-items:center;gap:.5rem;font-size:.75rem;color:#9ca3af}.timeline-from-label{font-weight:500}.timeline-from-status{background-color:#f3f4f6;padding:.125rem .5rem;border-radius:.25rem}.bm-performance-category{display:grid;grid-template-columns:auto 1fr auto;gap:.75rem;align-items:center;padding:.5rem 0}.category-text{flex:1;font-size:.875rem}.category-count-mobile{display:inline-block;margin-left:.5rem;font-weight:600;color:#374151}@media (min-width: 640px){.category-count-mobile{display:none}}.mobile-bottom-actions{position:sticky;bottom:0;left:0;right:0;background-color:#fff;border-top:1px solid #e5e7eb;padding:.75rem;display:flex;justify-content:space-around;gap:.5rem;z-index:50}.mobile-action-btn{flex:1;padding:.75rem;border-radius:.5rem;display:flex;align-items:center;justify-content:center;font-weight:500;font-size:.875rem}.mobile-action-btn.secondary{background-color:#f9fafb;color:#374151;border:1px solid #d1d5db}.mobile-action-btn.primary{background-color:#3b82f6;color:#fff;border:1px solid #2563eb}.mobile-action-btn.print{background-color:#f3f4f6;color:#374151;border:1px solid #d1d5db}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;justify-content:center;align-items:center;z-index:1000;padding:1rem;animation:fadeIn .3s ease}.modal-container{background:#fff;border-radius:24px;width:100%;max-width:800px;height:90vh;max-height:900px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px #0000004d;animation:slideUp .4s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@media (min-width: 1024px){.modal-container{width:90%;max-width:1200px;height:85vh}}.modal-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1rem 1.5rem;position:sticky;top:0;z-index:50}.header-content{display:flex;justify-content:space-between;align-items:center;gap:1rem}.header-left{display:flex;align-items:center;gap:1rem;flex:1}.close-btn{background:#fff3;border:none;border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s}.close-btn:hover{background:#ffffff4d}.app-title{font-size:1.5rem;font-weight:700;margin:0;line-height:1.2}.app-subtitle{display:flex;align-items:center;gap:.5rem;margin-top:.25rem;font-size:.875rem;opacity:.9;flex-wrap:wrap}.subtitle-separator{opacity:.6}.subtitle-item{background:#ffffff26;padding:.25rem .75rem;border-radius:12px;font-weight:500}.header-actions{display:flex;gap:.5rem}.action-btn{background:#fff3;border:none;border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.action-btn:hover{background:#ffffff4d;transform:translateY(-2px)}.refresh-btn:hover{background:#3b82f64d}.excel-btn:hover{background:#22c55e4d}.pdf-btn:hover{background:#ef44444d}.status-banner{padding:1rem 1.5rem;border-radius:0 0 20px 20px;margin-top:-10px}.status-content{display:flex;align-items:center;gap:1rem}.status-icon{background:#fff3;border-radius:12px;width:48px;height:48px;display:flex;align-items:center;justify-content:center}.status-info h3{font-size:1.25rem;font-weight:600;margin:0 0 .25rem}.status-details{font-size:.875rem;opacity:.8;margin:0}.journey-section{padding:1.5rem;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:20px;margin:1rem}.section-title{font-size:1.25rem;font-weight:600;color:#1e293b;margin-bottom:1.5rem;display:flex;align-items:center;gap:.5rem}.journey-container{overflow-x:auto;padding:1rem 0}.journey-track{display:flex;gap:2rem;min-width:min-content}.journey-step{display:flex;flex-direction:column;align-items:center;min-width:200px;position:relative}.step-indicator{display:flex;flex-direction:column;align-items:center;position:relative}.step-icon-container{width:60px;height:60px;border-radius:16px;display:flex;align-items:center;justify-content:center;z-index:2;box-shadow:0 8px 16px #0000001a;transition:all .3s ease}.journey-step.current .step-icon-container{animation:pulse 2s infinite;transform:scale(1.05)}@keyframes pulse{0%,to{box-shadow:0 8px 16px #0000001a}50%{box-shadow:0 8px 24px #3b82f64d}}.step-connector{position:absolute;top:30px;left:calc(100% + 16px);width:100px;height:3px;background:#e2e8f0;z-index:1}.step-connector.completed{background:linear-gradient(90deg,#10b981,#3b82f6)}.step-connector.current{background:linear-gradient(90deg,#3b82f6,#8b5cf6)}.step-content{margin-top:1rem;text-align:center;width:100%}.step-header{display:flex;align-items:center;justify-content:center;gap:.5rem;margin-bottom:.5rem}.step-title{font-size:1rem;font-weight:600;color:#1e293b;margin:0}.step-description{font-size:.875rem;color:#64748b;margin:0 0 .5rem;line-height:1.4}.step-meta{display:flex;align-items:center;justify-content:center;gap:.5rem;font-size:.75rem;color:#94a3b8;margin-bottom:.5rem;flex-wrap:wrap}.step-notes{background:#fffc;padding:.5rem;border-radius:8px;font-size:.75rem;color:#475569;display:flex;align-items:flex-start;gap:.5rem;margin-top:.5rem}@media (max-width: 768px){.journey-track{flex-direction:column;gap:1.5rem}.journey-step{flex-direction:row;align-items:flex-start;min-width:100%;gap:1rem}.step-indicator{flex-direction:row;align-items:center}.step-icon-container{width:50px;height:50px}.step-connector{position:absolute;top:100%;left:25px;width:3px;height:40px}.step-content{margin-top:0;text-align:left;flex:1}.step-header,.step-meta{justify-content:flex-start}}.tabs-container{padding:0 1.5rem;margin-top:1rem}.tabs{display:flex;background:#f1f5f9;border-radius:16px;padding:.25rem}.tab{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1rem;border:none;background:none;border-radius:12px;font-size:.875rem;font-weight:500;color:#64748b;cursor:pointer;transition:all .2s}.tab.active{background:#fff;color:#3b82f6;box-shadow:0 2px 8px #3b82f633}.tab-badge{background:#3b82f6;color:#fff;font-size:.75rem;padding:.125rem .5rem;border-radius:12px;margin-left:.25rem}.tab-content{flex:1;overflow-y:auto;padding:1.5rem 1.5rem 2rem}.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:2rem}@media (min-width: 768px){.stats-grid{grid-template-columns:repeat(4,1fr)}}.stat-card{background:#fff;border-radius:16px;padding:1.25rem;display:flex;align-items:center;gap:1rem;box-shadow:0 4px 12px #0000000d;transition:transform .2s,box-shadow .2s}.stat-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0000001a}.stat-icon{width:56px;height:56px;border-radius:14px;display:flex;align-items:center;justify-content:center}.stat-content h3{font-size:1.5rem;font-weight:700;color:#1e293b;margin:0 0 .25rem;line-height:1}.stat-content p{font-size:.875rem;color:#64748b;margin:0}.summary-section{margin-bottom:2rem}.summary-title{font-size:1.125rem;font-weight:600;color:#1e293b;margin-bottom:1rem}.summary-grid{display:grid;grid-template-columns:1fr;gap:1rem}@media (min-width: 640px){.summary-grid{grid-template-columns:repeat(2,1fr)}}.summary-card{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:16px;padding:1.5rem;display:flex;align-items:center;gap:1rem;border:1px solid #e2e8f0}.summary-icon{width:48px;height:48px;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px #0000000d}.summary-content h4{font-size:1.75rem;font-weight:700;color:#1e293b;margin:0 0 .25rem;line-height:1}.summary-content p{font-size:.875rem;color:#64748b;margin:0}.performance-section{margin-bottom:2rem}.performance-title{font-size:1.125rem;font-weight:600;color:#1e293b;margin-bottom:1rem}.performance-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}@media (min-width: 768px){.performance-cards{grid-template-columns:repeat(4,1fr)}}.performance-card{background:#fff;border-radius:16px;padding:1.25rem;box-shadow:0 4px 12px #0000000d}.performance-indicator{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;margin-bottom:1rem}.performance-content h4{font-size:1.5rem;font-weight:700;color:#1e293b;margin:0 0 .25rem}.performance-content p{font-size:.875rem;color:#64748b;margin:0 0 .5rem;font-weight:500}.performance-bar{height:6px;background:#f1f5f9;border-radius:3px;overflow:hidden;margin-bottom:.5rem}.performance-fill{height:100%;transition:width .3s ease}.performance-percentage{font-size:.75rem;color:#64748b;font-weight:500}.details-section{margin-bottom:2rem}.details-title{font-size:1.125rem;font-weight:600;color:#1e293b;margin-bottom:1rem}.details-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 12px #0000000d}@media (max-width: 640px){.details-grid{grid-template-columns:1fr}}.detail-item{display:flex;flex-direction:column;gap:.25rem}.detail-item.full-width{grid-column:1 / -1}.detail-label{font-size:.75rem;color:#64748b;font-weight:500;text-transform:uppercase;letter-spacing:.05em}.detail-value{font-size:.875rem;color:#1e293b;font-weight:600}.detail-item.highlight .detail-value{color:#10b981;font-size:1rem}.notes-section{margin-bottom:2rem}.notes-title{font-size:1.125rem;font-weight:600;color:#1e293b;margin-bottom:1rem}.notes-grid{display:grid;grid-template-columns:1fr;gap:1rem}@media (min-width: 768px){.notes-grid{grid-template-columns:repeat(2,1fr)}}.note-card{background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 12px #0000000d}.note-header{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem}.note-header h4{font-size:1rem;font-weight:600;color:#1e293b;margin:0}.note-content{font-size:.875rem;color:#475569;line-height:1.6;margin-bottom:1rem}.note-meta{display:flex;justify-content:space-between;font-size:.75rem;color:#94a3b8}.members-header h3{font-size:1.25rem;font-weight:600;color:#1e293b;margin-bottom:1rem}.members-filters{display:flex;flex-direction:column;gap:1rem}.search-box{flex:1;position:relative}.search-box input{width:100%;padding:.75rem 1rem .75rem 3rem;border:2px solid #e2e8f0;border-radius:12px;font-size:.875rem;transition:all .2s}.search-box svg{position:absolute;left:1rem;top:50%;transform:translateY(-50%);color:#94a3b8}.status-filter{padding:.75rem 1rem;border:2px solid #e2e8f0;border-radius:12px;font-size:.875rem;background:#fff;color:#1e293b;cursor:pointer;min-width:150px}.member-card{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 4px 12px #0000000d;transition:all .2s}.member-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0000001a}.member-card.expanded{box-shadow:0 8px 32px #00000026}.member-card-header{padding:1.25rem;display:flex;align-items:center;justify-content:space-between;cursor:pointer}.member-info{display:flex;align-items:center;gap:1rem;flex:1}.member-avatar{width:48px;height:48px;border-radius:12px;background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:1.25rem}.member-details h4{font-size:1rem;font-weight:600;color:#1e293b;margin:0 0 .25rem}.member-meta{display:flex;flex-wrap:wrap;gap:.75rem;font-size:.75rem;color:#64748b}.status-badge{padding:.375rem .75rem;border-radius:20px;font-size:.75rem;font-weight:500;display:flex;align-items:center;gap:.25rem}.member-expanded{padding:1.5rem;border-top:1px solid #f1f5f9;background:linear-gradient(135deg,#f8fafc,#f1f5f9)}.expanded-grid{display:grid;grid-template-columns:1fr;gap:1.5rem}@media (min-width: 768px){.expanded-grid{grid-template-columns:repeat(2,1fr)}}.detail-section h5{font-size:.875rem;font-weight:600;color:#475569;margin-bottom:1rem;text-transform:uppercase;letter-spacing:.05em}.detail-row{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #f1f5f9}.detail-row span:first-child{font-size:.875rem;color:#64748b}.detail-row strong{font-size:.875rem;color:#1e293b;font-weight:600}.detail-row.highlight strong{color:#10b981;font-size:1rem}.loading-container,.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;text-align:center}.spinner{width:40px;height:40px;border:3px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}.loading-text{color:#64748b;font-size:.875rem}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;text-align:center}.empty-state svg{color:#cbd5e1;margin-bottom:1rem}.empty-state h4{font-size:1.125rem;font-weight:600;color:#1e293b;margin-bottom:.5rem}.empty-state p{color:#64748b;font-size:.875rem;margin-bottom:1.5rem}.clear-filters-btn{padding:.5rem 1rem;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;transition:background .2s}.tab-content::-webkit-scrollbar{width:8px}.tab-content::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.tab-content::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.tab-content::-webkit-scrollbar-thumb:hover{background:#94a3b8}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;justify-content:center;align-items:center;z-index:1000;padding:1rem;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-container{background:#fff;border-radius:1rem;width:100%;max-width:800px;height:90vh;max-height:800px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px #0000004d;animation:slideUp .4s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-header{background:#fff;padding:1rem;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:10}.header-top{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1rem}.back-button{background:#f3f4f6;border:none;border-radius:.5rem;width:2.5rem;height:2.5rem;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#4b5563;flex-shrink:0}.back-button:hover{background:#e5e7eb}.header-title{flex:1}.header-title h1{font-size:1.25rem;font-weight:600;color:#111827;margin:0 0 .25rem}.header-subtitle{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;font-size:.875rem;color:#6b7280}.separator{opacity:.5}.group-name{font-weight:500;color:#374151}.member-count{background:#dbeafe;color:#1e40af;padding:.125rem .5rem;border-radius:.25rem;font-weight:500}.total-amount{background:#dcfce7;color:#166534;padding:.125rem .5rem;border-radius:.25rem;font-weight:500}.header-actions{display:flex;gap:.5rem;flex-shrink:0}.action-btn{background:#f3f4f6;border:none;border-radius:.5rem;width:2.5rem;height:2.5rem;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#4b5563;transition:all .2s}.action-btn:hover{background:#e5e7eb;transform:translateY(-1px)}.status-bar{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border-radius:.5rem;margin-top:.5rem}.status-icon{width:2rem;height:2rem;border-radius:.5rem;background:#fff3;display:flex;align-items:center;justify-content:center;flex-shrink:0}.status-text h3{font-size:.875rem;font-weight:600;margin:0 0 .125rem}.status-details{font-size:.75rem;color:#6b7280;margin:0;opacity:.9}.modal-content-area{flex:1;overflow-y:auto;padding:1rem}.journey-section{margin-bottom:1.5rem}.section-title{font-size:1.125rem;font-weight:600;color:#111827;margin:0 0 1rem}.journey-timeline{position:relative;padding-left:1.5rem}.journey-step{position:relative;margin-bottom:1.5rem}.journey-step:last-child{margin-bottom:0}.step-indicator{position:absolute;left:-1.5rem;top:0;display:flex;flex-direction:column;align-items:center}.step-dot{width:2.5rem;height:2.5rem;border-radius:.75rem;display:flex;align-items:center;justify-content:center;color:#fff;z-index:2;box-shadow:0 4px 12px #0000001a}.journey-step.current .step-dot{animation:pulse 2s infinite}@keyframes pulse{0%,to{box-shadow:0 4px 12px #0000001a}50%{box-shadow:0 4px 20px #3b82f64d}}.step-line{width:2px;flex:1;min-height:2rem;margin-top:.5rem}.step-content{margin-left:2rem;padding-bottom:1rem}.step-title{font-size:1rem;font-weight:600;color:#111827;margin:0 0 .25rem}.step-description{font-size:.875rem;color:#6b7280;margin:0 0 .5rem}.step-meta{display:flex;align-items:center;gap:.5rem;font-size:.75rem;color:#9ca3af}.meta-separator{opacity:.5}.tabs-container{margin-bottom:1.5rem}.tabs{display:flex;background:#f3f4f6;border-radius:.75rem;padding:.25rem;gap:.25rem}.tab{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1rem;border:none;background:transparent;border-radius:.5rem;font-size:.875rem;font-weight:500;color:#6b7280;cursor:pointer;transition:all .2s}.tab:hover{background:#e5e7eb;color:#4b5563}.tab.active{background:#fff;color:#3b82f6;box-shadow:0 2px 8px #0000001a}.tab-badge{background:#3b82f6;color:#fff;font-size:.75rem;padding:.125rem .5rem;border-radius:9999px;margin-left:.25rem}.tab-content{min-height:300px}.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem;margin-bottom:1.5rem}.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:1rem;display:flex;align-items:center;gap:.75rem;transition:transform .2s,box-shadow .2s}.stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000000d}.stat-icon{width:2.5rem;height:2.5rem;border-radius:.75rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}.stat-info h3{font-size:1.25rem;font-weight:700;color:#111827;margin:0 0 .125rem;line-height:1}.stat-info p{font-size:.75rem;color:#6b7280;margin:0}.summary-section{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:1.5rem;margin-bottom:1.5rem}.section-subtitle{font-size:1rem;font-weight:600;color:#111827;margin:0 0 1rem}.summary-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:1.5rem}.summary-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:#f9fafb;border-radius:.5rem;border:1px solid #e5e7eb}.summary-icon{width:2rem;height:2rem;border-radius:.5rem;background:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 2px 4px #0000000d}.summary-content h4{font-size:1.125rem;font-weight:700;color:#111827;margin:0 0 .125rem;line-height:1}.summary-content p{font-size:.75rem;color:#6b7280;margin:0}.total-savings-card{background:linear-gradient(135deg,#3b82f6,#1d4ed8);border-radius:.75rem;padding:1.5rem;display:flex;align-items:center;gap:1rem;color:#fff}.total-icon{width:3rem;height:3rem;border-radius:.75rem;background:#fff3;display:flex;align-items:center;justify-content:center;flex-shrink:0}.total-content h4{font-size:.875rem;font-weight:600;margin:0 0 .25rem;opacity:.9}.total-content h3{font-size:1.5rem;font-weight:700;margin:0 0 .25rem}.total-content p{font-size:.75rem;opacity:.8;margin:0}.details-section{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:1.5rem;margin-bottom:1.5rem}.details-grid{display:flex;flex-direction:column;gap:.75rem}.detail-row{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0;border-bottom:1px solid #f3f4f6}.detail-row:last-child{border-bottom:none}.detail-label{font-size:.875rem;color:#6b7280}.detail-value{font-size:.875rem;font-weight:600;color:#111827}.detail-row.highlight .detail-value{color:#059669}.detail-row.total .detail-value{font-size:1rem;color:#1d4ed8;font-weight:700}.notes-section{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:1.5rem}.notes-container{display:flex;flex-direction:column;gap:1rem}.note-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:.75rem;padding:1rem}.note-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem}.note-header h4{font-size:.875rem;font-weight:600;color:#111827;margin:0}.note-content{font-size:.875rem;color:#4b5563;line-height:1.5;margin-bottom:.75rem}.note-footer{display:flex;justify-content:space-between;font-size:.75rem;color:#9ca3af}.members-header{margin-bottom:1.5rem}.members-header h3{font-size:1.125rem;font-weight:600;color:#111827;margin:0 0 1rem}.members-filters{display:flex;flex-direction:column;gap:.75rem}@media (min-width: 640px){.members-filters{flex-direction:row;align-items:center}}.search-box{position:relative;flex:1}.search-box input{width:100%;padding:.75rem 1rem .75rem 2.5rem;border:1px solid #d1d5db;border-radius:.75rem;font-size:.875rem;background:#fff}.search-box input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.search-box svg{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:#9ca3af}.status-filter{padding:.75rem 1rem;border:1px solid #d1d5db;border-radius:.75rem;font-size:.875rem;background:#fff;color:#111827;cursor:pointer;min-width:150px}.status-filter:focus{outline:none;border-color:#3b82f6}.members-list{display:flex;flex-direction:column;gap:.75rem}.member-card{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;overflow:hidden;transition:all .2s}.member-card:hover{border-color:#d1d5db;box-shadow:0 4px 12px #0000000d}.member-card.expanded{border-color:#3b82f6;box-shadow:0 4px 12px #3b82f61a}.member-card-header{padding:1rem;display:flex;justify-content:space-between;align-items:center;cursor:pointer;background:#f9fafb}.member-info{display:flex;align-items:center;gap:.75rem;flex:1}.member-avatar{width:2.5rem;height:2.5rem;border-radius:.5rem;background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:1rem;flex-shrink:0}.member-details h4{font-size:1rem;font-weight:600;color:#111827;margin:0 0 .25rem}.member-meta{display:flex;gap:1rem;flex-wrap:wrap;font-size:.75rem;color:#6b7280}.member-meta span{display:flex;align-items:center;gap:.25rem}.member-status{display:flex;align-items:center;gap:.75rem}.status-badge{padding:.25rem .5rem;border-radius:9999px;font-size:.75rem;font-weight:500;display:flex;align-items:center;gap:.25rem}.member-details-expanded{padding:1rem;background:#f9fafb;border-top:1px solid #e5e7eb}.details-grid{display:grid;grid-template-columns:1fr;gap:1.5rem}@media (min-width: 768px){.details-grid{grid-template-columns:repeat(2,1fr)}}.detail-section h5{font-size:.875rem;font-weight:600;color:#374151;margin:0 0 .75rem;text-transform:uppercase;letter-spacing:.05em}.loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;text-align:center}.spinner{width:3rem;height:3rem;border:3px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}.loading-state,.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;text-align:center;color:#6b7280}.empty-state h4{font-size:1.125rem;font-weight:600;color:#374151;margin:1rem 0 .5rem}.empty-state p{margin:0 0 1rem}.clear-filters-btn{padding:.5rem 1rem;background:#3b82f6;color:#fff;border:none;border-radius:.5rem;font-size:.875rem;font-weight:500;cursor:pointer}.clear-filters-btn:hover{background:#2563eb}@media (min-width: 640px){.modal-container{max-height:90vh}.stats-grid,.summary-grid{grid-template-columns:repeat(4,1fr)}}@media (min-width: 768px){.modal-container{max-width:800px}}.modal-content-area::-webkit-scrollbar{width:6px}.modal-content-area::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.modal-content-area::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.modal-content-area::-webkit-scrollbar-thumb:hover{background:#a8a8a8}@media (max-width: 640px){.modal-container{height:95vh;border-radius:0}.modal-overlay{padding:0}.header-actions{display:none}.stats-grid,.summary-grid{grid-template-columns:repeat(2,1fr)}.total-savings-card{flex-direction:column;text-align:center;gap:.75rem}.member-meta{flex-direction:column;gap:.25rem}}.member-details-expanded{background:#f8fafc;border-top:1px solid #e2e8f0;overflow:hidden}.details-scroll-container{max-height:400px;overflow-y:auto;padding:16px}.details-scroll-container::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px}.details-grid-expanded{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;padding:4px}.detail-section-expanded{background:#fff;border-radius:8px;padding:16px;box-shadow:0 1px 3px #0000001a;border:1px solid #e2e8f0}.detail-section-expanded h5{display:flex;align-items:center;gap:8px;margin-bottom:16px;padding-bottom:8px;border-bottom:2px solid #3b82f6;color:#1e293b;font-size:14px;font-weight:600}.detail-grid{display:flex;flex-direction:column;gap:12px}.detail-item{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #f1f5f9}.detail-label{font-size:13px;color:#64748b;font-weight:500}.detail-value{font-size:13px;color:#1e293b;font-weight:600;text-align:right;max-width:60%;word-break:break-word}.detail-item.highlight .detail-value{color:#059669}.detail-item.highlight.total .detail-value{color:#dc2626;font-size:14px}.guarantors-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.guarantor-card{background:#f8fafc;border-radius:6px;padding:12px;border:1px solid #e2e8f0}.guarantor-header{display:flex;align-items:center;gap:6px;margin-bottom:8px;color:#475569}.guarantor-header h6{font-size:12px;font-weight:600;margin:0}.guarantor-details{display:flex;flex-direction:column;gap:4px}.guarantor-details span:first-child{font-weight:600;color:#1e293b;font-size:13px}.guarantor-meta{display:flex;gap:12px;font-size:11px;color:#64748b}@media (max-width: 768px){.details-grid-expanded{grid-template-columns:1fr}.details-scroll-container{max-height:300px}.guarantors-grid{grid-template-columns:1fr}}.member-details-expanded{background:#f8fafc;border-top:1px solid #e2e8f0;animation:slideDown .3s ease-out;padding:0}.details-scroll-container{max-height:500px;overflow-y:auto;padding:24px}.details-grid-expanded{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:24px}.detail-section-expanded{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #00000014;border:1px solid #e2e8f0}.detail-section-expanded h5{display:flex;align-items:center;gap:10px;margin-bottom:20px;padding-bottom:12px;border-bottom:2px solid #3b82f6;color:#1e293b;font-size:16px;font-weight:600}.detail-section-expanded h5 .section-icon{width:32px;height:32px;border-radius:8px;background:#3b82f6;color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px}.detail-grid{display:flex;flex-direction:column;gap:16px}.detail-item{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #f1f5f9}.detail-item:last-child{border-bottom:none}.detail-label{font-size:14px;color:#64748b;font-weight:500}.detail-value{font-size:14px;color:#1e293b;font-weight:600;text-align:right;max-width:60%;word-break:break-word}.detail-item.highlight .detail-value{color:#059669;font-weight:700}.detail-item.highlight.total .detail-value{color:#dc2626;font-size:16px}.status-badge{padding:8px 16px;border-radius:8px;font-size:13px;font-weight:500;display:flex;align-items:center;gap:6px;min-width:140px;justify-content:center}.status-badge.approved{background:#dcfce7;color:#166534;border:1px solid #86efac}.status-badge.pending{background:#fef3c7;color:#92400e;border:1px solid #fbbf24}.status-badge.rejected{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5}.member-profile-summary{display:flex;align-items:center;gap:20px;padding:20px;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border-radius:12px;border:1px solid #bae6fd;margin-bottom:20px}.member-avatar{width:64px;height:64px;border-radius:12px;background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:600;flex-shrink:0}.profile-info h2{font-size:20px;font-weight:700;color:#1e293b;margin:0 0 8px}.profile-details{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.profile-detail-item{display:flex;align-items:center;gap:6px;font-size:14px;color:#475569;padding:6px 12px;background:#fff;border-radius:8px;border:1px solid #e2e8f0}.profile-detail-item .highlight{font-weight:600;color:#1d4ed8}.assigned-badge{background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;font-size:12px;font-weight:700;padding:4px 10px;border-radius:12px;display:inline-flex;align-items:center;gap:4px}.assigned-badge:before{content:"#";font-size:10px;opacity:.9}.guarantors-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin-top:16px}.guarantor-card{background:#f8fafc;border-radius:10px;padding:16px;border:1px solid #e2e8f0;transition:transform .2s}.guarantor-card:hover{transform:translateY(-2px);border-color:#3b82f6;box-shadow:0 4px 8px #0000001a}.guarantor-header{display:flex;align-items:center;gap:8px;margin-bottom:12px;color:#475569}.guarantor-header h6{font-size:13px;font-weight:600;margin:0;display:flex;align-items:center;gap:8px}.guarantor-type-badge{padding:4px 10px;border-radius:6px;font-size:11px;font-weight:600;text-transform:uppercase;background:#dbeafe;color:#1d4ed8;border:1px solid #93c5fd}.guarantor-details{display:flex;flex-direction:column;gap:6px}.guarantor-details .guarantor-name{font-weight:600;color:#1e293b;font-size:14px;margin:0 0 4px}.guarantor-meta{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#64748b}.guarantor-meta-item{display:flex;align-items:center;gap:8px}.guarantor-meta-label{font-weight:500;color:#64748b;min-width:80px}.guarantor-meta-value{font-weight:600;color:#1e293b}.detail-value:empty:before,.guarantor-meta-value:empty:before{content:"—";color:#94a3b8;font-weight:400}.amount-value{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;letter-spacing:.5px}@keyframes slideDown{0%{opacity:0;max-height:0;padding-top:0;padding-bottom:0}to{opacity:1;max-height:500px;padding-top:24px;padding-bottom:24px}}.details-scroll-container::-webkit-scrollbar{width:6px}.details-scroll-container::-webkit-scrollbar-track{background:#f8fafc;border-radius:3px}.details-scroll-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.details-scroll-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}@media (max-width: 768px){.details-grid-expanded{grid-template-columns:1fr;gap:16px}.detail-section-expanded{padding:16px}.member-profile-summary{flex-direction:column;text-align:center;padding:16px}.profile-details{flex-direction:column;gap:8px}.guarantors-grid{grid-template-columns:1fr}.detail-item{flex-direction:column;align-items:flex-start;gap:4px}.detail-value{text-align:left;max-width:100%}}.bm-performance-tab{padding:20px;max-width:1400px;margin:0 auto}.bm-performance-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px;flex-wrap:wrap;gap:16px}.bm-performance-header h2{font-size:24px;color:#1e293b;margin:0;font-weight:700}.bm-performance-header p{color:#64748b;margin:4px 0 0;font-size:15px}.bm-performance-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.bm-performance-period{display:flex;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.bm-performance-period button{padding:6px 12px;background:#fff;border:none;font-size:14px;font-weight:500;color:#475569;cursor:pointer;transition:all .2s}.bm-performance-period button:hover{background:#f1f5f9}.bm-performance-period-active{background:#0ea5e9!important;color:#fff!important}.bm-performance-export{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;border-radius:6px;font-weight:600;cursor:pointer;font-size:14px;transition:all .2s}.bm-performance-export:hover{background:#e2e8f0}.bm-performance-search{display:flex;align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:0 12px;min-width:200px}.bm-performance-search svg{color:#94a3b8;margin-right:8px;flex-shrink:0}.bm-performance-search input{border:none;padding:8px 0;width:100%;font-size:14px;outline:none}.bm-kpi-summary{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;margin-bottom:32px}.bm-kpi-item{background:#fff;border-radius:12px;padding:20px;display:flex;align-items:center;gap:16px;box-shadow:0 2px 6px #0000000d;border:1px solid #e2e8f0}.bm-kpi-icon{background:#dbeafe;width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#1d4ed8;flex-shrink:0}.bm-kpi-content{flex:1}.bm-kpi-value{font-size:20px;font-weight:700;color:#1e293b;margin:0}.bm-kpi-title{font-size:14px;color:#64748b;margin:4px 0 0}.bm-kpi-trend{font-size:18px;font-weight:700;padding:4px 8px;border-radius:6px;min-width:36px;text-align:center}.bm-kpi-trend.good{background:#dcfce7;color:#059669}.bm-kpi-trend.warning{background:#fef3c7;color:#d97706}.bm-kpi-trend.bad{background:#fee2e2;color:#dc2626}.bm-performance-section{margin-bottom:32px}.bm-performance-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.bm-performance-section-header h3{font-size:20px;color:#1e293b;margin:0;font-weight:600}.bm-performance-section-header span{color:#64748b;font-size:14px}.bm-performance-empty{color:#94a3b8;font-style:italic;margin:0}.bm-performance-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}.bm-performance-card{background:#fff;border-radius:12px;border:1px solid #e2e8f0;overflow:hidden;transition:all .2s}.bm-performance-card:hover{border-color:#0ea5e9;box-shadow:0 4px 12px #0000001a}.bm-performance-card-header{display:flex;align-items:center;padding:16px;border-bottom:1px solid #f1f5f9;background:#f8fafc}.bm-performance-avatar{width:36px;height:36px;border-radius:8px;background:#dbeafe;display:flex;align-items:center;justify-content:center;margin-right:12px;flex-shrink:0;color:#1d4ed8}.bm-performance-name{flex:1}.bm-performance-name h4{font-size:16px;color:#1e293b;margin:0;font-weight:600}.bm-performance-name p{font-size:13px;color:#64748b;margin:4px 0 0}.bm-performance-score{font-size:18px;font-weight:700;padding:4px 10px;border-radius:20px;min-width:70px;text-align:center;color:#fff}.bm-score-excellent{background:#059669}.bm-score-good{background:#1d4ed8}.bm-score-fair{background:#d97706}.bm-score-poor{background:#dc2626}.bm-performance-score small{font-size:12px;opacity:.9}.bm-performance-metrics{display:grid;grid-template-columns:repeat(2,1fr);padding:16px;gap:16px}.bm-performance-metric{display:flex;gap:12px}.bm-performance-icon{width:32px;height:32px;border-radius:8px;background:#f1f5f9;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#475569}.bm-performance-value{font-size:16px;font-weight:700;color:#1e293b;margin:0}.bm-performance-label{font-size:12px;color:#64748b;margin:4px 0 0}.bm-performance-chart{height:6px;background:#e2e8f0;border-radius:3px;margin:0 16px 16px;overflow:hidden}.bm-performance-chart-fill{height:100%;background:#0ea5e9;border-radius:3px}.bm-performance-loading,.bm-performance-error{text-align:center;padding:40px;color:#64748b}.bm-performance-error{color:#dc2626;display:flex;flex-direction:column;align-items:center;gap:12px}.bm-performance-retry{padding:6px 16px;background:#fee2e2;color:#dc2626;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:background .2s}.bm-performance-retry:hover{background:#fecaca}@media (max-width: 768px){.bm-performance-header{flex-direction:column;align-items:stretch}.bm-performance-actions{width:100%;justify-content:flex-end;flex-wrap:wrap}.bm-performance-search{min-width:auto;flex:1}.bm-kpi-summary,.bm-performance-metrics{grid-template-columns:1fr}}@media (max-width: 480px){.bm-performance-grid{grid-template-columns:1fr}.bm-performance-card-header{flex-direction:column;align-items:flex-start;gap:12px}.bm-performance-score{align-self:flex-end}}.bm-reports-tab{padding:20px;max-width:1400px;margin:0 auto}.bm-reports-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px;flex-wrap:wrap;gap:16px}.bm-reports-header h2{font-size:24px;color:#1e293b;margin:0;font-weight:700}.bm-reports-header p{color:#64748b;margin:4px 0 0;font-size:15px}.bm-reports-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.bm-reports-search{display:flex;align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:0 12px;min-width:200px}.bm-reports-search svg{color:#94a3b8;margin-right:8px;flex-shrink:0}.bm-reports-search input{border:none;padding:8px 0;width:100%;font-size:14px;outline:none}.bm-reports-generate{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;background:#0ea5e9;color:#fff;border:none;border-radius:6px;font-weight:600;cursor:pointer;font-size:14px;transition:background .2s}.bm-reports-generate:hover{background:#0284c7}.bm-reports-section{margin-bottom:32px}.bm-reports-section h3{font-size:20px;color:#1e293b;margin:0 0 16px;font-weight:600}.bm-reports-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.bm-reports-section-header span{color:#64748b;font-size:14px}.bm-reports-empty{color:#94a3b8;font-style:italic;margin:0}.bm-report-types-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}.bm-report-type-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;cursor:pointer;transition:all .2s}.bm-report-type-card:hover{border-color:#0ea5e9;box-shadow:0 4px 12px #0000001a}.bm-report-type-icon{width:48px;height:48px;border-radius:12px;background:#dbeafe;display:flex;align-items:center;justify-content:center;margin-bottom:16px;color:#1d4ed8}.bm-report-type-content h4{font-size:16px;color:#1e293b;margin:0 0 8px;font-weight:600}.bm-report-type-content p{font-size:14px;color:#64748b;margin:0}.bm-reports-list{display:flex;flex-direction:column;gap:12px}.bm-reports-loading,.bm-reports-error{text-align:center;padding:40px;color:#64748b}.bm-reports-error{color:#dc2626;display:flex;flex-direction:column;align-items:center;gap:12px}.bm-reports-retry{padding:6px 16px;background:#fee2e2;color:#dc2626;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:background .2s}.bm-reports-retry:hover{background:#fecaca}.bm-modal{background:#fff;border-radius:12px;width:100%;max-width:600px;max-height:90vh;overflow-y:auto}.bm-form-group{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}.bm-form-group label{font-size:14px;color:#334155;font-weight:500}.bm-form-group input,.bm-form-group select,.bm-form-group textarea{padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:15px;outline:none;transition:border-color .2s}.bm-form-group input:focus,.bm-form-group select:focus,.bm-form-group textarea:focus{border-color:#0ea5e9;box-shadow:0 0 0 3px #0ea5e91a}.bm-modal-actions{display:flex;gap:12px;margin-top:16px}.bm-btn-primary,.bm-btn-secondary{flex:1;padding:10px;border-radius:8px;font-weight:600;font-size:15px;cursor:pointer;border:none;text-align:center}.bm-btn-primary{background:#0ea5e9;color:#fff}.bm-btn-primary:hover:not(:disabled){background:#0284c7}.bm-btn-secondary{background:#f1f5f9;color:#475569}.bm-btn-secondary:hover{background:#e2e8f0}.bm-report-history-item{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px;display:flex;justify-content:space-between;align-items:center}.bm-report-history-info h4{font-size:16px;color:#1e293b;margin:0}.bm-report-history-info p{font-size:13px;color:#64748b;margin:4px 0 0}.bm-report-history-actions{display:flex;gap:8px}.bm-report-history-btn{padding:6px 12px;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer;border:none;display:flex;align-items:center;gap:6px}.bm-report-history-view{background:#dbeafe;color:#1d4ed8}.bm-report-history-download{background:#dcfce7;color:#059669}.bm-report-history-btn:hover{opacity:.9}.bm-report-preview-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #f1f5f9}.bm-report-preview-content{background:#f8fafc;border:1px dashed #e2e8f0;border-radius:8px;padding:20px;font-family:monospace;font-size:14px;white-space:pre-wrap;max-height:500px;overflow-y:auto}@media (max-width: 768px){.bm-reports-header{flex-direction:column;align-items:stretch}.bm-reports-actions{width:100%;justify-content:flex-end}.bm-reports-search{min-width:auto;flex:1}.bm-modal{max-width:calc(100vw - 40px)}}.bm-settings-tab{padding:20px;max-width:1400px;margin:0 auto}.bm-settings-header h2{font-size:24px;color:#1e293b;margin:0 0 8px;font-weight:700}.bm-settings-header p{color:#64748b;margin:0;font-size:15px}.bm-settings-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px;margin-top:24px}.bm-settings-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px}.bm-settings-card-header{display:flex;align-items:center;gap:12px;margin-bottom:16px}.bm-settings-icon{width:40px;height:40px;border-radius:10px;background:#dbeafe;display:flex;align-items:center;justify-content:center;color:#1d4ed8;flex-shrink:0}.bm-settings-card-header h3{font-size:18px;color:#1e293b;margin:0;font-weight:600}.bm-settings-form-group{margin-bottom:16px}.bm-settings-form-group label{display:block;font-size:14px;color:#334155;margin-bottom:6px;font-weight:500}.bm-settings-form-group input,.bm-settings-form-group select,.bm-settings-form-group textarea{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:15px;outline:none;transition:border-color .2s}.bm-settings-form-group input:focus,.bm-settings-form-group select:focus,.bm-settings-form-group textarea:focus{border-color:#0ea5e9;box-shadow:0 0 0 3px #0ea5e91a}.bm-settings-actions{display:flex;gap:12px;margin-top:16px}.bm-settings-btn-primary,.bm-settings-btn-secondary{padding:10px 16px;border-radius:8px;font-weight:600;font-size:15px;cursor:pointer;border:none;text-align:center}.bm-settings-btn-primary{background:#0ea5e9;color:#fff;flex:1}.bm-settings-btn-primary:hover:not(:disabled){background:#0284c7}.bm-settings-btn-secondary{background:#f1f5f9;color:#475569}.bm-settings-btn-secondary:hover{background:#e2e8f0}.bm-settings-support-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;background:#fef3c7;color:#d97706;border:none;border-radius:8px;font-weight:600;cursor:pointer;font-size:15px;transition:background .2s;margin-top:16px}.bm-settings-support-btn:hover{background:#fde68a}.bm-change-password-section{margin-top:24px;padding-top:24px;border-top:1px solid #f1f5f9}.bm-settings-loading,.bm-settings-error{text-align:center;padding:40px;color:#64748b}.bm-settings-error{color:#dc2626;display:flex;flex-direction:column;align-items:center;gap:12px}.bm-spinner{animation:spin 1s linear infinite;margin-bottom:12px}.bm-settings-retry{padding:6px 16px;background:#fee2e2;color:#dc2626;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:background .2s}.bm-settings-retry:hover{background:#fecaca}.bm-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.bm-modal{background:#fff;border-radius:12px;width:100%;max-width:500px;max-height:90vh;overflow-y:auto}.bm-modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #f1f5f9}.bm-modal-header h3{margin:0;font-size:20px;color:#1e293b;font-weight:600}.bm-modal-close{background:none;border:none;color:#94a3b8;cursor:pointer;width:32px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;transition:background .2s}.bm-modal-close:hover{background:#f1f5f9;color:#1e293b}.bm-modal-content{padding:24px}.bm-modal-error{display:flex;align-items:center;gap:8px;background:#fee2e2;color:#dc2626;padding:12px;border-radius:8px;font-size:14px;margin-bottom:16px}@media (max-width: 768px){.bm-settings-grid{grid-template-columns:1fr}.bm-modal{max-width:calc(100vw - 40px)}}.expenses-manager{max-width:1200px;margin:0 auto;padding:16px;color:#1e293b}.expenses-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px;flex-wrap:wrap;gap:16px}.expenses-header h1{font-size:28px;margin:0;display:flex;align-items:center;gap:12px}.expenses-header p{color:#64748b;margin:4px 0 0;font-size:14px}.header-actions{display:flex;gap:12px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}.stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;display:flex;gap:16px;align-items:center}.stat-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.stat-icon.primary{background-color:#dbeafe;color:#1d4ed8}.stat-icon.warning{background-color:#fef3c7;color:#d97706}.stat-icon.success{background-color:#dcfce7;color:#16a34a}.stat-icon.danger{background-color:#fee2e2;color:#dc2626}.stat-content{flex:1}.stat-value{font-size:20px;font-weight:700;color:#1e293b;margin-bottom:4px}.stat-label{font-size:13px;color:#64748b}.filters-section{display:flex;gap:12px;margin-bottom:24px;flex-wrap:wrap;align-items:center}.search-container{position:relative;flex:1;min-width:250px}.search-container svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#94a3b8}.form-control{width:100%;padding:10px 12px 10px 36px;border:1px solid #cbd5e1;border-radius:8px;font-size:14px}.form-select{padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;font-size:14px;min-width:180px}.expenses-table-container{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.table-responsive{overflow-x:auto}.expenses-table{width:100%;border-collapse:collapse}.expenses-table th{background:#f8fafc;padding:16px;text-align:left;font-weight:600;color:#334155;font-size:13px;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #e2e8f0}.expenses-table td{padding:16px;border-bottom:1px solid #f1f5f9;font-size:14px;color:#1e293b}.expenses-table tbody tr:last-child td{border-bottom:none}.expense-type-badge{display:inline-block;padding:4px 8px;background:#f1f5f9;color:#334155;border-radius:6px;font-size:12px;font-weight:500}.receipt-number{background:#f8fafc;padding:2px 6px;border-radius:4px;font-size:12px;font-weight:600}.submitted-by{display:flex;align-items:center;gap:6px;font-weight:600}.facilitator-name{color:#7c3aed}.manager-name{color:#0ea5e9}.status-badge{padding:4px 10px;border-radius:20px;font-size:12px;font-weight:600;display:inline-flex;align-items:center;gap:6px}.status-badge.status-pending{background-color:#fef3c7;color:#92400e}.status-badge.status-approved{background-color:#dcfce7;color:#16a34a}.status-badge.status-rejected{background-color:#fee2e2;color:#991b1b}.status-badge.status-draft{background-color:#e0e7ff;color:#4f46e5}.action-buttons{display:flex;gap:8px}.btn-icon{width:32px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;border:1px solid #cbd5e1;background:#fff;cursor:pointer;transition:all .2s}.btn-icon:hover{background:#f1f5f9;transform:translateY(-1px)}.empty-state,.loading-state{text-align:center;padding:60px 20px;color:#64748b}.empty-state svg,.loading-state svg{width:48px;height:48px;margin-bottom:16px;color:#94a3b8}.empty-state h3,.loading-state p{margin:0 0 8px;color:#1e293b;font-size:20px}.empty-state p{margin:0;font-size:16px}.loading-state .spinner{animation:spin 1s linear infinite;margin-bottom:12px}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 768px){.expenses-header{flex-direction:column;align-items:stretch}.header-actions{width:100%;justify-content:flex-end}.stats-grid{grid-template-columns:repeat(2,1fr)}@media (max-width: 480px){.stats-grid{grid-template-columns:1fr}.filters-section{flex-direction:column;align-items:stretch}.search-container{min-width:auto}}}
