.App,.ant-layout{min-height:100vh}.ant-layout-header{background:#fff;border-bottom:1px solid #e8e8e8;box-shadow:0 2px 8px #00000005;height:64px;padding:0 24px}.ant-layout-header,.layout-header{align-items:center;display:flex;overflow:visible}.ant-layout-sider{background:#fff;border-right:1px solid #e8e8e8;display:flex;flex-direction:column;position:relative}.ant-menu{border-right:none}.navigation-menu{border-bottom:none!important;height:100%}.ant-menu-item-selected{background-color:#e3f2fd!important}.ant-layout-content{background:#fafbfc}.logo-container{align-items:center;background:#fff;border-bottom:1px solid #e8e8e8;color:#1976d2;display:flex;font-size:18px;font-weight:600;height:64px;left:0;padding:0 24px;position:absolute;right:0;top:0;z-index:10}.logo-image{border-radius:8px;object-fit:contain}.logo-icon{font-size:20px;margin-right:8px}.sidebar-content{bottom:140px;left:0;overflow-x:hidden;overflow-y:auto;position:absolute;right:0;scrollbar-color:#bfbfbf #f1f1f1;scrollbar-width:thin;top:64px}.sidebar-content::-webkit-scrollbar{width:6px}.sidebar-content::-webkit-scrollbar-track{background:#f1f1f1}.sidebar-content::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:3px}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#6b7280}.sidebar-footer{background:#fff;border-top:1px solid #e8e8e8;bottom:0;left:0;padding:12px;position:absolute;right:0;z-index:10}.logout-section{display:flex;flex-direction:column;gap:12px;width:100%}.logout-button{align-items:center;border-radius:6px;color:#d32f2f!important;display:flex;font-weight:500;height:40px;justify-content:flex-start;padding-left:12px;transition:all .3s}.logout-button:hover{background-color:#ffebee!important;color:#c62828!important}.logout-button .anticon{font-size:16px;margin-right:0}.logout-text{margin-left:8px}.user-info-footer{align-items:center;background:#f5f5f5;border-radius:8px;display:flex;gap:10px;padding:10px;transition:all .3s}.user-info-footer:hover{background:#eee}.user-avatar-footer{background:#1976d2;flex-shrink:0}.user-details{flex:1 1;min-width:0;overflow:hidden}.user-name-footer{color:#374151;font-size:13px;font-weight:600}.user-name-footer,.user-role-footer{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-role-footer{color:#6b7280;font-size:11px}.header-content{flex-wrap:nowrap;height:100%;width:100%}.header-title{color:#374151;font-size:18px;font-weight:600;margin:0}.header-title-section{flex:1 1}.collapse-button{align-items:center;display:flex;height:40px;justify-content:center;width:40px}.header-right-section{flex-wrap:nowrap;gap:12px}.header-right-section,.notification-section{align-items:center;display:flex;flex-shrink:0;height:40px}.user-profile-section{border-left:1px solid #e8e8e8;flex-shrink:0;height:40px;margin-left:4px;padding-left:4px}.user-info{flex-wrap:nowrap;gap:16px;height:40px}.user-avatar,.user-info,.user-info>*{flex-shrink:0}.user-avatar{background:#1976d2}.dropdown-trigger{align-items:center;border-radius:6px;cursor:pointer;display:flex;flex-wrap:nowrap;gap:8px;height:40px;padding:8px 12px;transition:all .3s}.dropdown-trigger:hover{background-color:#f5f5f5}.dropdown-trigger .user-name{color:#374151;font-size:14px;font-weight:500;line-height:1;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ant-card{border-radius:8px;box-shadow:0 2px 8px #00000005}.ant-card-head{border-bottom:1px solid #e8e8e8}.ant-btn-primary{background-color:#1976d2!important;border-color:#1976d2!important}.ant-btn-primary:hover:not(:disabled){background-color:#1565c0!important;border-color:#1565c0!important}.ant-btn-primary:focus{background-color:#1976d2!important;border-color:#1976d2!important}.ant-select{border-radius:6px}.ant-table{border-radius:8px}.ant-form-item-label>label{font-weight:500}.ant-divider{margin:16px 0}.stats-cards{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:24px}.stat-card{box-shadow:0 2px 8px #00000005}.stat-card:hover{box-shadow:0 4px 12px #00000008}.stat-card.gradient-1{background:linear-gradient(135deg,#e3f2fd,#f3e5f5);border:1px solid #e1f5fe;color:#1976d2}.stat-card.gradient-2{background:linear-gradient(135deg,#fce4ec,#f8bbd9);border:1px solid #f8bbd9;color:#c2185b}.stat-card.gradient-3{background:linear-gradient(135deg,#e0f2f1,#b2dfdb);border:1px solid #b2dfdb;color:#00695c}.stat-card.gradient-4{background:linear-gradient(135deg,#f3e5f5,#e1bee7);border:1px solid #e1bee7;color:#7b1fa2}.stat-value{margin-bottom:8px}.stat-change{margin-top:4px}.section-title{color:#374151;font-size:18px;font-weight:600;margin-bottom:16px}.chart-container{border-radius:8px;padding:20px}.chart-container,.lead-card{box-shadow:0 2px 8px #00000005}.lead-card{margin-bottom:16px}.lead-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:12px}.lead-name{font-size:16px;margin:0}.lead-status-badge{border-radius:4px;font-size:12px;font-weight:500;padding:4px 8px;text-transform:uppercase}.lead-status-badge.new{background:#e3f2fd;color:#1976d2}.lead-status-badge.contacted{background:#fff3e0;color:#f57c00}.lead-status-badge.converted,.lead-status-badge.qualified{background:#e8f5e8;color:#388e3c}.lead-status-badge.lost{background:#ffebee;color:#d32f2f}.lead-info{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.lead-info-item{align-items:center;color:#6b7280;display:flex;font-size:14px}.lead-info-item .anticon{margin-right:8px}.lead-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:12px}.lead-tag{background:#f0f0f0;border-radius:3px;color:#6b7280;font-size:11px;padding:2px 6px}.lead-score{align-items:center;color:#6b7280;display:flex;font-size:12px;gap:4px}.source-badge{background:#e3f2fd;border-radius:3px;color:#1976d2;font-size:11px;padding:2px 6px;text-transform:uppercase}.loading-spinner{width:100%}.page-fade-enter{opacity:0}.page-fade-enter-active{opacity:1;transition:opacity .3s}.page-fade-exit{opacity:1}.page-fade-exit-active{opacity:0;transition:opacity .3s}.ant-table-wrapper{background:#fff}.ant-pagination{display:flex;justify-content:center}.ant-pagination-item-active{background-color:#1976d2;border-color:#1976d2}.ant-pagination-item-active a{color:#fff}.ant-badge-count{box-shadow:0 0 0 1px #fff}.ant-tag{font-weight:500;margin-right:0}.ant-tooltip-inner{font-size:12px;padding:6px 10px}.ant-modal-header{border-bottom:1px solid #f0f0f0}.ant-modal-footer{border-top:1px solid #f0f0f0}.ant-empty{padding:40px 0}.ant-empty-description{color:#6b7280;font-size:14px}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#6b7280}@media (max-width:1024px){.dropdown-trigger .user-name{max-width:100px}.header-right-section{gap:10px}}@media (max-width:768px){.stats-cards{grid-template-columns:1fr}.header-content{flex-direction:row;gap:12px}.lead-header{flex-direction:column;gap:8px}.ant-layout-header{padding:0 16px}.logo-container{padding:0 12px}.layout-content{margin-left:80px!important}.layout-header{left:80px!important}.ant-layout-sider{max-width:80px!important;min-width:80px!important;width:80px!important}.user-info span,.user-profile-section .user-name{display:none}.header-right-section{gap:8px}.sidebar-footer{padding:8px}.user-info-footer{display:none}}@media (min-width:1920px){.sidebar-content{bottom:140px}}.notification-bell-wrapper{align-items:center;display:inline-flex;height:40px;justify-content:center;position:relative}.notification-bell-button{align-items:center!important;border-radius:50%!important;display:flex!important;height:40px!important;justify-content:center!important;margin:0!important;min-height:40px!important;min-width:40px!important;padding:0!important;position:relative!important;transition:all .3s;width:40px!important}.notification-bell-button:hover{background-color:#0000000f!important}.notification-section .ant-badge,.user-info .ant-badge{align-items:center!important;display:inline-flex!important;height:40px!important;justify-content:center!important;line-height:1!important;position:relative!important}.notification-section .ant-badge .ant-badge-count,.user-info .ant-badge .ant-badge-count{position:absolute!important;right:0!important;top:0!important;transform:translate(50%,-50%)!important}.notification-dropdown{background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;display:flex;flex-direction:column;max-height:600px;width:420px}.notification-header{align-items:center;background:#fafafa;border-bottom:1px solid #f0f0f0;border-radius:8px 8px 0 0;padding:16px 20px}.notification-header h5{font-size:16px;font-weight:600;margin:0}.notification-header-actions{display:flex;gap:8px}.notification-list{max-height:500px;overflow-y:auto}.notification-list::-webkit-scrollbar{width:6px}.notification-list::-webkit-scrollbar-thumb{background-color:#0003;border-radius:3px}.notification-list::-webkit-scrollbar-track{background-color:initial}.notification-loading{align-items:center;display:flex;justify-content:center;padding:40px}.notification-item{border-bottom:1px solid #f0f0f0;cursor:pointer;padding:12px 20px!important;transition:all .2s}.notification-item:hover{background-color:#fafafa}.notification-item.unread{background-color:#e6f7ff}.notification-item.unread:hover{background-color:#d4efff}.notification-content{align-items:flex-start;display:flex;gap:12px;width:100%}.notification-icon{flex-shrink:0;font-size:24px;line-height:1}.notification-body{flex:1 1;min-width:0}.notification-title{align-items:center;color:#262626;display:flex;font-size:14px;font-weight:500;gap:8px;margin-bottom:4px}.unread-dot{background-color:#1890ff;border-radius:50%;flex-shrink:0;height:6px;width:6px}.notification-text{word-wrap:break-word;color:#595959;display:block;font-size:13px;line-height:1.5;margin-bottom:6px}.notification-meta{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.notification-priority{font-size:11px;line-height:18px;margin:0;padding:0 6px}.notification-delete{color:#8c8c8c;flex-shrink:0;opacity:0;transition:opacity .2s}.notification-item:hover .notification-delete{opacity:1}.notification-delete:hover{color:#ff4d4f}.notification-load-more{border-top:1px solid #f0f0f0;padding:12px;text-align:center}.notification-dropdown-overlay{z-index:1050!important}.notification-dropdown-overlay .ant-dropdown-menu{border-radius:8px;box-shadow:none;padding:0}.ant-dropdown{position:absolute!important}@media (max-width:576px){.notification-dropdown{max-width:420px;width:100vw}}.notification-item{animation:slideIn .3s ease-out}.notification-footer{background:#fafafa;border-radius:0 0 8px 8px;border-top:1px solid #f0f0f0;padding:12px 20px}.notification-footer .ant-btn{font-weight:500;height:36px}.audio-permission-modal .ant-modal-body{padding:32px}.audio-permission-denied,.audio-permission-initial,.audio-permission-success{text-align:center}.audio-permission-icon{animation:pulse 2s infinite;margin-bottom:24px}.audio-permission-initial h3{color:#262626;margin-bottom:16px}.audio-permission-description{color:#595959;margin-bottom:24px}.audio-permission-features{background:#f5f5f5;border-radius:8px;margin-bottom:16px;padding:20px;text-align:left}.feature-item{align-items:center;color:#262626;display:flex;gap:12px;padding:8px 0}.feature-item .anticon{color:#1890ff;font-size:16px}.audio-permission-success{padding:20px 0}.audio-permission-success .success-icon{animation:scaleIn .3s ease-out;color:#52c41a;font-size:64px;margin-bottom:16px}@keyframes scaleIn{0%{transform:scale(0)}50%{transform:scale(1.1)}to{transform:scale(1)}}.audio-permission-success h4{color:#52c41a;margin-bottom:8px}.audio-permission-denied{text-align:left}@media (max-width:576px){.audio-permission-modal{width:90%!important}.audio-permission-modal .ant-modal-body{padding:20px}.audio-permission-icon{font-size:40px!important}}.otp-verification-container{align-items:center;background:linear-gradient(135deg,#e3f2fd,#f3e5f5);display:flex;justify-content:center;min-height:100vh;padding:1rem}.otp-verification-card{animation:slideUp .4s ease;background:#fff;border-radius:16px;box-shadow:0 20px 40px #00000008;max-width:450px;padding:2.5rem;text-align:center;width:100%}.otp-header{margin-bottom:2rem}.otp-header h2{color:#1a1a1a;font-size:1.5rem;font-weight:600;margin:0 0 .5rem}.otp-header p{color:#6b7280;font-size:.9rem;line-height:1.4;margin:0}.otp-form{margin-bottom:2rem}.otp-inputs{display:flex;gap:.75rem;justify-content:center;margin-bottom:1.5rem}.otp-input{background:#fafbfc;border:2px solid #e5e7eb;border-radius:8px;color:#1a1a1a;font-size:1.2rem;font-weight:600;height:50px;text-align:center;transition:all .2s ease;width:50px}.otp-input:focus{background:#fff;border-color:#1976d2;box-shadow:0 0 0 3px #007bff1a;outline:none;transform:scale(1.05)}.otp-input.error{animation:shake .5s ease;background:#fff5f5;border-color:#d32f2f}@keyframes shake{0%,to{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}.otp-input:disabled{cursor:not-allowed;opacity:.6}.error-message{animation:fadeIn .3s ease;background:#fff5f5;font-size:.9rem;margin-bottom:1rem;padding:.75rem}.verify-btn{background:#1976d2;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;margin-bottom:1rem;padding:.875rem;transition:all .2s ease;width:100%}.verify-btn:hover:not(:disabled){background:#0056b3;box-shadow:0 4px 12px #007bff4d;transform:translateY(-1px)}.verify-btn:disabled{background:#6b7280;box-shadow:none;cursor:not-allowed;transform:none}.otp-footer{align-items:center;border-top:1px solid #e5e7eb;display:flex;justify-content:space-between;margin-bottom:1.5rem;padding-top:1rem}.timer{color:#6b7280;font-size:.85rem}.timer .expired{color:#d32f2f;font-weight:500}.resend-btn{background:none;border:none;border-radius:6px;color:#1976d2;cursor:pointer;font-size:.9rem;font-weight:500;padding:.5rem 1rem;transition:all .2s ease}.resend-btn:hover:not(:disabled){background:#fafbfc;color:#0056b3}.resend-btn:disabled{color:#6b7280;cursor:not-allowed}.help-text{background:#fafbfc;border-radius:8px;padding:1rem;text-align:left}.help-text p{color:#6b7280;font-size:.85rem;line-height:1.4;margin:0 0 .5rem}.help-text p:last-child{margin-bottom:0}@media (max-width:480px){.otp-verification-container{padding:.5rem}.otp-verification-card{padding:2rem 1.5rem}.otp-inputs{gap:.5rem}.otp-input{font-size:1.1rem;height:45px;width:45px}.otp-footer{flex-direction:column;gap:1rem;text-align:center}}.verify-btn:disabled{position:relative}.verify-btn:disabled:after{animation:spin 1s linear infinite;border:2px solid #0000;border-radius:50%;border-top-color:#fff;bottom:0;content:"";height:16px;left:0;margin:auto;position:absolute;right:0;top:0;width:16px}.otp-input.success{animation:successPulse .6s ease;background:#f8fff9;border-color:#388e3c}@keyframes successPulse{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}.otp-input:focus{position:relative;z-index:1}.otp-input:focus-visible{outline:2px solid #1976d2;outline-offset:2px}@media (prefers-color-scheme:dark){.otp-verification-card{background:#1a1a1a;color:#fff}.otp-header h2{color:#fff}.otp-header p{color:#ccc}.otp-input{background:#2d2d2d;border-color:#404040;color:#fff}.otp-input:focus{background:#333;border-color:#1976d2}.help-text{background:#2d2d2d}.help-text p{color:#ccc}}.blinking-indicator{animation:blink 1s ease-in-out infinite alternate;border-radius:50%}@keyframes blink{0%{opacity:.3}to{opacity:1}}.dashboard{background:linear-gradient(135deg,#fafbfc,#f0f4f8);min-height:100vh;padding:24px}.dashboard-header{background:linear-gradient(135deg,#fff,#fafbfc);color:#374151;padding:32px}.welcome-section{align-items:center;display:flex;flex-wrap:wrap;gap:24px;justify-content:space-between}.greeting-container{flex:1 1;min-width:300px}.greeting-icon{font-size:32px;margin-right:16px}.greeting-text{color:#374151!important;font-weight:600;text-shadow:none}.welcome-message{color:#6b7280;display:block;font-size:16px;margin-top:8px}.user-profile-section{align-items:center;background:#ffffffe6;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 2px 8px #00000008;display:flex;gap:16px;padding:16px}.dashboard-avatar{border:3px solid #e5e7eb;box-shadow:0 4px 12px #0000000d}.user-info{flex-direction:column}.user-name{color:#374151;font-size:16px;font-weight:600}.user-tags{display:flex;flex-wrap:wrap;gap:8px}.role-tag,.status-tag{border:none;border-radius:6px;font-size:12px;font-weight:500}.quick-stats-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 4px 16px #00000008}.quick-stats-card .ant-card-head{background:linear-gradient(135deg,#fff,#fafbfc);border-bottom:1px solid #f0f0f0;border-radius:12px 12px 0 0}.quick-stats-card .ant-card-head-title{color:#374151;font-weight:600}.stat-item{padding:16px;transition:all .3s ease}.stat-item:hover{background:#f9fafb;box-shadow:0 4px 12px #0000000d;transform:translateY(-2px)}.chart-container{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 4px 16px #00000008}.chart-container .ant-card-head{background:linear-gradient(135deg,#fff,#fafbfc);border-bottom:1px solid #f0f0f0;border-radius:12px 12px 0 0}.chart-container .ant-card-head-title{color:#374151;font-weight:600}.recent-leads-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 4px 16px #00000008}.recent-leads-card .ant-card-head{background:linear-gradient(135deg,#fff,#fafbfc);border-bottom:1px solid #f0f0f0;border-radius:12px 12px 0 0}.recent-leads-card .ant-card-head-title{color:#374151;font-weight:600}.ant-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 4px 16px #00000008;transition:all .3s ease}.ant-card:hover{box-shadow:0 8px 24px #0000000d;transform:translateY(-4px)}.ant-card .ant-card-head{background:linear-gradient(135deg,#fff,#fafbfc);border-bottom:1px solid #f0f0f0;border-radius:12px 12px 0 0}.ant-card .ant-card-head-title{color:#374151;font-weight:600}@media (max-width:768px){.dashboard{padding:16px}.dashboard-header{padding:24px}.welcome-section{flex-direction:column;text-align:center}.greeting-container{min-width:auto}.user-profile-section{justify-content:center}.stat-item{padding:12px}}@media (max-width:576px){.dashboard-header{padding:20px}.greeting-icon{font-size:24px}.greeting-text{font-size:20px}.welcome-message{font-size:14px}.user-profile-section{flex-direction:column;gap:12px;text-align:center}}.loading-spinner{background:#fff;border-radius:12px;box-shadow:0 4px 16px #00000008}.dashboard-header{animation:fadeInUp .6s ease-out}.chart-container,.quick-stats-card,.recent-leads-card{animation:fadeInUp .6s ease-out;animation-fill-mode:both}.quick-stats-card{animation-delay:.1s}.chart-container{animation-delay:.2s}.recent-leads-card{animation-delay:.3s}.followup-modal-overlay{align-items:center;background-color:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.followup-modal{background:#fff;border-radius:8px;box-shadow:0 4px 20px #0000000d;max-height:90vh;max-width:500px;overflow-y:auto;width:90%}.followup-modal-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:20px 24px}.followup-modal-header h3{color:#111827;font-size:1.25rem;font-weight:600;margin:0}.followup-modal-form{padding:24px}.form-group input,.form-group select,.form-group textarea{font-size:.875rem;padding:8px 12px;transition:border-color .2s,box-shadow .2s}.btn-secondary{background-color:#f9fafb;border:1px solid #d1d5db}.btn-secondary:hover:not(:disabled){background-color:#e5e7eb}@media (max-width:640px){.followup-modal{margin:20px;width:95%}.followup-modal-form,.followup-modal-header{padding:16px}.form-actions{flex-direction:column}.btn{width:100%}}.whatsapp-type-modal .ant-modal-header{border-bottom:1px solid #f0f0f0;padding:16px 24px}.whatsapp-type-modal .ant-modal-body{padding:16px}.whatsapp-option{border:1px solid #0000;margin-bottom:8px}.whatsapp-option:hover{border-color:#d9d9d9}.whatsapp-option:last-child{margin-bottom:0}.leads-page{background:#fafbfc;min-height:100vh;padding:24px}.filter-bar,.page-header{border:1px solid #e5e7eb;padding:20px 24px}.filter-bar{margin-bottom:16px}.section-card{margin-bottom:16px;padding:20px}.leads-table-container,.section-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 2px 8px #00000008}.leads-table-container{padding:24px}.leads-table{font-size:14px}.leads-table .ant-table{border-radius:8px;overflow:hidden}.leads-table .ant-table-thead>tr>th{background:#f9fafb;border-bottom:2px solid #e5e7eb;color:#374151;font-size:14px;font-weight:600;padding:16px}.leads-table .ant-table-tbody>tr{transition:all .2s ease}.leads-table-row{cursor:pointer}.leads-table-row:hover{background-color:#f9fafb}.leads-table .ant-table-tbody>tr>td{border-bottom:1px solid #e5e7eb;padding:16px}.lead-avatar-name,.lead-info-cell{align-items:center;display:flex}.lead-avatar-name{gap:12px}.lead-name-details{display:flex;flex-direction:column;gap:4px}.lead-name{color:#374151;font-size:14px;font-weight:600;line-height:1.4}.lead-number{color:#6b7280;font-size:12px}.contact-cell{gap:6px}.contact-item{align-items:center;color:#6b7280;display:flex;font-size:13px}.contact-text{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.score-cell{align-items:center;display:flex;justify-content:center}.leads-table .ant-pagination{margin-top:24px;text-align:center}.leads-table .ant-btn-text{color:#6b7280;transition:all .2s ease}.leads-table .ant-btn-text:hover{background-color:#e3f2fd;color:#1976d2}.leads-table .ant-tag{border:none;border-radius:4px;font-size:12px;padding:2px 10px}.leads-table .ant-badge{font-weight:600}.leads-table .ant-spin{align-items:center;display:flex;justify-content:center;min-height:400px}.leads-table .ant-empty{padding:60px 0}@media (max-width:768px){.leads-page{padding:16px}.page-header{align-items:flex-start;flex-direction:column;gap:16px}.page-title{font-size:20px}.filter-bar{padding:16px}.leads-table-container{overflow-x:auto;padding:16px}.leads-table .ant-table-tbody>tr>td,.leads-table .ant-table-thead>tr>th{padding:12px 8px}.contact-text{max-width:120px}}.leads-table .ant-table-body::-webkit-scrollbar{height:8px}.leads-table .ant-table-body::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.leads-table .ant-table-body::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.leads-table .ant-table-body::-webkit-scrollbar-thumb:hover{background:#555}.filter-bar .ant-btn{transition:all .3s ease}.filter-bar .ant-btn:hover{box-shadow:0 2px 8px #00000008;transform:translateY(-1px)}.filter-bar .ant-input-search,.filter-bar .ant-input-search .ant-input,.filter-bar .ant-select{border-radius:6px}.filter-bar .ant-select-selector{border-radius:6px!important}.ant-tooltip{font-size:12px}.leads-table .ant-table-tbody>tr:hover>td{background-color:#f9fafb!important}.leads-table .ant-table-cell-fix-left,.leads-table .ant-table-cell-fix-right{background:#fff}.leads-table .ant-table-tbody>tr:hover .ant-table-cell-fix-left,.leads-table .ant-table-tbody>tr:hover .ant-table-cell-fix-right{background-color:#f9fafb!important}.followup-countdown{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;box-shadow:0 4px 12px #667eea33;display:flex;gap:16px;margin:16px 0;padding:20px}.followup-countdown.loading{background:#f3f4f6;color:#6b7280;justify-content:center}.followup-countdown.overdue{background:linear-gradient(135deg,#ff6b6b,#ee5a6f)}.countdown-icon{filter:brightness(0) invert(1);font-size:2.5rem}.countdown-content{flex:1 1}.countdown-label{color:#ffffffe6;font-size:.875rem;font-weight:500;letter-spacing:.5px;margin-bottom:8px;text-transform:uppercase}.countdown-timer{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.countdown-unit{align-items:center;background:#ffffff26;border-radius:8px;display:flex;flex-direction:column;min-width:60px;padding:8px 12px}.countdown-value{color:#fff;font-size:1.5rem;font-weight:700;line-height:1}.countdown-value.overdue-text{font-size:1.25rem;font-weight:600}.countdown-unit-label{color:#fffc;font-size:.75rem;font-weight:500;margin-top:4px;text-transform:uppercase}.countdown-separator{color:#fff;font-size:1.5rem;font-weight:700;opacity:.6}@media (max-width:640px){.followup-countdown{gap:12px;padding:16px}.countdown-icon{font-size:2rem}.countdown-unit{min-width:50px;padding:6px 8px}.countdown-separator,.countdown-value{font-size:1.25rem}}.followup-summary{background:#fff;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.followup-summary-header{align-items:center;background-color:#f9fafb;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:16px 20px}.followup-summary-header h4{color:#111827;font-size:1rem;font-weight:600;margin:0}.followup-summary-content{padding:20px}.summary-grid{margin-bottom:16px}.summary-item{gap:4px}.summary-item label{color:#6b7280;font-size:.75rem;font-weight:500;letter-spacing:.025em;text-transform:uppercase}.summary-item span{color:#374151;font-size:.875rem;font-weight:500}.status-badge{letter-spacing:.025em;width:-webkit-fit-content;width:fit-content}.status-badge.active{background-color:#dcfce7;color:#16a34a}.overdue-text,.status-badge.overdue{color:#d32f2f}.overdue-notice{align-items:center;background-color:#fef2f2;border:1px solid #fecaca;border-radius:6px;color:#d32f2f;display:flex;font-size:.875rem;gap:8px;padding:12px 16px}.overdue-icon{font-size:1rem}.no-followup{color:#6b7280;padding:20px;text-align:center}.no-followup p{margin:0 0 8px}.help-text{color:#9ca3af}.enable-form{background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:6px;margin:20px;padding:16px}.enable-form h5{color:#374151;font-size:.875rem;font-weight:600;margin:0 0 16px}.form-group input{border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;padding:8px 12px;transition:border-color .2s,box-shadow .2s;width:100%}.form-group input:focus{border-color:#1976d2;box-shadow:0 0 0 3px #3b82f61a;outline:none}.form-actions{margin-top:16px}@media (max-width:640px){.summary-grid{grid-template-columns:1fr}.followup-summary-header{align-items:stretch;flex-direction:column;gap:12px}.form-actions{flex-direction:column}.btn{width:100%}}.followup-list{background:#fff;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.followup-list-header{align-items:center;background-color:#f9fafb;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:16px 20px}.followup-list-header h4{color:#111827;font-size:1rem;font-weight:600;margin:0}.followup-count{background-color:#e5e7eb;border-radius:12px;color:#6b7280;font-size:.875rem;padding:4px 8px}.followup-items{max-height:500px;overflow-y:auto}.followup-items::-webkit-scrollbar{width:8px}.followup-items::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.followup-items::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:4px}.followup-items::-webkit-scrollbar-thumb:hover{background:#9ca3af}.followup-item{background:#fff;border-bottom:1px solid #e5e7eb;padding:16px;transition:all .2s}.followup-item:last-child{border-bottom:none}.followup-item:hover{background-color:#f9fafb;box-shadow:0 1px 3px #0000000d}.followup-item.completed{background-color:#f0fdf4;border-left:3px solid #22c55e}.followup-item.overdue{background-color:#fef2f2;border-left:3px solid #ef4444}.followup-item-header{align-items:center;display:flex;gap:12px;margin-bottom:12px}.followup-status{flex-shrink:0}.status-badge{box-shadow:0 1px 2px #0000000d}.status-badge.pending{border:1px solid #fde68a}.status-badge.overdue{background-color:#fee2e2;border:1px solid #fecaca;color:#991b1b}.status-badge.completed{background-color:#dcfce7;border:1px solid #bbf7d0;color:#166534}.followup-details{background:#00000005;border-radius:6px;display:flex;flex-direction:column;gap:10px;padding:12px}.followup-detail-row{align-items:flex-start;display:flex;font-size:.875rem;gap:12px;line-height:1.5}.followup-detail-row strong{align-items:center;color:#374151;display:flex;font-weight:600;gap:6px;min-width:150px}.followup-detail-row span{color:#1f2937;flex:1 1;word-break:break-word}.followup-completed,.followup-date{color:#6b7280;font-size:.875rem}.followup-completed{margin-left:auto}.followup-remarks{background-color:#f9fafb;border-radius:6px;color:#374151;font-size:.875rem;margin-top:8px;padding:8px 12px}.followup-actions{align-items:center;display:flex;gap:8px;margin-top:12px}.btn{font-size:.75rem;padding:6px 12px}.btn-warning{background-color:#f57c00}.followup-form{background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:6px;margin-top:16px;padding:16px}.followup-form h5{color:#374151;font-size:.875rem;font-weight:600;margin:0 0 12px}.form-group{margin-bottom:12px}.form-group label{font-size:.75rem;margin-bottom:4px}.form-group input,.form-group textarea{border-radius:4px;font-size:.75rem;padding:6px 8px;transition:border-color .2s}.form-group input:focus,.form-group textarea:focus{box-shadow:0 0 0 2px #3b82f61a}.form-group textarea{min-height:60px}.form-actions{gap:8px;margin-top:12px}.empty-state,.error,.loading{color:#6b7280;padding:20px;text-align:center}.error{background-color:#fef2f2;border:1px solid #fecaca;border-radius:6px;color:#d32f2f;margin:16px}@media (max-width:640px){.followup-item-header{align-items:flex-start;flex-direction:column;gap:8px}.followup-completed{margin-left:0}.action-buttons{flex-direction:column;width:100%}.btn{width:100%}}.lead-detail{background:#fafbfc;min-height:100vh;padding:24px}.lead-detail .page-header{align-items:center;background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000005;display:flex;justify-content:space-between;margin-bottom:24px;padding:20px 24px}.lead-detail .page-header .header-left{flex:1 1}.lead-detail .page-header h2{color:#374151;font-size:24px;font-weight:600;margin:0}.lead-detail .card-title-with-actions{align-items:center;display:flex;justify-content:space-between;width:100%}.lead-detail .editable-field{margin-bottom:8px}.lead-detail .editable-field .ant-input-number,.lead-detail .editable-field .ant-select{margin-top:4px}.lead-detail .history-timeline{display:flex;flex-direction:column;gap:16px}.lead-detail .history-item{align-items:flex-start;display:flex;gap:12px}.lead-detail .history-icon{align-items:center;background:#f0f0f0;border-radius:50%;display:flex;flex-shrink:0;height:32px;justify-content:center;width:32px}.lead-detail .history-icon .anticon{color:#1976d2;font-size:14px}.lead-detail .history-content{flex:1 1}.lead-detail .save-changes-bar{align-items:center;background:#fff7e6;border:1px solid #ffd591;border-radius:6px;display:flex;justify-content:space-between;margin-top:16px;padding:12px 16px}.lead-detail .contact-info-row,.lead-detail .source-tags-row{padding:8px 0}.lead-detail .action-btn{border-radius:6px;transition:all .3s ease}.lead-detail .action-btn-note{background:#e8f5e9;border-color:#a5d6a7;color:#2e7d32}.lead-detail .action-btn-note:hover{background:#c8e6c9;border-color:#81c784;color:#1b5e20}.lead-detail .action-btn-followup{background:#e3f2fd;border-color:#90caf9;color:#1565c0}.lead-detail .action-btn-followup:hover{background:#bbdefb;border-color:#64b5f6;color:#0d47a1}.lead-detail .action-btn-call{background:#fff3e0;border-color:#ffcc80;color:#e65100}.lead-detail .action-btn-call:hover{background:#ffe0b2;border-color:#ffb74d;color:#bf360c}.lead-detail .action-btn-email{background:#f3e5f5;border-color:#ce93d8;color:#6a1b9a}.lead-detail .action-btn-email:hover{background:#e1bee7;border-color:#ba68c8;color:#4a148c}.lead-detail .notes-section{padding:8px 0}.lead-detail .add-note-form{margin-bottom:16px}.lead-detail .note-textarea{border:1px solid #d9d9d9;border-radius:6px;font-family:inherit;font-size:14px;padding:8px 12px;resize:vertical;transition:border-color .3s;width:100%}.lead-detail .note-textarea:focus{border-color:#1976d2;box-shadow:0 0 0 2px #1976d21a;outline:none}.lead-detail .notes-list{display:flex;flex-direction:column;gap:12px;max-height:400px;overflow-y:auto}.lead-detail .note-item{background:#f9fafb;border-left:3px solid #1976d2;border-radius:6px;padding:12px}.lead-detail .note-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:4px}.lead-detail .lead-name-title{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#1976d2,#42a5f5);-webkit-background-clip:text;background-clip:text}.lead-detail .notes-section-inline{padding:8px 0}.lead-detail .notes-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.lead-detail .notes-list-inline{display:flex;flex-direction:column;gap:8px}.lead-detail .note-item-inline{background:#f0f7ff;border-left:3px solid #1976d2;border-radius:6px;padding:8px 12px}.lead-detail .note-header-inline{align-items:center;display:flex;justify-content:space-between;margin-bottom:4px}.note-modal-overlay{align-items:center;animation:fadeIn .2s ease;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.note-modal{animation:slideUp .3s ease;background:#fff;border-radius:12px;box-shadow:0 10px 40px #0003;max-height:80vh;max-width:600px;overflow-y:auto;width:90%}.note-modal-header{align-items:center;border-bottom:1px solid #f0f0f0;display:flex;justify-content:space-between;padding:20px 24px}.note-modal-header h3{color:#374151;font-size:18px;font-weight:600;margin:0}.note-modal .close-button{align-items:center;background:none;border:none;border-radius:4px;color:#6b7280;cursor:pointer;display:flex;font-size:28px;height:32px;justify-content:center;padding:0;transition:all .2s;width:32px}.note-modal .close-button:hover{background:#f3f4f6;color:#374151}.note-modal-body{padding:24px}.note-modal-footer{border-top:1px solid #f0f0f0;display:flex;gap:8px;justify-content:flex-end;padding:16px 24px}.note-modal-list{max-height:300px;overflow-y:auto;padding:0 24px 24px}.note-modal-list .note-item{margin-bottom:12px}.lead-detail .section-card{border-radius:8px;box-shadow:0 2px 8px #00000005;margin-bottom:24px}.lead-detail .section-card .ant-card-head{background:#f9fafb;border-bottom:1px solid #f0f0f0;font-weight:600}.lead-detail .ant-tag.clickable{cursor:pointer;transition:all .3s ease}.lead-detail .ant-tag.clickable:hover{box-shadow:0 2px 8px #0000000d;transform:translateY(-2px)}.lead-detail .tag-list{display:flex;flex-wrap:wrap;gap:8px}.lead-detail .tag-item{margin:0}@media (max-width:768px){.lead-detail{padding:16px}.lead-detail .page-header{align-items:flex-start;flex-direction:column;gap:16px;padding:16px}.lead-detail .page-header h2{font-size:20px}.lead-detail .card-title-with-actions{align-items:flex-start;flex-direction:column;gap:12px}.lead-detail .card-title-with-actions .ant-space{flex-wrap:wrap;width:100%}}.lead-form-page{background:#fafbfc;min-height:100vh;padding:24px}.lead-form-page .page-header{background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000005;margin-bottom:24px;padding:20px 24px}.lead-form-page .page-title{color:#374151;font-size:24px;font-weight:600;margin:0}.lead-form-page .content-container{border-radius:8px;box-shadow:0 2px 8px #00000005}.lead-form-page .form-section{border:1px solid #f0f0f0;border-radius:8px;box-shadow:none;margin-bottom:16px}.lead-form-page .form-section .ant-card-head{background:#f9fafb;border-bottom:1px solid #f0f0f0;font-weight:600}.lead-form-page .action-buttons{border-top:1px solid #f0f0f0;display:flex;justify-content:flex-end;margin-top:24px;padding:20px 0}.lead-form-page .ant-form-item-label>label{color:#374151;font-weight:500}.lead-form-page .ant-input,.lead-form-page .ant-input-number,.lead-form-page .ant-picker,.lead-form-page .ant-select-selector{border-radius:6px}.lead-form-page .ant-input-number:focus,.lead-form-page .ant-input:focus,.lead-form-page .ant-picker:focus,.lead-form-page .ant-select-selector:focus{border-color:#1976d2;box-shadow:0 0 0 2px #1890ff1a}.lead-form-page .ant-btn{border-radius:6px;font-weight:500;transition:all .3s ease}.lead-form-page .ant-btn:hover{box-shadow:0 2px 8px #00000008;transform:translateY(-1px)}@media (max-width:768px){.lead-form-page,.lead-form-page .page-header{padding:16px}.lead-form-page .page-title{font-size:20px}.lead-form-page .action-buttons{justify-content:center}}.lead-form-page.compact{padding:16px}.lead-form-page .compact-header{align-items:center;background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000000d;display:flex;justify-content:space-between;margin-bottom:16px;padding:12px 20px}.lead-form-page .compact-form{padding:20px}.lead-form-page .compact-form .ant-form-item{margin-bottom:16px}.lead-form-page .compact-form .ant-form-item-label>label{font-size:13px;font-weight:500;margin-bottom:4px}.lead-form-page .compact-form .ant-input,.lead-form-page .compact-form .ant-input-number,.lead-form-page .compact-form .ant-select-selector{font-size:14px;padding:6px 11px}.lead-form-page .compact-form .ant-input::placeholder,.lead-form-page .compact-form .ant-select-selection-placeholder{font-size:13px}@media (max-width:768px){.lead-form-page .compact-header{align-items:flex-start;flex-direction:column;gap:12px}}.file-upload-container{display:flex;flex-direction:column;gap:30px}.upload-instructions h2{color:#1a1a1a;font-size:24px;font-weight:600;margin-bottom:15px}.upload-instructions p{color:#666;font-size:16px;margin-bottom:15px}.upload-instructions ul{list-style:none;padding:0}.upload-instructions ul li{align-items:center;color:#666;display:flex;gap:10px;padding:8px 0}.upload-instructions ul li:before{color:#4caf50;content:"✓";font-weight:700}.file-drop-zone{background:#f9fdf9;border:2px dashed #4caf50;border-radius:12px;padding:60px 40px;text-align:center;transition:all .3s ease}.file-drop-zone:hover{background:#f1f8f4;border-color:#45a049}.drop-zone-content{align-items:center;display:flex;flex-direction:column;gap:20px}.drop-zone-content i{color:#4caf50;font-size:64px}.drop-zone-content h3{color:#1a1a1a;font-size:20px;font-weight:600;margin:0}.drop-zone-content p{color:#999;font-size:14px;margin:0}.drop-zone-content .btn-primary{background:#4caf50;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:16px;font-weight:500;padding:12px 30px;transition:all .3s ease}.drop-zone-content .btn-primary:hover{background:#45a049}.drop-zone-content .btn-primary:disabled{background:#ccc;cursor:not-allowed}.upload-tips{background:#fff3cd;border:1px solid #ffc107;border-radius:8px;padding:20px}.upload-tips h3{color:#856404;font-size:16px;font-weight:600;margin-bottom:15px}.upload-tips ul{list-style:none;margin:0;padding:0}.upload-tips ul li{align-items:center;color:#856404;display:flex;font-size:14px;gap:10px;padding:5px 0}.upload-tips ul li:before{color:#ffc107;content:"•";font-size:18px;font-weight:700}@media (max-width:768px){.file-drop-zone{padding:40px 20px}.drop-zone-content i{font-size:48px}.drop-zone-content h3{font-size:18px}}.field-mapping-container{display:flex;flex-direction:column;gap:25px}.mapping-header h2{color:#1a1a1a;font-size:24px;font-weight:600;margin-bottom:10px}.mapping-header p{color:#666;font-size:14px}.mapping-stats{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.stat-card{background:linear-gradient(135deg,#4caf50,#45a049);color:#fff}.stat-value{font-size:32px;margin-bottom:5px}.stat-label{opacity:.9}.category-filters{background:#f5f5f5;border-radius:8px;display:flex;flex-wrap:wrap;gap:10px;padding:15px}.category-btn{background:#fff;border:1px solid #ddd;border-radius:6px;color:#666;cursor:pointer;font-size:14px;font-weight:500;padding:8px 16px;transition:all .3s ease}.category-btn:hover{border-color:#4caf50;color:#4caf50}.category-btn.active{background:#4caf50;border-color:#4caf50;color:#fff}.mapping-table{border:1px solid #e0e0e0;border-radius:8px;overflow:hidden}.mapping-table-header{background:#f5f5f5;color:#333;display:grid;font-size:14px;font-weight:600;grid-template-columns:1fr 1.5fr 1.5fr}.mapping-table-body{max-height:500px;overflow-y:auto}.mapping-row{border-bottom:1px solid #e0e0e0;display:grid;grid-template-columns:1fr 1.5fr 1.5fr;transition:background .2s ease}.mapping-row:hover{background:#f9f9f9}.mapping-row:last-child{border-bottom:none}.field-cell,.mapping-cell,.sample-cell{align-items:center;border-right:1px solid #e0e0e0;display:flex;padding:15px}.field-cell{gap:10px}.field-label{color:#333;font-size:14px;font-weight:500}.required-badge{background:#ff9800;color:#fff;font-size:10px;font-weight:600}.mapping-select{background:#fff;border:1px solid #ddd;border-radius:6px;color:#333;cursor:pointer;font-size:14px;padding:8px 12px;transition:border-color .3s ease;width:100%}.mapping-select:focus{border-color:#4caf50;outline:none}.sample-value{background:#f5f5f5;border-radius:4px;color:#666;font-family:monospace;font-size:14px;padding:4px 8px}.no-sample{color:#999}.unmapped-warning{align-items:center;background:#fff3cd;border:1px solid #ffc107;border-radius:8px;color:#856404;display:flex;font-size:14px;gap:10px;padding:15px}.unmapped-warning i{font-size:18px}.mapping-actions{border-top:1px solid #e0e0e0;display:flex;gap:15px;justify-content:space-between;padding-top:20px}.mapping-actions button{align-items:center;border-radius:8px;cursor:pointer;display:flex;font-size:16px;font-weight:500;gap:8px;padding:12px 24px;transition:all .3s ease}@media (max-width:768px){.mapping-row,.mapping-table-header{grid-template-columns:1fr}.field-cell,.header-cell,.mapping-cell,.sample-cell{border-bottom:1px solid #e0e0e0;border-right:none}.mapping-actions{flex-direction:column}.mapping-actions button{width:100%}}.import-preview-container{display:flex;flex-direction:column;gap:25px}.preview-header h2{color:#1a1a1a;font-size:24px;font-weight:600;margin-bottom:10px}.preview-header p{color:#666;font-size:14px}.preview-summary{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.summary-card{border:1px solid #e0e0e0;border-radius:10px;gap:15px;padding:20px;transition:all .3s ease}.summary-card:hover{box-shadow:0 4px 12px #0000001a}.summary-card i{color:#4caf50;font-size:32px}.summary-card.warning i{color:#ff9800}.summary-card.error i{color:#f44336}.summary-content{flex:1 1}.summary-value{color:#1a1a1a;font-size:28px}.summary-label{color:#666;font-size:13px;margin-top:4px}.validation-issues{background:#fff;border:1px solid #e0e0e0;border-radius:10px;padding:20px}.validation-issues h3{align-items:center;color:#1a1a1a;display:flex;font-size:18px;font-weight:600;gap:10px;margin-bottom:15px}.issues-list{display:flex;flex-direction:column;gap:10px;max-height:300px;overflow-y:auto}.issue-item{border:1px solid #e0e0e0;border-radius:8px;display:flex;gap:12px;padding:12px}.issue-item.error{background:#ffebee;border-color:#f44336}.issue-item.warning{background:#fff3cd;border-color:#ff9800}.issue-icon i{font-size:20px}.issue-item.error .issue-icon i{color:#f44336}.issue-item.warning .issue-icon i{color:#ff9800}.issue-details{flex:1 1}.issue-field{color:#333;font-size:14px;font-weight:600;margin-bottom:4px}.issue-message{color:#666;font-size:13px}.issue-value{color:#999;font-family:monospace;font-size:12px;margin-top:4px}.more-issues{color:#666;font-size:14px;font-weight:500;padding:10px;text-align:center}.import-options{background:#fff;border:1px solid #e0e0e0;border-radius:10px;padding:20px}.import-options h3{align-items:center;color:#1a1a1a;display:flex;font-size:18px;font-weight:600;gap:10px;margin-bottom:20px}.options-grid{grid-gap:25px;display:grid;gap:25px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.option-group h4{color:#333;font-size:15px;font-weight:600;margin-bottom:15px}.option-checkbox{align-items:center;color:#333;cursor:pointer;display:flex;font-size:14px;gap:10px;margin-bottom:12px}.option-checkbox input[type=checkbox]{cursor:pointer;height:18px;width:18px}.option-field{margin-bottom:15px}.option-field label{color:#333;display:block;font-size:14px;font-weight:500;margin-bottom:8px}.option-field select{background:#fff;border:1px solid #ddd;border-radius:6px;color:#333;cursor:pointer;font-size:14px;padding:10px;transition:border-color .3s ease;width:100%}.option-field select:focus{border-color:#4caf50;outline:none}.preview-actions{border-top:1px solid #e0e0e0;display:flex;gap:15px;justify-content:space-between;padding-top:20px}.preview-actions button{border-radius:8px;cursor:pointer;font-size:16px;gap:8px;padding:12px 24px;transition:all .3s ease}.error-notice,.preview-actions button{align-items:center;display:flex;font-weight:500}.error-notice{background:#ffebee;border:1px solid #f44336;border-radius:8px;color:#c62828;font-size:14px;gap:10px;padding:15px}@media (max-width:768px){.options-grid{grid-template-columns:1fr}.preview-actions{flex-direction:column}.preview-actions button{width:100%}}.import-progress-container{justify-content:center;padding:40px 20px;text-align:center}.import-progress-container,.progress-loading{align-items:center;display:flex;flex-direction:column}.progress-loading{gap:20px}.spinner{border:4px solid #f3f3f3;border-top-color:#4caf50}.status-icon{border-radius:50%;height:100px;margin-bottom:20px;width:100px}.status-icon i{font-size:50px}.status-icon.processing{background:#e3f2fd;color:#2196f3}.status-icon.completed{background:#e8f5e9;color:#4caf50}.status-icon.failed{background:#ffebee;color:#f44336}.status-icon.partial{background:#fff3e0;color:#ff9800}.status-title{color:#1a1a1a;font-size:28px;font-weight:600;margin-bottom:30px}.progress-stats{display:flex;gap:40px;margin-bottom:30px}.stat-item{min-width:120px}.stat-value{font-size:36px}.stat-item.success .stat-value{color:#4caf50}.stat-item.error .stat-value{color:#f44336}.stat-label{font-size:14px;margin-top:5px}.progress-bar-container{margin-bottom:30px;max-width:500px;width:100%}.progress-bar{background:#e0e0e0;border-radius:5px;height:10px;margin-bottom:10px}.progress-fill{background:linear-gradient(90deg,#4caf50,#45a049);border-radius:5px;transition:width .3s ease}.progress-text{color:#4caf50;font-size:14px;font-weight:600}.completion-message{border-radius:8px;margin-bottom:30px;max-width:600px;padding:20px 30px}.completion-message.success{background:#e8f5e9;border:1px solid #4caf50;color:#2e7d32}.completion-message.warning{background:#fff3e0;border:1px solid #ff9800;color:#e65100}.completion-message.error{background:#ffebee;border:1px solid #f44336;color:#c62828}.completion-message p{font-size:16px;font-weight:500;margin:0}.progress-actions{display:flex;flex-wrap:wrap;gap:15px;justify-content:center}.progress-actions button{align-items:center;border-radius:8px;cursor:pointer;display:flex;font-size:16px;font-weight:500;gap:8px;padding:12px 24px;transition:all .3s ease}.processing-info{align-items:center;background:#e3f2fd;border:1px solid #2196f3;border-radius:8px;color:#1565c0;display:flex;gap:10px;margin-top:30px;max-width:500px;padding:15px}.processing-info i{font-size:20px}.processing-info p{font-size:14px;margin:0}.progress-error{align-items:center;display:flex;flex-direction:column;gap:20px}.progress-error i{color:#f44336;font-size:60px}.progress-error h3{color:#1a1a1a;font-size:24px;font-weight:600;margin:0}.progress-error p{color:#666;font-size:16px;margin:0}@media (max-width:768px){.progress-stats{flex-direction:column;gap:20px}.status-title{font-size:22px}.stat-value{font-size:28px}.progress-actions{flex-direction:column;width:100%}.progress-actions button{width:100%}}.lead-import-container{margin:0 auto;max-width:1400px;padding:20px}.lead-import-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:30px}.lead-import-header h1{color:#1a1a1a;font-size:28px;font-weight:600;margin:0}.header-actions button{align-items:center;border-radius:8px;display:flex;font-size:14px;font-weight:500;gap:8px;padding:10px 20px;transition:all .3s ease}.import-steps{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;justify-content:center;margin-bottom:40px;padding:20px}.import-steps,.step{align-items:center;display:flex}.step{flex-direction:column;gap:8px;min-width:120px}.step-number{align-items:center;background:#e0e0e0;border-radius:50%;color:#666;display:flex;font-size:16px;font-weight:600;height:40px;justify-content:center;transition:all .3s ease;width:40px}.step.active .step-number{background:#4caf50;color:#fff}.step.completed .step-number{background:#2196f3;color:#fff}.step-label{color:#666;font-size:14px;font-weight:500;text-align:center}.step.active .step-label{color:#4caf50;font-weight:600}.step.completed .step-label{color:#2196f3}.step-line{background:#e0e0e0;flex:1 1;height:2px;margin:0 10px 35px}.error-message{border:1px solid #ef5350;color:#c62828;gap:10px;padding:15px}.error-message i{font-size:20px}.import-content{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;min-height:400px;padding:30px}.btn-primary{background:#4caf50}.btn-primary:hover{background:#45a049}.btn-secondary{border:1px solid #4caf50;color:#4caf50}.btn-secondary:hover{background:#f1f8f4}.btn-secondary:disabled{background:#f5f5f5;border-color:#ddd}@media (max-width:768px){.lead-import-header{align-items:flex-start;flex-direction:column;gap:15px}.import-steps{padding:15px}.step{min-width:80px}.step-number{font-size:14px;height:32px;width:32px}.step-label{font-size:12px}.step-line{margin:0 5px 28px}.import-content{padding:20px}}.import-history-container{margin:0 auto;max-width:1400px;padding:20px}.history-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:30px}.history-header h1{color:#1a1a1a;font-size:28px;font-weight:600;margin:0 0 8px}.history-header p{color:#666;font-size:14px;margin:0}.history-header .btn-primary{align-items:center;border-radius:8px;display:flex;font-size:14px;font-weight:500;gap:8px;padding:12px 24px}.empty-state,.error-state,.loading-state{align-items:center;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;display:flex;flex-direction:column;justify-content:center;padding:60px 20px}.loading-state .spinner{border-top-color:#4caf50;margin-bottom:20px}.empty-state i,.error-state i{color:#999;font-size:60px}.error-state i{color:#f44336}.empty-state h3{margin:0 0 10px}.empty-state p,.error-state p{color:#666;font-size:16px;margin:0 0 20px}.history-table{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.table-header{background:#f5f5f5;color:#333;display:grid;font-size:13px;font-weight:600;grid-template-columns:2fr 1.5fr 1.5fr 1fr 1.5fr 1fr;letter-spacing:.5px;text-transform:uppercase}.header-cell{border-right:1px solid #e0e0e0;padding:15px}.header-cell:last-child{border-right:none}.table-body{max-height:600px;overflow-y:auto}.table-row{border-bottom:1px solid #e0e0e0;display:grid;grid-template-columns:2fr 1.5fr 1.5fr 1fr 1.5fr 1fr;transition:background .2s ease}.table-row:hover{background:#f9f9f9}.table-row:last-child{border-bottom:none}.cell{align-items:center;border-right:1px solid #e0e0e0;display:flex;padding:15px}.cell:last-child{border-right:none}.file-info i{color:#4caf50}.file-name{color:#333}.file-size{color:#999}.user-info{color:#666;font-size:14px;gap:8px}.date-info{color:#666;font-size:13px}.status-badge.pending{background:#e3f2fd;color:#1976d2}.status-badge.processing{background:#fff3e0;color:#f57c00}.status-badge.completed{background:#e8f5e9;color:#388e3c}.status-badge.failed{background:#ffebee;color:#d32f2f}.status-badge.partial{background:#fff3cd;color:#856404}.results-info{display:flex;font-size:13px;gap:12px}.results-info span{align-items:center;display:flex;gap:4px}.results-info .success{color:#4caf50}.results-info .failed{color:#f44336}.results-info .total{color:#666}.btn-icon{background:#f5f5f5;transition:all .3s ease}.btn-icon:hover{background:#4caf50;color:#fff}.btn-icon.delete:hover{background:#f44336}.pagination{box-shadow:0 2px 8px #0000001a}.pagination button{font-weight:500;gap:6px}.modal-content{max-width:400px}.modal-content h3{color:#1a1a1a;font-size:20px;font-weight:600;margin:0 0 15px}.modal-content p{color:#666;font-size:14px;margin:0 0 25px}.modal-actions{gap:10px}.modal-actions button{border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px;transition:all .3s ease}.btn-danger{background:#f44336;border:none}@media (max-width:1024px){.table-header,.table-row{grid-template-columns:1fr}.cell,.header-cell{border-bottom:1px solid #e0e0e0;border-right:none}.history-header{flex-direction:column;gap:15px}}.batch-detail-container{margin:0 auto;max-width:1400px;padding:20px}.detail-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:30px}.btn-back{background:none;border:none;color:#1890ff;display:block;margin-bottom:10px;padding:5px 0}.btn-back:hover{text-decoration:underline}.detail-header h1{font-size:24px;margin:0}.detail-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));margin-bottom:30px}.detail-card{background:#fff;box-shadow:0 2px 8px #0000001a;padding:20px}.detail-card h2{align-items:center;color:#333;display:flex;font-size:16px;font-weight:600;gap:8px;margin:0 0 15px}.detail-card h2 i{color:#1890ff}.detail-rows{display:flex;flex-direction:column;gap:12px}.detail-row{border-bottom:1px solid #f0f0f0;padding:8px 0}.detail-row:last-child{border-bottom:none}.detail-row .label{color:#666}.detail-row .value{color:#333;font-weight:600}.detail-row .value.total{color:#1890ff}.detail-row .value.success{color:#52c41a}.detail-row .value.failed{color:#f5222d}.detail-row .value.warning{color:#faad14}.errors-section{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;margin-bottom:20px;padding:20px}.errors-section h2{align-items:center;color:#f5222d;display:flex;font-size:16px;font-weight:600;gap:8px;margin:0 0 15px}.errors-list{display:flex;flex-direction:column;gap:12px;max-height:500px;overflow-y:auto}.error-item{background:#fff1f0;border:1px solid #ffccc7;border-radius:4px;padding:12px}.error-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.error-row{color:#333;font-size:12px;font-weight:600}.error-type{border-radius:3px;font-size:11px;font-weight:600;padding:2px 8px;text-transform:uppercase}.error-type.validation{background:#ffd591;color:#874d00}.error-type.duplicate{background:#bae7ff;color:#003a8c}.error-type.system{background:#ffccc7;color:#a8071a}.error-details{color:#333;font-size:14px;margin-bottom:4px}.error-data{background:#fff;border-radius:3px;color:#666;font-family:monospace;font-size:12px;margin-top:8px;overflow-x:auto;padding:8px}.more-errors{background:#f5f5f5;border-radius:4px;color:#666;font-weight:500;padding:12px;text-align:center}.processing-indicator{background:#e6f7ff;border:1px solid #91d5ff;border-radius:8px;padding:20px;text-align:center}.processing-indicator .spinner{animation:spin 1s linear infinite;border:3px solid #f3f3f3;border-radius:50%;border-top-color:#1890ff;height:40px;margin:0 auto 10px;width:40px}.processing-indicator p{color:#1890ff;font-weight:500;margin:0}.error-state,.loading-state{padding:60px 20px;text-align:center}.loading-state .spinner{animation:spin 1s linear infinite;border:4px solid #f3f3f3;border-radius:50%;border-top-color:#1890ff;height:50px;margin:0 auto 20px;width:50px}.error-state i{color:#f5222d;font-size:48px;margin-bottom:20px}.error-state p{color:#666;font-size:16px;margin-bottom:20px}.status-badge{border-radius:4px}.status-badge.pending{background:#ffd591;color:#874d00}.status-badge.processing{background:#91d5ff;color:#003a8c}.status-badge.completed{background:#b7eb8f;color:#135200}.status-badge.failed{background:#ffccc7;color:#a8071a}.status-badge.partial{background:#ffe58f;color:#613400}.followups-today{background:#f8f9fa;margin:0 auto;max-width:1600px;min-height:100vh;padding:24px}.page-header{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:16px;box-shadow:0 10px 40px #667eea4d}.page-header h1{font-size:2rem;font-weight:700}.page-header p{font-size:1rem;opacity:.9}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.stat-card{box-shadow:0 2px 8px #0000000d}.stat-card:hover{box-shadow:0 8px 24px #0000001a;transform:translateY(-4px)}.stat-icon{font-size:2.5rem;line-height:1}.stat-value{color:#111827}.stat-label{font-size:.875rem}.stat-today{border-left:4px solid #3b82f6}.stat-overdue{border-left:4px solid #ef4444}.stat-completed{border-left:4px solid #10b981}.stat-rate{border-left:4px solid #8b5cf6}.tabs{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000d;gap:12px;padding:8px}.tab{border-radius:8px;font-size:.95rem;gap:8px;position:relative}.tab:hover{background:#f3f4f6;color:#374151}.tab.active{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 12px #667eea4d;color:#fff}.tab-icon{font-size:1.2rem}.tab-badge{align-items:center;background:#fff3;border-radius:12px;display:inline-flex;font-size:.75rem;font-weight:700;height:24px;justify-content:center;min-width:24px;padding:0 8px}.tab.active .tab-badge{background:#ffffff4d}.tab-badge.badge-danger{background:#ef444433;color:#dc2626}.tab.active .tab-badge.badge-danger{background:#ffffff4d;color:#fff}.search-box{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:12px;box-shadow:0 2px 8px #0000000d;display:flex;padding:12px 16px;transition:all .3s ease;width:100%}.search-box:focus-within{border-color:#667eea;box-shadow:0 4px 16px #667eea33}.search-icon{font-size:1.2rem;margin-right:12px}.search-box input{border:none;color:#111827;flex:1 1;font-size:.95rem;outline:none}.search-box input::placeholder{color:#9ca3af}.clear-search{font-size:.875rem}.table-container{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000d;margin-bottom:24px;overflow:hidden}.followups-table{border-collapse:collapse;width:100%}.followups-table thead{background:linear-gradient(135deg,#f8f9fa,#e9ecef)}.followups-table th{border-bottom:2px solid #e5e7eb;color:#374151;font-size:.875rem;font-weight:700;letter-spacing:.5px;padding:16px;text-align:left;text-transform:uppercase;white-space:nowrap}.followups-table th.sortable{cursor:pointer;transition:all .2s ease;-webkit-user-select:none;user-select:none}.followups-table th.sortable:hover{background:#667eea1a;color:#667eea}.sort-indicator{color:#667eea;font-size:1rem;margin-left:6px}.followups-table tbody tr{border-bottom:1px solid #f3f4f6;transition:all .2s ease}.followups-table tbody tr:hover{background:#f9fafb;transform:scale(1.001)}.followups-table tbody tr.row-overdue{background:linear-gradient(90deg,#fef2f2,#fff 20%)}.followups-table tbody tr.row-overdue:hover{background:linear-gradient(90deg,#fee2e2,#f9fafb 20%)}.followups-table td{color:#374151;font-size:.875rem;padding:16px;vertical-align:middle}.lead-name-cell{display:flex;flex-direction:column;gap:4px}.lead-name-cell strong{color:#111827;font-size:.95rem;font-weight:600}.lead-name-cell small{color:#6b7280;font-size:.8rem}.lead-number{background:#ede9fe;border-radius:6px;color:#667eea;display:inline-block;font-family:monospace;font-weight:600;padding:4px 8px}.contact-cell{display:flex;flex-direction:column;gap:4px}.contact-cell div{color:#374151}.contact-cell small{color:#6b7280;font-size:.8rem}.date-cell{display:flex;flex-direction:column;gap:4px}.date-normal{color:#374151;font-weight:500}.date-overdue{color:#dc2626;font-weight:700}.overdue-text{color:#dc2626;font-size:.75rem;font-weight:600}.status-badge.status-new{background:#dbeafe;color:#1e40af}.status-badge.status-qualified{background:#d1fae5;color:#065f46}.status-badge.status-contacted{background:#fef3c7;color:#92400e}.status-badge.status-converted{background:#e0e7ff;color:#5b21b6}.status-badge.status-unqualified{background:#fee2e2;color:#991b1b}.status-badge.status-unknown{background:#f3f4f6;color:#6b7280}.actions-cell{align-items:center;display:flex;gap:8px}.btn-icon{border-radius:8px;color:#374151;font-size:1rem;height:36px;transition:all .2s ease;width:36px}.btn-icon:hover{box-shadow:0 4px 12px #00000026;transform:scale(1.1)}.btn-primary-icon{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary-icon:hover{background:linear-gradient(135deg,#5568d3,#653b8b)}.btn-secondary-icon{background:#e5e7eb;color:#6b7280}.btn-secondary-icon:hover{background:#d1d5db;color:#374151}.btn{border-radius:10px;font-size:.95rem}.btn-primary{box-shadow:0 4px 12px #667eea4d}.btn-primary:hover{box-shadow:0 6px 20px #667eea66}.btn-pagination{background:#fff;border:2px solid #e5e7eb;color:#374151;font-weight:600;padding:10px 20px}.btn-pagination:hover:not(:disabled){background:#f9fafb;border-color:#667eea;color:#667eea;transform:translateY(-2px)}.btn-pagination:disabled{cursor:not-allowed;opacity:.5}.pagination{border-radius:12px;box-shadow:0 2px 8px #0000000d;justify-content:space-between;padding:24px}.pagination-info{align-items:center;display:flex;flex-direction:column;gap:4px}.page-numbers{color:#374151;font-size:.95rem;font-weight:500}.page-numbers strong{color:#111827;font-weight:700}.total-count{color:#6b7280;font-size:.8rem}.error-message{background:linear-gradient(135deg,#fef2f2,#fee2e2);border:2px solid #fca5a5;border-radius:12px;box-shadow:0 2px 8px #dc26261a;gap:12px;padding:16px 20px}.error-icon{font-size:1.5rem}.empty-state{box-shadow:0 2px 8px #0000000d;padding:80px 40px}.empty-icon{font-size:5rem;margin-bottom:24px;opacity:.6}.empty-state h3{color:#111827;font-size:1.5rem}.empty-state p{font-size:1rem;line-height:1.6}.loading-spinner{flex-direction:column;gap:24px;padding:100px 20px}.spinner{animation:spin .8s linear infinite;height:60px;width:60px}.loading-spinner p{color:#6b7280;font-size:1rem;font-weight:500}.followups-table tbody tr{animation:fadeIn .3s ease}.stat-card{animation:fadeIn .5s ease}@media (max-width:1200px){.followups-today{padding:16px}.stats-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.page-header{flex-direction:column;gap:16px;text-align:center}.page-header h1{font-size:1.5rem}.stats-grid{gap:16px;grid-template-columns:1fr}.tabs{flex-direction:column}.tab{width:100%}.table-container{overflow-x:auto}.followups-table{min-width:900px}.pagination{flex-direction:column;gap:16px}.pagination button{width:100%}}@media (max-width:480px){.page-header h1{font-size:1.25rem}.stat-value{font-size:1.5rem}.stat-icon{font-size:2rem}.empty-icon{font-size:4rem}.empty-state h3{font-size:1.25rem}}@media print{.actions-cell,.filters-section,.page-header button,.pagination,.tabs-container{display:none}.followups-today{background:#fff;padding:0}.table-container{box-shadow:none}.followups-table tbody tr:hover{background:#0000}}.attendance-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 4px 6px -1px #00000008,0 2px 4px -1px #00000005;margin-bottom:20px;padding:24px;transition:all .3s ease}.attendance-card:hover{box-shadow:0 10px 15px -3px #0000000d,0 4px 6px -2px #00000005;transform:translateY(-2px)}.attendance-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:20px}.date-info h3{color:#374151;font-size:18px;font-weight:600;margin:0 0 8px}.status-badge{background-color:#f9fafb;color:#6b7280}.status-badge.present{background-color:#e8f5e8;color:#388e3c}.status-badge.late{background-color:#fff3e0;color:#f57c00}.status-badge.absent{background-color:#ffebee;color:#d32f2f}.status-badge.half_day{background-color:#f3e5f5;color:#7b1fa2}.status-badge.holiday{background-color:#e3f2fd;color:#1976d2}.attendance-times{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 1fr;margin-bottom:20px}.time-section{background-color:#fafbfc;border:1px solid #e5e7eb;border-radius:8px;padding:16px;text-align:center}.time-label{color:#6b7280;font-size:12px;font-weight:500;letter-spacing:.5px;margin-bottom:8px;text-transform:uppercase}.time-value{color:#374151;font-size:24px;font-weight:700;margin-bottom:4px}.duration{color:#6b7280;font-size:12px;font-weight:500}.breaks-section{margin-bottom:20px}.breaks-section h4{color:#374151;font-size:14px;font-weight:600;margin:0 0 12px}.break-item{align-items:center;background-color:#f9fafb;border-radius:6px;display:flex;font-size:13px;justify-content:space-between;margin-bottom:8px;padding:8px 12px}.break-time,.break-type{font-weight:500}.break-time{color:#6b7280}.break-duration{color:#9ca3af;font-size:11px}.work-stats{grid-gap:12px;background-color:#fafbfc;border:1px solid #e5e7eb;border-radius:8px;display:grid;gap:12px;grid-template-columns:1fr 1fr;margin-bottom:20px;padding:16px}.stat-item{font-size:13px;justify-content:space-between}.stat-item.overtime{border-top:1px solid #e5e7eb;grid-column:1/-1;padding-top:8px}.stat-item.overtime .stat-value{color:#d32f2f}.attendance-actions{display:flex;flex-wrap:wrap;gap:12px}.btn{text-transform:capitalize}.btn-secondary{background-color:#388e3c}.btn-secondary:hover{background-color:#2e7d32}.btn-outline:hover{background-color:#f9fafb}.completed-status{align-items:center;color:#388e3c;display:flex;font-size:14px;font-weight:600;gap:8px}.completed-status i{font-size:18px}@media (max-width:768px){.attendance-card{padding:16px}.attendance-times{gap:12px}.attendance-times,.work-stats{grid-template-columns:1fr}.attendance-actions{flex-direction:column}.btn{justify-content:center;width:100%}}.attendance-stats{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 4px 6px -1px #00000008,0 2px 4px -1px #00000005;margin-bottom:24px;padding:24px}.stats-header{border-bottom:1px solid #e5e7eb;margin-bottom:24px;padding-bottom:16px}.stats-header h3{color:#374151;font-size:20px;font-weight:700;margin:0}.period-info{color:#6b7280;font-size:14px;font-weight:500}.stats-grid{margin-bottom:20px}.stat-card{background:linear-gradient(135deg,#f8fafc,#f1f5f9)}.stat-card:before{background:linear-gradient(90deg,#e5e7eb,#cbd5e1);content:"";height:4px;left:0;position:absolute;right:0;top:0}.stat-card.primary:before{background:linear-gradient(90deg,#1976d2,#1d4ed8)}.stat-card.success:before{background:linear-gradient(90deg,#388e3c,#047857)}.stat-card.warning:before{background:linear-gradient(90deg,#f57c00,#d97706)}.stat-card.danger:before{background:linear-gradient(90deg,#ef4444,#d32f2f)}.stat-card.info:before{background:linear-gradient(90deg,#06b6d4,#0891b2)}.stat-card.secondary:before{background:linear-gradient(90deg,#6b7280,#4b5563)}.stat-card.accent:before{background:linear-gradient(90deg,#8b5cf6,#7c3aed)}.stat-card:hover{box-shadow:0 8px 25px -5px #00000008,0 10px 10px -5px #0000000a}.stat-icon{background:#fffc;margin-right:16px;min-width:48px;padding:12px}.stat-icon i{color:#6b7280;font-size:20px}.stat-card.primary .stat-icon i{color:#1976d2}.stat-card.success .stat-icon i{color:#388e3c}.stat-card.warning .stat-icon i{color:#f57c00}.stat-card.danger .stat-icon i{color:#ef4444}.stat-card.info .stat-icon i{color:#06b6d4}.stat-card.secondary .stat-icon i{color:#6b7280}.stat-card.accent .stat-icon i{color:#8b5cf6}.stat-label{letter-spacing:.5px;text-transform:uppercase}.stat-value{font-size:24px;line-height:1}.stats-summary{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;display:flex;justify-content:space-around;padding:16px}.summary-label{letter-spacing:.5px;margin-bottom:4px;text-transform:uppercase}.summary-value{font-weight:700}@media (max-width:768px){.attendance-stats{padding:16px}.stats-header{align-items:flex-start;flex-direction:column;gap:8px}.stats-grid{gap:12px;grid-template-columns:1fr}.stat-card{padding:16px}.stat-icon{height:40px;margin-right:12px;min-width:40px}.stat-icon i{font-size:18px}.stat-value{font-size:20px}.stats-summary{flex-direction:column;gap:12px}.summary-item{flex-direction:row;justify-content:space-between}}@media (max-width:480px){.stat-card{flex-direction:column;text-align:center}.stat-icon{margin-bottom:12px;margin-right:0}}.modal-content{box-shadow:0 20px 25px -5px #00000008,0 10px 10px -5px #0000000a}.leave-form{padding:0 24px 24px}.form-group input,.form-group select,.form-group textarea{background-color:#fff;padding:12px}.form-group input.error:focus,.form-group select.error:focus,.form-group textarea.error:focus{border-color:#ef4444;box-shadow:0 0 0 3px #ef44441a}.form-group textarea{min-height:100px}.checkbox-label input[type=checkbox]{display:none}.checkmark{border:2px solid #d1d5db;border-radius:4px;flex-shrink:0;height:20px;margin-right:12px;position:relative;transition:all .2s ease;width:20px}.checkbox-label input[type=checkbox]:checked+.checkmark{background-color:#1976d2;border-color:#1976d2}.checkbox-label input[type=checkbox]:checked+.checkmark:after{border:solid #fff;border-width:0 2px 2px 0;content:"";height:10px;left:6px;position:absolute;top:2px;transform:rotate(45deg);width:6px}.checkbox-label:hover .checkmark{border-color:#9ca3af}.error-message{color:#ef4444;display:block;font-size:12px;margin-top:4px}.form-actions{margin-top:32px}.btn-primary:hover{background-color:#1565c0}.btn-secondary:hover{background-color:#4b5563}.file-hint{color:#6b7280;font-style:italic}.file-upload-container{margin-top:8px}.file-upload-container input[type=file]{background-color:#f9fafb;border:2px dashed #d1d5db;cursor:pointer;padding:10px}.file-upload-container input[type=file]:hover{background-color:#eff6ff;border-color:#1976d2}.selected-file{align-items:center;background-color:#eff6ff;border:1px solid #1976d2;border-radius:8px;display:flex;gap:12px;margin-top:10px;padding:12px}.selected-file i.fa-file{color:#1976d2;font-size:18px}.selected-file .file-name{color:#374151;flex:1 1;font-size:14px;word-break:break-all}.remove-file-btn{background:none;border-radius:4px;color:#ef4444;font-size:14px;padding:4px 8px;transition:all .2s ease}.remove-file-btn:hover{background-color:#fee2e2;color:#dc2626}@media (max-width:768px){.modal-overlay{padding:10px}.modal-content{max-width:100%}.modal-header{margin-bottom:20px;padding:20px 20px 0}.modal-header h2{font-size:20px}.leave-form{padding:0 20px 20px}.form-row{gap:12px;grid-template-columns:1fr}.form-actions{flex-direction:column}.btn{width:100%}}@media (max-width:480px){.modal-header{padding:16px 16px 0}.leave-form{padding:0 16px 16px}.form-group{margin-bottom:16px}}.attendance-dashboard{background:linear-gradient(135deg,#e3f2fd,#f3e5f5);min-height:100vh;padding:24px}.loading-container{color:#fff}.loading-spinner{border:4px solid #ffffff4d;border-top-color:#fff}.dashboard-header{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border-radius:16px;box-shadow:0 8px 32px #00000008;margin-bottom:32px}.header-content p{font-weight:500}.header-actions .btn{align-items:center;background:linear-gradient(135deg,#1976d2,#1d4ed8);border:none;border-radius:10px;box-shadow:0 4px 12px #3b82f64d;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:12px 20px;transition:all .3s ease}.header-actions .btn:hover{box-shadow:0 6px 20px #3b82f666;transform:translateY(-2px)}.dashboard-content{grid-gap:24px;display:grid;gap:24px;grid-template-columns:1fr 350px}.main-content{display:flex;flex-direction:column;gap:24px}.stats-section h2,.today-section h2{background:#fffffff2;border-radius:12px;box-shadow:0 4px 12px #0000000d;color:#1e293b;font-size:24px;font-weight:700;margin:0 0 16px;padding:12px 20px}.sidebar{display:flex;flex-direction:column;gap:24px}.quick-actions,.recent-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:2px solid #0000;border-radius:16px;box-shadow:0 8px 32px #00000008;padding:24px;transition:all .3s ease}.quick-actions{background:linear-gradient(135deg,#fff,#f8f9fa);border:2px solid #e3f2fd;box-shadow:0 8px 32px #1976d214}.quick-actions:hover{border-color:#1976d2;box-shadow:0 12px 40px #1976d226;transform:translateY(-2px)}.quick-actions h3,.recent-section h3{align-items:center;color:#374151;display:flex;font-size:18px;font-weight:700;gap:10px;margin:0 0 20px}.quick-actions h3{border-bottom:3px solid #1976d2;color:#1976d2;font-size:20px;padding-bottom:12px}.quick-actions h3:before{content:"⚡";font-size:22px}.recent-list{display:flex;flex-direction:column;gap:12px}.recent-item{align-items:center;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;display:flex;justify-content:space-between;padding:12px 16px;transition:all .2s ease}.recent-item:hover{background:#f1f5f9;transform:translateX(4px)}.recent-date{color:#374151;font-size:14px;font-weight:600}.recent-status{align-items:center;display:flex;font-size:13px;font-weight:500;gap:8px;text-transform:capitalize}.status-dot{background:#9ca3af;height:8px;width:8px}.status-dot.present{background:#388e3c}.status-dot.late{background:#f57c00}.status-dot.absent{background:#ef4444}.status-dot.half_day{background:#8b5cf6}.status-dot.holiday{background:#6366f1}.recent-time{color:#6b7280;font-size:13px;font-weight:600}.actions-list{display:flex;flex-direction:column;gap:14px}.action-btn{background:#fff;border:2px solid #e5e7eb;border-radius:12px;box-shadow:0 2px 8px #0000000d;color:#374151;font-weight:600;gap:14px;padding:16px 18px;text-align:left}.action-btn:hover{background:#f9fafb;border-color:#d1d5db;box-shadow:0 4px 12px #0000001a}.action-btn i{color:#6b7280;font-size:18px;text-align:center;transition:all .3s ease;width:24px}.action-btn:hover i{color:#374151;transform:scale(1.1)}@media (max-width:1024px){.dashboard-content{grid-template-columns:1fr}.sidebar{grid-gap:24px;display:grid;gap:24px;grid-template-columns:1fr 1fr;order:-1}}@media (max-width:768px){.attendance-dashboard{padding:16px}.dashboard-header{align-items:flex-start;flex-direction:column;gap:16px;padding:20px}.header-content h1{font-size:24px}.header-actions{width:100%}.header-actions .btn{justify-content:center;width:100%}.sidebar{grid-template-columns:1fr}.quick-actions,.recent-section{padding:20px}}@media (max-width:480px){.dashboard-header{padding:16px}.header-content h1{font-size:20px}.quick-actions,.recent-section{padding:16px}.recent-item{padding:10px 12px}.action-btn{padding:12px}}.modal-overlay{background-color:#0009}.modal-content-attendance{animation:slideUp .3s ease;background:#fff;border-radius:16px;box-shadow:0 20px 25px -5px #0000001a;max-height:90vh;max-width:900px;overflow-y:auto;width:100%}.modal-header-attendance{align-items:center;background:#fff;border-bottom:2px solid #f3f4f6;border-radius:16px 16px 0 0;display:flex;justify-content:space-between;padding:24px 28px;position:-webkit-sticky;position:sticky;top:0;z-index:10}.modal-header-attendance h2{align-items:center;color:#1e293b;display:flex;font-size:24px;font-weight:800;gap:10px;margin:0}.close-btn:hover{background-color:#ef4444;color:#fff;transform:rotate(90deg)}.modal-body-attendance{display:flex;flex-direction:column;gap:24px;padding:28px}.info-section{background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px}.info-section h3{align-items:center;border-bottom:2px solid #e5e7eb;color:#374151;display:flex;font-size:16px;font-weight:700;gap:10px;margin:0 0 16px;padding-bottom:12px}.info-section h3 i{color:#1976d2;font-size:18px}.info-item{flex-direction:column;gap:6px}.info-value{color:#1e293b}.status-badge-modal{border-radius:16px;color:#fff;display:inline-block;font-size:12px;font-weight:700;padding:6px 14px;text-transform:capitalize;width:-webkit-fit-content;width:fit-content}.checkin-checkout-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:1fr 1fr}.checkin-box,.checkout-box{background:#fff;border:2px solid #e5e7eb;border-radius:10px;padding:20px;transition:all .2s ease}.checkin-box:hover,.checkout-box:hover{border-color:#1976d2;box-shadow:0 4px 12px #1976d21a}.checkin-header,.checkout-header{align-items:center;color:#1976d2;display:flex;font-size:14px;font-weight:700;gap:8px;margin-bottom:12px}.checkin-header i,.checkout-header i{font-size:16px}.time-display{color:#1e293b;font-family:Courier New,monospace;font-size:32px;font-weight:800;margin-bottom:12px}.early-badge,.late-badge{align-items:center;border-radius:8px;display:flex;font-size:12px;font-weight:600;gap:6px;margin-bottom:8px;padding:6px 12px}.late-badge{background:#fef3c7;color:#92400e}.early-badge{background:#dbeafe;color:#1e40af}.location-info{align-items:center;color:#6b7280;display:flex;font-size:12px;gap:8px;padding:8px}.location-info i{color:#ef4444}.sessions-list{gap:12px}.session-item{background:#fff;border:2px solid #e5e7eb;border-radius:10px;padding:16px}.session-number{color:#1976d2;font-size:12px;font-weight:700;letter-spacing:.5px;margin-bottom:10px;text-transform:uppercase}.session-times{align-items:center;display:flex;gap:12px;margin-bottom:8px}.session-time{display:flex;flex-direction:column;gap:4px}.session-label{color:#6b7280;font-size:11px;font-weight:600}.session-value{color:#1e293b;font-family:Courier New,monospace;font-size:18px;font-weight:700}.session-arrow{color:#1976d2;font-size:20px;font-weight:700}.session-duration{background:#d1fae5;border-radius:6px;color:#059669;font-size:13px;font-weight:600;padding:4px 10px;width:-webkit-fit-content;width:fit-content}.breaks-list{display:flex;flex-direction:column;gap:12px}.break-item{background:#fff;border:2px solid #e5e7eb;border-radius:10px;padding:16px}.break-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px}.break-type{color:#374151;font-size:14px}.break-status,.break-type{font-weight:700;text-transform:capitalize}.break-status{border-radius:12px;color:#fff;font-size:11px;padding:4px 10px}.break-times{align-items:center;color:#1e293b;display:flex;font-family:Courier New,monospace;font-size:16px;font-weight:600;gap:12px;margin-bottom:8px}.break-duration{color:#6b7280;font-size:12px;font-weight:600}.break-remarks{align-items:start;background:#f9fafb;border-radius:6px;color:#374151;display:flex;font-size:13px;gap:8px;line-height:1.5;margin-top:10px;padding:10px}.break-remarks i{color:#1976d2;margin-top:2px}.work-duration-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.duration-card{background:#fff;border:2px solid #e5e7eb;border-radius:10px;padding:16px;text-align:center;transition:all .2s ease}.duration-card:hover{border-color:#1976d2;box-shadow:0 4px 12px #1976d21a;transform:translateY(-2px)}.duration-card.overtime{background:#fef3c7;border-color:#f59e0b}.duration-label{color:#6b7280;font-size:11px;font-weight:600;letter-spacing:.5px;margin-bottom:8px;text-transform:uppercase}.duration-value{color:#1e293b;font-family:Courier New,monospace;font-size:22px;font-weight:800}.duration-card.overtime .duration-value{color:#92400e}.remarks-box{background:#fff;border-left:4px solid #1976d2;border-radius:10px;color:#374151;font-size:14px;line-height:1.6;padding:16px}.modal-footer-attendance{background:#fff;border-radius:0 0 16px 16px;border-top:2px solid #f3f4f6;bottom:0;display:flex;gap:12px;justify-content:flex-end;padding:20px 28px;position:-webkit-sticky;position:sticky}.btn{display:flex;padding:10px 24px}.btn-secondary:hover{box-shadow:0 4px 12px #6b72804d;transform:translateY(-2px)}@media (max-width:768px){.modal-content-attendance{margin:10px;max-width:100%}.checkin-checkout-grid,.info-grid{grid-template-columns:1fr}.work-duration-grid{grid-template-columns:1fr 1fr}.time-display{font-size:24px}.modal-header-attendance h2{font-size:20px}}@media (max-width:480px){.modal-body-attendance,.modal-footer-attendance,.modal-header-attendance{padding:16px}.work-duration-grid{grid-template-columns:1fr}}.admin-attendance{background:#f8fafc;min-height:100vh;padding:24px}.loading-spinner{border:4px solid #e5e7eb;border-top-color:#1976d2}.page-header{box-shadow:0 4px 6px -1px #00000008}.page-header h1{color:#374151;font-weight:800}.error-banner{background:#fee2e2;border-radius:10px;color:#d32f2f;font-weight:500}.error-banner button{background:none;border:none;color:#d32f2f;cursor:pointer;margin-left:auto}.admin-content{grid-gap:24px;display:grid;gap:24px;grid-template-columns:1fr 400px}.main-panel,.main-panel-full{display:flex;flex-direction:column;gap:24px}.main-panel-full{grid-column:1/-1}.filters-section{border:2px solid #e5e7eb;box-shadow:0 2px 8px #00000014;margin-bottom:24px}.filters-section h3{-webkit-text-fill-color:unset!important;align-items:center!important;background:none!important;-webkit-background-clip:unset!important;background-clip:initial!important;border-bottom:none!important;color:#1e293b!important;cursor:default!important;display:flex!important;font-size:18px!important;font-weight:700!important;gap:8px!important;margin:0 0 20px!important;padding-bottom:0!important}.filters-section h3:before{-webkit-text-fill-color:initial!important;content:"🔍"!important;font-size:20px!important}.filters-section h3:hover{color:#1e293b!important}.filters-grid{grid-gap:16px!important;align-items:end!important;display:grid!important;gap:16px!important;grid-template-columns:2fr 1.5fr 1.5fr 1.5fr!important}.filter-group{display:flex!important;flex-direction:column!important}.filter-group label{color:#374151!important;display:block!important;font-size:13px!important;font-weight:600!important;letter-spacing:normal!important;margin-bottom:8px!important;text-transform:none!important}.filter-group input[type=date],.filter-group select{background:#fff!important;border:2px solid #d1d5db!important;border-radius:8px!important;box-sizing:border-box!important;color:#374151!important;font-family:inherit!important;font-size:14px!important;height:42px!important;padding:10px 12px!important;transition:all .2s ease!important;width:100%!important}.filter-group select{-webkit-appearance:none!important;appearance:none!important;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E")!important;background-position:right 10px center!important;background-repeat:no-repeat!important;background-size:16px 16px!important;cursor:pointer!important;padding-right:36px!important}.filter-group input[type=date]:hover,.filter-group select:hover{border-color:#9ca3af!important}.filter-group input[type=date]:focus,.filter-group select:focus{border-color:#1976d2!important;box-shadow:0 0 0 3px #1976d21a!important;outline:none!important}.attendance-table-section{background:#fff;border-radius:12px;box-shadow:0 4px 6px -1px #00000008;padding:24px}.attendance-table-section h3{color:#374151;font-size:18px;font-weight:700;margin:0 0 20px}.table-container{border:1px solid #e5e7eb;border-radius:8px;overflow-x:auto}.attendance-table{background:#fff;border-collapse:collapse;width:100%}.attendance-table th{background:#f8fafc;border-bottom:2px solid #e5e7eb;font-weight:600;text-align:left;white-space:nowrap}.attendance-table td,.attendance-table th{color:#374151;font-size:14px;padding:12px 16px;vertical-align:middle}.attendance-table td{border-bottom:1px solid #f9fafb}.attendance-table tr{transition:all .2s ease}.attendance-table tr:hover{background:#f8fafc;box-shadow:0 2px 4px #0000000d}.employee-info{flex-direction:column;gap:2px}.employee-id{color:#6b7280;font-size:12px}.time-info{display:flex;flex-direction:column;gap:4px}.late-indicator{color:#f57c00;font-size:11px;font-weight:500}.status-badge{border-radius:16px;font-weight:600;justify-content:center;line-height:1;min-width:80px;white-space:nowrap}.btn{font-size:13px}.btn-outline:hover{background:#f9fafb}.btn-success:hover{background:#2e7d32}.btn-danger{background:#ef4444}.btn-danger:hover{background:#d32f2f}.pagination{padding-top:20px}.page-info{color:#6b7280;font-weight:500}.sidebar-panel{display:flex;flex-direction:column;gap:24px}.holidays-section,.pending-leaves-section{background:#fff;border-radius:12px;box-shadow:0 4px 6px -1px #00000008;padding:24px}.holidays-section h3,.pending-leaves-section h3{color:#374151;font-size:18px;font-weight:700;margin:0 0 20px}.section-header h3{color:#374151;font-size:18px;font-weight:600}.holidays-list,.leaves-list{display:flex;flex-direction:column;gap:16px}.leave-item{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;padding:16px}.leave-item-detailed{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 2px 4px #0000000d;padding:20px;transition:all .3s ease}.leave-item-detailed:hover{border-color:#1976d2;box-shadow:0 4px 12px #0000001a}.leave-header-detailed{align-items:flex-start;border-bottom:2px solid #f3f4f6;display:flex;justify-content:space-between;margin-bottom:16px;padding-bottom:16px}.employee-info{align-items:center;display:flex;gap:12px}.employee-avatar{font-size:16px;font-weight:600;height:48px;width:48px}.employee-name{color:#374151;font-size:15px;font-weight:600}.employee-email{font-size:13px;margin-top:2px}.leave-type-badge{background:#eff6ff;color:#1976d2;gap:6px;padding:6px 14px}.leave-type-badge i{font-size:12px}.leave-details-grid{grid-gap:12px;display:grid;gap:12px;margin-bottom:16px}.detail-item{align-items:flex-start;gap:12px}.detail-item>i{color:#1976d2;font-size:16px;margin-top:2px}.detail-label{font-size:12px;letter-spacing:.5px;text-transform:uppercase}.detail-value{align-items:center;display:flex;flex-wrap:wrap;font-size:14px;gap:8px}.duration-badge{align-items:center;background:#fef3c7;border-radius:12px;color:#92400e;display:inline-flex;font-size:11px;font-weight:600;padding:2px 10px}.leave-reason-box{background:#f9fafb;border-left:3px solid #1976d2;border-radius:8px;margin-bottom:16px;padding:14px}.reason-label{align-items:center;color:#6b7280;display:flex;font-size:12px;font-weight:600;gap:8px;letter-spacing:.5px;margin-bottom:8px;text-transform:uppercase}.reason-label i{color:#1976d2}.leave-proof-section{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;margin-bottom:16px;padding:14px}.proof-label{align-items:center;color:#166534;display:flex;font-size:12px;font-weight:600;gap:8px;letter-spacing:.5px;margin-bottom:10px;text-transform:uppercase}.proof-label i{color:#16a34a}.proof-file{align-items:center;background:#fff;border:1px solid #d1d5db;border-radius:6px;display:flex;gap:10px;padding:10px 14px}.proof-file i{color:#dc2626;font-size:20px}.proof-file i.fa-file-image{color:#059669}.file-name{color:#374151;flex:1 1}.btn-download{align-items:center;background:#1976d2;border-radius:6px;color:#fff;display:flex;height:32px;justify-content:center;text-decoration:none;transition:all .2s ease;width:32px}.btn-download:hover{background:#1565c0;box-shadow:0 4px 8px #1976d24d;transform:translateY(-2px)}.leave-actions{border-top:1px solid #e5e7eb;gap:10px;padding-top:16px}.btn-approve,.btn-reject{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;flex:1 1;font-size:14px;font-weight:600;gap:8px;justify-content:center;padding:12px 16px;transition:all .2s ease}.btn-approve:hover{box-shadow:0 4px 12px #10b9814d;transform:translateY(-2px)}.btn-reject:hover{box-shadow:0 4px 12px #ef44444d;transform:translateY(-2px)}.leave-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.leave-header .employee-name{color:#374151;font-weight:600}.leave-type{color:#6b7280;font-size:12px;text-transform:capitalize}.leave-dates{color:#374151;font-size:13px;margin-bottom:8px}.leave-reason{color:#6b7280;font-size:13px;line-height:1.4;margin-bottom:12px}.leave-actions{display:flex;gap:8px}.holiday-item{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;justify-content:space-between;padding:12px 16px}.holiday-date{font-weight:600}.holiday-date,.holiday-name{color:#374151;font-size:13px}.holiday-name{font-weight:500}.holiday-type{color:#6b7280;font-size:11px;text-transform:capitalize}.no-data{padding:40px 20px}.no-data i{font-size:32px;margin-bottom:12px}.no-data p{font-size:14px}.modal-content{box-shadow:0 20px 25px -5px #00000008;max-width:500px}.modal-header{margin-bottom:24px}.modal-header h2{color:#374151}.close-btn:hover{background-color:#f9fafb;color:#374151}.leave-details{border-bottom:1px solid #e5e7eb;margin-bottom:24px;padding:0 24px 24px}.detail-row{justify-content:space-between;margin-bottom:12px}.detail-row .label{color:#374151;font-weight:500}.detail-row .value{color:#6b7280;text-align:right}.detail-row.full-width{align-items:flex-start;flex-direction:column;gap:8px}.detail-row.full-width .value{text-align:left;width:100%}.email-small{color:#9ca3af;font-size:12px;margin-left:6px}.leave-type-cap{font-weight:600;text-transform:capitalize}.badge-duration{align-items:center;background:#fef3c7;border-radius:12px;color:#92400e;display:inline-flex;font-size:11px;font-weight:600;margin-left:8px;padding:2px 10px}.reason-box{background:#f9fafb;border-left:3px solid #1976d2;border-radius:6px;color:#374151!important;line-height:1.6;padding:12px;text-align:left!important}.proof-file-modal{align-items:center;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;display:flex;gap:10px;padding:12px;width:100%}.proof-file-modal i{color:#dc2626;font-size:24px}.proof-file-modal i.fa-file-image{color:#059669}.proof-file-modal .file-name{color:#374151;flex:1 1;font-size:14px;font-weight:500}.proof-file-modal .file-size{color:#6b7280;font-size:12px}.btn-view-file{align-items:center;background:#1976d2;border-radius:6px;color:#fff;display:flex;font-size:13px;font-weight:600;gap:6px;padding:8px 16px;text-decoration:none;transition:all .2s ease}.btn-view-file:hover{background:#1565c0;box-shadow:0 4px 8px #1976d24d;transform:translateY(-1px)}.form-group{padding:0 24px}.form-group textarea{border-radius:8px;font-size:14px;padding:12px}.form-group textarea:focus{box-shadow:0 0 0 3px #3b82f61a}.form-actions{padding:0 24px 24px}@media (max-width:1400px){.filters-grid{gap:14px!important;grid-template-columns:1.5fr 1fr 1fr 1fr!important}}@media (max-width:1200px){.filters-grid{gap:12px!important;grid-template-columns:repeat(4,1fr)!important}.filter-group input[type=date],.filter-group select{font-size:13px!important;height:38px!important;padding:8px 10px!important}.filter-group label{font-size:12px!important;margin-bottom:6px!important}}@media (max-width:1024px){.admin-content{grid-template-columns:1fr}.sidebar-panel{grid-gap:24px;display:grid;gap:24px;grid-template-columns:1fr 1fr;order:-1}.filters-grid{gap:16px!important;grid-template-columns:repeat(2,1fr)!important}}@media (max-width:768px){.admin-attendance{padding:16px}.page-header{padding:20px}.page-header h1{font-size:24px}.filters-section{padding:20px}.filters-grid{gap:14px!important;grid-template-columns:1fr 1fr!important}.sidebar-panel{grid-template-columns:1fr}.attendance-table-section,.filters-section,.holidays-section,.pending-leaves-section{padding:20px}.table-container{font-size:12px}.attendance-table td,.attendance-table th{padding:8px 12px}}@media (max-width:640px){.filters-grid{gap:12px!important;grid-template-columns:1fr!important}.filter-group label{font-size:13px!important}.filter-group input[type=date],.filter-group select{height:40px!important}}@media (max-width:480px){.attendance-table-section,.filters-section,.holidays-section,.page-header,.pending-leaves-section{padding:16px}.form-actions{flex-direction:column}.btn{width:100%}}.attendance-reports{background-color:#fafbfc;min-height:100vh;padding:24px}.reports-controls,.stats-row{margin-bottom:24px}.stats-row .ant-card{border:none;border-radius:8px;box-shadow:0 2px 8px #00000008}.stats-row .ant-statistic-title{color:#6b7280;font-size:14px;font-weight:500}.stats-row .ant-statistic-content{font-size:24px;font-weight:600}.charts-row{margin-bottom:24px}.chart-card{border:none;border-radius:8px;box-shadow:0 2px 8px #00000008}.chart-card .ant-card-head{background:linear-gradient(135deg,#1976d2,#40a9ff);border-radius:8px 8px 0 0;color:#fff}.chart-card .ant-card-head-title{color:#fff;font-weight:600}.table-card{border:none;border-radius:8px;box-shadow:0 2px 8px #00000008}.table-card .ant-card-head{background:linear-gradient(135deg,#388e3c,#73d13d);border-radius:8px 8px 0 0;color:#fff}.table-card .ant-card-head-title{color:#fff;font-weight:600}.table-card .ant-table-thead>tr>th{background-color:#f9fafb;color:#374151;font-weight:600}.table-card .ant-table-tbody>tr:hover>td{background-color:#fafbfc}@media (max-width:768px){.attendance-reports{padding:16px}.page-header h1{font-size:24px}.stats-row .ant-statistic-content{font-size:20px}.charts-row{margin-bottom:16px}}@media (max-width:480px){.stats-row .ant-col{margin-bottom:8px}.chart-card .ant-card-body{padding:12px}}.holiday-creation-modal .ant-modal-content{border-radius:12px;overflow:hidden}.holiday-creation-modal .ant-modal-header{background:linear-gradient(135deg,#1976d2,#40a9ff);border-bottom:none;border-radius:12px 12px 0 0;padding:20px 24px}.holiday-creation-modal .ant-modal-title{color:#fff;font-size:18px;font-weight:600}.modal-title{gap:12px}.title-icon{font-size:24px;line-height:1}.holiday-creation-modal .ant-modal-close{color:#fff;right:16px;top:16px}.holiday-creation-modal .ant-modal-close-x{align-items:center;color:#fff;display:flex;font-size:18px;height:32px;justify-content:center;width:32px}.holiday-creation-modal .ant-modal-close:hover{background-color:#ffffff26;border-radius:6px;color:#ffffffd9}.holiday-creation-modal .ant-modal-close:hover .ant-modal-close-x{color:#fff}.holiday-creation-modal .ant-modal-body{padding:24px}.holiday-form{padding:8px 0 0}.holiday-form .ant-form-item{margin-bottom:20px}.holiday-form .ant-form-item-label>label{color:#374151;font-size:14px;font-weight:600;margin-bottom:8px}.holiday-form .ant-input,.holiday-form .ant-input-textarea,.holiday-form .ant-picker,.holiday-form .ant-select-selector{border:2px solid #e5e7eb;border-radius:8px;transition:all .3s ease}.holiday-form .ant-input-textarea:hover,.holiday-form .ant-input:hover,.holiday-form .ant-picker:hover,.holiday-form .ant-select-selector:hover{border-color:#1976d2}.holiday-form .ant-input-focused,.holiday-form .ant-input-textarea:focus,.holiday-form .ant-input:focus,.holiday-form .ant-picker-focused,.holiday-form .ant-select-focused .ant-select-selector{border-color:#1976d2;box-shadow:0 0 0 3px #1976d21a}.holiday-form .ant-input-textarea::placeholder,.holiday-form .ant-input::placeholder,.holiday-form .ant-select-selection-placeholder{color:#9ca3af;font-size:14px}.holiday-form .ant-input-textarea-show-count:after{color:#9ca3af;font-size:12px}.form-actions{border-top:2px solid #f3f4f6;gap:16px;margin-bottom:0;text-align:right}.form-actions .ant-btn{border-radius:8px;font-size:15px;font-weight:600;height:44px;min-width:120px;transition:all .3s ease}.form-actions .ant-btn-primary{background:linear-gradient(135deg,#1976d2,#40a9ff);border:none;box-shadow:0 2px 8px #1976d240}.form-actions .ant-btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#1565c0,#1976d2);box-shadow:0 4px 12px #1976d259;transform:translateY(-1px)}.form-actions .ant-btn:not(.ant-btn-primary){background:#fff;border:2px solid #e5e7eb;color:#6b7280}.form-actions .ant-btn:not(.ant-btn-primary):hover:not(:disabled){background:#f0f9ff;border-color:#1976d2;color:#1976d2}.recurring-checkbox{align-items:flex-start;background:#f9fafb;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;display:flex;gap:12px;padding:16px;transition:all .3s ease}.recurring-checkbox:hover{background:#f0f9ff;border-color:#1976d2}.recurring-checkbox input[type=checkbox]{accent-color:#1976d2;cursor:pointer;height:20px;margin-top:2px;width:20px}.recurring-checkbox label{cursor:pointer;display:flex;flex:1 1;flex-direction:column;gap:4px;margin:0}.checkbox-label{font-weight:600}.checkbox-desc{color:#6b7280;font-size:13px;line-height:1.4}.checkbox-item{margin-bottom:0!important}.holiday-form .ant-form-item-explain-error{color:#ef4444;font-size:13px;margin-top:4px}.ant-message-success{font-size:14px}@media (max-width:768px){.holiday-creation-modal .ant-modal{margin:16px;max-width:calc(100vw - 32px)}.holiday-creation-modal .ant-modal-body{padding:20px}.form-actions{flex-direction:column}.form-actions .ant-btn{min-width:0;min-width:auto;width:100%}.modal-title{font-size:16px}.title-icon{font-size:20px}}.attendance-holidays{background-color:#fafbfc;min-height:100vh;padding:24px}.header-content{gap:20px}.header-text{flex:1 1;text-align:left}.page-header h1{color:#1976d2;margin:0 0 8px;text-align:left}.page-header p{color:#6b7280;text-align:left}.add-holiday-btn{align-items:center;border-radius:8px;box-shadow:0 2px 8px #1976d233;display:flex;font-size:15px;font-weight:500;gap:8px;height:42px;padding:0 24px}.add-holiday-btn:hover{box-shadow:0 4px 12px #1976d24d;transform:translateY(-1px);transition:all .3s ease}.loading-container{height:400px}.loading-container p{font-size:16px}.holidays-content{align-items:start;display:flex;justify-content:flex-start}.holidays-list{width:100%}.list-card{border-radius:12px;box-shadow:0 2px 8px #00000014}.list-card .ant-card-head{background:linear-gradient(135deg,#1976d2,#40a9ff);border-radius:12px 12px 0 0;color:#fff;padding:20px 24px}.list-card .ant-card-head-title{color:#fff;font-size:20px;font-weight:600}.holidays-collapse{border:none}.holidays-collapse .ant-collapse-item{border:1px solid #e8e8e8;border-radius:8px;margin-bottom:16px;overflow:hidden}.holidays-collapse .ant-collapse-header{background:#fafafa;font-weight:600;padding:16px 20px}.month-header{align-items:center;display:flex;justify-content:space-between;width:100%}.month-name{color:#1976d2;font-size:18px;font-weight:600}.month-count{font-size:13px;margin-left:12px}.holiday-indicator{left:2px;position:absolute;right:2px;top:2px;z-index:1}.holiday-indicator .ant-tag{border-radius:3px;font-size:10px;line-height:14px;padding:1px 4px}.no-holidays{color:#6b7280;padding:40px 20px;text-align:center}.holiday-list-item{border-bottom:1px solid #f0f0f0;padding:16px 0}.holiday-list-item:last-child{border-bottom:none}.holiday-item{align-items:center;display:flex;gap:20px;width:100%}.holiday-date-box{align-items:center;background:linear-gradient(135deg,#1976d2,#40a9ff);border-radius:8px;color:#fff;display:flex;flex-direction:column;justify-content:center;min-width:70px;padding:12px 16px}.date-day{font-size:28px;font-weight:700;line-height:1}.date-weekday{font-size:14px;font-weight:500;margin-top:4px;opacity:.9;text-transform:uppercase}.holiday-info{flex:1 1}.holiday-info h4{color:#374151;font-size:16px;font-weight:600;margin:0 0 6px}.holiday-date{color:#6b7280;font-size:14px;font-weight:500;margin:0 0 6px}.holiday-description{color:#9ca3af;font-size:13px;line-height:1.5;margin:0}.holiday-meta{align-items:flex-end;display:flex;flex-direction:column;gap:6px}.holiday-meta .ant-tag{border-radius:4px;font-size:12px;margin:0;padding:4px 10px}@media (max-width:768px){.attendance-holidays{padding:16px}.header-content{align-items:flex-start;flex-direction:column;gap:16px}.add-holiday-btn{justify-content:center;width:100%}.page-header h1{font-size:24px}.month-name{font-size:16px}.holiday-date-box{min-width:60px;padding:10px 12px}.date-day{font-size:24px}.date-weekday{font-size:12px}}@media (max-width:480px){.holiday-item{flex-wrap:wrap;gap:12px}.holiday-date-box{min-width:55px;padding:8px 10px}.date-day{font-size:20px}.holiday-info h4{font-size:15px}.holiday-meta{flex-direction:row;width:100%}.holiday-meta,.month-header{align-items:flex-start;gap:8px}.month-header{flex-direction:column}.month-count{margin-left:0}}.leave-requests-page{margin:0 auto;max-width:1400px;padding:24px}.page-header{box-shadow:0 1px 3px #0000001a;padding:32px}.header-content h1{color:#1f2937}.subtitle{color:#6b7280;font-size:15px}.spinner{border:4px solid #e5e7eb;border-top-color:#1976d2}.error-banner{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:16px 20px}.tabs-container{border-radius:12px;box-shadow:0 1px 3px #0000001a;display:flex;gap:8px;margin-bottom:24px;padding:8px}.tab-btn{align-items:center;background:#0000;border:none;border-radius:8px;color:#6b7280;cursor:pointer;display:flex;flex:1 1;font-size:15px;font-weight:600;gap:8px;justify-content:center;padding:12px 24px;position:relative;transition:all .2s ease}.tab-btn:hover{background:#f3f4f6;color:#374151}.tab-btn.active{background:#1976d2;color:#fff}.tab-btn .badge{background:#ef4444;border-radius:12px;color:#fff;font-size:11px;font-weight:700;min-width:20px;padding:2px 8px;position:absolute;right:8px;text-align:center;top:8px}.tab-btn.active .badge{background:#fff;color:#1976d2}.leaves-grid{grid-template-columns:repeat(auto-fill,minmax(450px,1fr))}.leave-card{border:2px solid #0000;border-radius:16px;box-shadow:0 4px 6px -1px #0000001a}.leave-card:hover{border-color:#1976d2;box-shadow:0 12px 24px -4px #00000026}.card-header{align-items:flex-start;border-bottom:2px solid #f3f4f6;padding:24px 24px 20px}.employee-section{align-items:center;display:flex;flex:1 1;gap:16px}.employee-avatar{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:20px;font-weight:700;height:56px;justify-content:center;text-transform:uppercase;width:56px}.employee-details{flex:1 1;min-width:0}.employee-name{color:#1f2937;font-size:17px;font-weight:700;margin:0 0 4px}.employee-email{color:#6b7280;font-size:14px;margin:0}.leave-type-badge{font-size:14px;font-weight:700;white-space:nowrap}.card-body{padding:20px 24px 24px}.info-grid{margin-bottom:20px}.info-item>i{color:#1976d2;font-size:18px;margin-top:2px}.info-label{color:#6b7280;display:block;font-size:12px;margin-bottom:4px}.info-value{display:block;font-size:15px;font-weight:600}.half-day-badge{border-radius:8px;color:#92400e;font-size:13px;gap:8px;margin-bottom:20px;padding:8px 16px}.reason-section{border-left:4px solid #1976d2;border-radius:12px;margin-bottom:16px;padding:16px}.reason-header{color:#374151;font-size:13px;font-weight:700;margin-bottom:10px}.reason-header i{color:#1976d2}.reason-text{color:#4b5563;line-height:1.7}.proof-section{border-radius:12px;padding:16px}.proof-header{color:#166534;font-size:13px;font-weight:700;margin-bottom:12px}.proof-file-card{border:1px solid #d1fae5;border-radius:8px;gap:12px;padding:12px 16px}.file-info{flex:1 1;gap:12px;min-width:0}.file-info i{font-size:28px}.pdf-icon{color:#dc2626}.img-icon{color:#16a34a}.file-details{flex:1 1;gap:4px;min-width:0}.file-name{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-size{color:#6b7280;font-size:12px}.download-btn{align-items:center;background:#1976d2;border-radius:8px;color:#fff!important;display:flex;flex-shrink:0;font-size:16px;height:40px;justify-content:center;text-decoration:none;transition:all .2s ease;width:40px}.download-btn i{color:#fff;font-size:16px}.download-btn:hover{background:#1565c0;box-shadow:0 4px 12px #1976d266}.card-footer{border-top:2px solid #f3f4f6}.card-actions,.status-section{padding:20px 24px 24px}.status-badge{align-items:center;border-radius:10px;display:inline-flex;font-size:14px;font-weight:700;gap:8px;margin-bottom:12px;padding:10px 20px}.status-approved{background:#d1fae5;color:#065f46}.status-rejected{background:#fee2e2;color:#991b1b}.status-cancelled{background:#f3f4f6;color:#374151}.status-text{font-weight:700}.status-details{color:#6b7280;font-size:13px;margin-top:12px}.approval-info{background:#f9fafb;border-radius:8px;padding:12px}.approval-info>i{color:#10b981;font-size:20px;margin-top:2px}.status-details .fas.fa-user-times{color:#ef4444}.approval-time{font-size:13px}.approval-time i{color:#9ca3af;font-size:12px}.status-remarks{background:#ecfdf5;border-radius:8px;color:#374151;line-height:1.6;margin-top:10px;padding:14px}.status-remarks.reject-reason{background:#fef2f2}.status-remarks i{flex-shrink:0}.status-remarks strong{color:#065f46;letter-spacing:.5px;text-transform:uppercase}.status-remarks.reject-reason strong{color:#991b1b}.action-btn{border-radius:10px;flex:1 1;font-size:15px;font-weight:700;gap:8px;justify-content:center;padding:14px 20px;transition:all .2s ease}.approve-btn{background:#10b981;color:#fff}.approve-btn:hover{background:#059669;box-shadow:0 8px 16px #10b9814d;transform:translateY(-2px)}.reject-btn{background:#ef4444;color:#fff}.reject-btn:hover{background:#dc2626;box-shadow:0 8px 16px #ef44444d;transform:translateY(-2px)}.empty-state{padding:80px 20px}.empty-state h3{font-weight:700}.empty-state p{font-size:15px}.modal-content{box-shadow:0 25px 50px -12px #00000040}.modal-header{border-bottom:2px solid #f3f4f6;padding:28px 28px 24px}.modal-header h2{color:#1f2937}.leave-summary{background:#f9fafb;border-radius:12px;margin-bottom:24px;padding:20px}.summary-row{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.summary-row:last-child{margin-bottom:0}.summary-row .label{color:#6b7280;font-size:14px;font-weight:600}.summary-row .value{color:#1f2937;font-size:15px;font-weight:600}.capitalize{text-transform:capitalize}.form-group textarea{border:2px solid #e5e7eb;border-radius:10px;font-family:inherit;font-size:15px;padding:14px;transition:all .2s ease;width:100%}.form-group textarea:focus{border-color:#1976d2;box-shadow:0 0 0 4px #1976d21a;outline:none}.btn-secondary{border:none;border-radius:10px;cursor:pointer;font-size:15px;font-weight:700;padding:12px 24px;transition:all .2s ease}.btn-secondary:hover{background:#4b5563}.btn-approve{background:#10b981;border:none;border-radius:10px;color:#fff;cursor:pointer;font-size:15px;font-weight:700;padding:12px 24px;transition:all .2s ease}.btn-approve:hover{background:#059669}.btn-reject{background:#ef4444;border:none;border-radius:10px;color:#fff;cursor:pointer;font-size:15px;font-weight:700;padding:12px 24px;transition:all .2s ease}.btn-reject:hover{background:#dc2626}@media (max-width:1024px){.leaves-grid{grid-template-columns:1fr}}@media (max-width:768px){.leave-requests-page{padding:16px}.page-header{padding:24px}.info-grid{grid-template-columns:1fr}.tabs-container{flex-direction:column}.tab-btn{justify-content:flex-start}}.my-leave-requests-page{margin:0 auto;max-width:1400px;padding:24px}.header-content{flex-wrap:wrap;justify-content:space-between}.header-content h1{color:#1a202c}.subtitle{color:#718096;font-size:14px;margin:0}.create-btn{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;box-shadow:0 4px 12px #667eea4d;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:12px 24px;transition:all .3s ease}.create-btn:hover{box-shadow:0 6px 16px #667eea66;transform:translateY(-2px)}.create-btn-secondary{align-items:center;background:#fff;border:2px solid #667eea;border-radius:8px;color:#667eea;cursor:pointer;display:inline-flex;font-size:14px;font-weight:600;gap:8px;margin-top:16px;padding:12px 24px;transition:all .3s ease}.create-btn-secondary:hover{background:#667eea;color:#fff}.loading-container{gap:16px;min-height:400px}.spinner{animation:spin 1s linear infinite;border:4px solid #f3f4f6;border-radius:50%;border-top-color:#667eea;height:48px;width:48px}.error-banner{align-items:center;background:#fee;border-left:4px solid #ef4444;border-radius:8px;color:#991b1b;display:flex;gap:12px;margin-bottom:24px;padding:16px}.error-banner i{font-size:20px}.filter-container{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:24px}.filter-btn{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:8px;color:#4b5563;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:10px 20px;transition:all .3s ease}.filter-btn:hover{background:#f8f9ff;border-color:#667eea;color:#667eea}.filter-btn.active{background:#667eea;border-color:#667eea;color:#fff}.filter-btn .count{background:#0000001a;border-radius:12px;font-size:12px;font-weight:600;padding:2px 8px}.filter-btn.active .count{background:#ffffff40}.leaves-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fill,minmax(420px,1fr))}@media (max-width:768px){.leaves-grid{grid-template-columns:1fr}}.leave-card{background:#fff;border:1px solid #f0f0f0;border-radius:12px;box-shadow:0 2px 8px #00000014;overflow:hidden;transition:all .3s ease}.leave-card:hover{box-shadow:0 8px 24px #0000001f;transform:translateY(-4px)}.card-header{background:linear-gradient(135deg,#f8f9ff,#f0f4ff);padding:20px}.leave-type-badge{align-items:center;border-radius:20px;display:flex;font-size:13px;font-weight:600;gap:8px;padding:8px 16px;text-transform:capitalize}.leave-type-badge i{font-size:14px}.status-indicator{animation:none;border-radius:8px;box-shadow:none;justify-content:center;min-width:-webkit-fit-content;min-width:fit-content;padding:6px 12px;text-transform:capitalize;transition:none;white-space:nowrap}.status-indicator span{animation:none;display:inline-block;line-height:1;transition:none}.status-indicator.status-pending{background-color:#fef3c7;color:#d97706}.status-indicator.status-approved{background-color:#d1fae5;color:#059669}.status-indicator.status-rejected{background-color:#fee2e2;color:#dc2626}.status-indicator.status-cancelled{background-color:#f3f4f6;color:#6b7280}.card-body{padding:20px}.info-grid{grid-gap:16px;gap:16px;grid-template-columns:repeat(2,1fr);margin-bottom:16px}.info-item{align-items:flex-start}.info-item i{color:#667eea;font-size:18px;margin-top:2px}.info-item>div{display:flex;flex-direction:column;gap:4px}.info-label{color:#9ca3af;font-size:11px;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.info-value{color:#1f2937;font-size:14px;font-weight:500}.half-day-badge{align-items:center;background:#fef3c7;border-radius:6px;color:#d97706;display:inline-flex;font-size:12px;font-weight:600;gap:6px;margin-bottom:16px;padding:6px 12px;text-transform:capitalize}.reason-section{background:#f9fafb;border-left:3px solid #667eea;border-radius:8px;margin-top:16px;padding:12px}.reason-header{align-items:center;color:#4b5563;display:flex;font-size:12px;font-weight:600;gap:8px;letter-spacing:.5px;margin-bottom:8px;text-transform:uppercase}.reason-header i{color:#667eea}.reason-text{color:#374151;font-size:14px;line-height:1.6;margin:0}.proof-section{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;margin-top:16px;padding:12px}.proof-header{align-items:center;color:#15803d;display:flex;font-size:12px;font-weight:600;gap:8px;letter-spacing:.5px;margin-bottom:8px;text-transform:uppercase}.proof-header i{color:#16a34a}.proof-file-card{background:#fff;border-radius:6px;justify-content:space-between;padding:8px}.file-info,.proof-file-card{align-items:center;display:flex}.file-info{gap:10px}.file-info i{font-size:24px}.pdf-icon{color:#ef4444}.img-icon{color:#8b5cf6}.file-details{display:flex;flex-direction:column;gap:2px}.file-name{color:#1f2937;font-size:13px;font-weight:500}.file-size{color:#9ca3af;font-size:11px}.download-btn{background:#667eea;border:none;border-radius:6px;color:#fff;cursor:pointer;padding:8px 12px;transition:all .3s ease}.download-btn:hover{background:#5568d3;transform:scale(1.05)}.status-details{background:#f9fafb;border-radius:8px;margin-top:16px;padding:12px}.approval-info{align-items:flex-start;display:flex;gap:12px;margin-bottom:12px}.approval-info i{color:#667eea;font-size:20px;margin-top:2px}.approver-name{color:#1f2937;font-size:14px;font-weight:600;margin-bottom:4px}.approval-time{align-items:center;color:#6b7280;display:flex;font-size:12px;gap:6px}.status-remarks{align-items:flex-start;background:#fff;border-left:3px solid #10b981;border-radius:6px;display:flex;gap:12px;padding:12px}.status-remarks i{color:#10b981;font-size:16px;margin-top:2px}.status-remarks.reject-reason{border-left-color:#ef4444}.status-remarks.reject-reason i{color:#ef4444}.status-remarks strong{color:#4b5563;display:block;font-size:12px;margin-bottom:6px}.status-remarks div:last-child{color:#374151;font-size:13px;line-height:1.5}.empty-state{align-items:center;display:flex;flex-direction:column;grid-column:1/-1;justify-content:center}.empty-state h3{color:#4b5563}.empty-state p{color:#9ca3af}.modal-content{box-shadow:0 20px 60px #0000004d}.modal-header h2{align-items:center;color:#1a202c;display:flex;font-size:22px;gap:12px}.modal-header h2 i{color:#667eea}.close-btn{border-radius:50%;color:#9ca3af;font-size:20px;padding:8px;transition:all .3s ease}.close-btn:hover{background:#f3f4f6;color:#1f2937}.file-hint{color:#9ca3af;font-size:12px;font-weight:400;margin-left:8px}.form-group input[type=date],.form-group input[type=file],.form-group input[type=text],.form-group select,.form-group textarea{border:2px solid #e5e7eb;border-radius:8px;color:#1f2937;font-size:14px;padding:10px 14px;transition:all .3s ease;width:100%}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}@media (max-width:640px){.form-row{grid-template-columns:1fr}}.checkbox-group{margin-bottom:16px}.error-text{font-size:12px;margin-top:6px}.file-preview{align-items:center;background:#f9fafb;border-radius:8px;display:flex;gap:12px;margin-top:8px;padding:12px}.file-preview i{color:#667eea;font-size:24px}.file-preview span{color:#374151;flex:1 1;font-size:14px}.remove-file-btn{background:#fee2e2;border:none;border-radius:6px;color:#dc2626;cursor:pointer;padding:6px 10px;transition:all .3s ease}.remove-file-btn:hover{background:#fecaca}.btn-primary,.btn-secondary{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:12px 24px;transition:all .3s ease}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2)}.btn-primary:hover:not(:disabled){box-shadow:0 6px 16px #667eea66}.btn-secondary{border:2px solid #e5e7eb;color:#4b5563}.btn-secondary:hover{background:#f9fafb;border-color:#d1d5db}.integrations-page{background-color:#f0f2f5;min-height:100vh}.page-header h2{margin-bottom:8px}.integration-grid{grid-gap:24px;gap:24px;grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.integration-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:32px 24px}.integration-card:hover{box-shadow:0 4px 16px #00000026;transform:translateY(-4px)}.integration-icon{margin-bottom:16px}.integration-title{color:#1f1f1f;font-size:24px;margin-bottom:12px}.integration-description{color:#666;font-size:14px;line-height:1.6;margin-bottom:24px}.section-card{border-radius:12px;box-shadow:0 2px 8px #0000001a;margin-bottom:24px}.section-card .ant-card-head{background-color:#fafafa;border-bottom:2px solid #f0f0f0}.section-card .ant-form-item-label>label{color:#262626;font-weight:600}.webhook-config-card{background-color:#f5f5f5;border:1px solid #d9d9d9;border-radius:8px;margin-bottom:16px;padding:16px}.webhook-url-section{margin-bottom:16px}.webhook-url-input{background-color:#fff;font-family:Courier New,monospace}.copy-button{margin-left:8px}.info-tooltip{color:#8c8c8c;cursor:help;margin-left:4px}.config-status-tag{margin-left:12px}.ant-steps{margin:32px 0}.form-section-divider{color:#262626;font-weight:600;margin:32px 0}@media (max-width:768px){.integration-grid{grid-template-columns:1fr}.page-header{align-items:flex-start;flex-direction:column}.page-header button{margin-top:16px}}.ant-alert{border-radius:8px}.ant-space-horizontal{flex-wrap:wrap}.ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):before{color:#ff4d4f}.ant-btn,.ant-input,.ant-input-affix-wrapper{border-radius:6px}.ant-btn{font-weight:500}.ant-btn-lg{font-size:16px;height:44px;padding:0 24px}.ant-spin-nested-loading>div>.ant-spin{max-height:none}.ant-card-head-title .anticon{font-size:20px;margin-right:8px}.webhook-instructions{background-color:#e6f7ff;border:1px solid #91d5ff;border-radius:8px;margin-top:16px;padding:16px}.webhook-instructions ol{margin-bottom:0;padding-left:20px}.webhook-instructions li{line-height:1.6;margin-bottom:8px}.status-configured{color:#52c41a}.status-not-configured{color:#ff4d4f}.field-with-copy{align-items:center;display:flex;gap:8px}.important-section{background-color:#fffbe6;border:1px solid #ffe58f;border-radius:8px;margin:16px 0;padding:16px}.modal-overlay{animation:fadeIn .3s ease;padding:1rem}.modal-content{box-shadow:0 20px 40px #0000000d;position:relative}.modal-header{padding:2rem 2rem 1rem;position:relative}.modal-header h2{font-size:1.5rem;margin:0 0 .5rem}.modal-description{color:#6b7280;font-size:.9rem;line-height:1.4;margin:0}.modal-close{color:#999;font-size:1.5rem;position:absolute;right:1.5rem;top:1.5rem;transition:all .2s ease}.modal-close:hover{color:#333}.modal-form{padding:0}.form-fields{max-height:60vh;overflow-y:auto;padding:2rem}.form-group input,.form-group select{background:#fff;border:1px solid #ddd;border-radius:6px;font-size:.9rem;padding:.75rem;transition:all .2s ease;width:100%}.form-group input:focus,.form-group select:focus{border-color:#1976d2;box-shadow:0 0 0 3px #007bff1a;outline:none}.form-group input.error,.form-group select.error{border-color:#d32f2f;box-shadow:0 0 0 3px #dc35451a}.error-text{color:#d32f2f;display:block;margin-top:.25rem}.help-text{color:#6b7280;font-size:.8rem;margin-top:.25rem}.modal-footer{background:#fafbfc;border-radius:0 0 12px 12px;border-top:1px solid #e5e7eb;gap:1rem;padding:1.5rem 2rem 2rem}.btn{min-width:100px;padding:.75rem 1.5rem}.btn-primary:hover{box-shadow:0 4px 12px #007bff4d;transform:translateY(-1px)}.btn-secondary:hover{background:#545b62;box-shadow:0 4px 12px #6c757d4d;transform:translateY(-1px)}@media (max-width:768px){.modal-overlay{padding:.5rem}.modal-content{margin:0;max-width:100%}.form-fields,.modal-footer,.modal-header{padding-left:1.5rem;padding-right:1.5rem}.modal-header h2{font-size:1.3rem}.modal-footer{flex-direction:column}.btn{width:100%}}.form-fields::-webkit-scrollbar{width:6px}.form-fields::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.form-fields::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.form-fields::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.btn:disabled{box-shadow:none!important}.form-group.success input{border-color:#388e3c;box-shadow:0 0 0 3px #28a7451a}.modal-content:focus{outline:none}.form-group{animation:fadeInUp .3s ease forwards;opacity:0;transform:translateY(10px)}.form-group:first-child{animation-delay:.1s}.form-group:nth-child(2){animation-delay:.15s}.form-group:nth-child(3){animation-delay:.2s}.form-group:nth-child(4){animation-delay:.25s}.form-group:nth-child(5){animation-delay:.3s}.form-group:nth-child(6){animation-delay:.35s}.info-box{background:#e3f2fd;border:1px solid #bbdefb;margin-top:1rem;padding:1rem}.info-box h4{color:#1976d2;font-size:.9rem;font-weight:600;margin:0 0 .75rem}.info-box ol{color:#424242;font-size:.85rem;line-height:1.5;margin:0;padding-left:1.25rem}.info-box li{margin-bottom:.5rem}.info-box li:last-child{margin-bottom:0}.settings-container{background:#f5f7fa;margin:0 auto;max-width:1400px;min-height:100vh;padding:2rem}.settings-header{background:#fff;border-radius:12px;box-shadow:0 2px 12px #00000014;margin-bottom:2rem;padding:2rem}.settings-header h1{color:#1a202c;font-size:2.25rem;font-weight:700;margin-bottom:.5rem}.settings-header p{color:#718096;font-size:1rem;line-height:1.5}.settings-form{background:#0000;border-radius:0;box-shadow:none;padding:0}.settings-section{border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 2px 12px #00000014;margin-bottom:2rem;padding:2rem;transition:all .3s ease}.settings-section:hover{box-shadow:0 4px 20px #0000001f;transform:translateY(-2px)}.settings-section:last-of-type{margin-bottom:2rem}.settings-section h2{border-bottom:3px solid #4299e1;color:#2d3748;display:inline-block;font-size:1.5rem;font-weight:700;margin-bottom:1.5rem;padding-bottom:1rem}.form-group label{color:#2d3748;margin-bottom:.75rem}.form-group label .required{color:#e53e3e}.form-group input[type=number],.form-group input[type=text],.form-group select{background:#fff;border:2px solid #e2e8f0;border-radius:8px;color:#2d3748;font-size:.95rem;padding:.875rem 1rem;transition:all .2s ease;width:100%}.form-group input[type=number]:hover,.form-group input[type=text]:hover,.form-group select:hover{border-color:#cbd5e0}.form-group input[type=number]:focus,.form-group input[type=text]:focus,.form-group select:focus{border-color:#4299e1;box-shadow:0 0 0 3px #4299e11a;outline:none}.form-row{grid-gap:1.5rem;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.checkbox-group{align-items:flex-start;background:#f7fafc;border:1px solid #e2e8f0;border-radius:8px;display:flex;flex-direction:column;gap:.5rem;padding:1rem}.checkbox-label{border-radius:6px;font-weight:400!important;gap:.75rem;margin-bottom:0!important;padding:.5rem;width:100%}.checkbox-label:hover{background:#edf2f7}.checkbox-label input[type=checkbox]{accent-color:#4299e1;display:inline-block!important;flex-shrink:0;height:20px!important;min-height:20px;min-width:20px;opacity:1!important;position:relative;transform:scale(1.2);visibility:visible!important;width:20px!important}.checkbox-label span{color:#2d3748;font-size:.95rem}.password-requirements{grid-gap:1rem;background:#f7fafc;border:1px solid #e2e8f0;border-radius:8px;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:1.5rem;padding:1.5rem}.password-requirements .checkbox-label{background:#fff;border:1px solid #e2e8f0;border-radius:6px;margin:0;padding:.75rem}.password-requirements .checkbox-label:hover{background:#edf2f7;border-color:#4299e1}.help-text{color:#718096;font-size:.875rem;line-height:1.5;margin-top:.5rem}.form-actions{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 2px 12px #00000014;padding:1.5rem}.btn{letter-spacing:.5px;padding:.875rem 2rem;text-transform:uppercase}.btn-primary{background:linear-gradient(135deg,#4299e1,#3182ce);box-shadow:0 4px 12px #4299e14d}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#3182ce,#2c5282);box-shadow:0 6px 16px #4299e166}.btn-outline{border:2px solid #4299e1;box-shadow:0 2px 8px #0000000d;color:#4299e1}.btn-outline:hover:not(:disabled){background:#4299e1;box-shadow:0 4px 12px #4299e14d;transform:translateY(-2px)}.btn:disabled{opacity:.5;transform:none!important}.access-denied,.loading{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 2px 12px #00000014;padding:4rem 3rem;text-align:center}.loading{color:#4299e1;font-size:1.1rem;font-weight:600}.access-denied h2{color:#f56565;font-size:1.75rem;font-weight:700;margin-bottom:1rem}.access-denied p,.section-description{color:#718096;line-height:1.6}.section-description{font-size:1rem;margin-bottom:1.5rem}.auth-methods-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));margin-top:1.5rem}.auth-method-card{background:#f7fafc;border:2px solid #e2e8f0;border-radius:12px;overflow:hidden;padding:1.75rem;position:relative;transition:all .3s ease}.auth-method-card:before{background:#cbd5e0;content:"";height:4px;left:0;position:absolute;top:0;transition:all .3s ease;width:100%}.auth-method-card:hover{border-color:#4299e1;box-shadow:0 8px 24px #4299e126;transform:translateY(-4px)}.auth-method-card.enabled{background:#ebf8ff;border-color:#4299e1}.auth-method-card.enabled:before{background:linear-gradient(90deg,#4299e1,#3182ce)}.auth-method-card.disabled{background:#f7fafc;border-color:#e2e8f0;opacity:.8}.auth-method-card.disabled:before{background:#cbd5e0}.auth-method-header{align-items:flex-start;display:flex;gap:1rem;justify-content:space-between;margin-bottom:1rem}.auth-method-header>div{flex:1 1}.auth-method-header h3{color:#2d3748;font-size:1.2rem;font-weight:700;margin:0 0 .35rem}.status-indicator{color:#4a5568;font-size:.875rem;gap:.5rem;margin-top:.25rem}.status-indicator:before{border-radius:50%;box-shadow:0 0 0 2px #fffc;content:"";flex-shrink:0;height:10px;width:10px}.status-indicator.active:before{animation:pulse-green 2s ease-in-out infinite;background:#48bb78;box-shadow:0 0 0 3px #48bb7833,0 0 8px #48bb7880}.status-indicator.inactive:before{background:#cbd5e0;box-shadow:0 0 0 3px #cbd5e033}@keyframes pulse-green{0%,to{box-shadow:0 0 0 3px #48bb7833,0 0 8px #48bb7880}50%{box-shadow:0 0 0 5px #48bb781a,0 0 12px #48bb7899}}.auth-method-description{color:#4a5568;font-size:.95rem;line-height:1.6;margin-bottom:1.25rem}.toggle-slider{background:linear-gradient(135deg,#cbd5e0,#a0aec0);box-shadow:inset 0 2px 4px #0000001a;transition:all .3s ease}.toggle-slider:before{bottom:3px;box-shadow:0 2px 6px #0003;left:3px;transition:all .3s ease}input:checked+.toggle-slider{background:linear-gradient(135deg,#4299e1,#3182ce);box-shadow:0 2px 8px #4299e14d}input:checked+.toggle-slider:before{transform:translateX(28px)}.toggle-slider:hover{box-shadow:0 2px 8px #0000001a}input:focus+.toggle-slider{box-shadow:0 0 0 3px #4299e133}.btn-sm{border-radius:6px;font-size:.875rem;padding:.625rem 1.25rem}.auth-method-card .btn-outline{background:#fff;border:2px solid #4299e1;color:#4299e1;margin-top:.5rem}.auth-method-card .btn-outline:hover{background:#4299e1;box-shadow:0 4px 12px #4299e14d;color:#fff;transform:translateY(-2px)}.settings-tabs{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 2px 12px #00000014;display:flex;gap:1rem;margin-bottom:2rem;padding:1rem}.tab-button{background:#0000;border:2px solid #0000;border-radius:8px;color:#718096;font-size:1rem;padding:1rem 1.5rem}.tab-button:hover{background-color:#f7fafc;border-color:#cbd5e0;color:#2d3748}.tab-button.active{background:linear-gradient(135deg,#ebf8ff,#bee3f8);border-color:#4299e1;box-shadow:0 4px 12px #4299e133;color:#4299e1}.tab-content{background:#0000;border-radius:0;box-shadow:none;min-height:400px}@media (max-width:768px){.settings-container{padding:1rem}.settings-header{padding:1.5rem}.settings-header h1{font-size:1.75rem}.settings-tabs{flex-direction:column;gap:.5rem}.tab-button{text-align:left}.settings-section{padding:1.5rem}.settings-section h2{font-size:1.25rem}.auth-methods-grid,.form-row,.password-requirements{grid-template-columns:1fr}.form-actions{flex-direction:column-reverse}.btn{width:100%}}@media (max-width:480px){.settings-header h1{font-size:1.5rem}.btn{font-size:.875rem;padding:.75rem 1.5rem}}.settings-section{animation:fadeIn .4s ease-out}.settings-section:first-child{animation-delay:.1s}.settings-section:nth-child(2){animation-delay:.2s}.settings-section:nth-child(3){animation-delay:.3s}.settings-section:nth-child(4){animation-delay:.4s}html{scroll-behavior:smooth}:focus-visible{outline:2px solid #4299e1;outline-offset:2px}.info-box{background:linear-gradient(135deg,#ebf8ff,#bee3f8 50%,#90cdf4);border:1px solid #90cdf4;border-radius:10px;box-shadow:0 4px 12px #4299e126;margin-top:24px;padding:24px}.info-box h3{color:#1a365d!important;font-size:1.1rem!important;font-weight:700;margin-bottom:16px;margin-top:0!important}.info-box ol{color:#2c5282;font-size:.95rem;line-height:1.8;margin-left:20px}.info-box ol li{margin-bottom:8px}.info-box ol li strong{color:#1a365d;font-weight:600}.info-box p{color:#2c5282;margin-bottom:0}.info-box p strong{color:#1a365d}.followup-status-management{margin:0 auto;max-width:1200px;padding:24px}.page-header{border-bottom:1px solid #e5e7eb;padding-bottom:24px}.header-content h1{color:#111827;font-size:2rem;font-weight:700}.header-content p{font-size:1rem}.error-message{background-color:#fef2f2;border:1px solid #fecaca;margin-bottom:24px;padding:16px;text-align:center}.empty-state{border:1px solid #e5e7eb;border-radius:8px}.empty-icon{font-size:4rem;margin-bottom:16px}.empty-state h3{font-size:1.25rem;font-weight:600;margin:0 0 8px}.empty-state p{color:#6b7280}.statuses-grid{grid-gap:24px;gap:24px;grid-template-columns:repeat(auto-fill,minmax(400px,1fr))}.status-card{border-radius:8px;padding:24px;transition:box-shadow .2s,border-color .2s}.status-card:hover{box-shadow:0 4px 12px #00000008}.status-name{align-items:center;display:flex;gap:12px;margin-bottom:8px}.status-badge{color:#fff;font-size:.875rem;padding:6px 12px;text-shadow:0 1px 2px #00000008}.default-badge{background-color:#f57c00;border-radius:8px;color:#fff;display:inline-block;font-size:.75rem;font-weight:500;letter-spacing:.025em;padding:2px 6px;text-transform:uppercase}.status-description{color:#6b7280;font-size:.875rem;line-height:1.5;margin:0}.status-details{grid-gap:12px;border-top:1px solid #f9fafb;display:grid;gap:12px;grid-template-columns:1fr 1fr;padding-top:16px}.detail-item{gap:2px}.detail-item label{color:#6b7280;font-size:.75rem;font-weight:500;letter-spacing:.025em;text-transform:uppercase}.detail-item span{color:#374151;font-size:.875rem;font-weight:500}.detail-item span.active{color:#16a34a}.detail-item span.inactive{color:#d32f2f}.modal-overlay{background-color:#00000080}.modal{background:#fff;border-radius:8px;box-shadow:0 4px 20px #0000000d;max-height:90vh;max-width:500px;overflow-y:auto;width:90%}.modal-header h3{color:#111827;font-size:1.25rem;font-weight:600}.close-button{align-items:center;background:none;border:none;border-radius:4px;color:#6b7280;cursor:pointer;display:flex;font-size:24px;height:32px;justify-content:center;padding:0;transition:background-color .2s;width:32px}.close-button:hover{background-color:#f9fafb;color:#374151}.modal-form{padding:24px}.form-group input,.form-group textarea{border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;padding:8px 12px;transition:border-color .2s,box-shadow .2s;width:100%}.form-group input:focus,.form-group textarea:focus{border-color:#1976d2;box-shadow:0 0 0 3px #3b82f61a}.form-group textarea{min-height:80px}.form-group small{font-size:.75rem;margin-top:4px}.color-input-group{align-items:center;display:flex;gap:8px}.color-picker{border:1px solid #d1d5db;border-radius:6px;cursor:pointer;height:40px;padding:0;width:50px}.color-text{flex:1 1}.checkbox-label{font-size:.875rem;font-weight:500}.checkbox-text{font-weight:500}.btn{min-width:80px}.btn-primary:hover:not(:disabled){background-color:#1565c0}.btn-secondary{background-color:#6b7280}.btn-secondary:hover:not(:disabled){background-color:#4b5563}.btn-outline{background-color:initial;border:1px solid #d1d5db}.btn-outline:hover:not(:disabled){background-color:#f9fafb}.btn-danger{background-color:#d32f2f}.btn-danger:hover:not(:disabled){background-color:#b91c1c}.loading{font-size:1rem}@media (max-width:768px){.followup-status-management{padding:16px}.page-header{align-items:stretch;flex-direction:column;gap:16px}.statuses-grid{grid-template-columns:1fr}.status-header{align-items:flex-start;flex-direction:column;gap:12px}.status-actions{justify-content:flex-end;width:100%}.status-details{grid-template-columns:1fr}.form-actions{flex-direction:column}.btn{width:100%}.modal{margin:20px;width:95%}.modal-form,.modal-header{padding:16px}}@media (max-width:480px){.header-content h1{font-size:1.5rem}.color-input-group{align-items:stretch;flex-direction:column}.color-picker{height:50px;width:100%}}.lead-status-settings{margin:0 auto;max-width:1400px;padding:24px}.settings-header h2{color:#1f2937;font-size:24px;font-weight:600;margin:0}.checkbox-label{color:#4b5563}.form-modal{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.form-container{background:#fff;border-radius:12px;max-height:90vh;max-width:600px;overflow-y:auto;padding:24px;width:100%}.form-header{margin-bottom:24px}.form-header h3{font-size:20px;font-weight:600;margin:0}.close-btn{color:#6b7280;font-size:28px}.form-group{margin-bottom:16px}.form-group label{margin-bottom:6px}.form-group input,.form-group select,.form-group textarea{border:1px solid #d1d5db}.form-group input[type=color]{height:42px;padding:4px}.form-row{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.btn-primary{background:#3b82f6}.btn-primary:hover{background:#2563eb}.btn-secondary{background:#e5e7eb}.btn-secondary:hover{background:#d1d5db}.btn-edit{background:#3b82f6;color:#fff}.btn-edit:hover{background:#2563eb}.btn-delete{background:#ef4444;color:#fff}.btn-delete:hover{background:#dc2626}.statuses-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}.status-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px;transition:all .2s}.status-card:hover{border-color:#d1d5db;box-shadow:0 4px 12px #00000014}.status-card.inactive{opacity:.6}.status-header{justify-content:space-between;margin-bottom:16px}.status-header,.status-info{align-items:flex-start;display:flex}.status-info{flex:1 1;gap:12px}.status-icon{align-items:center;border-radius:8px;display:flex;flex-shrink:0;height:40px;justify-content:center;width:40px}.status-icon i{color:#fff;font-size:20px}.status-info h4{color:#1f2937;font-size:16px;font-weight:600;margin:0 0 4px}.status-info .description{color:#6b7280;font-size:13px;line-height:1.5;margin:0}.status-badges{align-items:flex-end;display:flex;flex-direction:column;gap:4px}.badge{border-radius:4px;font-weight:600;text-transform:uppercase}.badge-default{background:#dbeafe;color:#1e40af}.badge-final{background:#fef3c7;color:#92400e}.badge-system{background:#e0e7ff;color:#3730a3}.badge-inactive{background:#f3f4f6;color:#6b7280}.status-meta{color:#6b7280;display:flex;font-size:13px;gap:16px;margin-bottom:12px}.status-actions{display:flex;gap:8px;justify-content:flex-end}.status-actions .btn{min-width:auto}.status-actions i{font-size:18px}.empty-state{color:#9ca3af;font-size:16px}@media (max-width:768px){.lead-status-settings{padding:16px}.settings-header{align-items:flex-start;flex-direction:column;gap:16px}.header-actions{justify-content:space-between;width:100%}.statuses-grid{grid-template-columns:1fr}.form-container{margin:16px;max-width:calc(100% - 32px)}}.user-form-overlay{align-items:center;background:#0009;bottom:0;display:flex;justify-content:center;left:0;overflow-y:auto;padding:20px;position:fixed;right:0;top:0;z-index:9999}.user-form{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column;margin:auto;max-height:90vh;max-width:800px;overflow:hidden;width:100%}.user-form-header{align-items:center;background:linear-gradient(135deg,#3b82f6,#2563eb);border-bottom:1px solid #e5e7eb;border-radius:12px 12px 0 0;display:flex;flex-shrink:0;justify-content:space-between;padding:24px 30px}.user-form-header h2{color:#fff;font-size:1.5rem;font-weight:700;margin:0}.user-form-content{background:#fff;flex:1 1;overflow-y:auto;padding:30px}.form-section{background:#f9fafb;border-radius:10px;padding:24px}.form-section h3{border-bottom:2px solid #3b82f6;color:#1f2937;font-size:1.1rem;font-size:.95rem;letter-spacing:.5px;margin:0 0 20px;text-transform:uppercase}.form-row{margin-bottom:16px}.form-group{gap:6px}.form-group label{font-size:.875rem}.form-group input,.form-group select,.form-group textarea{background:#fff;border:2px solid #e5e7eb;border-radius:8px;color:#1f2937;font-size:.9rem;padding:11px 14px;transition:all .2s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{background:#fff;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-group input.error,.form-group select.error,.form-group textarea.error{background:#fef2f2;border-color:#ef4444}.error-text{align-items:center;color:#ef4444;display:flex;font-size:.8rem;font-weight:500;gap:4px}.error-text:before{content:"⚠"}.phone-input{align-items:stretch;display:flex;gap:12px}.country-code-display{align-items:center;background:#f3f4f6;border:2px solid #e5e7eb;border-radius:8px;color:#1f2937;display:flex;flex:0 0 70px;font-size:.9rem;font-weight:600;justify-content:center;padding:11px 14px;-webkit-user-select:none;user-select:none}.phone-input input{flex:1 1}.checkbox-label{background:#fff;padding:10px}.checkbox-label:hover{background:#f9fafb;border-color:#3b82f6}.checkbox-label input[type=checkbox]{accent-color:#3b82f6}.btn-primary{background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 2px 8px #3b82f64d}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 4px 12px #3b82f666}.btn-outline:hover{background:#f3f4f6;border-color:#9ca3af;color:#374151}.access-denied{padding:60px 30px}.access-denied h2{color:#ef4444;font-size:1.5rem;margin-bottom:12px}.access-denied p{font-size:1rem;margin-bottom:24px}@media (max-width:768px){.user-form-overlay{padding:10px}.user-form{max-height:95vh}.user-form-header{padding:15px 20px}.user-form-content{padding:20px}.form-row{gap:15px;grid-template-columns:1fr}.form-actions{flex-direction:column}.btn{width:100%}}@media (max-width:480px){.user-form-header h2{font-size:1.2rem}.form-section h3{font-size:1rem}.country-code-display{flex:0 0 65px;font-size:.85rem;padding:11px 10px}}.user-detail-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.user-detail{background:#fff;border-radius:8px;box-shadow:0 10px 30px #0000004d;display:flex;flex-direction:column;max-height:90vh;max-width:1000px;overflow:hidden;width:100%}.user-detail-header{align-items:center;background:#fafbfc;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;padding:20px 30px}.user-info{gap:20px}.user-avatar-large{border:3px solid #e0e0e0;border-radius:50%;height:60px;object-fit:cover;width:60px}.user-info h2{color:#333;font-size:1.5rem;font-weight:600;margin:0 0 5px}.user-info p{color:#6b7280;font-size:.9rem;margin:0 0 10px}.user-status{display:flex;flex-wrap:wrap;gap:8px}.btn-close{border-radius:50%;color:#6b7280;height:30px;width:30px}.btn-close:hover{background:#e0e0e0}.user-detail-tabs{background:#fafbfc;border-bottom:1px solid #e0e0e0;display:flex}.tab{font-size:.9rem;padding:15px 25px}.tab:hover{background:#e5e7eb;color:#333}.tab.active{background:#fff}.user-detail-content{flex:1 1;overflow-y:auto;padding:30px}.tab-content{max-width:800px}.info-grid{grid-gap:30px;display:grid;gap:30px;grid-template-columns:1fr 1fr;margin-bottom:30px}.info-section{background:#fafbfc;border:1px solid #e0e0e0;border-radius:8px;padding:20px}.info-section h3{border-bottom:2px solid #1976d2;color:#333;font-size:1.1rem;font-weight:600;margin:0 0 15px;padding-bottom:10px}.info-item{border-bottom:1px solid #e5e7eb;gap:10px;margin-bottom:12px;padding:8px 0}.info-item:last-child{border-bottom:none;margin-bottom:0}.info-item label{color:#6b7280;font-size:.9rem;font-weight:500;min-width:120px}.info-item span{color:#333;font-size:.9rem}.monospace{background:#e5e7eb;border-radius:3px;font-family:Courier New,monospace;font-size:.8rem;padding:2px 6px}.verified-badge{background:#d4edda;border-radius:8px;color:#155724;font-size:.7rem;font-weight:500;padding:2px 6px}.full-width{grid-column:1/-1}.security-section{margin-bottom:30px}.security-section h3{border-bottom:2px solid #1976d2;color:#333;font-size:1.1rem;font-weight:600;margin:0 0 20px;padding-bottom:10px}.security-item{align-items:center;background:#fafbfc;border:1px solid #e0e0e0;border-radius:6px;display:flex;gap:10px;margin-bottom:15px;padding:12px}.security-item label{color:#6b7280;font-size:.9rem;font-weight:500;min-width:200px}.security-item span{color:#333;font-size:.9rem}.security-item .enabled{color:#388e3c;font-weight:600}.security-item .disabled{color:#6b7280}.security-item .locked{color:#d32f2f;font-weight:600}.security-item .unlocked{color:#388e3c;font-weight:600}.method-badge{background:#1976d2;border-radius:8px;color:#fff;font-size:.7rem;font-weight:500;margin-left:10px;padding:2px 6px}.lock-info{color:#d32f2f;font-size:.8rem;margin-left:10px}.security-actions{border-top:1px solid #e0e0e0;margin-top:20px;padding-top:20px}.sessions-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.sessions-header h3{color:#333;font-size:1.1rem;font-weight:600;margin:0}.sessions-list{display:flex;flex-direction:column;gap:15px}.session-item{align-items:flex-start;background:#fafbfc;border:1px solid #e0e0e0;border-radius:8px;display:flex;justify-content:space-between;padding:20px}.session-info{flex:1 1}.session-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px}.session-status{border-radius:12px;font-size:.75rem;font-weight:500;padding:4px 8px}.session-status.active{background:#d4edda;color:#155724}.session-time{color:#6b7280;font-size:.8rem}.session-details{grid-gap:10px;display:grid;gap:10px;grid-template-columns:1fr 1fr}.session-detail{display:flex;flex-direction:column;gap:2px}.session-detail label{color:#6b7280;font-size:.8rem;font-weight:500}.session-detail span{color:#333;font-size:.9rem}.activity-section{margin-bottom:30px}.activity-section h3{border-bottom:2px solid #1976d2;color:#333;font-size:1.1rem;font-weight:600;margin:0 0 20px;padding-bottom:10px}.activity-timeline{display:flex;flex-direction:column;gap:15px}.activity-item{background:#fafbfc;border:1px solid #e0e0e0;border-radius:8px;display:flex;gap:15px;padding:15px}.activity-icon{align-items:center;background:#1976d2;border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:1.2rem;height:40px;justify-content:center;width:40px}.activity-content{flex:1 1}.activity-title{color:#333;font-weight:600;margin-bottom:5px}.activity-details{color:#6b7280;font-size:.9rem;margin-bottom:5px}.activity-time{color:#999;font-size:.8rem}.btn-warning{color:#333}.no-sessions{background:#fafbfc;border:1px solid #e0e0e0;border-radius:8px;color:#6b7280;font-style:italic;padding:40px;text-align:center}@media (max-width:768px){.user-detail-overlay{padding:10px}.user-detail{max-height:95vh}.user-detail-header{padding:15px 20px}.user-detail-content{padding:20px}.user-info{flex-direction:column;gap:10px;text-align:center}.info-grid{gap:20px}.info-grid,.session-details{grid-template-columns:1fr}.sessions-header{align-items:stretch;flex-direction:column;gap:15px}}@media (max-width:480px){.user-detail-header h2{font-size:1.2rem}.tab{font-size:.8rem;padding:12px 15px}.session-item{flex-direction:column;gap:15px}.activity-item{flex-direction:column;text-align:center}}.user-filters{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px #0000000d;margin-bottom:24px;overflow:hidden;padding:0}.filters-form{display:flex;flex-direction:column}.search-section{background:#fff;border-bottom:1px solid #e5e7eb;padding:20px}.search-input-wrapper{position:relative;width:100%}.search-icon{color:#9ca3af;left:16px;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.search-input{background:#f9fafb;border:2px solid #e5e7eb;border-radius:10px;font-size:15px;padding:12px 48px;transition:all .2s ease;width:100%}.search-input:focus{background:#fff;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.search-input::placeholder{color:#9ca3af}.clear-search{align-items:center;background:#e5e7eb;border:none;border-radius:50%;color:#6b7280;cursor:pointer;display:flex;font-size:20px;height:24px;justify-content:center;line-height:1;position:absolute;right:12px;top:50%;transform:translateY(-50%);transition:all .2s ease;width:24px}.clear-search:hover{background:#d1d5db;color:#374151}.quick-filters-section{align-items:center;background:#f9fafb;border-bottom:1px solid #e5e7eb;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;padding:16px 20px}.quick-filters{display:flex;flex:1 1;flex-wrap:wrap;gap:10px}.quick-filter-btn{background:#fff;border:2px solid #e5e7eb;border-radius:20px;color:#4b5563;cursor:pointer;font-size:14px;font-weight:500;padding:8px 16px;transition:all .2s ease;white-space:nowrap}.quick-filter-btn:hover{background:#eff6ff;border-color:#3b82f6;color:#3b82f6}.quick-filter-btn.active{background:#3b82f6;border-color:#3b82f6;color:#fff}.quick-filter-btn.locked.active{background:#ef4444;border-color:#ef4444}.toggle-advanced-btn{background:#0000;border:2px solid #d1d5db;border-radius:8px;color:#6b7280;cursor:pointer;font-size:14px;font-weight:500;padding:8px 16px;transition:all .2s ease;white-space:nowrap}.toggle-advanced-btn:hover{background:#f3f4f6;border-color:#9ca3af;color:#374151}.advanced-filters{animation:slideDown .3s ease;background:#fff;padding:24px 20px}.filters-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin-bottom:20px}.filter-group{gap:8px}.filter-group label{font-weight:600;letter-spacing:.5px;text-transform:uppercase}.filter-group input,.filter-group select{border:2px solid #e5e7eb;border-radius:8px;color:#1f2937;padding:10px 14px;transition:all .2s ease}.filter-group input:focus,.filter-group select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.filter-group input::placeholder{color:#9ca3af}.filter-group select{cursor:pointer}.filter-actions{border-top:1px solid #e5e7eb;display:flex;gap:12px;padding-top:12px}.btn{padding:11px 24px}.btn-apply{background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 2px 4px #3b82f64d;color:#fff}.btn-apply:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 4px 8px #3b82f666;transform:translateY(-1px)}.btn-apply:active{transform:translateY(0)}.btn-reset{background:#0000;border:2px solid #d1d5db;color:#6b7280}.btn-reset:hover{background:#f3f4f6;border-color:#9ca3af;color:#374151}@media (max-width:1024px){.filters-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}}@media (max-width:768px){.user-filters{border-radius:8px}.search-section{padding:16px}.quick-filters-section{align-items:stretch;flex-direction:column;padding:12px 16px}.quick-filters{justify-content:center}.toggle-advanced-btn{width:100%}.advanced-filters{padding:20px 16px}.filters-grid{gap:16px;grid-template-columns:1fr}.filter-actions{flex-direction:column}.btn{width:100%}}@media (max-width:480px){.search-section{padding:12px}.search-input{font-size:14px;padding:10px 40px}.quick-filters-section{padding:10px 12px}.quick-filters{gap:8px}.quick-filter-btn{font-size:13px;padding:7px 14px}.advanced-filters{padding:16px 12px}.filters-grid{gap:12px}.filter-group label{font-size:12px}.filter-group input,.filter-group select{font-size:13px;padding:9px 12px}.btn{font-size:13px;padding:10px 20px}}@media (prefers-color-scheme:dark){.advanced-filters,.search-section,.user-filters{background:#1f2937;border-color:#374151}.quick-filters-section,.search-input{background:#111827;border-color:#374151}.search-input{color:#f9fafb}.search-input:focus{background:#1f2937}.filter-group input,.filter-group select{background:#111827;border-color:#374151;color:#f9fafb}.filter-group label{color:#d1d5db}.quick-filter-btn{background:#1f2937;border-color:#374151;color:#d1d5db}.quick-filter-btn:hover{background:#374151}.toggle-advanced-btn{background:#0000;border-color:#4b5563;color:#9ca3af}.toggle-advanced-btn:hover{background:#374151;color:#d1d5db}}.send-email-modal-overlay{align-items:center;background:#0009;bottom:0;display:flex;justify-content:center;left:0;overflow-y:auto;padding:20px;position:fixed;right:0;top:0;z-index:9999}.send-email-modal{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column;margin:auto;max-height:90vh;max-width:700px;overflow:hidden;width:100%}.send-email-modal-header{align-items:center;background:linear-gradient(135deg,#10b981,#059669);border-bottom:1px solid #e5e7eb;border-radius:12px 12px 0 0;display:flex;flex-shrink:0;justify-content:space-between;padding:24px 30px}.send-email-modal-header h2{color:#fff;font-size:1.5rem;font-weight:700;margin:0}.btn-close{align-items:center;background:#fff3;border-radius:8px;color:#fff;display:flex;font-size:28px;height:36px;justify-content:center;line-height:1;transition:all .2s ease;width:36px}.btn-close:hover{background:#ffffff4d;transform:scale(1.05)}.send-email-modal-content{background:#fff;flex:1 1;overflow-y:auto;padding:30px}.recipient-info{background:#f0fdf4;border:2px solid #bbf7d0;border-radius:10px;margin-bottom:24px;padding:16px 20px}.recipient-details{display:flex;gap:10px;margin-bottom:8px}.recipient-details:last-child{margin-bottom:0}.recipient-details .label{color:#065f46;font-weight:600;min-width:50px}.recipient-details .value{color:#047857;font-weight:500}.quick-templates{align-items:center;background:#f9fafb;border-radius:10px;display:flex;flex-wrap:wrap;gap:12px;margin-bottom:24px;padding:16px}.templates-label{color:#374151;font-size:.9rem;font-weight:600}.template-btn{background:#fff;border:2px solid #e5e7eb;border-radius:8px;color:#6b7280;cursor:pointer;font-size:.875rem;font-weight:500;padding:8px 16px;transition:all .2s ease}.template-btn:hover{background:#f0fdf4;border-color:#10b981;color:#10b981;transform:translateY(-1px)}.email-form{display:flex;flex-direction:column;gap:20px}.form-group label{font-size:.9rem}.form-group label .required{color:#ef4444;margin-left:4px}.form-group input,.form-group textarea{background:#fff;border:2px solid #e5e7eb;border-radius:8px;color:#1f2937;font-family:inherit;font-size:.9rem;padding:12px 16px;transition:all .2s ease}.form-group textarea{line-height:1.6;min-height:200px;resize:vertical}.form-group input:focus,.form-group textarea:focus{border-color:#10b981;box-shadow:0 0 0 3px #10b9811a;outline:none}.form-group input::placeholder,.form-group textarea::placeholder{color:#9ca3af}.checkbox-group{margin-top:8px}.checkbox-label{background:#f9fafb;border:2px solid #e5e7eb;border-radius:8px;color:#374151;font-size:.9rem;gap:10px;padding:12px 16px;transition:all .2s ease}.checkbox-label:hover{background:#f0fdf4;border-color:#10b981}.checkbox-label input[type=checkbox]{accent-color:#10b981;margin:0}.checkbox-label span,.error-message{font-weight:500}.error-message{background:#fef2f2;border:2px solid #fecaca;color:#dc2626;font-size:.875rem}.error-message:before{content:"⚠️";font-size:1.1rem}.form-actions{background:#f9fafb;border-top:1px solid #e5e7eb;flex-shrink:0;margin:0 -30px -30px;padding:24px 30px}.btn{font-size:.9rem;min-width:120px;padding:12px 28px}.btn-primary{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 2px 8px #10b9814d}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#059669,#047857);box-shadow:0 4px 12px #10b98166;transform:translateY(-1px)}.btn-primary:disabled{background:#9ca3af;box-shadow:none}.btn-outline{border:2px solid #d1d5db}.btn-outline:hover:not(:disabled){background:#f3f4f6;border-color:#9ca3af;color:#374151}@media (max-width:768px){.send-email-modal-overlay{padding:10px}.send-email-modal{max-height:95vh}.send-email-modal-header{padding:20px}.send-email-modal-header h2{font-size:1.25rem}.send-email-modal-content{padding:20px}.quick-templates{align-items:stretch;flex-direction:column}.template-btn{width:100%}.form-actions{flex-direction:column-reverse;padding:20px}.btn{width:100%}}@media (max-width:480px){.send-email-modal-header h2{font-size:1.1rem}.form-group textarea{min-height:150px}}.users-container{margin:0 auto;max-width:1400px;padding:20px}.users-header{align-items:center;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;margin-bottom:30px;padding-bottom:20px}.users-header h1{color:#333;font-size:2rem;font-weight:600;margin:0}.tabs{border-bottom:2px solid #e0e0e0;gap:4px;margin-bottom:24px}.tab{background:#0000;color:#6b7280;font-weight:500;padding:12px 24px;transition:all .3s ease}.tab:hover{background:#fafbfc;color:#1976d2}.tab.active{font-weight:600}.access-denied{background:#fafbfc;border:1px solid #e0e0e0;padding:60px 20px}.access-denied p{color:#6b7280;margin-bottom:20px}.users-table-container{background:#fff;border-radius:8px;box-shadow:0 2px 4px #00000008;margin-bottom:20px;overflow:hidden}.users-table{border-collapse:collapse;width:100%}.users-table th{background:#fafbfc;border-bottom:1px solid #e0e0e0;color:#333;font-size:.9rem;font-weight:600;padding:15px 12px;text-align:left}.users-table td{border-bottom:1px solid #f0f0f0;padding:15px 12px;vertical-align:middle}.users-table tbody tr:hover{background:#fafbfc}.user-info{align-items:center;display:flex;gap:10px}.user-avatar{border:2px solid #e0e0e0;border-radius:50%;height:32px;object-fit:cover;width:32px}.role-badge{border-radius:12px;display:inline-block;font-size:.75rem;font-weight:500;letter-spacing:.5px;padding:4px 8px;text-transform:uppercase}.role-super-admin{background:#d32f2f;color:#fff}.role-admin{background:#f57c00;color:#fff}.role-manager{background:#f57c00;color:#333}.role-user{background:#388e3c;color:#fff}.role-guest{background:#6b7280;color:#fff}.status-badge{font-size:.75rem;margin-right:5px;padding:4px 8px}.status-badge.active{background:#d4edda;color:#155724}.status-badge.inactive{background:#f8d7da;color:#721c24}.status-badge.locked{background:#fff3cd;color:#856404}.status-badge.approved{background:#d4edda;color:#155724}.status-badge.pending{background:#fff3cd;color:#856404}.status-badge.rejected{background:#f8d7da;color:#721c24}.btn{font-size:.875rem}.btn-primary:hover{background:#0056b3}.btn-outline{border:1px solid #1976d2;color:#1976d2}.btn-outline:hover{background:#1976d2}.btn-email{background:linear-gradient(135deg,#10b981,#059669);border:none;box-shadow:0 2px 4px #10b98133;color:#fff}.btn-email:hover{background:linear-gradient(135deg,#059669,#047857);box-shadow:0 4px 8px #10b9814d;transform:translateY(-1px)}.btn-sm{font-size:.75rem;padding:4px 8px}.pagination{background:#fff;border-radius:8px;box-shadow:0 2px 4px #00000008;gap:15px}.loading{color:#6b7280;font-style:italic}.error{background:#f8d7da;border:1px solid #f5c6cb;border-radius:4px;color:#721c24;margin-bottom:20px;padding:15px}@media (max-width:768px){.users-container{padding:10px}.users-header{align-items:stretch;flex-direction:column;gap:15px}.users-table-container{overflow-x:auto}.users-table{min-width:800px}.action-buttons,.pagination{flex-direction:column}.pagination{gap:10px}}@media (max-width:480px){.users-header h1{font-size:1.5rem}.users-table td,.users-table th{font-size:.8rem;padding:10px 8px}.user-avatar{height:24px;width:24px}}.role-management{background:#f0f2f5;min-height:calc(100vh - 64px);padding:24px}.role-header{align-items:flex-start;background:#fff;border-radius:8px;box-shadow:0 1px 2px #00000008;display:flex;justify-content:space-between;margin-bottom:24px;padding:24px}.role-header h1{color:#262626;font-size:24px;font-weight:600;margin:0}.access-denied{background:#fff;border-radius:8px;padding:50px;text-align:center}.access-denied h2{color:#d32f2f;margin-bottom:10px}.roles-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}.role-card{background:#fff;border:1px solid #e8e8e8;border-radius:8px;box-shadow:0 1px 2px #00000008;padding:20px;transition:all .3s}.role-card:hover{box-shadow:0 4px 12px #00000014;transform:translateY(-2px)}.role-card-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:16px}.role-card-header h3{color:#262626;font-size:18px;font-weight:600;margin:0 0 8px}.role-level{background:#f0f0f0;border-radius:12px;color:#666;display:inline-block;font-size:12px;font-weight:500;padding:4px 12px}.system-badge{background:#1890ff}.protected-badge,.system-badge{border-radius:12px;color:#fff;font-size:12px;font-weight:500;padding:4px 12px}.protected-badge{background:#ff4d4f}.role-description{color:#666;font-size:14px;margin-bottom:16px;min-height:40px}.role-card-footer{align-items:center;border-top:1px solid #f0f0f0;display:flex;justify-content:space-between;padding-top:16px}.permission-count{color:#666;font-size:13px}.role-actions{display:flex;gap:8px}.modal-content{border-radius:8px;box-shadow:0 4px 20px #0000004d;max-width:800px;padding:30px}.modal-content h2{color:#262626;font-size:20px;margin:0 0 24px}.form-group label{color:#262626}.form-group input,.form-group select,.form-group textarea{border:1px solid #d9d9d9;border-radius:4px}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#1890ff;box-shadow:0 0 0 2px #1890ff33}.help-text{color:#999;display:block;font-size:12px;margin-top:4px}.permissions-list{background:#fafafa;border:1px solid #e8e8e8;border-radius:4px;max-height:400px;overflow-y:auto;padding:16px}.permission-group{margin-bottom:20px}.permission-group:last-child{margin-bottom:0}.permission-resource{border-bottom:2px solid #1890ff;color:#1890ff;font-size:13px;font-weight:600;margin:0 0 12px;padding-bottom:8px}.permission-items{grid-gap:8px;display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.permission-item{align-items:center;background:#fff;border:1px solid #e8e8e8;border-radius:4px;cursor:pointer;display:flex;gap:8px;padding:8px 12px;transition:all .2s}.permission-item:hover{background:#f0f7ff;border-color:#1890ff}.permission-item input[type=checkbox]{cursor:pointer;margin:0;width:auto}.permission-name{color:#262626;font-size:13px;font-weight:500}.permission-action{color:#999;font-size:12px;margin-left:auto}.form-actions{border-top:1px solid #e8e8e8;margin-top:24px;padding-top:24px}.btn{border-radius:4px;transition:all .3s}.btn-primary{background:#1890ff}.btn-primary:hover{background:#40a9ff}.btn-secondary{border:1px solid #d9d9d9;color:#666}.btn-secondary:hover{border-color:#1890ff;color:#1890ff}.btn-outline{background:#fff;border:1px solid #1890ff;color:#1890ff}.btn-outline:hover{background:#1890ff}.btn-danger{background:#ff4d4f}.btn-danger:hover{background:#ff7875}@media (max-width:768px){.role-management{padding:16px}.role-header{flex-direction:column;gap:16px;padding:16px}.role-header button{width:100%}.roles-grid{grid-template-columns:1fr}.modal-content{padding:20px;width:95%}.permission-items{grid-template-columns:1fr}.form-actions{flex-direction:column}.form-actions button{width:100%}}.pending-approvals-container{background:#f0f2f5;min-height:calc(100vh - 64px);padding:24px}.page-header{box-shadow:0 1px 2px #00000008}.page-header h1{color:#262626;font-size:24px;margin:0}.pending-approvals-container .ant-table{background:#fff;border-radius:0 0 8px 8px;box-shadow:none}.pending-approvals-container .ant-table-thead>tr>th{background:#fafafa;color:#262626;font-weight:600}.pending-approvals-container .ant-tabs{box-shadow:0 1px 2px #00000008}.pending-approvals-container .ant-tabs-nav{margin-bottom:0}.pending-approvals-container .ant-tabs-tab{padding:12px 16px}.pending-approvals-container .ant-tabs-tab-active{font-weight:600}.pending-approvals-container .ant-tabs-content-holder{padding:24px}@media (max-width:768px){.pending-approvals-container{padding:16px}.page-header{flex-direction:column;gap:16px;padding:16px}.page-header button{width:100%}}.profile-container{padding:24px}.profile-avatar-container{display:inline-block;position:relative}.profile-avatar-actions{bottom:20px;position:absolute;right:0}.qr-code-container{background:#f5f5f5;border-radius:8px;display:flex;justify-content:center;margin:24px 0;padding:20px}.qr-code-image{background:#fff;border:2px solid #d9d9d9;border-radius:8px;height:300px;padding:10px;width:300px}.verification-code-input{font-size:24px!important;letter-spacing:8px;text-align:center}.two-factor-status-card{margin-top:24px}@media (max-width:768px){.qr-code-image{height:250px;width:250px}}@media (max-width:480px){.qr-code-image{height:200px;width:200px}}.sales-records-container{background-color:#fafbfc;min-height:100vh;padding:20px}.sales-records-header{align-items:center;background:#fff;border-radius:10px;box-shadow:0 2px 10px #00000008;display:flex;justify-content:space-between;margin-bottom:30px;padding:20px}.sales-records-header h1{color:#374151;font-weight:600;margin:0}.header-actions{gap:10px}.filters-panel{background:#fff;border-radius:10px;box-shadow:0 2px 10px #00000008;margin-bottom:20px;padding:20px}.filters-panel .form-label{color:#374151;font-weight:500;margin-bottom:5px}.sales-records-content{background:#fff;border-radius:10px;box-shadow:0 2px 10px #00000008;overflow:hidden}.records-summary{border-bottom:1px solid #e5e7eb;padding:15px}.summary-cards{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.summary-card{align-items:center;border:1px solid #e5e7eb;color:#1e293b;display:flex;padding:12px;transition:transform .3s ease}.summary-card:hover{transform:translateY(-2px)}.summary-card:nth-child(2){background:linear-gradient(135deg,#fce4ec,#f8bbd9)}.summary-card:nth-child(3){background:linear-gradient(135deg,#e0f2f1,#b2dfdb)}.summary-card:nth-child(4){background:linear-gradient(135deg,#fef9c3,#fde68a);color:#1e293b}.card-icon{color:#374151;font-size:1.5rem;margin-right:12px;opacity:.8}.card-content h3{color:#1e293b;font-size:1.4rem;margin:0 0 3px}.card-content p{font-size:.8rem;margin:0;opacity:.9}.summary-card:nth-child(2) .card-content h3,.summary-card:nth-child(2) .card-content p,.summary-card:nth-child(2) .card-icon,.summary-card:nth-child(3) .card-content h3,.summary-card:nth-child(3) .card-content p,.summary-card:nth-child(3) .card-icon{color:#fff}.sales-records-table{overflow-x:auto}.table{margin:0}.table thead th{background-color:#fafbfc;border-bottom:2px solid #dee2e6;color:#374151;padding:15px 12px;white-space:nowrap}.table tbody td{border-bottom:1px solid #e5e7eb;padding:15px 12px;vertical-align:middle}.property-info{min-width:200px}.property-name{color:#374151;font-weight:600;margin-bottom:4px}.property-location{color:#6b7280;font-size:.85rem;margin-bottom:4px}.property-type .badge{font-size:.75rem;padding:2px 6px}.client-info{min-width:180px}.client-name{margin-bottom:4px}.client-contact,.client-email{color:#6b7280;font-size:.85rem}.agent-info{min-width:120px}.agent-name{font-weight:500;margin-bottom:4px}.agent-department{color:#6b7280;font-size:.85rem}.price-info{min-width:120px;text-align:right}.price-amount{color:#388e3c;font-size:1.1rem;font-weight:600}.price-currency{color:#6b7280;font-size:.85rem}.commission-info{min-width:120px;text-align:right}.commission-amount{color:#00695c;font-weight:600;margin-bottom:4px}.date-info{color:#6b7280;font-size:.85rem}.action-buttons{gap:5px;min-width:120px}.action-buttons .btn{font-size:.8rem;padding:4px 8px}.badge{font-size:.75rem;padding:4px 8px}.badge-warning{background-color:#f57c00;color:#212529}.badge-info{background-color:#00695c;color:#fff}.badge-success{background-color:#388e3c;color:#fff}.badge-danger{background-color:#d32f2f;color:#fff}.badge-primary{background-color:#1976d2;color:#fff}.badge-secondary{background-color:#6b7280;color:#fff}.badge-light{background-color:#fafbfc;border:1px solid #dee2e6;color:#374151}.pagination-container{background-color:#fafbfc;border-top:1px solid #e5e7eb;padding:20px}.pagination .page-link{border:1px solid #dee2e6;border-radius:5px;color:#1976d2;margin:0 2px;padding:8px 12px;transition:all .3s ease}.pagination .page-link:hover{background-color:#e5e7eb;border-color:#adb5bd}.pagination .page-item.active .page-link{background-color:#1976d2;border-color:#1976d2;color:#fff}.pagination .page-item.disabled .page-link{background-color:#fff;border-color:#dee2e6;color:#6b7280}.loading-spinner{height:200px}@media (max-width:768px){.sales-records-container{padding:10px}.sales-records-header{flex-direction:column;gap:15px;text-align:center}.header-actions{justify-content:center}.summary-cards{grid-template-columns:repeat(2,1fr)}.filters-panel .row>div{margin-bottom:15px}.table-responsive{font-size:.85rem}.agent-info,.client-info,.property-info{min-width:auto}.action-buttons{flex-direction:column;min-width:auto}}@media (max-width:576px){.summary-cards{grid-template-columns:1fr}.sales-records-header h1{font-size:1.5rem}.card-content h3,.card-icon{font-size:1.2rem}.table tbody td,.table thead th{padding:8px 6px}}.table tbody tr{transition:background-color .3s ease}.table tbody tr:hover{background-color:#fafbfc}.table-responsive::-webkit-scrollbar{height:8px}.table-responsive::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.table-responsive::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.table-responsive::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.sales-record-form{background:#fff;border-radius:10px;box-shadow:0 4px 20px #00000008;margin:0;max-width:100%;overflow:hidden;width:100%}.form-header{background:linear-gradient(135deg,#1976d2,#7b1fa2);border-bottom:3px solid #fff3;color:#fff;justify-content:space-between;padding:24px 30px}.form-header,.form-header h2{align-items:center;display:flex}.form-header h2{font-size:1.75rem;font-weight:600;gap:12px;margin:0}.form-header h2:before{content:"📝";font-size:1.5rem}.form-footer{background:linear-gradient(135deg,#fff,#f8f9fa);border-top:3px solid #e5e7eb;bottom:0;box-shadow:0 -4px 20px #0000001a;display:flex;justify-content:flex-end;left:0;padding:20px 50px;position:-webkit-sticky;position:sticky;right:0;z-index:100}.form-footer-actions{align-items:center;display:flex;gap:15px}.form-footer-actions .btn{align-items:center;border-radius:10px;box-shadow:0 4px 12px #00000026;display:flex;font-size:16px;font-weight:600;gap:10px;justify-content:center;min-width:160px;padding:14px 32px;transition:all .3s ease}.form-footer-actions .btn-outline-secondary{background:#fff;border:2px solid #cbd5e1;color:#64748b;font-weight:600}.form-footer-actions .btn-outline-secondary:hover{background:#f8f9fa;border-color:#94a3b8;box-shadow:0 6px 16px #0003;color:#475569;transform:translateY(-2px)}.form-footer-actions .btn-primary{background:linear-gradient(135deg,#1976d2,#1565c0);border:2px solid #1976d2;color:#fff}.form-footer-actions .btn-primary:hover{background:linear-gradient(135deg,#1565c0,#0d47a1);border-color:#1565c0;box-shadow:0 6px 20px #1976d266;color:#fff;transform:translateY(-2px)}.form-footer-actions .btn-primary:disabled{background:#cbd5e1;border-color:#cbd5e1;box-shadow:none;color:#94a3b8;cursor:not-allowed;transform:none}.form-footer-actions .btn-outline-secondary:disabled{background:#f1f5f9;border-color:#e2e8f0;box-shadow:none;color:#cbd5e1;cursor:not-allowed;transform:none}.btn-lg{padding:14px 32px}.form-actions .btn{align-items:center;border-radius:8px;box-shadow:0 2px 8px #00000026;display:flex;font-size:14px;font-weight:600;gap:8px;padding:10px 24px;transition:all .3s ease}.form-actions .btn-outline-secondary{background:#fffffff2;border:2px solid #fff;color:#1976d2;font-weight:600}.form-actions .btn-outline-secondary:hover{background:#fff;border-color:#fff;box-shadow:0 4px 12px #00000040;color:#1565c0;transform:translateY(-1px)}.form-actions .btn-primary{background:#fff;border:2px solid #fff;color:#1976d2}.form-actions .btn-primary:hover{background:#f5f5f5;box-shadow:0 4px 12px #0003;color:#1565c0;transform:translateY(-1px)}.form-actions .btn-primary:disabled{background:#fff9;border-color:#fff9;color:#999;cursor:not-allowed;transform:none}.form-tabs{background:linear-gradient(180deg,#f8f9fa 0,#e9ecef);border-bottom:2px solid #dee2e6;box-shadow:0 2px 4px #0000000d;display:flex;overflow-x:auto}.tab-button{align-items:center;background:none;border:none;border-bottom:4px solid #0000;color:#6b7280;cursor:pointer;display:flex;flex:1 1;font-size:14px;font-weight:600;gap:10px;justify-content:center;min-width:140px;padding:16px 24px;transition:all .3s ease;white-space:nowrap}.tab-button:hover{background:linear-gradient(180deg,#1976d21a 0,#1976d20d);color:#1976d2;transform:translateY(-2px)}.tab-button.active{background:#fff;border-bottom-color:#1976d2;box-shadow:0 -2px 8px #1976d21a;color:#1976d2}.tab-button i{font-size:1.1rem}.form-section{background:linear-gradient(180deg,#fff 0,#fafbfc);margin-bottom:20px;min-height:500px;padding:40px 50px}.form-section h3{border-bottom:3px solid #1976d2;color:#1e293b;display:inline-block;font-size:1.5rem;font-weight:700;margin-bottom:30px;padding-bottom:12px;position:relative}.form-section h3:after{background:linear-gradient(90deg,#1976d2,#0000);bottom:-3px;content:"";height:3px;left:0;position:absolute;width:60%}.form-section h4{border-left:4px solid #1976d2;color:#475569;font-size:1.2rem;font-weight:600;margin-bottom:20px;margin-top:30px;padding-left:15px}.form-group{margin-bottom:24px}.form-label{color:#334155;display:block;font-size:14px;font-weight:600;letter-spacing:.3px;margin-bottom:10px}.form-control{border:2px solid #cbd5e1;border-radius:10px;box-shadow:0 1px 3px #0000000d;color:#1e293b;font-size:15px;padding:13px 16px;transition:all .3s ease}.form-control::placeholder{color:#94a3b8;opacity:1}.form-control:hover{border-color:#94a3b8;box-shadow:0 2px 4px #00000014}.form-control:focus{background:#fff;border-color:#1976d2;box-shadow:0 0 0 4px #1976d226,0 2px 8px #0000001a}.form-control:disabled{background-color:#f1f5f9;color:#64748b;cursor:not-allowed;opacity:.7}.form-control.is-invalid{background-color:#fef2f2;border-color:#ef4444}.form-control.is-invalid:focus{border-color:#dc2626;box-shadow:0 0 0 4px #ef444426,0 2px 8px #0000001a}.form-control.is-valid{background-color:#f0fdf4;border-color:#10b981}textarea.form-control{line-height:1.6;min-height:100px;resize:vertical}select.form-control{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%231976d2' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right 12px center;background-size:20px 20px;padding-right:45px}.invalid-feedback{align-items:center;color:#dc2626;display:block;display:flex;font-size:.875rem;font-weight:500;gap:6px;margin-top:8px;width:100%}.invalid-feedback:before{content:"⚠️";font-size:.9rem}.alert{border:2px solid #0000;box-shadow:0 2px 8px #0000001a;gap:12px;margin:0 50px 25px;padding:16px 20px}.alert:before{font-size:1.5rem}.alert-danger{background:linear-gradient(135deg,#fee2e2,#fecaca);border-color:#f87171;color:#991b1b}.alert-danger:before{content:"❌"}.alert-success{background:linear-gradient(135deg,#d1fae5,#a7f3d0);border-color:#34d399;color:#065f46}.alert-success:before{content:"✅"}.alert-info{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border-color:#60a5fa;color:#1e40af}.alert-info:before{content:"ℹ️"}.row{display:flex;flex-wrap:wrap;margin:-10px}.row>div{padding:10px}.col-md-3{flex:0 0 25%;max-width:25%}.col-md-4{flex:0 0 33.333333%;max-width:33.333333%}.col-md-6{flex:0 0 50%;max-width:50%}.col-md-12{flex:0 0 100%;max-width:100%}.btn{border:1px solid #0000;display:inline-block;font-weight:400;line-height:1.42857143;margin-bottom:0;text-align:center;vertical-align:middle;white-space:nowrap}.btn-primary{background-color:#1976d2;border-color:#1976d2}.btn-primary:hover{background-color:#0056b3;border-color:#0056b3}.btn-primary:disabled{background-color:#6b7280;border-color:#6b7280}.btn-outline-secondary,.btn-outline-secondary:hover{border-color:#6b7280}.text-muted,small.text-muted{color:#64748b!important;display:block;font-size:13px;font-weight:500;line-height:1.4;margin-top:6px}small.text-muted:before{content:"ℹ️ ";font-size:12px;margin-right:4px}.spinner-border-sm{border-width:.1em;height:1rem;width:1rem}.spinner-border{animation:spinner-border .75s linear infinite;border:.25em solid;border-right:.25em solid #0000;display:inline-block;height:2rem;vertical-align:text-bottom;width:2rem}@keyframes spinner-border{to{transform:rotate(1turn)}}@media (min-width:1200px){.sales-record-form{max-width:100%}.form-section{min-height:600px;padding:50px}.form-group{margin-bottom:25px}.form-control{font-size:15px;padding:15px 18px}.tab-button{font-size:16px;padding:18px 25px}}@media (max-width:768px){.sales-record-form{border-radius:8px;margin:10px}.form-header{padding:20px;text-align:center}.form-footer{flex-direction:column;gap:10px;padding:15px 20px}.form-footer-actions{flex-direction:column;gap:10px;width:100%}.form-footer-actions .btn{min-width:auto;width:100%}.form-tabs{flex-direction:column}.tab-button{border-bottom:none;border-right:3px solid #0000;justify-content:flex-start}.tab-button.active{border-bottom:none;border-right-color:#1976d2}.form-section{padding:20px}.col-md-3,.col-md-4,.col-md-6{flex:0 0 100%;max-width:100%}.row{margin:0}.row>div{padding:5px 0}}@media (max-width:576px){.form-header{padding:15px}.form-header h2{font-size:1.5rem}.form-section{padding:15px}.form-control{padding:10px 12px}.btn{font-size:13px;padding:8px 16px}}input[type=file].form-control{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-style:dashed;border-width:2px;cursor:pointer;padding:12px;transition:all .3s ease}input[type=file].form-control:hover{background:linear-gradient(135deg,#e9ecef,#dee2e6);border-color:#1976d2;transform:scale(1.01)}input[type=file].form-control:focus{background:#fff;border-style:solid}.table{border-collapse:initial;border-radius:10px;border-spacing:0;box-shadow:0 2px 8px #00000014;margin-top:20px;overflow:hidden;width:100%}.table thead{background:linear-gradient(135deg,#1976d2,#1565c0);color:#fff}.table thead th{border:none;font-size:14px;font-weight:600;letter-spacing:.5px;padding:14px 16px;text-align:left}.table tbody tr{background:#fff;transition:all .2s ease}.table tbody tr:nth-child(2n){background:#f8f9fa}.table tbody tr:hover{background:#e3f2fd;box-shadow:0 2px 8px #1976d226;transform:scale(1.01)}.table tbody td{border-top:1px solid #e9ecef;color:#334155;font-size:14px;padding:12px 16px}.table .btn-sm{border-radius:6px;font-size:13px;padding:6px 12px}.table .btn-danger{background:linear-gradient(135deg,#ef4444,#dc2626);border:none;color:#fff}.table .btn-danger:hover{background:linear-gradient(135deg,#dc2626,#b91c1c);box-shadow:0 4px 8px #dc26264d;transform:translateY(-1px)}.uploaded-files-list h4{border-left:4px solid #10b981;color:#475569;font-weight:600;margin-bottom:15px;padding-left:15px}.approval-info{background:linear-gradient(135deg,#f0fdf4,#dcfce7);border:2px solid #86efac;border-radius:12px;box-shadow:0 2px 8px #22c55e1a;margin-top:30px;padding:20px}.approval-info h4{align-items:center;border:none;color:#166534;display:flex;gap:10px;margin-bottom:15px;padding:0}.approval-info h4:before{align-items:center;background:#22c55e;border-radius:50%;color:#fff;content:"✓";display:flex;font-size:18px;font-weight:700;height:28px;justify-content:center;width:28px}.approval-info p{color:#15803d;font-weight:500;margin:8px 0}.approval-info strong{color:#166534;margin-right:8px}.form-section.loading{opacity:.6;pointer-events:none}.form-section{animation:fadeIn .3s ease-in-out}.tab-button{overflow:hidden;position:relative}.tab-button:before{background:linear-gradient(90deg,#0000,#fff3,#0000);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s;width:100%}.tab-button:hover:before{left:100%}.create-sales-record-container{background:linear-gradient(135deg,#f8f9fa,#e9ecef);min-height:100vh;padding:0;width:100%}.loading-container{background:#fff;border-radius:16px;box-shadow:0 4px 20px #00000014;gap:24px;margin:40px;min-height:60vh;padding:100px 20px}.loading-container .spinner-border{border-width:.35em;color:#1976d2;height:4rem;width:4rem}.loading-container p{color:#334155;font-size:18px;font-weight:500;letter-spacing:.3px;margin:0}.loading-container:before{animation:bounce 1s ease-in-out infinite;content:"⏳";font-size:3rem}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.sales-analytics{background-color:#fafbfc;min-height:100vh;padding:20px}.analytics-header{background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 2px 10px #00000008;margin-bottom:30px;padding:20px}.analytics-header h2{color:#374151;font-weight:600;margin:0}.date-range-controls{align-items:center;display:flex;gap:15px}.date-inputs{align-items:center;display:flex;gap:10px}.date-inputs .form-control{border:2px solid #e5e7eb;border-radius:6px;font-size:14px;padding:8px 12px;transition:all .3s ease}.date-inputs .form-control:focus{border-color:#1976d2;box-shadow:0 0 0 .2rem #007bff40;outline:none}.date-separator{color:#6b7280;font-weight:500}.btn-outline-secondary{background-color:initial;border:2px solid #6b7280;border-radius:6px;font-weight:500;padding:8px 16px;transition:all .3s ease}.btn-outline-secondary:hover{background-color:#6b7280;color:#fff}.analytics-content{display:flex;flex-direction:column;gap:30px}.analytics-cards{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.analytics-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 4px 20px #00000008;overflow:hidden;padding:25px;position:relative}.analytics-card:hover{box-shadow:0 8px 30px #0000000d;transform:translateY(-5px)}.analytics-card:before{content:"";height:4px;left:0;position:absolute;right:0;top:0}.analytics-card:before,.sales-card:before{background:linear-gradient(90deg,#e3f2fd,#f3e5f5)}.completed-card:before{background:linear-gradient(90deg,#f3e5f5,#e1bee7)}.pending-card:before{background:linear-gradient(90deg,#e0f2f1,#b2dfdb)}.revenue-card:before{background:linear-gradient(90deg,#fce4ec,#f8bbd9)}.commission-card:before{background:linear-gradient(90deg,#e0f2f1,#b2dfdb)}.pending-commission-card:before{background:linear-gradient(90deg,#f3e5f5,#e1bee7)}.paid-commission-card:before{background:linear-gradient(90deg,#fce4ec,#f8bbd9)}.average-commission-card:before{background:linear-gradient(90deg,#e0f2f1,#b2dfdb)}.analytics-card .card-icon{align-items:center;border-radius:12px;color:#fff;display:flex;font-size:24px;height:60px;justify-content:center;margin-bottom:15px;width:60px}.sales-card .card-icon{background:linear-gradient(135deg,#e3f2fd,#f3e5f5)}.completed-card .card-icon{background:linear-gradient(135deg,#f3e5f5,#e1bee7)}.pending-card .card-icon{background:linear-gradient(135deg,#e0f2f1,#b2dfdb)}.revenue-card .card-icon{background:linear-gradient(135deg,#fce4ec,#f8bbd9)}.commission-card .card-icon{background:linear-gradient(135deg,#e0f2f1,#b2dfdb);color:#374151}.pending-commission-card .card-icon{background:linear-gradient(135deg,#f3e5f5,#e1bee7);color:#374151}.paid-commission-card .card-icon{background:linear-gradient(135deg,#fce4ec,#f8bbd9);color:#374151}.average-commission-card .card-icon{background:linear-gradient(135deg,#e0f2f1,#b2dfdb)}.card-content h3{color:#374151;font-size:2.2rem;font-weight:700;margin:0 0 8px}.card-content p{color:#6b7280;font-size:1rem;font-weight:500;margin:0 0 15px}.card-trend{gap:8px}.card-trend,.trend-indicator{align-items:center;display:flex}.trend-indicator{border-radius:12px;font-size:.85rem;font-weight:500;gap:4px;padding:4px 8px}.trend-indicator.positive{background:#28a7451a;color:#388e3c}.trend-indicator.warning{background:#ffc1071a;color:#f57c00}.trend-indicator.neutral{background:#6c757d1a;color:#6b7280}.trend-indicator i{font-size:.75rem}.commission-section,.performance-section,.quick-actions-section{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 4px 20px #00000008;padding:25px}.commission-section h3,.performance-section h3,.quick-actions-section h3{border-bottom:2px solid #e5e7eb;color:#374151;font-weight:600;margin:0 0 20px;padding-bottom:10px}.commission-cards{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.performance-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.performance-item{background:#f9fafb;border-left:4px solid #1976d2;border-radius:8px;padding:20px;transition:all .3s ease}.performance-item:hover{background:#f9fafb;transform:translateX(5px)}.performance-label{color:#6b7280;font-size:.9rem;font-weight:500;margin-bottom:8px}.performance-value{color:#374151;font-size:1.5rem;font-weight:700}.quick-actions{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.action-btn{align-items:center;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:10px;padding:15px 20px;text-decoration:none;transition:all .3s ease}.action-btn.primary{background:linear-gradient(135deg,#e3f2fd,#f3e5f5)}.action-btn.secondary{background:linear-gradient(135deg,#6b7280,#374151)}.action-btn.success{background:linear-gradient(135deg,#388e3c,#00695c)}.action-btn.info{background:linear-gradient(135deg,#00695c,#7b1fa2)}.action-btn:hover{box-shadow:0 4px 15px #00000008;transform:translateY(-2px)}.action-btn i{font-size:1.1rem}.error-container,.loading-container{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 4px 20px #00000008;min-height:300px}.loading-container p{color:#6b7280;font-size:1.1rem;margin-top:15px}.spinner-border{border-width:.3em;height:3rem;width:3rem}.alert{border:1px solid #0000;border-radius:8px;font-size:1rem;gap:10px;padding:20px}.alert-danger{background-color:#f8d7da;border-color:#f5c6cb;color:#721c24}.alert i{font-size:1.2rem}@media (max-width:768px){.sales-analytics{padding:10px}.analytics-header{flex-direction:column;gap:20px;text-align:center}.date-range-controls{flex-direction:column;gap:10px}.date-inputs{flex-direction:column;width:100%}.date-inputs .form-control{width:100%}.analytics-cards,.commission-cards{grid-template-columns:1fr}.performance-grid{grid-template-columns:repeat(2,1fr)}.quick-actions{grid-template-columns:1fr}.analytics-card{padding:20px}.card-content h3{font-size:1.8rem}}@media (max-width:576px){.analytics-header h2{font-size:1.5rem}.performance-grid{grid-template-columns:1fr}.analytics-card{padding:15px}.card-content h3{font-size:1.6rem}.performance-item{padding:15px}.performance-value{font-size:1.3rem}}.analytics-card{animation:slideInUp .6s ease-out}@keyframes slideInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.analytics-cards .analytics-card:first-child{animation-delay:.1s}.analytics-cards .analytics-card:nth-child(2){animation-delay:.2s}.analytics-cards .analytics-card:nth-child(3){animation-delay:.3s}.analytics-cards .analytics-card:nth-child(4){animation-delay:.4s}.analytics-content::-webkit-scrollbar{width:8px}.analytics-content::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.analytics-content::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.analytics-content::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.sales-agents-container{background:#f0f4f8;min-height:100vh;padding:24px}.sales-agents-header{align-items:center;background:#fff;border-radius:12px;box-shadow:0 4px 6px -1px #00000008;display:flex;justify-content:space-between;margin-bottom:32px;padding:24px}.header-content h1{color:#1e293b;font-size:32px;font-weight:800}.header-content p{font-size:16px}.search-section{margin-bottom:24px}.search-box{max-width:600px}.search-box i{font-size:16px;left:16px}.search-box input{background:#fff;border:2px solid #e5e7eb;border-radius:10px;font-size:15px;padding:14px 16px 14px 48px;transition:all .2s ease;width:100%}.search-box input:focus{border-color:#1976d2;box-shadow:0 0 0 3px #3b82f61a;outline:none}.agents-table-container{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 4px 12px #00000014;overflow:hidden}.agents-table{border-collapse:collapse;width:100%}.agents-table thead{background:linear-gradient(180deg,#f8fafc 0,#f1f5f9);border-bottom:2px solid #cbd5e1}.agents-table th{color:#0f172a;font-size:13px;font-weight:700;letter-spacing:.8px;padding:18px 20px;text-align:left;text-transform:uppercase}.agents-table tbody tr{border-bottom:1px solid #e5e7eb;transition:all .2s ease}.agents-table tbody tr:hover{background:#f8fafc;box-shadow:inset 0 0 0 1px #e0e7ff}.agents-table td{color:#1e293b;font-size:14px;font-weight:500;padding:18px 20px}.agent-cell{align-items:center;display:flex;gap:12px}.agent-avatar-small{align-items:center;background:linear-gradient(135deg,#1976d2,#1d4ed8);border-radius:8px;color:#fff;display:flex;flex-shrink:0;font-size:16px;height:40px;justify-content:center;width:40px}.agent-name{color:#0f172a;font-weight:700}.department-badge{background:linear-gradient(135deg,#e0e7ff,#dbeafe);border:1px solid #c7d2fe;border-radius:6px;color:#1e40af;display:inline-block;font-size:12px;font-weight:600;padding:6px 12px}.btn-sm{align-items:center;border:none;border-radius:7px;box-shadow:0 2px 4px #0000001a;cursor:pointer;display:inline-flex;font-weight:600;gap:6px;padding:8px 14px;transition:all .2s ease}.btn-sm:hover{box-shadow:0 4px 8px #00000026;transform:translateY(-1px)}.agent-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 4px 6px -1px #00000008;padding:24px;transition:all .3s ease}.agent-card:hover{border-color:#1976d2;box-shadow:0 12px 24px -4px #00000014;transform:translateY(-4px)}.agent-header{border-bottom:1px solid #f1f5f9;display:flex;gap:16px;margin-bottom:20px;padding-bottom:20px}.agent-avatar{align-items:center;background:linear-gradient(135deg,#1976d2,#1d4ed8);border-radius:12px;color:#fff;display:flex;flex-shrink:0;font-size:24px;height:60px;justify-content:center;width:60px}.agent-info{flex:1 1;min-width:0}.agent-info h3{color:#1e293b;font-size:18px;font-weight:700;margin:0 0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-username{color:#6b7280;font-size:14px;margin:0 0 8px}.agent-department{align-items:center;background:#f1f5f9;border-radius:6px;color:#475569;display:inline-flex;font-size:12px;font-weight:500;gap:6px;padding:4px 10px}.agent-department i{font-size:11px}.agent-stats{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}.stat-item{background:#f8fafc;gap:12px}.stat-icon{background:linear-gradient(135deg,#e3f2fd,#bbdefb);color:#1976d2;flex-shrink:0;font-size:16px}.stat-content{display:flex;flex-direction:column;gap:2px}.stat-value{color:#1e293b;font-size:18px}.agent-actions{display:flex;gap:12px}.agent-actions .btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;flex:1 1;font-size:14px;font-weight:600;gap:8px;justify-content:center;padding:12px 16px;transition:all .2s ease}.btn-primary:hover{box-shadow:0 6px 20px #3b82f666}.btn-outline-primary{background:#fff;border:2px solid #1976d2;color:#1976d2}.btn-outline-primary:hover{background:#1976d2;color:#fff}.btn-outline-secondary{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:8px;color:#6b7280;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:10px 20px;transition:all .2s ease}.btn-outline-secondary:hover{background:#f9fafb;border-color:#9ca3af}.no-data{color:#9ca3af;padding:80px 20px}.no-data i{display:block;font-size:64px;margin-bottom:16px;opacity:.5}.no-data p{font-size:18px;font-weight:500;margin:0}.modal-overlay{animation:fadeIn .2s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009}.modal-content{animation:slideUp .3s ease;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 20px 25px -5px #0003,0 10px 10px -5px #0000001a}.modal-header{background:linear-gradient(180deg,#fff 0,#f8fafc);border-bottom:2px solid #e5e7eb;border-radius:16px 16px 0 0}.modal-header h2{color:#0f172a;flex:1 1;font-weight:700}.close-btn{background:#ef4444;border:2px solid #dc2626;border-radius:8px;box-shadow:0 2px 8px #ef44444d;color:#fff;flex-shrink:0;font-size:18px;font-weight:700;height:40px;transition:all .2s ease;width:40px}.close-btn:hover{background:#dc2626;border-color:#b91c1c;box-shadow:0 4px 12px #ef444480;transform:scale(1.1) rotate(90deg)}.close-btn i{font-size:18px;line-height:1}.modal-body{background:#f8fafc;padding:28px}.empty-state,.loading-state{color:#64748b;padding:60px 20px;text-align:center}.empty-state i{color:#94a3b8;display:block;font-size:56px;opacity:.4}.empty-state p,.loading-state p{color:#475569;font-size:16px;font-weight:600;margin:0}.sales-list{overflow-x:auto}.sales-table{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.sales-table th{border-bottom:2px solid #cbd5e1;font-size:12px}.sales-table td,.sales-table th{padding:14px 16px}.report-content{display:flex;flex-direction:column;gap:28px}.report-stats{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(2,1fr);margin-bottom:24px}.report-stat-card{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:12px;box-shadow:0 2px 8px #0000000d;display:flex;gap:16px;padding:20px;transition:all .2s ease}.report-stat-card:hover{border-color:#1976d2;box-shadow:0 4px 12px #1976d226;transform:translateY(-2px)}.report-stat-card .stat-icon{align-items:center;background:linear-gradient(135deg,#1976d2,#1d4ed8);border-radius:12px;box-shadow:0 4px 12px #1976d266;color:#fff;display:flex;flex-shrink:0;font-size:26px;height:60px;justify-content:center;width:60px}.report-stat-card .stat-icon i{font-size:26px;line-height:1}.report-stat-card .stat-info{flex:1 1;min-width:0}.report-stat-card .stat-info h3{color:#0f172a;font-size:28px;font-weight:800;line-height:1.2;margin:0 0 6px;word-break:break-word}.report-stat-card .stat-info p{color:#64748b;font-size:12px;font-weight:600;letter-spacing:.8px;line-height:1.4;margin:0;text-transform:uppercase}.report-summary{background:#fff;border:2px solid #e5e7eb;border-radius:12px;box-shadow:0 2px 8px #0000000d;padding:24px}.report-summary h3{align-items:center;color:#0f172a;display:flex;font-size:18px;font-weight:800;gap:10px;margin:0 0 20px}.report-summary h3:before{content:"📊";font-size:20px}.summary-item{background:#f8fafc;border-bottom:1px solid #e5e7eb;border-radius:8px;margin-bottom:8px;padding:14px 16px}.summary-item:last-child{margin-bottom:0}.summary-item .label{color:#475569;font-size:14px;font-weight:600}.summary-item .value{color:#0f172a;font-size:18px;font-weight:800}.loading-spinner{min-height:400px}.spinner-border{animation:spin 1s linear infinite;border:4px solid #e5e7eb;border-radius:50%;border-top-color:#1976d2;height:40px;width:40px}@media (max-width:768px){.sales-agents-container{padding:16px}.sales-agents-header{align-items:flex-start;flex-direction:column;gap:16px;padding:20px}.header-content h1{font-size:24px}.agents-table-container{overflow-x:auto}.agents-table{min-width:700px}.action-buttons{flex-direction:column}.report-stats{grid-template-columns:1fr}.modal-content{max-width:95%}}@media (max-width:480px){.sales-agents-header{padding:16px}.agents-table td,.agents-table th{font-size:12px;padding:12px}.agent-avatar-small{font-size:14px;height:32px;width:32px}.modal-body,.modal-header{padding:16px}.modal-header h2{font-size:16px}}.agent-detail-container{background:#f0f4f8;min-height:100vh;padding:24px}.agent-detail-header{background:#fff;border-radius:16px;box-shadow:0 4px 12px #00000014;margin-bottom:24px;padding:32px}.btn-back{align-items:center;background:#f1f5f9;border:2px solid #e2e8f0;border-radius:8px;color:#475569;cursor:pointer;display:inline-flex;font-size:14px;font-weight:600;gap:8px;margin-bottom:24px;padding:10px 20px;transition:all .2s ease}.btn-back:hover{background:#e2e8f0;border-color:#cbd5e1;color:#1e293b}.agent-header-info{align-items:center;display:flex;gap:24px}.agent-avatar-large{align-items:center;background:linear-gradient(135deg,#1976d2,#1d4ed8);border-radius:16px;box-shadow:0 8px 24px #1976d24d;color:#fff;display:flex;flex-shrink:0;font-size:48px;height:100px;justify-content:center;width:100px}.agent-details h1{color:#0f172a;font-size:32px;font-weight:800;margin:0 0 12px}.agent-meta{display:flex;flex-wrap:wrap;gap:20px}.meta-item{color:#64748b;font-weight:500;gap:8px}.meta-item i{color:#94a3b8;font-size:14px}.stats-overview{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));margin-bottom:24px}.stat-card{border:2px solid #e5e7eb;border-radius:10px;box-shadow:0 4px 12px #00000014;gap:12px;transition:all .2s ease}.stat-card:hover{box-shadow:0 8px 20px #1976d226}.stat-card .stat-icon{align-items:center;background:linear-gradient(135deg,#1976d2,#1d4ed8);border-radius:8px;box-shadow:0 4px 12px #1976d24d;color:#fff;display:flex;flex-shrink:0;font-size:18px;height:42px;justify-content:center;width:42px}.stat-card .stat-content h3{color:#0f172a;font-size:18px;font-weight:800;margin:0 0 3px}.stat-card .stat-content p{color:#64748b;font-size:11px;font-weight:600;letter-spacing:.5px;margin:0;text-transform:uppercase}.tabs-container{background:#fff;border-radius:12px 12px 0 0;box-shadow:0 4px 12px #00000014;padding:0}.tabs{border-bottom:2px solid #e5e7eb}.tab,.tabs{display:flex}.tab{align-items:center;background:none;border:none;border-bottom:3px solid #0000;color:#64748b;cursor:pointer;flex:1 1;font-size:15px;font-weight:600;gap:10px;justify-content:center;padding:18px 24px;transition:all .2s ease}.tab:hover{background:#f8fafc;color:#1e293b}.tab.active{background:#f8fafc;border-bottom-color:#1976d2;color:#1976d2}.tab i{font-size:16px}.tab-content{background:#fff;border-radius:0 0 12px 12px;box-shadow:0 4px 12px #00000014;padding:32px}.report-section h2,.sales-section h2{color:#0f172a;font-size:24px;font-weight:800;margin:0 0 24px}.sales-table-wrapper{border:1px solid #e5e7eb;border-radius:12px;overflow-x:auto}.sales-table{border-collapse:collapse;width:100%}.sales-table thead{background:linear-gradient(180deg,#f8fafc 0,#f1f5f9);border-bottom:2px solid #cbd5e1}.sales-table th{color:#0f172a;font-size:13px;font-weight:700;letter-spacing:.8px;padding:16px 20px;text-align:left;text-transform:uppercase}.sales-table td{border-bottom:1px solid #e5e7eb;color:#1e293b;font-size:14px;font-weight:500;padding:16px 20px}.sales-table tbody tr:hover{background:#f8fafc}.sales-table .lead-name{color:#0f172a;font-weight:600}.sales-table .commission,.sales-table .price{color:#059669;font-weight:700}.badge{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.3px;padding:5px 10px}.badge-type{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border:1px solid #93c5fd;color:#1e40af}.badge-pending{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #fbbf24;color:#92400e}.badge-completed{background:linear-gradient(135deg,#d1fae5,#a7f3d0);border:1px solid #6ee7b7;color:#065f46}.badge-cancelled{background:linear-gradient(135deg,#fee2e2,#fecaca);border:1px solid #fca5a5;color:#991b1b}.report-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.report-card{background:#f8fafc;border:2px solid #e5e7eb;border-radius:12px;padding:24px}.report-card h3{border-bottom:2px solid #e5e7eb;color:#0f172a;font-size:18px;font-weight:800;margin:0 0 20px;padding-bottom:12px}.report-items{display:flex;flex-direction:column;gap:12px}.report-item{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;display:flex;justify-content:space-between;padding:12px 16px}.report-item .label{color:#475569;font-size:14px;font-weight:600}.report-item .value{color:#0f172a;font-size:16px;font-weight:800}.empty-state,.error-state,.loading-state{color:#64748b;padding:80px 20px;text-align:center}.loading-state .spinner-border{animation:spin 1s linear infinite;border:4px solid #e5e7eb;border-radius:50%;border-top-color:#1976d2;height:48px;margin:0 auto 20px;width:48px}.empty-state i,.error-state i{color:#94a3b8;display:block;font-size:64px;margin-bottom:20px;opacity:.4}.empty-state p,.error-state p,.loading-state p{color:#475569;font-size:16px;font-weight:600;margin:0}.error-state h2{color:#0f172a;font-size:24px;font-weight:700;margin:16px 0 24px}.btn-primary{background:linear-gradient(135deg,#1976d2,#1d4ed8);border-radius:8px;box-shadow:0 4px 12px #1976d24d;cursor:pointer;font-size:14px;font-weight:600;padding:12px 24px;transition:all .2s ease}.btn-primary:hover{box-shadow:0 6px 20px #1976d266;transform:translateY(-2px)}@media (max-width:768px){.agent-detail-container{padding:16px}.agent-detail-header{padding:24px}.agent-header-info{align-items:flex-start;flex-direction:column}.agent-avatar-large{font-size:36px;height:80px;width:80px}.agent-details h1{font-size:24px}.stats-overview{grid-template-columns:repeat(2,1fr)}.tabs{flex-direction:column}.tab{border-bottom:1px solid #e5e7eb}.tab.active{border-bottom-color:#1976d2}.tab-content{padding:24px}.report-grid{grid-template-columns:1fr}.sales-table-wrapper{overflow-x:auto}.sales-table{min-width:700px}}@media (max-width:480px){.stats-overview{grid-template-columns:1fr}.agent-meta{flex-direction:column;gap:12px}}.revenue-dashboard{background-color:#fafbfc;min-height:100vh;padding:24px}.revenue-dashboard-loading{align-items:center;display:flex;height:100vh;justify-content:center}.revenue-dashboard-error{padding:24px}.revenue-dashboard-header{align-items:center;background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000008;display:flex;justify-content:space-between;margin-bottom:24px;padding:24px}.revenue-dashboard-title h1{color:#1976d2;font-size:28px;font-weight:600;margin:0}.revenue-dashboard-title p{color:#6b7280;font-size:14px;margin:4px 0 0}.revenue-dashboard-actions{display:flex;gap:12px}.revenue-dashboard-filters{background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000008;margin-bottom:24px}.revenue-dashboard-filters label{color:#333;display:block;font-weight:500;margin-bottom:8px}.revenue-dashboard-alerts,.revenue-dashboard-stats{margin-bottom:24px}.revenue-dashboard-stats .ant-card{border-radius:8px;box-shadow:0 2px 8px #00000008;transition:transform .2s ease}.revenue-dashboard-stats .ant-card:hover{transform:translateY(-2px)}.revenue-dashboard-charts{margin-bottom:24px}.revenue-dashboard-charts .ant-card{border-radius:8px;box-shadow:0 2px 8px #00000008}.revenue-dashboard-tables{margin-bottom:24px}.revenue-dashboard-payments .ant-card,.revenue-dashboard-tables .ant-card{border-radius:8px;box-shadow:0 2px 8px #00000008}@media (max-width:1200px){.revenue-dashboard-charts .ant-col:first-child,.revenue-dashboard-tables .ant-col:first-child{margin-bottom:16px}}@media (max-width:768px){.revenue-dashboard{padding:16px}.revenue-dashboard-header{align-items:flex-start;flex-direction:column;gap:16px}.revenue-dashboard-title h1{font-size:24px}.revenue-dashboard-filters .ant-row{flex-direction:column}.revenue-dashboard-charts .ant-col,.revenue-dashboard-filters .ant-col,.revenue-dashboard-payments .ant-col,.revenue-dashboard-stats .ant-col,.revenue-dashboard-tables .ant-col{margin-bottom:16px}}.revenue-dashboard-charts .ant-card-body{padding:16px}.revenue-dashboard-tables .ant-table-thead>tr>th{background-color:#f9fafb;font-weight:600}.revenue-dashboard-tables .ant-table-tbody>tr:hover>td{background-color:#fafbfc}.revenue-dashboard-payments .ant-table-thead>tr>th{background-color:#f9fafb;font-weight:600}.revenue-dashboard-payments .ant-table-tbody>tr:hover>td{background-color:#fafbfc}.status-pending{color:#faad14}.status-approved{color:#1976d2}.status-paid{color:#388e3c}.status-cancelled{color:#f5222d}.status-disputed{color:#722ed1}.revenue-dashboard-loading .ant-spin{color:#1976d2}.revenue-dashboard-charts .ant-card,.revenue-dashboard-payments .ant-card,.revenue-dashboard-stats .ant-card,.revenue-dashboard-tables .ant-card{transition:all .3s ease}.revenue-dashboard-charts .ant-card:hover,.revenue-dashboard-payments .ant-card:hover,.revenue-dashboard-stats .ant-card:hover,.revenue-dashboard-tables .ant-card:hover{box-shadow:0 4px 16px #0000000d}.revenue-dashboard-actions .ant-btn{border-radius:6px;font-weight:500}.revenue-dashboard-actions .ant-btn-primary{background:linear-gradient(135deg,#1976d2,#40a9ff);border:none}.revenue-dashboard-actions .ant-btn-primary:hover{background:linear-gradient(135deg,#40a9ff,#1976d2);transform:translateY(-1px)}.revenue-dashboard-filters .ant-picker,.revenue-dashboard-filters .ant-select{border-radius:6px}.revenue-dashboard-filters .ant-picker-focused,.revenue-dashboard-filters .ant-select-focused{border-color:#1976d2;box-shadow:0 0 0 2px #1890ff33}.revenue-dashboard-alerts .ant-alert{border:none;border-radius:6px;box-shadow:0 2px 8px #00000008}.revenue-dashboard-charts .ant-card,.revenue-dashboard-payments .ant-card,.revenue-dashboard-stats .ant-card,.revenue-dashboard-tables .ant-card{animation:fadeIn .5s ease-out}.revenue-dashboard ::-webkit-scrollbar{height:6px;width:6px}.revenue-dashboard ::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.revenue-dashboard ::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.revenue-dashboard ::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.revenue-records{background-color:#fafbfc;min-height:100vh;padding:24px}.revenue-records-header{background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000008;margin-bottom:24px}.revenue-records-header .ant-card-body{align-items:center;display:flex;justify-content:space-between;padding:24px}.revenue-records-title h2{color:#1976d2;font-size:24px;font-weight:600;margin:0}.revenue-records-title p{color:#6b7280;font-size:14px;margin:4px 0 0}.revenue-records-actions{display:flex;gap:12px}.revenue-records-filters{background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000008;margin-bottom:24px}.revenue-records-filters .ant-card-body{padding:20px}.revenue-records-filters .ant-form-inline .ant-form-item{margin-bottom:16px}.revenue-records-table{background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000008}.revenue-records-table .ant-card-body{padding:0}.revenue-records-table .ant-table{border-radius:8px}.revenue-records-table .ant-table-thead>tr>th{background-color:#f9fafb;border-bottom:2px solid #f0f0f0;color:#333;font-weight:600}.revenue-records-table .ant-table-tbody>tr:hover>td{background-color:#fafbfc}.revenue-records-table .ant-table-tbody>tr>td{border-bottom:1px solid #f0f0f0}.revenue-records-table .ant-tag{border-radius:4px;font-size:11px;font-weight:500;letter-spacing:.5px;margin:0;text-transform:uppercase}.revenue-records-table .ant-btn-text{border-radius:4px;padding:4px 8px;transition:all .2s ease}.revenue-records-table .ant-btn-text:hover{background-color:#f0f0f0;transform:translateY(-1px)}.revenue-records-table .ant-btn-text.ant-btn-dangerous:hover{background-color:#fff2f0;color:#d32f2f}.revenue-records-table .ant-select{background:#0000;border:none}.revenue-records-table .ant-select:not(.ant-select-disabled):hover .ant-select-selector{border-color:#d9d9d9}.revenue-records-table .ant-select-focused .ant-select-selector{border-color:#1976d2;box-shadow:0 0 0 2px #1890ff33}.revenue-records .ant-modal-header{background:linear-gradient(135deg,#1976d2,#40a9ff);border-radius:8px 8px 0 0}.revenue-records .ant-modal-title{color:#fff;font-weight:600}.revenue-records .ant-modal-close{color:#fff}.revenue-records .ant-modal-close:hover{color:#fffc}.revenue-records .ant-modal-body{padding:24px}.revenue-records .ant-form-item-label>label{color:#333;font-weight:500}.revenue-records .ant-input,.revenue-records .ant-picker,.revenue-records .ant-select-selector{border:1px solid #d9d9d9;border-radius:6px;transition:all .2s ease}.revenue-records .ant-input:focus,.revenue-records .ant-picker-focused,.revenue-records .ant-select-focused .ant-select-selector{border-color:#1976d2;box-shadow:0 0 0 2px #1890ff33}.revenue-records-actions .ant-btn{border-radius:6px;font-weight:500;transition:all .2s ease}.revenue-records-actions .ant-btn-primary{background:linear-gradient(135deg,#1976d2,#40a9ff);border:none}.revenue-records-actions .ant-btn-primary:hover{background:linear-gradient(135deg,#40a9ff,#1976d2);box-shadow:0 4px 12px #1890ff4d;transform:translateY(-1px)}.revenue-records-actions .ant-btn:not(.ant-btn-primary):hover{box-shadow:0 2px 8px #0000000d;transform:translateY(-1px)}.revenue-records-filters .ant-form-item{margin-bottom:16px}.revenue-records-filters .ant-input-affix-wrapper{border-radius:6px}.revenue-records-filters .ant-input-affix-wrapper-focused,.revenue-records-filters .ant-input-affix-wrapper:focus{border-color:#1976d2;box-shadow:0 0 0 2px #1890ff33}.revenue-records-table .ant-pagination{background:#f9fafb;border-radius:0 0 8px 8px;border-top:1px solid #f0f0f0;padding:16px 24px}.revenue-records-table .ant-pagination-item{border-radius:4px}.revenue-records-table .ant-pagination-item-active{background:#1976d2;border-color:#1976d2}.revenue-records-table .ant-pagination-item-active a{color:#fff}@media (max-width:1200px){.revenue-records-table{overflow-x:auto}}@media (max-width:768px){.revenue-records{padding:16px}.revenue-records-header .ant-card-body{align-items:flex-start;flex-direction:column;gap:16px}.revenue-records-title h2{font-size:20px}.revenue-records-filters .ant-form-inline{flex-direction:column}.revenue-records-filters .ant-form-inline .ant-form-item{margin-bottom:12px;width:100%}.revenue-records-filters .ant-input,.revenue-records-filters .ant-picker,.revenue-records-filters .ant-select{width:100%!important}.revenue-records-actions{flex-wrap:wrap}.revenue-records-actions .ant-btn{flex:1 1;min-width:120px}}@media (max-width:576px){.revenue-records-filters .ant-card-body,.revenue-records-header .ant-card-body{padding:16px}.revenue-records-table .ant-table-tbody>tr>td,.revenue-records-table .ant-table-thead>tr>th{font-size:12px;padding:8px 4px}.revenue-records-table .ant-btn{font-size:12px;padding:2px 4px}}.revenue-records-table .ant-spin-container{min-height:400px}.revenue-records-table .ant-empty,.revenue-records-table .ant-table-placeholder{padding:40px 0}.revenue-records-table .ant-empty-description{color:#999}.revenue-records .ant-tooltip-inner{background-color:#333;border-radius:4px;font-size:12px}.revenue-records .ant-tooltip-arrow:before{background-color:#333}.revenue-records .ant-popover-inner{border-radius:6px}.revenue-records .ant-popover-inner-content{padding:12px 16px}.revenue-records-filters,.revenue-records-header,.revenue-records-table{animation:fadeIn .5s ease-out}.revenue-records ::-webkit-scrollbar{height:6px;width:6px}.revenue-records ::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.revenue-records ::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.revenue-records ::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.revenue-records-filters,.revenue-records-header,.revenue-records-table{transition:all .3s ease}.revenue-records-filters:hover,.revenue-records-header:hover,.revenue-records-table:hover{box-shadow:0 4px 16px #0000000d}.revenue-records .ant-input:focus,.revenue-records .ant-picker-focused,.revenue-records .ant-select-focused .ant-select-selector{outline:none}.revenue-records-table .ant-table-tbody>tr.ant-table-row-selected>td{background-color:#e3f2fd}.revenue-records-table .ant-table-tbody>tr.ant-table-row-selected:hover>td{background-color:#bae7ff}.revenue-streams{background-color:#fafbfc;min-height:100vh;padding:24px}.revenue-streams-header{background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000008;margin-bottom:24px}.revenue-streams-header .ant-card-body{align-items:center;display:flex;justify-content:space-between;padding:24px}.revenue-streams-title h2{color:#1976d2;font-size:24px;font-weight:600;margin:0}.revenue-streams-title p{color:#6b7280;font-size:14px;margin:4px 0 0}.revenue-streams-actions{display:flex;gap:12px}.revenue-streams-filters{background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000008;margin-bottom:24px}.revenue-streams-filters .ant-card-body{padding:20px}.revenue-streams-filters .ant-form-inline .ant-form-item{margin-bottom:16px}.revenue-streams-table{background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000008}.revenue-streams-table .ant-card-body{padding:0}.revenue-streams-table .ant-table{border-radius:8px}.revenue-streams-table .ant-table-thead>tr>th{background-color:#f9fafb;border-bottom:2px solid #f0f0f0;color:#333;font-weight:600}.revenue-streams-table .ant-table-tbody>tr:hover>td{background-color:#fafbfc}.revenue-streams-table .ant-table-tbody>tr>td{border-bottom:1px solid #f0f0f0}.revenue-streams-table .ant-tag{border-radius:4px;font-size:11px;font-weight:500;letter-spacing:.5px;margin:0;text-transform:uppercase}.revenue-streams-table .ant-switch{background-color:#d9d9d9}.revenue-streams-table .ant-switch-checked{background-color:#388e3c}.revenue-streams-table .ant-switch-handle:before{background-color:#fff;box-shadow:0 2px 4px #00000008}.revenue-streams-table .ant-btn-text{border-radius:4px;padding:4px 8px;transition:all .2s ease}.revenue-streams-table .ant-btn-text:hover{background-color:#f0f0f0;transform:translateY(-1px)}.revenue-streams-table .ant-btn-text.ant-btn-dangerous:hover{background-color:#fff2f0;color:#d32f2f}.revenue-streams .ant-modal-header{background:linear-gradient(135deg,#1976d2,#40a9ff);border-radius:8px 8px 0 0}.revenue-streams .ant-modal-title{color:#fff;font-weight:600}.revenue-streams .ant-modal-close{color:#fff}.revenue-streams .ant-modal-close:hover{color:#fffc}.revenue-streams .ant-modal-body{padding:24px}.revenue-streams .ant-form-item-label>label{color:#333;font-weight:500}.revenue-streams .ant-input,.revenue-streams .ant-input-number,.revenue-streams .ant-select-selector{border:1px solid #d9d9d9;border-radius:6px;transition:all .2s ease}.revenue-streams .ant-input-number:focus,.revenue-streams .ant-input:focus,.revenue-streams .ant-select-focused .ant-select-selector{border-color:#1976d2;box-shadow:0 0 0 2px #1890ff33}.revenue-streams-actions .ant-btn{border-radius:6px;font-weight:500;transition:all .2s ease}.revenue-streams-actions .ant-btn-primary{background:linear-gradient(135deg,#1976d2,#40a9ff);border:none}.revenue-streams-actions .ant-btn-primary:hover{background:linear-gradient(135deg,#40a9ff,#1976d2);box-shadow:0 4px 12px #1890ff4d;transform:translateY(-1px)}.revenue-streams-actions .ant-btn:not(.ant-btn-primary):hover{box-shadow:0 2px 8px #0000000d;transform:translateY(-1px)}.revenue-streams-filters .ant-form-item{margin-bottom:16px}.revenue-streams-filters .ant-input-affix-wrapper{border-radius:6px}.revenue-streams-filters .ant-input-affix-wrapper-focused,.revenue-streams-filters .ant-input-affix-wrapper:focus{border-color:#1976d2;box-shadow:0 0 0 2px #1890ff33}.revenue-streams-table .ant-pagination{background:#f9fafb;border-radius:0 0 8px 8px;border-top:1px solid #f0f0f0;padding:16px 24px}.revenue-streams-table .ant-pagination-item{border-radius:4px}.revenue-streams-table .ant-pagination-item-active{background:#1976d2;border-color:#1976d2}.revenue-streams-table .ant-pagination-item-active a{color:#fff}.revenue-streams-table .ant-table-tbody>tr>td:first-child{font-weight:500}.revenue-streams-table .ant-table-tbody>tr>td:first-child>div>div:first-child{color:#1976d2;font-weight:600}.revenue-streams-table .ant-table-tbody>tr>td:first-child>div>div:last-child{color:#6b7280;font-size:12px;margin-top:2px}.revenue-streams-table .ant-table-tbody>tr>td:nth-child(4){color:#388e3c;font-weight:600}@media (max-width:1200px){.revenue-streams-table{overflow-x:auto}}@media (max-width:768px){.revenue-streams{padding:16px}.revenue-streams-header .ant-card-body{align-items:flex-start;flex-direction:column;gap:16px}.revenue-streams-title h2{font-size:20px}.revenue-streams-filters .ant-form-inline{flex-direction:column}.revenue-streams-filters .ant-form-inline .ant-form-item{margin-bottom:12px;width:100%}.revenue-streams-filters .ant-input,.revenue-streams-filters .ant-picker,.revenue-streams-filters .ant-select{width:100%!important}.revenue-streams-actions{flex-wrap:wrap}.revenue-streams-actions .ant-btn{flex:1 1;min-width:120px}}@media (max-width:576px){.revenue-streams-filters .ant-card-body,.revenue-streams-header .ant-card-body{padding:16px}.revenue-streams-table .ant-table-tbody>tr>td,.revenue-streams-table .ant-table-thead>tr>th{font-size:12px;padding:8px 4px}.revenue-streams-table .ant-btn{font-size:12px;padding:2px 4px}.revenue-streams-table .ant-switch{transform:scale(.8)}}.revenue-streams-table .ant-spin-container{min-height:400px}.revenue-streams-table .ant-empty,.revenue-streams-table .ant-table-placeholder{padding:40px 0}.revenue-streams-table .ant-empty-description{color:#999}.revenue-streams .ant-tooltip-inner{background-color:#333;border-radius:4px;font-size:12px}.revenue-streams .ant-tooltip-arrow:before{background-color:#333}.revenue-streams .ant-popover-inner{border-radius:6px}.revenue-streams .ant-popover-inner-content{padding:12px 16px}.revenue-streams-filters,.revenue-streams-header,.revenue-streams-table{animation:fadeIn .5s ease-out}.revenue-streams ::-webkit-scrollbar{height:6px;width:6px}.revenue-streams ::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.revenue-streams ::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.revenue-streams ::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.revenue-streams-filters,.revenue-streams-header,.revenue-streams-table{transition:all .3s ease}.revenue-streams-filters:hover,.revenue-streams-header:hover,.revenue-streams-table:hover{box-shadow:0 4px 16px #0000000d}.revenue-streams .ant-input-number:focus,.revenue-streams .ant-input:focus,.revenue-streams .ant-select-focused .ant-select-selector{outline:none}.revenue-streams-table .ant-table-tbody>tr.ant-table-row-selected>td{background-color:#e3f2fd}.revenue-streams-table .ant-table-tbody>tr.ant-table-row-selected:hover>td{background-color:#bae7ff}.revenue-streams-table .ant-switch{transition:all .3s ease}.revenue-streams-table .ant-switch:hover{transform:scale(1.05)}.revenue-streams-table .ant-tag{transition:all .2s ease}.revenue-streams-table .ant-tag:hover{box-shadow:0 2px 4px #00000008;transform:translateY(-1px)}.revenue-analytics{background-color:#fafbfc;min-height:100vh;padding:24px}.revenue-analytics-loading{align-items:center;display:flex;flex-direction:column;gap:16px;height:100vh;justify-content:center}.revenue-analytics-loading p{color:#6b7280;font-size:16px;margin:0}.revenue-analytics-empty{align-items:center;display:flex;height:100vh;justify-content:center}.revenue-analytics-error{padding:24px}.revenue-analytics-header{align-items:center;background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000008;display:flex;justify-content:space-between;margin-bottom:24px;padding:24px}.revenue-analytics-title h1{color:#1976d2;font-size:28px;font-weight:600;margin:0}.revenue-analytics-title p{color:#6b7280;font-size:14px;margin:4px 0 0}.revenue-analytics-actions{display:flex;gap:12px}.revenue-analytics-filters{background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000008;margin-bottom:24px}.revenue-analytics-filters label{color:#333;display:block;font-weight:500;margin-bottom:8px}.revenue-analytics-stats{margin-bottom:24px}.revenue-analytics-stats .ant-card{border-radius:8px;box-shadow:0 2px 8px #00000008;transition:transform .2s ease}.revenue-analytics-stats .ant-card:hover{transform:translateY(-2px)}.revenue-analytics-metrics{margin-bottom:24px}.revenue-analytics-metrics .ant-card{border-radius:8px;box-shadow:0 2px 8px #00000008;transition:transform .2s ease}.revenue-analytics-metrics .ant-card:hover{transform:translateY(-2px)}.revenue-analytics-tabs{background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000008}.revenue-analytics-tabs .ant-card-body{padding:0}.revenue-analytics-tabs .ant-tabs-nav{background:#f9fafb;border-radius:8px 8px 0 0;margin:0;padding:0 24px}.revenue-analytics-tabs .ant-tabs-content-holder{padding:24px}.revenue-analytics-tabs .ant-tabs-tab{color:#6b7280;font-weight:500}.revenue-analytics-tabs .ant-tabs-tab-active,.revenue-analytics-tabs .ant-tabs-tab:hover{color:#1976d2}.revenue-analytics-tabs .ant-card{border-radius:8px;box-shadow:0 2px 8px #00000008}.revenue-analytics-tabs .ant-card-body{padding:16px}.revenue-analytics-tabs .ant-table-thead>tr>th{background-color:#f9fafb;color:#333;font-weight:600}.revenue-analytics-tabs .ant-table-tbody>tr:hover>td{background-color:#fafbfc}.revenue-analytics-tabs .ant-progress-bg,.revenue-analytics-tabs .ant-progress-inner{border-radius:4px}.revenue-analytics-tabs .ant-tag{border-radius:4px;font-size:11px;font-weight:500;letter-spacing:.5px;margin:0;text-transform:uppercase}.seasonal-patterns h4{color:#333;font-weight:500;margin:0 0 8px}.seasonal-patterns .ant-tag{margin:2px}.revenue-analytics-tabs .ant-alert{border:none;border-radius:6px;box-shadow:0 2px 8px #00000008}.revenue-analytics-actions .ant-btn{border-radius:6px;font-weight:500;transition:all .2s ease}.revenue-analytics-actions .ant-btn-primary{background:linear-gradient(135deg,#1976d2,#40a9ff);border:none}.revenue-analytics-actions .ant-btn-primary:hover{background:linear-gradient(135deg,#40a9ff,#1976d2);box-shadow:0 4px 12px #1890ff4d;transform:translateY(-1px)}.revenue-analytics-actions .ant-btn:not(.ant-btn-primary):hover{box-shadow:0 2px 8px #0000000d;transform:translateY(-1px)}.revenue-analytics-filters .ant-picker,.revenue-analytics-filters .ant-select{border-radius:6px}.revenue-analytics-filters .ant-picker-focused,.revenue-analytics-filters .ant-select-focused{border-color:#1976d2;box-shadow:0 0 0 2px #1890ff33}@media (max-width:1200px){.revenue-analytics-tabs .ant-col:first-child{margin-bottom:16px}}@media (max-width:768px){.revenue-analytics{padding:16px}.revenue-analytics-header{align-items:flex-start;flex-direction:column;gap:16px}.revenue-analytics-title h1{font-size:24px}.revenue-analytics-filters .ant-row{flex-direction:column}.revenue-analytics-filters .ant-col,.revenue-analytics-metrics .ant-col,.revenue-analytics-stats .ant-col,.revenue-analytics-tabs .ant-col{margin-bottom:16px}.revenue-analytics-tabs .ant-tabs-nav{padding:0 16px}.revenue-analytics-tabs .ant-tabs-content-holder{padding:16px}}@media (max-width:576px){.revenue-analytics-filters .ant-card-body,.revenue-analytics-header{padding:16px}.revenue-analytics-tabs .ant-tabs-content-holder{padding:12px}.revenue-analytics-tabs .ant-table-tbody>tr>td,.revenue-analytics-tabs .ant-table-thead>tr>th{font-size:12px;padding:8px 4px}}.revenue-analytics-loading .ant-spin{color:#1976d2}.revenue-analytics-filters,.revenue-analytics-header,.revenue-analytics-metrics,.revenue-analytics-stats,.revenue-analytics-tabs{animation:fadeIn .5s ease-out}.revenue-analytics ::-webkit-scrollbar{height:6px;width:6px}.revenue-analytics ::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.revenue-analytics ::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.revenue-analytics ::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.revenue-analytics-filters,.revenue-analytics-header,.revenue-analytics-metrics,.revenue-analytics-stats,.revenue-analytics-tabs{transition:all .3s ease}.revenue-analytics-filters:hover,.revenue-analytics-header:hover,.revenue-analytics-metrics:hover,.revenue-analytics-stats:hover,.revenue-analytics-tabs:hover{box-shadow:0 4px 16px #0000000d}.revenue-analytics .ant-input:focus,.revenue-analytics .ant-picker-focused,.revenue-analytics .ant-select-focused .ant-select-selector{outline:none}.revenue-analytics-tabs .ant-tabs-content-holder{transition:all .3s ease}.revenue-analytics-tabs .ant-card-body>div{border-radius:4px;overflow:hidden}.revenue-analytics-metrics .ant-statistic-title,.revenue-analytics-stats .ant-statistic-title{color:#6b7280;font-weight:500;margin-bottom:8px}.revenue-analytics-metrics .ant-statistic-content,.revenue-analytics-stats .ant-statistic-content{font-weight:600}.revenue-analytics-empty .ant-empty{padding:40px 0}.revenue-analytics-empty .ant-empty-description{color:#999;font-size:16px}.revenue-analytics-error .ant-alert{border:none;border-radius:6px;box-shadow:0 2px 8px #00000008}.revenue-analytics-tabs .ant-progress-text{color:#333;font-weight:500}.revenue-analytics-tabs .ant-statistic-content-value{font-size:24px;font-weight:600}.revenue-analytics-tabs .ant-statistic-content-suffix{font-size:16px;margin-left:4px}.revenue-analytics-tabs .g2-legend{font-size:12px}@media (max-width:768px){.revenue-analytics-tabs .ant-card-body{padding:12px}.revenue-analytics-tabs .ant-card-body>div{height:200px!important}}.revenue-analytics-tabs .ant-tabs-tabpane{min-height:400px}.seasonal-patterns .ant-tag-green{background-color:#e8f5e8;border-color:#b7eb8f;color:#388e3c}.seasonal-patterns .ant-tag-red{background-color:#fff2f0;border-color:#ffccc7;color:#d32f2f}.revenue-forecasting{background-color:#fafbfc;min-height:100vh;padding:24px}.revenue-forecasting-header{align-items:center;background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000008;display:flex;justify-content:space-between;margin-bottom:24px;padding:24px}.revenue-forecasting-title h1{color:#1976d2;font-size:28px;font-weight:600;margin:0}.revenue-forecasting-title p{color:#6b7280;font-size:14px;margin:4px 0 0}.revenue-forecasting-actions{display:flex;gap:12px}.revenue-forecasting-table{background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000008}.revenue-forecasting-table .ant-card-body{padding:0}.revenue-forecasting-table .ant-table{border-radius:8px}.revenue-forecasting-table .ant-table-thead>tr>th{background-color:#f9fafb;border-bottom:2px solid #f0f0f0;color:#333;font-weight:600}.revenue-forecasting-table .ant-table-tbody>tr:hover>td{background-color:#fafbfc}.revenue-forecasting-table .ant-table-tbody>tr>td{border-bottom:1px solid #f0f0f0}.revenue-forecasting-table .ant-tag{border-radius:4px;font-size:11px;font-weight:500;letter-spacing:.5px;margin:0;text-transform:uppercase}.revenue-forecasting-table .ant-progress-bg,.revenue-forecasting-table .ant-progress-inner{border-radius:4px}.revenue-forecasting-table .ant-btn-text{border-radius:4px;padding:4px 8px;transition:all .2s ease}.revenue-forecasting-table .ant-btn-text:hover{background-color:#f0f0f0;transform:translateY(-1px)}.revenue-forecasting-table .ant-btn-text.ant-btn-dangerous:hover{background-color:#fff2f0;color:#d32f2f}.revenue-forecasting .ant-modal-header{background:linear-gradient(135deg,#1976d2,#40a9ff);border-radius:8px 8px 0 0}.revenue-forecasting .ant-modal-title{color:#fff;font-weight:600}.revenue-forecasting .ant-modal-close{color:#fff}.revenue-forecasting .ant-modal-close:hover{color:#fffc}.revenue-forecasting .ant-modal-body{padding:24px}.revenue-forecasting .ant-form-item-label>label{color:#333;font-weight:500}.revenue-forecasting .ant-input,.revenue-forecasting .ant-input-number,.revenue-forecasting .ant-picker,.revenue-forecasting .ant-select-selector{border:1px solid #d9d9d9;border-radius:6px;transition:all .2s ease}.revenue-forecasting .ant-input-number:focus,.revenue-forecasting .ant-input:focus,.revenue-forecasting .ant-picker-focused,.revenue-forecasting .ant-select-focused .ant-select-selector{border-color:#1976d2;box-shadow:0 0 0 2px #1890ff33}.revenue-forecasting-actions .ant-btn{border-radius:6px;font-weight:500;transition:all .2s ease}.revenue-forecasting-actions .ant-btn-primary{background:linear-gradient(135deg,#1976d2,#40a9ff);border:none}.revenue-forecasting-actions .ant-btn-primary:hover{background:linear-gradient(135deg,#40a9ff,#1976d2);box-shadow:0 4px 12px #1890ff4d;transform:translateY(-1px)}.revenue-forecasting-actions .ant-btn:not(.ant-btn-primary):hover{box-shadow:0 2px 8px #0000000d;transform:translateY(-1px)}.revenue-forecasting-table .ant-pagination{background:#f9fafb;border-radius:0 0 8px 8px;border-top:1px solid #f0f0f0;padding:16px 24px}.revenue-forecasting-table .ant-pagination-item{border-radius:4px}.revenue-forecasting-table .ant-pagination-item-active{background:#1976d2;border-color:#1976d2}.revenue-forecasting-table .ant-pagination-item-active a{color:#fff}.revenue-forecasting-table .ant-table-tbody>tr>td:first-child{font-weight:500}.revenue-forecasting-table .ant-table-tbody>tr>td:first-child>div>div:first-child{color:#1976d2;font-weight:600}.revenue-forecasting-table .ant-table-tbody>tr>td:first-child>div>div:last-child{color:#6b7280;font-size:12px;margin-top:2px}.forecast-details{max-height:70vh;overflow-y:auto}.forecast-details .ant-card{border-radius:8px;box-shadow:0 2px 8px #00000008}.forecast-details .ant-card-body{padding:16px}.forecast-details p{color:#333;margin:8px 0}.forecast-details strong{color:#1976d2;font-weight:600}.forecast-details ul{margin:0;padding-left:20px}.forecast-details li{color:#6b7280;margin:4px 0}.forecast-details .ant-card-body>div{border-radius:4px;overflow:hidden}@media (max-width:1200px){.revenue-forecasting-table{overflow-x:auto}.forecast-details .ant-col:first-child{margin-bottom:16px}}@media (max-width:768px){.revenue-forecasting{padding:16px}.revenue-forecasting-header{align-items:flex-start;flex-direction:column;gap:16px}.revenue-forecasting-title h1{font-size:24px}.revenue-forecasting-actions{flex-wrap:wrap}.revenue-forecasting-actions .ant-btn{flex:1 1;min-width:120px}.forecast-details .ant-col{margin-bottom:16px}}@media (max-width:576px){.revenue-forecasting-header{padding:16px}.revenue-forecasting-table .ant-table-tbody>tr>td,.revenue-forecasting-table .ant-table-thead>tr>th{font-size:12px;padding:8px 4px}.revenue-forecasting-table .ant-btn{font-size:12px;padding:2px 4px}.revenue-forecasting .ant-modal-body{padding:16px}.forecast-details .ant-card-body{padding:12px}}.revenue-forecasting-table .ant-spin-container{min-height:400px}.revenue-forecasting-table .ant-empty,.revenue-forecasting-table .ant-table-placeholder{padding:40px 0}.revenue-forecasting-table .ant-empty-description{color:#999}.revenue-forecasting .ant-tooltip-inner{background-color:#333;border-radius:4px;font-size:12px}.revenue-forecasting .ant-tooltip-arrow:before{background-color:#333}.revenue-forecasting .ant-popover-inner{border-radius:6px}.revenue-forecasting .ant-popover-inner-content{padding:12px 16px}.revenue-forecasting-header,.revenue-forecasting-table{animation:fadeIn .5s ease-out}.revenue-forecasting ::-webkit-scrollbar{height:6px;width:6px}.revenue-forecasting ::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.revenue-forecasting ::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.revenue-forecasting ::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.revenue-forecasting-header,.revenue-forecasting-table{transition:all .3s ease}.revenue-forecasting-header:hover,.revenue-forecasting-table:hover{box-shadow:0 4px 16px #0000000d}.revenue-forecasting .ant-input-number:focus,.revenue-forecasting .ant-input:focus,.revenue-forecasting .ant-picker-focused,.revenue-forecasting .ant-select-focused .ant-select-selector{outline:none}.revenue-forecasting-table .ant-table-tbody>tr.ant-table-row-selected>td{background-color:#e3f2fd}.revenue-forecasting-table .ant-table-tbody>tr.ant-table-row-selected:hover>td{background-color:#bae7ff}.revenue-forecasting-table .ant-progress-text{color:#333;font-weight:500}.revenue-forecasting-table .ant-tag{transition:all .2s ease}.revenue-forecasting-table .ant-tag:hover{box-shadow:0 2px 4px #00000008;transform:translateY(-1px)}.revenue-forecasting .ant-modal-footer{border-top:1px solid #f0f0f0;padding:12px 24px}.revenue-forecasting .ant-modal-footer .ant-btn{border-radius:6px;font-weight:500}@media (max-width:768px){.forecast-details .ant-card-body>div{height:200px!important}}.revenue-forecasting .ant-form-item{margin-bottom:16px}.revenue-forecasting .ant-form-item-label{padding-bottom:4px}.revenue-forecasting .ant-picker-range{width:100%}.revenue-forecasting .ant-picker-range .ant-picker-input{border-radius:6px}.revenue-forecasting .ant-input-number{width:100%}.revenue-forecasting .ant-input,.revenue-forecasting .ant-input-number-input{border-radius:6px}.revenue-forecasting .ant-input:focus{border-color:#1976d2;box-shadow:0 0 0 2px #1890ff33}.billing-dashboard{background-color:#fafbfc;min-height:100vh;padding:24px}.dashboard-header{align-items:center;background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000008;margin-bottom:24px;padding:24px}.dashboard-header,.filters-card{border:1px solid #e5e7eb}.ant-table-tbody>tr:hover>td{background-color:#f9fafb}@media (max-width:768px){.billing-dashboard{padding:16px}.dashboard-header{align-items:flex-start;flex-direction:column;gap:16px}.header-actions{justify-content:flex-end;width:100%}.filters-card .ant-row{flex-direction:column;gap:12px}.filters-card .ant-col{max-width:100%!important;width:100%!important}}@media (max-width:576px){.dashboard-header{padding:16px}.header-content h1{font-size:24px}.ant-statistic-content{font-size:20px}}.invoice-list{background-color:#fafbfc;min-height:100vh;padding:24px}@media (max-width:768px){.invoice-list{padding:16px}.page-header{align-items:flex-start;flex-direction:column;gap:16px}.header-actions{justify-content:flex-end;width:100%}.filters-card .ant-row{flex-direction:column;gap:12px}.filters-card .ant-col{max-width:100%!important;width:100%!important}}.invoice-form{background-color:#fafbfc;min-height:100vh;padding:24px}.form-card{margin-bottom:24px}.form-card,.summary-card{background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000008}.summary-card{position:-webkit-sticky;position:sticky;top:24px}.summary-item{margin-bottom:12px}.summary-item.total{border-top:2px solid #f0f0f0;margin-top:16px;padding-top:16px}.ant-table-tbody>tr>td{padding:8px}.ant-form-item-label>label{color:#374151;font-weight:600}.ant-input,.ant-input-number,.ant-select-selector{border-radius:6px}.ant-input-number:focus,.ant-input:focus,.ant-select-focused .ant-select-selector{border-color:#1976d2;box-shadow:0 0 0 2px #1890ff33}@media (max-width:768px){.invoice-form{padding:16px}.page-header{align-items:flex-start;flex-direction:column;gap:16px}.header-actions{justify-content:flex-end;width:100%}.summary-card{margin-top:24px;position:static}}@media (max-width:576px){.page-header{padding:16px}.header-content h1{font-size:24px}.ant-table-tbody>tr>td,.ant-table-thead>tr>th{font-size:12px;padding:6px 4px}.ant-input,.ant-input-number,.ant-select-selector{font-size:12px}}.payment-list{background-color:#fafbfc;min-height:100vh;padding:24px}@media (max-width:768px){.payment-list{padding:16px}.page-header{align-items:flex-start;flex-direction:column;gap:16px}.header-actions{justify-content:flex-end;width:100%}.filters-card .ant-row{flex-direction:column;gap:12px}.filters-card .ant-col{max-width:100%!important;width:100%!important}}.billing-cycles{background-color:#fafbfc;min-height:100vh;padding:24px}@media (max-width:768px){.billing-cycles{padding:16px}.page-header{align-items:flex-start;flex-direction:column;gap:16px}.header-actions{justify-content:flex-end;width:100%}.filters-card .ant-row{flex-direction:column;gap:12px}.filters-card .ant-col{max-width:100%!important;width:100%!important}}.commissions{background-color:#fafbfc;min-height:100vh;padding:24px}@media (max-width:768px){.commissions{padding:16px}.page-header{align-items:flex-start;flex-direction:column;gap:16px}.header-actions{justify-content:flex-end;width:100%}.filters-card .ant-row{flex-direction:column;gap:12px}.filters-card .ant-col{max-width:100%!important;width:100%!important}}.invoice-templates{background-color:#fafbfc;min-height:100vh;padding:24px}.page-header{box-shadow:0 2px 8px #00000008}.header-content h1{color:#1976d2;font-size:28px}.header-content p{margin:8px 0 0}.filters-card{background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000008;margin-bottom:24px}.filters-card .ant-card-body{padding:16px 24px}.ant-table-thead>tr>th{background-color:#f9fafb;color:#374151}.ant-table-tbody>tr:hover>td{background-color:#fafbfc}.ant-table-tbody>tr>td{padding:12px 8px}.ant-btn-text{height:auto;padding:4px 8px}.ant-btn-text:hover{background-color:#fafbfc}.ant-statistic-title{color:#6b7280;font-size:14px;margin-bottom:8px}.ant-tag{margin-left:8px}.ant-switch{min-width:60px}@media (max-width:768px){.invoice-templates{padding:16px}.page-header{align-items:flex-start;flex-direction:column;gap:16px}.header-actions{justify-content:flex-end;width:100%}.filters-card .ant-row{flex-direction:column;gap:12px}.filters-card .ant-col{max-width:100%!important;width:100%!important}}@media (max-width:576px){.page-header{padding:16px}.header-content h1{font-size:24px}.ant-table-tbody>tr>td,.ant-table-thead>tr>th{font-size:12px;padding:8px 4px}}.employee-billing-management{margin:0 auto;max-width:1600px;padding:20px}.billing-table{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow-x:auto}.billing-table table{border-collapse:collapse;min-width:1200px;width:100%}.billing-table th{background:#f8f9fa;border-bottom:2px solid #e9ecef;color:#333;font-size:13px;font-weight:600;padding:15px;text-align:left;white-space:nowrap}.billing-table td{border-bottom:1px solid #e9ecef;color:#555;font-size:14px;padding:15px}.billing-table td small{color:#999;display:block;font-size:12px;margin-top:2px}.billing-table tbody tr:hover{background:#f8f9fa}.net-amount{color:#007bff;font-weight:600}.actions{flex-wrap:wrap}.badge{white-space:nowrap}.modal-content.large{max-width:900px}.edit-form,.modal-content form{padding:30px}.summary-card{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;box-shadow:0 4px 15px #0000001a;color:#fff;margin-bottom:30px;padding:25px}.summary-card h3{font-size:18px;font-weight:600;margin:0 0 20px}.summary-grid{grid-gap:20px;gap:20px;grid-template-columns:repeat(4,1fr)}.summary-item{flex-direction:column;gap:5px}.summary-item label{font-size:13px;opacity:.9}.summary-item strong{font-size:20px;font-weight:600}.summary-item small{font-size:12px;opacity:.8}.section{background:#f8f9fa;border-radius:8px;margin-bottom:30px;padding:20px}.section h3{color:#333;font-size:16px;font-weight:600;margin:0 0 15px}.commission-list,.expense-list{display:flex;flex-direction:column;gap:10px}.commission-item,.expense-item{background:#fff;border-left:4px solid #007bff;border-radius:6px;padding:15px}.commission-details,.expense-details{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.commission-info{color:#666;display:flex;font-size:13px;gap:15px}.commission-amount,.expense-amount{color:#28a745;font-size:16px;font-weight:600}.total-commission,.total-expenses{background:#fff;border:2px solid #007bff;border-radius:6px;color:#007bff;font-size:16px;margin-top:10px;padding:15px;text-align:right}.no-data{color:#999;font-size:14px;font-style:italic;padding:20px;text-align:center}.section-header{align-items:center;margin-bottom:15px}.section-header h3{margin:0}.attendance-grid{grid-gap:15px;background:#fff;border-radius:6px;display:grid;gap:15px;grid-template-columns:repeat(3,1fr);padding:15px}.field label{color:#666;display:block;font-size:13px;font-weight:500;margin-bottom:5px}.field input{border:1px solid #ddd;border-radius:4px;font-size:14px;padding:8px 12px;width:100%}.adjustment-item{grid-gap:10px;align-items:center;display:grid;gap:10px;grid-template-columns:150px 120px 1fr 100px;margin-bottom:10px}.adjustment-item input,.adjustment-item select{border:1px solid #ddd;border-radius:4px;font-size:14px;padding:8px 12px}.btn-info{background:#17a2b8}@media (max-width:768px){.filters-section{flex-direction:column}.filter-group{width:100%}.form-row{grid-template-columns:1fr}.attendance-grid,.summary-grid{grid-template-columns:1fr 1fr}.adjustment-item{grid-template-columns:1fr}.commission-info{gap:5px}.actions,.commission-info{flex-direction:column}.actions button{width:100%}}@media (max-width:480px){.attendance-grid,.summary-grid{grid-template-columns:1fr}}.expense-management{margin:0 auto;max-width:1400px;padding:20px}.expenses-table{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.expenses-table table{border-collapse:collapse;width:100%}.expenses-table th{background:#f8f9fa;border-bottom:2px solid #e9ecef;color:#333;font-size:14px;font-weight:600;padding:15px;text-align:left}.expenses-table td{border-bottom:1px solid #e9ecef;color:#555;font-size:14px;padding:15px}.expenses-table tbody tr:hover{background:#f8f9fa}.badge-info{background:#d1ecf1;color:#0c5460}.btn-success{background:#28a745}.payment-management{margin:0 auto;max-width:1600px;padding:20px}.page-header h1{color:#333;font-size:28px}.filters-section{align-items:flex-end;border-radius:8px;box-shadow:0 2px 4px #0000001a;display:flex;flex-wrap:wrap;gap:15px;margin-bottom:20px;padding:20px}.filter-group{display:flex;flex-direction:column;min-width:150px}.filter-group label{color:#666;font-size:13px;margin-bottom:5px}.filter-group input,.filter-group select{border:1px solid #ddd;border-radius:4px;padding:8px 12px}.payments-table{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow-x:auto}.payments-table table{border-collapse:collapse;min-width:1000px;width:100%}.payments-table th{background:#f8f9fa;border-bottom:2px solid #e9ecef;color:#333;font-size:14px;font-weight:600;padding:15px;text-align:left}.payments-table td{border-bottom:1px solid #e9ecef;color:#555;font-size:14px;padding:15px}.payments-table tbody tr:hover{background:#f8f9fa}.amount{color:#28a745}.actions{display:flex;gap:8px}.badge{border-radius:12px;font-size:12px;font-weight:500;padding:4px 12px;text-transform:capitalize}.badge-warning{background:#fff3cd;color:#856404}.badge-success{background:#d4edda;color:#155724}.badge-danger{background:#f8d7da;color:#721c24}.badge-secondary{background:#e9ecef;color:#495057}.pagination{gap:20px;margin-top:20px}.pagination button{border:1px solid #ddd;border-radius:4px;font-size:14px;padding:8px 16px}.pagination button:not(:disabled):hover{background:#f8f9fa}.modal-overlay{overflow-y:auto}.modal-content{box-shadow:0 10px 40px #0003;margin:auto;padding:0}.modal-header{background:#fff;border-bottom:1px solid #e9ecef;padding:20px 30px;position:-webkit-sticky;position:sticky;top:0;z-index:10}.modal-header h2{color:#333;font-size:20px;margin:0}.close-btn{background:none;color:#999;font-size:32px;height:32px;line-height:1;padding:0;width:32px}.close-btn:hover{color:#333}.modal-content form{padding:30px}.form-group input,.form-group select,.form-group textarea{padding:10px 14px}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.form-row{grid-gap:15px;gap:15px}.file-list{margin-top:10px}.file-item{background:#f8f9fa;border-radius:4px;font-size:13px;margin-bottom:5px;padding:8px 12px}.form-actions{border-top:1px solid #e9ecef;margin-top:30px;padding-top:20px}.btn-primary,.btn-secondary,.btn-sm{border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px;transition:all .2s}.btn-primary{background:#007bff}.btn-primary:hover:not(:disabled){background:#0056b3}.btn-secondary{background:#6c757d}.btn-danger{background:#dc3545}.loading{font-size:16px;padding:40px}@media (max-width:768px){.filters-section{flex-direction:column}.filter-group{width:100%}.form-row{grid-template-columns:1fr}.actions{flex-direction:column}.actions button{width:100%}}.balance-reminders-page{margin:0 auto;max-width:1400px;padding:20px}.page-header{align-items:flex-start;border-bottom:2px solid #e5e7eb;margin-bottom:30px;padding-bottom:20px}.btn-success:hover{background:#218838}.btn-warning:hover{background:#e0a800}.btn-danger:hover{background:#c82333}.btn-info:hover{background:#138496}.error-message{align-items:center;background:#f8d7da;border:1px solid #f5c6cb;border-radius:8px;color:#721c24;display:flex;gap:8px;margin-bottom:20px;padding:12px 16px}.error-message button{background:none;border:none;color:#721c24;cursor:pointer;font-size:18px;margin-left:auto}.content-section{grid-gap:30px;align-items:start;display:grid;gap:30px;grid-template-columns:300px 1fr}.filters-section{padding:24px;position:-webkit-sticky;position:sticky;top:20px}.filters-section,.reminders-section{background:#fff;border-radius:12px;box-shadow:0 2px 10px #00000008}.reminders-section{overflow:hidden}@media (max-width:1200px){.content-section{gap:20px;grid-template-columns:1fr}.filters-section{position:static}}@media (max-width:768px){.balance-reminders-page{padding:15px}.page-header{align-items:stretch;flex-direction:column;gap:20px}.header-content h1{font-size:2rem}.header-actions{justify-content:stretch}.btn{flex:1 1;justify-content:center}}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.stat-card{border-left:4px solid #e3f2fd;transition:transform .3s ease}.stat-change{align-items:center;display:flex;font-size:12px;gap:4px}.stat-change.positive{color:#388e3c}.stat-change.negative{color:#d32f2f}.reminder-list{min-height:400px}.reminder-item{padding:20px}.reminder-title{margin:0}.reminder-number{padding:4px 8px}.reminder-amount{color:#374151;font-size:18px;font-weight:600}.pagination{padding:20px}.empty-state p{margin:0 0 24px}.modal-content{box-shadow:0 10px 30px #0000004d;max-width:600px}.modal-header{padding:24px 24px 0}.modal-title{font-size:1.5rem;margin:0}.modal-close{align-items:center;background:none;border:none;border-radius:50%;color:#6b7280;cursor:pointer;display:flex;font-size:24px;height:32px;justify-content:center;padding:0;transition:background-color .3s ease;width:32px}.modal-close:hover{background:#fafbfc}.modal-footer{padding:0 24px 24px}.reminder-list{background:#fff;border-radius:12px;box-shadow:0 2px 10px #00000008;overflow:hidden}.list-header{align-items:center;background:#fafbfc;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:20px 24px}.list-header h3{color:#374151;font-size:1.25rem;font-weight:600;margin:0}.list-actions{display:flex;gap:8px}.reminders-container{max-height:600px;overflow-y:auto}.reminder-item{border-bottom:1px solid #e5e7eb;padding:20px 24px;transition:background-color .3s ease}.reminder-item:hover{background-color:#fafbfc}.reminder-item:last-child{border-bottom:none}.reminder-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:12px}.reminder-title{color:#374151;font-size:16px;font-weight:600;margin:0 0 4px}.reminder-number{background:#fafbfc;border-radius:4px;color:#6b7280;font-family:monospace;font-size:12px;padding:2px 6px}.reminder-badges{display:flex;flex-wrap:wrap;gap:8px}.reminder-meta{flex-wrap:wrap;gap:20px;margin-bottom:12px}.meta-item{align-items:center;color:#6b7280;display:flex;font-size:14px;gap:6px}.meta-item i{color:#adb5bd;text-align:center;width:16px}.reminder-amount{margin-bottom:12px}.amount-breakdown{display:flex;flex-wrap:wrap;gap:20px}.amount-item{display:flex;flex-direction:column;gap:2px}.amount-label{color:#6b7280;font-size:12px;letter-spacing:.5px;text-transform:uppercase}.amount-value{color:#374151}.amount-value.paid{color:#388e3c}.amount-value.outstanding{color:#d32f2f}.reminder-notes{align-items:flex-start;background:#fafbfc;border-radius:6px;color:#6b7280;display:flex;font-size:14px;gap:8px;margin-bottom:12px;padding:8px 12px}.reminder-notes i{color:#adb5bd;margin-top:2px}.reminder-actions{display:flex;flex-wrap:wrap;gap:8px}.reminder-actions .btn{font-size:12px;padding:6px 12px}.status-badge{border-radius:20px;letter-spacing:.5px;text-transform:uppercase}.status-draft{background:#e5e7eb;color:#374151}.status-scheduled{background:#cce5ff;color:#004085}.status-sent{background:#d4edda;color:#155724}.status-delivered,.status-read{background:#d1ecf1;color:#0c5460}.status-paid,.status-responded{background:#d4edda;color:#155724}.status-overdue{background:#f8d7da;color:#721c24}.status-escalated{background:#fff3cd;color:#856404}.status-cancelled,.status-failed{background:#f8d7da;color:#721c24}.level-badge{border-radius:20px;font-size:12px;font-weight:500;letter-spacing:.5px;padding:4px 12px;text-transform:uppercase}.level-gentle{background:#d4edda;color:#155724}.level-standard{background:#cce5ff;color:#004085}.level-urgent{background:#fff3cd;color:#856404}.level-critical{background:#f8d7da;color:#721c24}.level-legal{background:#e2e3e5;color:#383d41}.pagination{background:#fafbfc;border-top:1px solid #e5e7eb;gap:8px;padding:20px 24px}.pagination button{align-items:center;background:#fff;border:1px solid #dee2e6;border-radius:6px;color:#374151;cursor:pointer;display:flex;gap:4px;padding:8px 12px;transition:all .3s ease}.pagination button:hover:not(:disabled){background:#e5e7eb;border-color:#adb5bd}.pagination button:disabled{cursor:not-allowed;opacity:.5}.pagination button.active{background:#e3f2fd;border-color:#e3f2fd;color:#fff}.empty-state i{font-size:4rem;margin-bottom:20px}.empty-state h3{color:#374151;margin:0 0 12px}.loading-container{color:#6b7280;flex-direction:column;padding:60px 20px}.loading-spinner{height:40px;margin-bottom:16px;width:40px}@media (max-width:768px){.reminder-header{align-items:flex-start;flex-direction:column;gap:12px}.reminder-badges{align-self:stretch}.amount-breakdown,.reminder-meta{flex-direction:column;gap:8px}.reminder-actions{justify-content:stretch}.reminder-actions .btn{flex:1 1;justify-content:center}.pagination{flex-wrap:wrap;gap:4px}.pagination button{flex:1 1;min-width:40px}}.filters-container{background:#fff;border-radius:12px;box-shadow:0 2px 10px #00000008;overflow:hidden}.filters-header{align-items:center;background:#fafbfc;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:20px 24px}.filters-header h3{color:#374151;font-size:1.25rem;font-weight:600;margin:0}.filters-actions{display:flex;gap:8px}.filters-content{max-height:0;overflow:hidden;padding:24px;transition:max-height .3s ease}.filters-content.expanded{max-height:2000px}.filter-group{margin-bottom:20px}.filter-group:last-child{margin-bottom:0}.filter-group label{color:#374151;display:block;font-size:14px;font-weight:500;margin-bottom:6px}.filter-group input,.filter-group select{background:#fff;border:1px solid #ced4da;border-radius:6px;font-size:14px;padding:10px 12px;transition:border-color .3s ease,box-shadow .3s ease;width:100%}.filter-group input:focus,.filter-group select:focus{border-color:#e3f2fd;box-shadow:0 0 0 3px #667eea1a;outline:none}.filter-group input::placeholder{color:#adb5bd}.quick-filters{background:#fafbfc;border-top:1px solid #e5e7eb;padding:20px 24px}.quick-filters h4{color:#374151;font-size:14px;font-weight:600;letter-spacing:.5px;margin:0 0 12px;text-transform:uppercase}.quick-filter-buttons{display:flex;flex-wrap:wrap;gap:8px}.quick-filter-buttons .btn{align-items:center;background:#fff;border:1px solid #dee2e6;border-radius:20px;color:#374151;display:flex;font-size:12px;gap:4px;padding:6px 12px;transition:all .3s ease}.quick-filter-buttons .btn:hover{background:#e3f2fd;border-color:#e3f2fd;color:#fff;transform:translateY(-1px)}.btn{gap:6px;padding:8px 16px}.btn-secondary:hover{background:#5a6268}.btn-outline:hover{background:#6b7280;color:#fff}@media (max-width:768px){.filters-header{align-items:stretch;flex-direction:column;gap:12px}.filters-actions{justify-content:stretch}.filters-actions .btn{flex:1 1;justify-content:center}.filters-content{padding:20px}.quick-filters{padding:16px 20px}.quick-filter-buttons{justify-content:stretch}.quick-filter-buttons .btn{flex:1 1;justify-content:center;min-width:0}}@media (max-width:480px){.filters-content{padding:16px}.quick-filters{padding:12px 16px}.quick-filter-buttons{flex-direction:column}.quick-filter-buttons .btn{flex:none}}.filters-content{animation:slideDown .3s ease-out}.filter-group input:focus,.filter-group select:focus{outline:2px solid #e3f2fd;outline-offset:2px}.filter-group.loading input,.filter-group.loading select{background:#fafbfc;color:#6b7280;cursor:not-allowed}.filter-group select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right 8px center;background-repeat:no-repeat;background-size:16px;padding-right:32px}.filter-group input[type=number]{-moz-appearance:textfield}.filter-group input[type=number]::-webkit-inner-spin-button,.filter-group input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.filter-group input[type=date]{position:relative}.filter-group input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.7;position:absolute;right:8px;top:50%;transform:translateY(-50%)}.filter-group:hover label{color:#e3f2fd;transition:color .3s ease}.filter-group input:not(:placeholder-shown),.filter-group select:not([value=""]){background-color:#f8f9ff;border-color:#e3f2fd}.filter-group input.error,.filter-group select.error{border-color:#d32f2f;box-shadow:0 0 0 3px #dc35451a}.filter-group .error-message{color:#d32f2f;font-size:12px;margin-top:4px}.stats-section{margin-bottom:30px}.stats-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.stats-header h2{color:#374151;font-size:1.5rem;font-weight:600;margin:0}.stats-grid{grid-template-columns:repeat(4,1fr);margin-bottom:30px}.stat-card{border:1px solid #e5e7eb;border-left:4px solid #1976d2;box-shadow:0 2px 10px #00000008;overflow:hidden;padding:24px;position:relative;transition:transform .3s ease,box-shadow .3s ease}.stat-card:hover{box-shadow:0 4px 20px #0000000d;transform:translateY(-2px)}.stat-card.overdue{border-left-color:#d32f2f}.stat-card.escalated{border-left-color:#f57c00}.stat-card.legal{border-left-color:#7b1fa2}.stat-card.success{border-left-color:#388e3c}.stat-card.outstanding{border-left-color:#f57c00}.stat-card.loading{border-left-color:#e5e7eb}.stat-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.stat-title{color:#6b7280;font-size:14px;font-weight:500;letter-spacing:.5px;text-transform:uppercase}.stat-icon{background:#1976d2;border-radius:8px;font-size:18px;height:40px;width:40px}.stat-icon.overdue{background:#d32f2f}.stat-icon.escalated{background:#f57c00}.stat-icon.legal{background:#7b1fa2}.stat-icon.success{background:#388e3c}.stat-icon.outstanding{background:#f57c00}.stat-icon.total{background:#1976d2}.stat-value{font-size:2rem;line-height:1.2;margin-bottom:4px}.stat-subtitle{color:#6b7280;font-size:12px;font-weight:500}.loading-skeleton{animation:loading 1.5s infinite;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);background-size:200% 100%;border-radius:8px;height:100px}@keyframes loading{0%{background-position:200% 0}to{background-position:-200% 0}}.metrics-grid{grid-gap:16px;gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.metric-card{background:#fff;border:1px solid #e5e7eb;box-shadow:0 1px 5px #00000008;transition:transform .3s ease}.metric-card:hover{box-shadow:0 2px 10px #0000000d;transform:translateY(-1px)}.metric-header{margin-bottom:8px}.metric-header h4{color:#6b7280;font-size:14px;font-weight:500;margin:0}.metric-header i{color:#adb5bd;font-size:16px}.metric-value{color:#374151;font-size:1.25rem}@media (max-width:1400px){.stats-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width:1200px){.stats-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.stats-section{margin-bottom:20px}.stats-header{align-items:stretch;flex-direction:column;gap:16px}.stats-header h2{font-size:1.25rem}.stats-grid{gap:16px;grid-template-columns:1fr}.stat-card{padding:20px}.stat-value{font-size:1.75rem}.metrics-grid{gap:12px;grid-template-columns:1fr}.metric-card{padding:12px}}@media (max-width:480px){.stat-card{padding:16px}.stat-value{font-size:1.5rem}.stat-icon{font-size:16px;height:32px;width:32px}}.stat-card{animation:fadeInUp .6s ease-out}.stat-card:first-child{animation-delay:.1s}.stat-card:nth-child(2){animation-delay:.2s}.stat-card:nth-child(3){animation-delay:.3s}.stat-card:nth-child(4){animation-delay:.4s}.stat-card:nth-child(5){animation-delay:.5s}.stat-card:nth-child(6){animation-delay:.6s}.stat-card:nth-child(7){animation-delay:.7s}.stat-card:nth-child(8){animation-delay:.8s}.stat-card .stat-value[style*=color]{position:relative}.stat-card .stat-value[style*=color]:after{background:currentColor;border-radius:1px;bottom:-2px;content:"";height:2px;left:0;opacity:.3;position:absolute;right:0}.btn:hover{transform:translateY(-1px)}.stat-card:hover .stat-icon{transform:scale(1.1);transition:transform .3s ease}.stat-card:focus-within{outline:2px solid #e3f2fd;outline-offset:2px}.reminder-details-modal .ant-modal-header{border-bottom:1px solid #f0f0f0;padding:16px 24px}.reminder-details-modal .ant-modal-body{max-height:70vh;overflow-y:auto;padding:24px}.reminder-details-modal .ant-modal-footer{border-top:1px solid #f0f0f0;padding:12px 24px}.modal-title{align-items:center;color:#374151;display:flex;font-size:18px;font-weight:600;gap:8px}.title-icon{color:#1976d2;font-size:20px}.reminder-details-content{display:flex;flex-direction:column;gap:16px}.overview-card{background:linear-gradient(135deg,#f6f6f6,#fff);border:1px solid #e8e8e8}.overview-card .ant-card-body{padding:16px}.amount-section,.overdue-section,.status-section{text-align:center}.amount-label,.overdue-label,.status-label{color:#6b7280;font-size:12px;font-weight:500;margin-bottom:4px}.status-tag{font-size:12px;padding:4px 8px}.overdue-value{color:#388e3c;font-size:16px;font-weight:600}.overdue-value.overdue{color:#d32f2f}.detail-card{border-radius:8px;box-shadow:0 2px 8px #00000005}.detail-card .ant-card-head{border-bottom:1px solid #f0f0f0;padding:8px 16px}.detail-card .ant-card-body{padding:16px}.detail-icon{margin-right:6px}.outstanding-amount{color:#d32f2f;font-weight:600}.channel-tag{font-size:11px;margin:2px}.notes-section{margin-bottom:16px}.notes-section:last-child{margin-bottom:0}.notes-label{color:#6b7280;font-size:12px;font-weight:500;margin-bottom:4px}.notes-content{background:#f6f6f6;border-left:3px solid #d9d9d9;border-radius:4px;color:#374151;font-size:13px;padding:8px 12px}.notes-content.internal{background:#fff3e0;border-left-color:#faad14}.notes-content.client{background:#e8f5e8;border-left-color:#388e3c}.timeline-title{color:#374151;font-size:13px;font-weight:600}.timeline-date{color:#6b7280;font-size:11px;margin-top:2px}.ant-descriptions-item-label{color:#6b7280;font-size:12px;font-weight:500}.ant-descriptions-item-content{color:#374151;font-size:13px}.reminder-details-modal .ant-modal-body::-webkit-scrollbar{width:6px}.reminder-details-modal .ant-modal-body::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.reminder-details-modal .ant-modal-body::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.reminder-details-modal .ant-modal-body::-webkit-scrollbar-thumb:hover{background:#a8a8a8}@media (max-width:768px){.reminder-details-modal{max-width:95%!important;width:95%!important}.reminder-details-modal .ant-modal-body{max-height:60vh;padding:16px}.modal-title{font-size:16px}.title-icon{font-size:18px}.detail-card .ant-card-body,.overview-card .ant-card-body{padding:12px}}@media (max-width:480px){.reminder-details-modal .ant-modal-footer,.reminder-details-modal .ant-modal-header{padding:12px 16px}.reminder-details-modal .ant-modal-body{padding:12px}}.balance-reminder-dashboard{margin:0 auto;max-width:1600px;padding:20px}.dashboard-header{align-items:flex-start;border-bottom:2px solid #e5e7eb;display:flex;justify-content:space-between;margin-bottom:30px;padding-bottom:20px}.header-content h1{color:#374151;font-size:2.5rem;margin:0 0 8px}.header-content p{color:#6b7280;font-size:1.1rem;margin:0}.header-actions{align-items:center;gap:16px}.period-selector{align-items:center;display:flex;gap:8px}.period-selector label{color:#374151;font-size:14px;font-weight:500}.period-selector select{background:#fff;border:1px solid #ced4da;border-radius:6px;cursor:pointer;font-size:14px;padding:8px 12px}.period-selector select:focus{border-color:#e3f2fd;box-shadow:0 0 0 3px #667eea1a;outline:none}.dashboard-content,.dashboard-grid{margin-bottom:30px}.dashboard-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(400px,1fr))}.dashboard-card{background:#fff;border-radius:12px;box-shadow:0 2px 10px #00000008;overflow:hidden;transition:transform .3s ease,box-shadow .3s ease}.dashboard-card:hover{box-shadow:0 4px 20px #0000000d;transform:translateY(-2px)}.dashboard-card.urgent{border-left:4px solid #d32f2f}.dashboard-card.full-width{grid-column:1/-1}.card-header{align-items:center;background:#fafbfc;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:20px 24px}.card-header h3{color:#374151;font-size:1.25rem;font-weight:600;margin:0}.card-subtitle{color:#6b7280;font-size:12px;font-weight:500;letter-spacing:.5px;text-transform:uppercase}.card-content{padding:24px}.error-container,.loading-container{align-items:center;color:#6b7280;display:flex;flex-direction:column;justify-content:center;padding:80px 20px;text-align:center}.loading-spinner{animation:spin 1s linear infinite;border:4px solid #f3f3f3;border-radius:50%;border-top-color:#e3f2fd;height:50px;margin-bottom:20px;width:50px}.error-container i{color:#d32f2f;font-size:4rem;margin-bottom:20px}.error-container h3{color:#d32f2f;margin:0 0 12px}.error-container p{margin:0 0 24px}.spinning{animation:spin 1s linear infinite}.quick-actions{background:#fff;border-radius:12px;box-shadow:0 2px 10px #00000008;padding:24px}.quick-actions h3{color:#374151;font-size:1.25rem;font-weight:600;margin:0 0 20px}.action-buttons{flex-wrap:wrap;gap:12px}.btn{padding:12px 24px;text-decoration:none;transition:all .3s ease}.btn-primary{background:#1976d2!important;box-shadow:0 4px 15px #1976d24d}.btn-primary:hover:not(:disabled){background:#1565c0!important;box-shadow:0 6px 20px #1976d266}.btn-secondary{background:#6b7280;color:#fff}.btn-secondary:hover:not(:disabled){background:#5a6268}.btn-success{background:#388e3c}.btn-success:hover:not(:disabled){background:#218838}.btn-warning{background:#f57c00;color:#212529}.btn-warning:hover:not(:disabled){background:#e0a800}.btn-danger{background:#d32f2f}.btn-danger:hover:not(:disabled){background:#c82333}.btn-info{background:#00695c;color:#fff}.btn-info:hover:not(:disabled){background:#138496}.btn-outline{background:#0000;border:1px solid #6b7280;color:#6b7280}.btn-outline:hover:not(:disabled){background:#6b7280;color:#fff}.btn-sm{font-size:12px;padding:8px 16px}@media (max-width:1400px){.dashboard-grid{grid-template-columns:repeat(auto-fit,minmax(350px,1fr))}}@media (max-width:1200px){.dashboard-grid{gap:20px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.dashboard-card.full-width{grid-column:1/-1}}@media (max-width:768px){.balance-reminder-dashboard{padding:15px}.dashboard-header{align-items:stretch;flex-direction:column;gap:20px}.header-content h1{font-size:2rem}.header-actions{align-items:stretch;flex-direction:column;gap:12px}.period-selector{justify-content:space-between}.dashboard-grid{gap:16px;grid-template-columns:1fr}.card-header{align-items:flex-start;flex-direction:column;gap:12px}.card-content{padding:20px}.action-buttons{flex-direction:column}.action-buttons .btn{justify-content:center}}@media (max-width:480px){.balance-reminder-dashboard{padding:10px}.header-content h1{font-size:1.75rem}.card-content{padding:16px}.quick-actions{padding:20px}}.dashboard-card{animation:fadeInUp .6s ease-out}.dashboard-card:first-child{animation-delay:.1s}.dashboard-card:nth-child(2){animation-delay:.2s}.dashboard-card:nth-child(3){animation-delay:.3s}.dashboard-card:nth-child(4){animation-delay:.4s}.dashboard-card:nth-child(5){animation-delay:.5s}.dashboard-card:nth-child(6){animation-delay:.6s}.dashboard-card:nth-child(7){animation-delay:.7s}.dashboard-card:nth-child(8){animation-delay:.8s}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.btn:focus,.period-selector select:focus{outline:2px solid #e3f2fd;outline-offset:2px}.dashboard-card:hover .card-header{background:#e5e7eb;transition:background-color .3s ease}.btn.loading{color:#0000;position:relative}.btn.loading:after{animation:spin 1s linear infinite;border:2px solid #0000;border-radius:50%;border-top-color:currentcolor;content:"";height:16px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:16px}.empty-state{color:#6b7280;padding:40px 20px}.empty-state i{font-size:3rem;opacity:.5}.empty-state h4{color:#374151;margin:0 0 8px}.empty-state p{font-size:14px;margin:0}.balance-reminder-analytics{padding:16px 0}.analytics-card{border-radius:8px;box-shadow:0 2px 8px #00000005;transition:all .3s ease}.analytics-card:hover{box-shadow:0 4px 16px #0000000d;transform:translateY(-2px)}.analytics-card .ant-card-head{border-bottom:1px solid #f0f0f0;padding:12px 16px}.analytics-card .ant-card-body{padding:16px}.analytics-card .ant-statistic-title{color:#6b7280;font-size:14px;margin-bottom:8px}.analytics-card .ant-statistic-content{font-size:24px;font-weight:600}.progress-description{color:#6b7280;font-size:12px;margin-top:8px;text-align:center}.metric-item{background:#f9fafb;border-radius:6px;margin-bottom:8px;padding:16px;text-align:center}.metric-value{color:#1976d2;font-size:18px}@media (max-width:768px){.analytics-card .ant-statistic-content{font-size:20px}.metric-value{font-size:16px}}.recent-reminders-card{border-radius:8px;box-shadow:0 2px 8px #00000005}.recent-reminders-card .ant-card-head{border-bottom:1px solid #f0f0f0;padding:12px 16px}.recent-reminders-card .ant-card-body{padding:0}.reminder-title{align-items:center;display:flex;justify-content:space-between;width:100%}.client-name{font-size:14px}.reminder-description{margin-top:4px}.reminder-details{align-items:center;display:flex;gap:16px;margin-bottom:4px}.amount{font-size:13px}.reminder-meta{color:#999;font-size:11px;gap:16px}.created,.reminder-meta{align-items:center;display:flex}.created{gap:4px}.ant-list-item{border-bottom:1px solid #f0f0f0;padding:12px 16px}.ant-list-item:last-child{border-bottom:none}.ant-list-item-meta{margin-bottom:0}@media (max-width:768px){.reminder-details,.reminder-meta{align-items:flex-start;flex-direction:column;gap:4px}.reminder-title{align-items:flex-start;flex-direction:column;gap:8px}}.overdue-reminders-card{border-radius:8px;box-shadow:0 2px 8px #00000005}.overdue-reminders-card .ant-card-head{border-bottom:1px solid #f0f0f0;padding:12px 16px}.overdue-reminders-card .ant-card-body{padding:0}.overdue-title{align-items:center;display:flex;gap:8px}.overdue-icon{color:#d32f2f;font-size:16px}.count-tag{font-weight:600;margin-left:auto}.overdue-item{border-bottom:1px solid #f0f0f0;padding:16px;transition:background-color .3s ease}.overdue-item:hover{background-color:#f9fafb}.overdue-item.mild{border-left:4px solid #faad14}.overdue-item.moderate{border-left:4px solid #d32f2f}.overdue-item.severe{border-left:4px solid #722ed1}.overdue-reminder-title{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px;width:100%}.overdue-badges{display:flex;gap:8px}.overdue-tag,.severity-tag{border-radius:4px;font-size:11px;font-weight:600;padding:2px 6px}.overdue-description{margin-top:4px}.overdue-details{align-items:center;display:flex;gap:16px;margin-bottom:8px}.amount{color:#d32f2f;font-size:14px;font-weight:600}.due-date{gap:4px}.due-date,.overdue-meta{align-items:center;color:#6b7280;display:flex;font-size:12px}.overdue-meta{gap:16px;margin-bottom:8px}.agent{font-weight:500}.agent,.contact-info{align-items:center;display:flex;gap:4px}.contact-info{color:#1976d2}.overdue-notes{background:#f6f6f6;border-left:3px solid #d9d9d9;border-radius:4px;color:#6b7280;font-size:12px;padding:8px 12px}.ant-list-item-action .ant-btn{color:#6b7280}.ant-list-item-action .ant-btn:hover{color:#1976d2}@media (max-width:768px){.overdue-reminder-title{align-items:flex-start;flex-direction:column;gap:8px}.overdue-details,.overdue-meta{align-items:flex-start;flex-direction:column;gap:4px}.overdue-badges{flex-wrap:wrap}}.agent-performance-card{border-radius:8px;box-shadow:0 2px 8px #00000005}.agent-performance-card .ant-card-head{border-bottom:1px solid #f0f0f0;padding:12px 16px}.agent-performance-card .ant-card-body{padding:0}.agent-performance-title{align-items:center;display:flex;gap:8px}.performance-icon{color:#faad14;font-size:16px}.agent-item{border-bottom:1px solid #f0f0f0;padding:16px;transition:background-color .3s ease}.agent-item:hover{background-color:#f9fafb}.agent-item.top-performer{background:linear-gradient(135deg,#fff3e0,#fff);border-left:4px solid #faad14}.agent-avatar-container{position:relative}.agent-avatar{background:#1976d2}.rank-badge{align-items:center;background:#fff;border-radius:50%;box-shadow:0 2px 4px #00000008;display:flex;font-size:12px;height:20px;justify-content:center;position:absolute;right:-4px;top:-4px;width:20px}.agent-name-container{align-items:center;display:flex;gap:12px;margin-bottom:8px}.agent-name{color:#374151;font-size:15px;font-weight:600}.performance-tag{border-radius:4px;font-size:11px;font-weight:600;padding:2px 6px}.agent-performance-details{margin-top:4px}.performance-metrics{margin-bottom:12px}.metric{margin-bottom:8px}.metric-label{color:#6b7280;display:block;font-size:12px;margin-bottom:4px}.agent-stats{grid-gap:8px;display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.stat-item{flex-direction:column;padding:8px}.stat-label{font-size:11px;margin-bottom:2px}.stat-value{font-size:13px}.ant-progress-text{font-size:12px;font-weight:600}@media (max-width:768px){.agent-name-container{align-items:flex-start;flex-direction:column;gap:8px}.agent-stats{grid-template-columns:repeat(2,1fr)}.stat-item{padding:6px}.stat-label{font-size:10px}.stat-value{font-size:12px}}.property-breakdown-card{border-radius:8px;box-shadow:0 2px 8px #00000005}.property-breakdown-card .ant-card-head{border-bottom:1px solid #f0f0f0;padding:12px 16px}.property-breakdown-card .ant-card-body{padding:16px}.property-breakdown{display:flex;flex-direction:column;gap:20px}.property-item{background:#f9fafb;border:1px solid #f0f0f0;border-radius:8px;padding:16px;transition:all .3s ease}.property-item:hover{background:#fafbfc;box-shadow:0 2px 8px #00000008}.property-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.property-info{align-items:center;display:flex;gap:8px}.property-icon{font-size:18px}.property-type{color:#374151;font-size:15px;font-weight:600;text-transform:capitalize}.property-stats{align-items:flex-end;display:flex;flex-direction:column;gap:2px}.property-count{color:#6b7280;font-size:12px}.property-amount{color:#d32f2f;font-size:14px;font-weight:600}.property-progress{margin-bottom:12px}.property-details{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.detail-item{background:#fff;border-radius:4px;padding:8px;text-align:center}.detail-label{color:#6b7280;font-size:11px;margin-bottom:4px}.detail-value{color:#374151;font-size:13px;font-weight:600}.detail-value.overdue{color:#d32f2f}.breakdown-summary{background:linear-gradient(135deg,#f6f6f6,#fff);border:1px solid #e8e8e8;border-radius:8px;margin-top:20px;padding:16px}.summary-item{align-items:center;border-bottom:1px solid #f0f0f0;display:flex;justify-content:space-between;padding:8px 0}.summary-item:last-child{border-bottom:none}.summary-label{font-size:14px}.summary-value{font-size:16px}.ant-progress-bg{border-radius:4px}@media (max-width:768px){.property-header{flex-direction:column;gap:8px}.property-header,.property-stats{align-items:flex-start}.property-details{grid-template-columns:repeat(2,1fr)}.detail-item{padding:6px}.detail-label{font-size:10px}.detail-value{font-size:12px}}.monthly-trends-card{border-radius:8px;box-shadow:0 2px 8px #00000005}.monthly-trends-card .ant-card-head{border-bottom:1px solid #f0f0f0;padding:12px 16px}.monthly-trends-card .ant-card-body{padding:16px}.monthly-trends{display:flex;flex-direction:column;gap:24px}.trend-section{background:#f9fafb;border:1px solid #f0f0f0;border-radius:8px;padding:16px}.trend-title{color:#374151;font-size:16px;font-weight:600;margin:0 0 16px;text-align:center}.custom-tooltip{background:#fff;border:1px solid #d9d9d9;border-radius:6px;box-shadow:0 4px 12px #0000000d;padding:12px}.tooltip-label{color:#374151;font-size:14px;font-weight:600;margin:0 0 8px}.tooltip-item{font-size:13px;margin:4px 0}.trend-summary{background:linear-gradient(135deg,#f6f6f6,#fff);border:1px solid #e8e8e8;border-radius:8px;margin-top:16px;padding:16px}.summary-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.summary-item{background:#fff;border:1px solid #f0f0f0;border-radius:6px;padding:12px;text-align:center}.summary-label{color:#6b7280;font-size:12px;font-weight:500;margin-bottom:8px}.summary-value{color:#374151;font-size:18px;font-weight:600}.recharts-cartesian-axis-tick-value{fill:#6b7280;font-size:12px}.recharts-legend-item-text{color:#6b7280;font-size:12px}.recharts-tooltip-wrapper{outline:none}@media (max-width:768px){.trend-section{padding:12px}.trend-title{font-size:14px}.summary-grid{gap:12px;grid-template-columns:repeat(2,1fr)}.summary-item{padding:8px}.summary-label{font-size:11px}.summary-value{font-size:16px}}@media (max-width:480px){.summary-grid{grid-template-columns:1fr}}.top-clients-card{border-radius:8px;box-shadow:0 2px 8px #00000005}.top-clients-card .ant-card-head{border-bottom:1px solid #f0f0f0;padding:12px 16px}.top-clients-card .ant-card-body{padding:0}.client-item{border-bottom:1px solid #f0f0f0;padding:16px;transition:background-color .3s ease}.client-item:hover{background-color:#f9fafb}.client-item.top-client{background:linear-gradient(135deg,#fff3e0,#fff);border-left:4px solid #faad14}.client-avatar-container{position:relative}.client-avatar{border:2px solid #f0f0f0}.rank-indicator{background:#faad14;border-radius:50%;box-shadow:0 2px 4px #00000008;color:#fff;font-size:10px;font-weight:600;height:20px;justify-content:center;position:absolute;right:-4px;top:-4px;width:20px}.client-title,.rank-indicator{align-items:center;display:flex}.client-title{gap:12px;margin-bottom:8px}.client-name{color:#374151;font-size:15px;font-weight:600}.status-tag{border-radius:4px;font-size:11px;font-weight:600;padding:2px 6px}.client-description{margin-top:4px}.client-amount{align-items:center;display:flex;gap:6px;margin-bottom:12px}.amount-icon{color:#d32f2f;font-size:14px}.amount-value{color:#d32f2f;font-size:16px;font-weight:600}.client-details{display:flex;flex-direction:column;gap:8px}.detail-row{align-items:center;color:#6b7280;display:flex;font-size:12px;gap:16px}.detail-item{align-items:center;gap:4px}.detail-icon{color:#1976d2;font-size:12px}.client-stats{font-size:11px;gap:16px}.client-stats,.stat-item{align-items:center;display:flex}.stat-item{background:#f6f6f6;border-radius:4px;gap:4px;padding:4px 8px}.stat-item.overdue{background:#fff2f0;color:#d32f2f}.stat-label{color:#6b7280;font-weight:500}.stat-value{color:#374151}.stat-item.overdue .stat-label,.stat-item.overdue .stat-value{color:#d32f2f}.overdue-icon{font-size:12px}.action-icon{color:#6b7280;cursor:pointer;font-size:16px;transition:color .3s ease}.action-icon:hover{color:#1976d2}.ant-list-item-action{margin-left:16px}.ant-list-item-action li{padding:0}@media (max-width:768px){.client-title{gap:8px}.client-title,.detail-row{align-items:flex-start;flex-direction:column}.detail-row{gap:4px}.client-stats{flex-wrap:wrap;gap:8px}.stat-item{padding:3px 6px}.amount-value{font-size:14px}}.create-reminder-page{background-color:#fafbfc;min-height:100vh;padding:24px}.page-header{padding:16px 0}.back-button{align-items:center;display:flex;gap:8px}.create-reminder-card{border-radius:8px;box-shadow:0 2px 8px #00000008}.create-reminder-card .ant-card-head{background-color:#f9fafb;border-bottom:1px solid #e8e8e8}.create-reminder-card .ant-card-head-title{color:#1976d2;font-size:18px;font-weight:600}.card-actions{display:flex;gap:12px}.reminder-form{padding:24px 0}.reminder-form .ant-form-item{margin-bottom:24px}.reminder-form .ant-form-item-label{color:#374151;font-weight:500}.reminder-form .ant-input,.reminder-form .ant-picker,.reminder-form .ant-select-selector{border:1px solid #d9d9d9;border-radius:6px;transition:all .3s}.reminder-form .ant-input:focus,.reminder-form .ant-picker-focused,.reminder-form .ant-select-focused .ant-select-selector{border-color:#1976d2;box-shadow:0 0 0 2px #1890ff33}.reminder-form .ant-input-number{width:100%}.reminder-form .ant-input-number-input{border-radius:6px}.reminder-form .ant-select-multiple .ant-select-selector{min-height:40px}.reminder-form .ant-btn{border-radius:6px;font-weight:500;height:40px;padding:0 20px}.reminder-form .ant-btn-primary{background-color:#1976d2;border-color:#1976d2}.reminder-form .ant-btn-primary:hover{background-color:#40a9ff;border-color:#40a9ff}@media (max-width:768px){.create-reminder-page{padding:16px}.page-header{align-items:flex-start;flex-direction:column;gap:16px}.header-actions{justify-content:flex-end;width:100%}.reminder-form .ant-col{margin-bottom:16px}.card-actions{flex-direction:column;width:100%}.card-actions .ant-btn{width:100%}}@media (max-width:576px){.create-reminder-page{padding:12px}.create-reminder-card{margin:0 -12px}.reminder-form{padding:16px 0}}.google-map-container{height:100%;position:relative;width:100%}.google-map-container.fullscreen{background:#fff;height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:9999}.map-wrapper{height:100%;position:relative;width:100%}.map-loading{background:#ffffffe6;border-radius:8px;box-shadow:0 2px 8px #00000008;left:50%;padding:20px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);z-index:1000}.map-loading p{color:#6b7280;font-size:14px;margin-top:10px}.google-map{border-radius:8px;overflow:hidden}.custom-marker{background:#1976d2;border:2px solid #fff;border-radius:4px;box-shadow:0 2px 4px #0000004d;color:#fff;font-size:12px;font-weight:700;padding:4px 8px}.custom-marker.lead{background:#388e3c}.custom-marker.property{background:#f57c00}.custom-marker.agent{background:#1976d2}.custom-marker.meeting{background:#722ed1}.custom-info-window{max-width:300px}.custom-info-window .info-title{color:#1976d2;font-weight:700;margin-bottom:8px}.custom-info-window .info-content{margin-bottom:8px}.custom-info-window .info-actions{margin-top:12px;text-align:right}.map-controls{display:flex;flex-direction:column;gap:8px;position:absolute;right:10px;top:10px;z-index:1000}.map-controls .ant-btn{box-shadow:0 2px 4px #00000008}.location-search{left:10px;position:absolute;top:10px;width:300px;z-index:1000}.location-search .ant-input-search{box-shadow:0 2px 4px #00000008}.geofence-circle,.geofence-polygon{stroke:#d32f2f;fill:#d32f2f}.tracking-path{stroke:#1976d2;stroke-width:3;stroke-opacity:.8;fill:none}.tracking-path.current{stroke:#388e3c;stroke-width:4}.heatmap-overlay{opacity:.6}@media (max-width:768px){.location-search{width:250px}.map-controls{right:5px;top:5px}.map-controls .ant-btn{font-size:12px;padding:4px 8px}}@media (max-width:480px){.location-search{width:200px}.map-controls{flex-direction:row;gap:4px}}.slide-in{animation:slideIn .3s ease-out}.map-loading-overlay{align-items:center;background:#fffc;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:1000}.map-error{color:#d32f2f;left:50%;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);z-index:1000}.map-error .anticon{font-size:48px;margin-bottom:16px}.map-dark{filter:invert(1) hue-rotate(180deg)}.location-tracker{width:100%}.tracker-card{margin-bottom:16px}.tracker-card .ant-card-head{background:linear-gradient(135deg,#1976d2,#40a9ff);color:#fff}.tracker-card .ant-card-head-title{color:#fff;font-weight:600}.tracker-card .ant-statistic-title{color:#6b7280;font-size:12px;font-weight:500;margin-bottom:4px}.tracker-card .ant-statistic-content{color:#1976d2;font-weight:600}.tracker-card .ant-statistic-content-value{font-size:18px}.tracker-card .ant-statistic-content-suffix{color:#999;font-size:12px}.tracking-status{align-items:center;border-radius:6px;display:flex;gap:8px;margin-bottom:16px;padding:8px 12px}.tracking-status.active{background:#e8f5e8;border:1px solid #b7eb8f;color:#388e3c}.tracking-status.inactive{background:#fff2e8;border:1px solid #ffbb96;color:#f57c00}.tracking-status.error{background:#ffebee;border:1px solid #ffccc7;color:#d32f2f}.status-indicator{animation:pulse 2s infinite;border-radius:50%;height:8px;width:8px}.status-indicator.active{background:#388e3c}.status-indicator.inactive{background:#f57c00}.status-indicator.error{background:#d32f2f}@keyframes pulse{0%{box-shadow:0 0 0 0 #52c41ab3}70%{box-shadow:0 0 0 10px #52c41a00}to{box-shadow:0 0 0 0 #52c41a00}}.location-info{background:#f9fafb;border:1px solid #d9d9d9;border-radius:6px;padding:12px}.location-info .ant-typography{margin-bottom:4px}.location-info .location-coords{color:#6b7280;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:12px}.battery-progress{margin-top:8px}.battery-progress .ant-progress-text{font-size:12px}.accuracy-indicator{align-items:center;display:flex;gap:8px}.accuracy-dot{border-radius:50%;height:12px;width:12px}.accuracy-dot.excellent{background:#388e3c}.accuracy-dot.good{background:#1976d2}.accuracy-dot.fair{background:#f57c00}.accuracy-dot.poor{background:#d32f2f}.speed-indicator{align-items:center;display:flex;gap:8px}.speed-value{color:#1976d2;font-size:18px;font-weight:600}.speed-unit{color:#999;font-size:12px}.distance-indicator{align-items:center;display:flex;gap:8px}.distance-value{color:#388e3c;font-size:18px;font-weight:600}.distance-unit{color:#999;font-size:12px}.tracker-controls{display:flex;gap:8px;margin-bottom:16px}.tracker-controls .ant-btn{flex:1 1;font-weight:500;height:40px}.tracker-controls .ant-btn-primary{background:#388e3c;border-color:#388e3c}.tracker-controls .ant-btn-primary:hover{background:#73d13d;border-color:#73d13d}.tracker-controls .ant-btn-danger{background:#d32f2f;border-color:#d32f2f}.tracker-controls .ant-btn-danger:hover{background:#ff7875;border-color:#ff7875}.settings-modal .ant-form-item-label>label{font-weight:500}.settings-modal .ant-input-number{width:100%}.settings-modal .ant-switch{background:#d9d9d9}.settings-modal .ant-switch-checked{background:#1976d2}.stats-grid{grid-gap:16px;gap:16px;margin-bottom:16px}.stat-card:hover{border-color:#1976d2;box-shadow:0 2px 8px #1890ff1a}.stat-card .stat-icon{color:#1976d2}.map-container{border-radius:8px;box-shadow:0 2px 8px #00000008;overflow:hidden}@media (max-width:768px){.stats-grid{gap:12px;grid-template-columns:repeat(2,1fr)}.stat-card{padding:12px}.stat-card .stat-value{font-size:16px}.tracker-controls{flex-direction:column}.tracker-controls .ant-btn{height:36px}}@media (max-width:480px){.stats-grid{grid-template-columns:1fr}.tracker-card .ant-statistic-content-value{font-size:16px}}.tracker-loading{align-items:center;color:#999;display:flex;justify-content:center;padding:40px}.tracker-loading .ant-spin{margin-right:12px}.tracker-error{background:#ffebee;border:1px solid #ffccc7;border-radius:6px;color:#d32f2f;padding:16px;text-align:center}.tracker-error .anticon{font-size:24px;margin-bottom:8px}.tracker-success{background:#e8f5e8;border:1px solid #b7eb8f;border-radius:6px;color:#388e3c;padding:16px;text-align:center}.tracker-success .anticon{font-size:24px;margin-bottom:8px}.geofence-manager{width:100%}.geofence-card{margin-bottom:16px}.geofence-card .ant-card-head{background:linear-gradient(135deg,#388e3c,#73d13d);color:#fff}.geofence-card .ant-card-head-title{color:#fff;font-weight:600}.geofence-stats{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:24px}.stat-card{border:1px solid #f0f0f0;border-radius:8px;padding:16px;text-align:center;transition:all .3s ease}.stat-card:hover{border-color:#388e3c;box-shadow:0 2px 8px #52c41a1a}.stat-card .stat-icon{color:#388e3c;font-size:24px;margin-bottom:8px}.stat-card .stat-value{color:#374151;font-size:20px;font-weight:600;margin-bottom:4px}.stat-card .stat-label{color:#6b7280;font-size:12px;letter-spacing:.5px;text-transform:uppercase}.geofence-table{margin-top:16px}.geofence-table .ant-table-thead>tr>th{background:#f9fafb;color:#374151;font-weight:600}.geofence-table .ant-table-tbody>tr:hover>td{background:#e8f5e8}.geofence-type-tag{border-radius:4px;font-weight:500}.geofence-type-tag.circle{background:#e3f2fd;border-color:#91d5ff;color:#1976d2}.geofence-type-tag.polygon{background:#e8f5e8;border-color:#b7eb8f;color:#388e3c}.geofence-type-tag.rectangle{background:#fff3e0;border-color:#ffd591;color:#f57c00}.settings-tags{display:flex;flex-wrap:wrap;gap:4px}.settings-tag{border-radius:3px;font-size:10px;font-weight:500;padding:2px 6px}.settings-tag.entry{background:#e8f5e8;border:1px solid #b7eb8f;color:#388e3c}.settings-tag.exit{background:#ffebee;border:1px solid #ffccc7;color:#d32f2f}.settings-tag.dwell{background:#e3f2fd;border:1px solid #91d5ff;color:#1976d2}.action-buttons{gap:4px}.action-button{border:none;box-shadow:none;transition:all .3s ease}.action-button:hover{background:#fafbfc;transform:scale(1.1)}.action-button.view:hover{background:#e3f2fd;color:#1976d2}.action-button.edit:hover{background:#fff3e0;color:#f57c00}.action-button.delete:hover{background:#ffebee;color:#d32f2f}.geofence-modal .ant-modal-header{background:linear-gradient(135deg,#388e3c,#73d13d);color:#fff}.geofence-modal .ant-modal-title{color:#fff;font-weight:600}.geofence-modal .ant-modal-close{color:#fff}.geofence-modal .ant-modal-close:hover{color:#fffc}.geofence-form .ant-form-item-label>label{color:#374151;font-weight:500}.geofence-form .ant-input,.geofence-form .ant-input-number,.geofence-form .ant-select-selector{border:1px solid #d9d9d9;border-radius:6px;transition:all .3s ease}.geofence-form .ant-input-number:focus,.geofence-form .ant-input:focus,.geofence-form .ant-select-focused .ant-select-selector{border-color:#388e3c;box-shadow:0 0 0 2px #52c41a1a}.geofence-form .ant-switch{background:#d9d9d9}.geofence-form .ant-switch-checked{background:#388e3c}.geofence-form .ant-divider{border-color:#f0f0f0;margin:16px 0}.geofence-form .ant-divider-inner-text{color:#388e3c;font-weight:500}.geofence-map{border-radius:8px;box-shadow:0 2px 8px #00000008;margin-top:16px;overflow:hidden}.geofence-circle,.geofence-polygon,.geofence-rectangle{stroke:#388e3c;stroke-width:2;stroke-opacity:.8;fill:#388e3c;fill-opacity:.2;stroke-dasharray:5,5;animation:dash 1s linear infinite}@keyframes dash{to{stroke-dashoffset:-10}}.status-indicator{align-items:center;display:inline-flex;font-size:12px;font-weight:500;gap:4px}.status-indicator.active{color:#388e3c}.status-indicator.inactive{color:#f57c00}.status-dot{background:currentColor;border-radius:50%;height:6px;width:6px}.geofence-loading{align-items:center;color:#999;display:flex;justify-content:center;padding:40px}.geofence-loading .ant-spin{margin-right:12px}.geofence-error{background:#ffebee;border:1px solid #ffccc7;border-radius:6px;color:#d32f2f;padding:16px;text-align:center}.geofence-error .anticon{font-size:24px;margin-bottom:8px}.geofence-empty{color:#999;padding:40px;text-align:center}.geofence-empty .anticon{color:#d9d9d9;font-size:48px;margin-bottom:16px}@media (max-width:768px){.geofence-stats{gap:12px;grid-template-columns:repeat(2,1fr)}.stat-card{padding:12px}.stat-card .stat-value{font-size:16px}.geofence-table .ant-table-tbody>tr>td,.geofence-table .ant-table-thead>tr>th{font-size:12px;padding:8px 4px}.action-buttons{flex-direction:column;gap:2px}.action-button{font-size:12px;padding:2px 4px}}@media (max-width:480px){.geofence-stats{grid-template-columns:1fr}.geofence-table{font-size:11px}.geofence-table .ant-table-tbody>tr>td,.geofence-table .ant-table-thead>tr>th{padding:6px 2px}}.fade-in{animation:fadeIn .3s ease-in}.slide-up{animation:slideUp .3s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.geofence-table .ant-table-body::-webkit-scrollbar{height:6px}.geofence-table .ant-table-body::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.geofence-table .ant-table-body::-webkit-scrollbar-thumb{background:#388e3c;border-radius:3px}.geofence-table .ant-table-body::-webkit-scrollbar-thumb:hover{background:#73d13d}.geo-maps-page{background:#fafbfc;min-height:100vh;padding:24px}.page-header{background:linear-gradient(135deg,#1976d2,#40a9ff);border-radius:12px;box-shadow:0 4px 12px #1890ff4d;color:#fff;margin-bottom:32px;text-align:center}.page-header h1{align-items:center;color:#fff;display:flex;font-size:32px;font-weight:600;gap:12px;justify-content:center;margin-bottom:8px}.page-header p{color:#ffffffe6;font-size:16px;margin:0}.main-card{border-radius:12px;box-shadow:0 4px 12px #00000008;overflow:hidden}.main-card .ant-card-body{padding:0}.main-card .ant-tabs{background:#fff}.main-card .ant-tabs-nav{background:#f9fafb;border-bottom:1px solid #f0f0f0;margin:0;padding:0 24px}.main-card .ant-tabs-tab{color:#6b7280;font-weight:500;padding:16px 24px;transition:all .3s ease}.main-card .ant-tabs-tab:hover{background:#1890ff0d;color:#1976d2}.main-card .ant-tabs-tab-active{background:#fff;border-bottom:2px solid #1976d2;color:#1976d2}.main-card .ant-tabs-tab-active .ant-tabs-tab-btn{color:#1976d2;font-weight:600}.main-card .ant-tabs-content-holder{background:#fff;padding:24px}.tab-content{min-height:500px}.geo-maps-loading{align-items:center;background:#fafbfc;display:flex;justify-content:center;min-height:100vh}.loading-content{background:#fff;border-radius:12px;box-shadow:0 4px 12px #00000008;padding:48px;text-align:center}.loading-content h3{color:#1976d2;font-size:20px;font-weight:600;margin:16px 0 8px}.loading-content p{color:#6b7280;font-size:14px;margin:0}.geo-maps-error{align-items:center;background:#fafbfc;display:flex;justify-content:center;min-height:100vh;padding:24px}.error-content{max-width:600px;text-align:center}.error-content h3{color:#d32f2f;font-size:20px;font-weight:600;margin:16px 0 8px}.error-content p{color:#6b7280;line-height:1.6;margin:16px 0}.error-content code{background:#fafbfc;border:1px solid #d9d9d9;border-radius:4px;color:#1976d2;display:block;font-family:Monaco,Menlo,Ubuntu Mono,monospace;margin:16px 0;padding:8px 12px}.feature-card{border-radius:12px;box-shadow:0 2px 8px #00000008;height:100%;transition:all .3s ease}.feature-card:hover{box-shadow:0 8px 24px #0000000d;transform:translateY(-4px)}.feature-content{padding:8px;text-align:center}.feature-icon{color:#1976d2;display:block;font-size:32px;margin-bottom:16px}.feature-content h4{color:#374151;font-size:16px;font-weight:600;margin-bottom:8px}.feature-content p{color:#6b7280;font-size:14px;line-height:1.5;margin:0}.analytics-placeholder{color:#6b7280;padding:48px;text-align:center}.analytics-placeholder h3{color:#1976d2;font-size:20px;font-weight:600;margin:16px 0 8px}.analytics-placeholder p{line-height:1.6;margin:16px 0 24px}.settings-placeholder{color:#6b7280;padding:48px;text-align:center}.settings-placeholder h3{color:#1976d2;font-size:20px;font-weight:600;margin:16px 0 8px}.settings-placeholder p{line-height:1.6;margin:16px 0 24px}@media (max-width:768px){.geo-maps-page{padding:16px}.page-header{margin-bottom:16px;padding:16px}.page-header h1{flex-direction:column;font-size:24px;gap:8px}.page-header p{font-size:14px}.main-card .ant-tabs-nav{padding:0 16px}.main-card .ant-tabs-tab{font-size:14px;padding:12px 16px}.main-card .ant-tabs-content-holder{padding:16px}.tab-content{min-height:400px}.feature-card{margin-bottom:16px}.feature-content{padding:16px}.feature-icon{font-size:24px;margin-bottom:12px}.feature-content h4{font-size:14px}.feature-content p{font-size:12px}}@media (max-width:480px){.geo-maps-page,.page-header{padding:12px}.page-header h1{font-size:20px}.main-card .ant-tabs-tab{font-size:12px;padding:8px 12px}.main-card .ant-tabs-content-holder{padding:12px}.tab-content{min-height:300px}.analytics-placeholder,.settings-placeholder{padding:24px}.analytics-placeholder h3,.settings-placeholder h3{font-size:18px}}.fade-in{animation:fadeIn .5s ease-in}.slide-in{animation:slideIn .5s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateX(-20px)}to{opacity:1;transform:translateX(0)}}.main-card .ant-tabs-content-holder::-webkit-scrollbar{width:6px}.main-card .ant-tabs-content-holder::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.main-card .ant-tabs-content-holder::-webkit-scrollbar-thumb{background:#1976d2;border-radius:3px}.main-card .ant-tabs-content-holder::-webkit-scrollbar-thumb:hover{background:#40a9ff}@media (prefers-color-scheme:dark){.geo-maps-page{background:#141414}.main-card{background:#1f1f1f;border-color:#303030}.main-card .ant-tabs-nav{background:#374151;border-bottom-color:#303030}.main-card .ant-tabs-tab{color:#d9d9d9}.feature-card,.main-card .ant-tabs-content-holder{background:#1f1f1f}.feature-card{border-color:#303030}.feature-content h4{color:#d9d9d9}.feature-content p{color:#6b7280}}.whatsapp-config{background:#f8f9fa;margin:0 auto;max-width:1400px;min-height:100vh;padding:2rem}.whatsapp-config-header{background:linear-gradient(135deg,#25d366,#128c7e);border-radius:16px;box-shadow:0 4px 12px #25d36626;color:#fff;margin-bottom:2rem;padding:2.5rem}.whatsapp-config-header h1{align-items:center;color:#fff;display:flex;font-size:2rem;font-weight:700;gap:.75rem;margin-bottom:.5rem}.whatsapp-config-header h1:before{content:"💬";font-size:2rem}.whatsapp-config-header p{color:#ffffffe6;font-size:1rem;margin:0}.loading{background:#fff;border-radius:12px;color:#666;padding:4rem}.alert,.loading{box-shadow:0 2px 8px #00000014}.alert{align-items:center;animation:slideDown .3s ease-out;border-radius:10px;display:flex;font-weight:500;gap:.75rem;margin-bottom:1.5rem;padding:1rem 1.25rem}.alert i{font-size:1.25rem}.alert-error{background:linear-gradient(135deg,#fef2f2,#fee2e2);border:1px solid #fca5a5;color:#dc2626}.alert-success{background:linear-gradient(135deg,#f0fdf4,#dcfce7);border:1px solid #86efac;color:#16a34a}.config-form{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 4px 16px #00000014;padding:2.5rem}.form-section{background:#fafbfc;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:2.5rem;padding:2rem}.form-section:last-of-type{margin-bottom:0}.form-section h2{align-items:center;border-bottom:2px solid #25d366;color:#1a1a1a;display:flex;font-size:1.5rem;font-weight:700;gap:.5rem;margin-bottom:1.5rem;padding-bottom:1rem}.form-section h2:before{content:"⚙️";font-size:1.5rem}.form-group{margin-bottom:1.5rem}.form-group.half-width{max-width:50%}.form-group label{color:#374151;font-size:.95rem;font-weight:600;margin-bottom:.5rem}.form-group small{color:#6b7280;display:block;font-size:.875rem;font-style:italic;margin-top:.375rem}.form-control{background:#fff;border:2px solid #e5e7eb;border-radius:8px;font-family:inherit;font-size:.95rem;padding:.75rem 1rem;transition:all .2s ease;width:100%}.form-control:hover{border-color:#d1d5db}.form-control:focus{background:#fafffe;border-color:#25d366;box-shadow:0 0 0 4px #25d3661a;outline:none}select.form-control{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='%23374151' d='M6 9 1 4h10z'/%3E%3C/svg%3E");background-position:right 1rem center;background-repeat:no-repeat;cursor:pointer;padding-right:2.5rem}.form-row{grid-gap:1.25rem;gap:1.25rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.checkbox-group{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:10px;display:inline-flex;margin:.5rem 0;padding:.875rem 1.25rem;transition:all .2s ease}.checkbox-group:hover{background:#f0fdf4;border-color:#25d366}.checkbox-group label{align-items:center;color:#1a1a1a;cursor:pointer;display:flex;font-size:1rem;font-weight:600;gap:.75rem;margin-bottom:0;-webkit-user-select:none;user-select:none}.checkbox-group input[type=checkbox]{accent-color:#25d366;border-radius:4px;cursor:pointer;height:22px;width:22px}.form-actions{border-top:2px solid #e5e7eb;gap:1rem;justify-content:flex-end;margin-top:2rem;padding-top:2rem}.btn{border-radius:8px;box-shadow:0 2px 6px #0000001a;font-size:1rem;font-weight:600;gap:.625rem;justify-content:center;min-width:160px;padding:.875rem 1.75rem;transition:all .2s ease}.btn:disabled{box-shadow:none;cursor:not-allowed;opacity:.6}.btn-primary{background:linear-gradient(135deg,#25d366,#1da851);border:none}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#1da851,#128c7e);box-shadow:0 4px 12px #25d3664d;transform:translateY(-2px)}.btn-primary:active:not(:disabled){transform:translateY(0)}.btn-secondary{background:#fff;border:2px solid #d1d5db;box-shadow:0 2px 6px #0000000f;color:#374151}.btn-secondary:hover:not(:disabled){background:#f9fafb;border-color:#9ca3af;box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.btn-secondary:active:not(:disabled){transform:translateY(0)}.btn i.fa-spinner{animation:spin 1s linear infinite}.config-help{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 4px 16px #00000014;margin-top:2rem;padding:2rem}.config-help h3{align-items:center;color:#1a1a1a;display:flex;font-size:1.5rem;font-weight:700;gap:.5rem;margin-bottom:1.5rem}.config-help h3:before{content:"💡";font-size:1.5rem}.help-content{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(350px,1fr))}.help-item{background:#fafbfc;border:1px solid #e5e7eb;border-radius:12px;padding:1.5rem;transition:all .2s ease}.help-item:hover{border-color:#25d366;box-shadow:0 4px 12px #25d3661a;transform:translateY(-2px)}.help-item h4{align-items:center;color:#25d366;display:flex;font-size:1.125rem;font-weight:700;gap:.5rem;margin-bottom:1rem}.help-item p{color:#4b5563;font-size:.95rem;line-height:1.7}.help-item a{border-bottom:1px solid #0000;color:#25d366;font-weight:600;text-decoration:none;transition:border-color .2s}.help-item a:hover{border-bottom-color:#25d366}@media (max-width:1024px){.whatsapp-config{padding:1.5rem}.config-form{padding:2rem}.form-section{padding:1.5rem}}@media (max-width:768px){.whatsapp-config{background:#fff;padding:1rem}.whatsapp-config-header{border-radius:12px;padding:1.5rem}.whatsapp-config-header h1{font-size:1.5rem}.whatsapp-config-header p{font-size:.875rem}.config-form{border-radius:12px;padding:1.5rem}.form-section{margin-bottom:1.5rem;padding:1.25rem}.form-section h2{font-size:1.25rem}.form-group.half-width{max-width:100%}.form-row{grid-template-columns:1fr}.form-actions{flex-direction:column-reverse;padding-top:1.5rem}.btn{justify-content:center;width:100%}.help-content{gap:1.5rem;grid-template-columns:1fr}.config-help{padding:1.5rem}}.whatsapp-templates{margin:0 auto;max-width:1400px;padding:24px}.templates-header{margin-bottom:32px}.templates-header h1{color:#1a1a1a;font-size:28px;font-weight:600;margin-bottom:8px}.templates-header p{color:#666;font-size:14px}.templates-filters{display:flex;gap:16px;margin-bottom:24px}.search-box{flex:1 1;max-width:400px;position:relative}.search-box i{color:#9ca3af;left:12px;position:absolute;top:50%;transform:translateY(-50%)}.search-box input{padding-left:40px}.templates-grid{grid-gap:24px;gap:24px;margin-bottom:32px}.template-card{box-shadow:0 1px 3px #0000001a;transition:box-shadow .2s}.template-card:hover{box-shadow:0 4px 6px #0000001a}.template-header h3{color:#1a1a1a;font-size:18px;font-weight:600;margin-bottom:8px}.category-badge{border-radius:12px;display:inline-block;font-size:12px;font-weight:500;padding:4px 12px;text-transform:capitalize}.category-badge.marketing{background-color:#dbeafe;color:#1e40af}.category-badge.transactional{background-color:#fef3c7;color:#92400e}.category-badge.notification{background-color:#e0e7ff;color:#3730a3}.category-badge.reminder{background-color:#fce7f3;color:#9f1239}.category-badge.follow_up{background-color:#d1fae5;color:#065f46}.category-badge.welcome{background-color:#cffafe;color:#155e75}.category-badge.promotion{background-color:#fed7aa;color:#9a3412}.btn-icon{align-items:center;background:#f3f4f6;border-radius:6px;display:flex;height:32px;justify-content:center;transition:background-color .2s;width:32px}.btn-icon:hover{background:#e5e7eb}.btn-icon.delete:hover{background:#fee2e2;color:#dc2626}.template-content{margin-bottom:16px}.description{color:#666;font-size:14px;margin-bottom:12px}.message-preview{background:#f9fafb;border-left:3px solid #25d366;border-radius:6px;margin-bottom:12px;padding:12px}.preview-label{color:#666;font-size:12px;margin-bottom:4px}.preview-text{color:#1a1a1a;font-size:14px;white-space:pre-wrap;word-break:break-word}.tags-list,.variables-list{margin-top:12px}.variables-list strong{color:#666;font-size:12px;margin-right:8px}.variable-tag{background:#ede9fe;color:#5b21b6;display:inline-block;font-size:11px;margin-right:4px;padding:2px 8px}.tags-list{display:flex;flex-wrap:wrap;gap:6px}.tag{background:#f3f4f6;border-radius:12px;color:#374151;display:inline-block;font-size:12px;padding:4px 10px}.template-footer{border-top:1px solid #e5e7eb;justify-content:space-between;padding-top:16px}.template-footer,.usage-count{align-items:center;display:flex}.usage-count{color:#666;font-size:13px;gap:6px}.status-badge.draft{background-color:#f3f4f6;color:#374151}.status-badge.approved{background-color:#d1fae5;color:#065f46}.status-badge.pending{background-color:#fef3c7;color:#92400e}.status-badge.rejected{background-color:#fee2e2;color:#991b1b}.empty-state{padding:64px 24px}.empty-state h3{font-size:20px;margin-bottom:8px}.empty-state p{margin-bottom:24px}.modal-overlay{padding:20px}.modal-content{box-shadow:0 20px 25px -5px #0000001a;max-width:900px;width:100%}.modal-header{border-bottom:1px solid #e5e7eb;padding:24px}.modal-header h2{color:#1a1a1a;font-size:24px;font-weight:600}.close-btn{align-items:center;background:#f3f4f6;border:none;border-radius:6px;cursor:pointer;display:flex;height:36px;justify-content:center;transition:background-color .2s;width:36px}.close-btn:hover{background:#e5e7eb}.template-form{padding:24px}.tags-section,.variables-section{border-top:1px solid #e5e7eb;margin-top:24px;padding-top:24px}.tags-section h3,.variables-section h3{color:#1a1a1a;font-size:16px;font-weight:600;margin-bottom:16px}.variables-list-edit{margin-bottom:16px}.variable-item{background:#f9fafb;border-radius:6px;justify-content:space-between;margin-bottom:8px;padding:12px}.variable-info{align-items:center;display:flex;gap:12px}.variable-info strong{color:#5b21b6;font-family:monospace}.variable-info span{color:#666;font-size:14px}.required-badge{background:#fee2e2;border-radius:4px;color:#991b1b;font-size:11px;font-weight:500;padding:2px 6px}.variable-actions{display:flex;gap:6px}.add-tag,.add-variable{display:flex;gap:12px}.add-variable .form-row{flex:1 1}.tags-list-edit{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.tag-item{align-items:center;background:#f3f4f6;border-radius:12px;color:#374151;display:inline-flex;font-size:13px;gap:6px;padding:6px 12px}.tag-item button{align-items:center;background:none;border:none;color:#9ca3af;cursor:pointer;display:flex;height:16px;justify-content:center;padding:0;width:16px}.tag-item button:hover{color:#dc2626}.modal-actions{border-top:1px solid #e5e7eb;display:flex;gap:12px;justify-content:flex-end;margin-top:24px;padding-top:24px}.pagination{align-items:center;display:flex;gap:16px;justify-content:center;margin-top:32px}.page-info{color:#666;font-size:14px}@media (max-width:768px){.whatsapp-templates{padding:16px}.templates-header{align-items:flex-start;gap:16px}.templates-filters,.templates-header{flex-direction:column}.search-box{max-width:none}.templates-grid{grid-template-columns:1fr}.modal-content{max-height:95vh}.add-variable .form-row,.modal-actions{flex-direction:column}.modal-actions button{width:100%}}.whatsapp-campaigns{margin:0 auto;max-width:1400px;padding:24px}.campaigns-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:32px}.campaigns-header h1{color:#1a1a1a;font-size:28px;font-weight:600;margin-bottom:8px}.campaigns-header p{color:#666;font-size:14px}.campaigns-filters{display:flex;gap:16px;margin-bottom:24px}.campaigns-list{grid-gap:20px;display:grid;gap:20px;margin-bottom:32px}.campaign-card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:24px;transition:box-shadow .2s}.campaign-card:hover{box-shadow:0 4px 6px #0000001a}.campaign-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:16px}.campaign-header h3{color:#1a1a1a;font-size:20px;font-weight:600;margin-bottom:8px}.status-badge{display:inline-block;text-transform:capitalize}.status-badge.gray{background-color:#f3f4f6;color:#374151}.status-badge.blue{background-color:#dbeafe;color:#1e40af}.status-badge.green{background-color:#d1fae5;color:#065f46}.status-badge.yellow{background-color:#fef3c7;color:#92400e}.status-badge.purple{background-color:#ede9fe;color:#5b21b6}.status-badge.red{background-color:#fee2e2;color:#991b1b}.status-badge.orange{background-color:#fed7aa;color:#9a3412}.campaign-actions{display:flex;gap:8px}.btn-success{background-color:#22c55e;color:#fff}.btn-success:hover{background-color:#16a34a}.btn-warning{background-color:#f59e0b;color:#fff}.btn-warning:hover{background-color:#d97706}.btn-danger{background-color:#ef4444;color:#fff}.btn-danger:hover{background-color:#dc2626}.campaign-description{color:#666;font-size:14px;margin-bottom:20px}.campaign-stats{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(5,1fr);margin-bottom:16px}.stat-item{background:#f9fafb;border-radius:8px;padding:12px;text-align:center}.stat-label{display:block;font-size:12px}.stat-value{display:block;font-size:20px;font-weight:600}.progress-bar{background:#f3f4f6;border-radius:6px;height:32px;margin-bottom:16px;overflow:hidden;position:relative}.progress-fill{background:linear-gradient(90deg,#25d366,#1da851);height:100%;left:0;position:absolute;top:0;transition:width .3s}.progress-text{color:#1a1a1a;font-size:13px;font-weight:500;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:1}.campaign-footer{border-top:1px solid #e5e7eb;padding-top:16px}.campaign-date{align-items:center;color:#666;display:inline-flex;font-size:13px;gap:6px}.campaign-form{padding:24px}.modal-content.large{max-width:1000px}.form-section{border-bottom:1px solid #e5e7eb;margin-bottom:32px;padding-bottom:24px}.form-section:last-of-type{border-bottom:none}.form-section h3{color:#1a1a1a;font-size:18px;font-weight:600;margin-bottom:20px}.leads-selection{margin-top:16px}.leads-list{border:1px solid #e5e7eb;border-radius:8px;max-height:300px;overflow-y:auto;padding:12px}.lead-item{border-bottom:1px solid #f3f4f6;padding:12px}.lead-item:last-child{border-bottom:none}.lead-item label{align-items:center;cursor:pointer;display:flex;gap:12px;margin-bottom:0}.lead-item input[type=checkbox]{accent-color:#25d366;cursor:pointer;height:18px;width:18px}.lead-info{flex:1 1}.lead-info strong{color:#1a1a1a;display:block;margin-bottom:4px}.lead-info small{color:#666;font-size:12px}.selection-count{color:#25d366;font-size:14px;font-weight:500;margin-top:12px}.import-section{margin-top:16px}.import-summary{background:#d1fae5;border-radius:6px;color:#065f46;font-size:14px;margin-top:12px;padding:12px}@media (max-width:768px){.whatsapp-campaigns{padding:16px}.campaigns-header{align-items:flex-start;gap:16px}.campaigns-filters,.campaigns-header{flex-direction:column}.campaign-stats{grid-template-columns:repeat(2,1fr)}.campaign-actions{flex-wrap:wrap}.modal-content.large{max-height:95vh}}.campaign-monitor{margin:0 auto;max-width:1400px;padding:24px}.monitor-header{align-items:flex-start;border-bottom:2px solid #e5e7eb;display:flex;justify-content:space-between;margin-bottom:32px;padding-bottom:24px}.monitor-header h1{color:#1a1a1a;font-size:28px;font-weight:600;margin-bottom:8px}.monitor-header p{color:#666;font-size:14px;margin-bottom:12px}.header-actions{display:flex;gap:12px}.stats-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:32px}.stat-card{background:#fff;box-shadow:0 1px 3px #0000001a;gap:16px;padding:20px}.stat-card,.stat-icon{align-items:center;border-radius:12px;display:flex}.stat-icon{color:#fff;font-size:20px;height:48px;justify-content:center;width:48px}.stat-icon.recipients{background:linear-gradient(135deg,#667eea,#764ba2)}.stat-icon.sent{background:linear-gradient(135deg,#f093fb,#f5576c)}.stat-icon.delivered{background:linear-gradient(135deg,#4facfe,#00f2fe)}.stat-icon.read{background:linear-gradient(135deg,#43e97b,#38f9d7)}.stat-icon.failed{background:linear-gradient(135deg,#fa709a,#fee140)}.stat-icon.response{background:linear-gradient(135deg,#30cfd0,#330867)}.stat-content{flex:1 1}.stat-label{color:#666;font-size:13px;margin-bottom:4px}.stat-value{color:#1a1a1a;font-size:28px;font-weight:700}.metrics-section{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-bottom:32px;padding:24px}.metrics-section h2{color:#1a1a1a;font-size:20px;font-weight:600;margin-bottom:24px}.metrics-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.metric-card{background:#f9fafb;border-radius:8px;padding:16px}.metric-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.metric-header span:first-child{color:#666;font-size:14px}.metric-value{color:#1a1a1a;font-size:20px;font-weight:600}.metric-bar{background:#e5e7eb;border-radius:4px;height:8px;overflow:hidden}.metric-fill{height:100%;transition:width .3s}.metric-fill.success{background:linear-gradient(90deg,#10b981,#059669)}.metric-fill.delivery{background:linear-gradient(90deg,#3b82f6,#2563eb)}.metric-fill.read{background:linear-gradient(90deg,#8b5cf6,#7c3aed)}.metric-fill.response{background:linear-gradient(90deg,#f59e0b,#d97706)}.messages-section{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-bottom:32px;padding:24px}.messages-section h2{color:#1a1a1a;font-size:20px;font-weight:600;margin-bottom:24px}.empty-messages{color:#666;padding:48px;text-align:center}.empty-messages i{color:#d1d5db;font-size:48px;margin-bottom:16px}.messages-table{overflow-x:auto}.messages-table table{border-collapse:collapse;width:100%}.messages-table th{background:#f9fafb;border-bottom:2px solid #e5e7eb;color:#374151;font-size:13px;font-weight:600;padding:12px 16px;text-align:left}.messages-table td{border-bottom:1px solid #f3f4f6;color:#1a1a1a;font-size:14px;padding:12px 16px}.messages-table tr:hover{background:#f9fafb}.error-cell{color:#ef4444;text-align:center}.details-section{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:24px}.details-section h2{color:#1a1a1a;font-size:20px;font-weight:600;margin-bottom:24px}.details-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.detail-item{display:flex;flex-direction:column;gap:8px}.detail-label{color:#666;font-size:13px;font-weight:500}.detail-value{color:#1a1a1a;font-size:15px;font-weight:500}@media (max-width:768px){.campaign-monitor{padding:16px}.monitor-header{flex-direction:column;gap:16px}.header-actions{flex-wrap:wrap;width:100%}.header-actions button{flex:1 1;min-width:120px}.metrics-grid,.stats-grid{grid-template-columns:1fr}.messages-table{font-size:12px}.messages-table td,.messages-table th{padding:8px 12px}}.whatsapp-analytics{margin:0 auto;max-width:1400px;padding:24px}.analytics-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:32px}.analytics-header h1{color:#1a1a1a;font-size:28px;font-weight:600;margin-bottom:8px}.analytics-header p{color:#666;font-size:14px}.date-range-filter{align-items:center;display:flex;gap:12px}.date-range-filter span{color:#666;font-size:14px}.date-range-filter .form-control{width:160px}.overview-cards{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:32px}.overview-card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;display:flex;gap:16px;padding:20px;transition:transform .2s,box-shadow .2s}.overview-card:hover{box-shadow:0 4px 6px #00000026;transform:translateY(-2px)}.card-icon{align-items:center;border-radius:12px;color:#fff;display:flex;font-size:24px;height:56px;justify-content:center;width:56px}.overview-card.campaigns .card-icon{background:linear-gradient(135deg,#667eea,#764ba2)}.overview-card.messages .card-icon{background:linear-gradient(135deg,#f093fb,#f5576c)}.overview-card.delivery .card-icon{background:linear-gradient(135deg,#4facfe,#00f2fe)}.overview-card.read .card-icon{background:linear-gradient(135deg,#43e97b,#38f9d7)}.overview-card.response .card-icon{background:linear-gradient(135deg,#fa709a,#fee140)}.overview-card.cost .card-icon{background:linear-gradient(135deg,#30cfd0,#330867)}.card-content{flex:1 1}.card-label{color:#666;font-size:13px;margin-bottom:8px}.card-value{color:#1a1a1a;font-size:32px;font-weight:700;margin-bottom:4px}.card-detail{color:#9ca3af;font-size:12px}.analytics-section{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-bottom:24px;padding:24px}.analytics-section h2{color:#1a1a1a;font-size:20px;font-weight:600;margin-bottom:24px}.performance-chart{display:flex;flex-direction:column;gap:16px}.chart-bar{grid-gap:16px;align-items:center;display:grid;gap:16px;grid-template-columns:100px 1fr}.bar-label{color:#374151;font-size:14px;font-weight:500;text-align:right}.bar-container{background:#f3f4f6;border-radius:8px;height:40px;overflow:hidden;position:relative}.bar-fill{align-items:center;display:flex;height:100%;justify-content:flex-end;left:0;padding:0 12px;position:absolute;top:0;transition:width .5s ease}.bar-fill.sent{background:linear-gradient(90deg,#8b5cf6,#7c3aed)}.bar-fill.delivered{background:linear-gradient(90deg,#3b82f6,#2563eb)}.bar-fill.read{background:linear-gradient(90deg,#10b981,#059669)}.bar-fill.failed{background:linear-gradient(90deg,#ef4444,#dc2626)}.bar-value{color:#fff;font-size:14px;font-weight:600;white-space:nowrap}.insights-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.insight-card{background:#f9fafb;gap:16px;padding:20px}.insight-card,.insight-icon{border-radius:12px;display:flex}.insight-icon{align-items:center;color:#fff;flex-shrink:0;font-size:20px;height:48px;justify-content:center;width:48px}.insight-icon.success{background:linear-gradient(135deg,#10b981,#059669)}.insight-icon.info{background:linear-gradient(135deg,#3b82f6,#2563eb)}.insight-icon.warning{background:linear-gradient(135deg,#f59e0b,#d97706)}.insight-content h3{color:#1a1a1a;font-size:16px;font-weight:600;margin-bottom:8px}.insight-content p{color:#666;font-size:14px;line-height:1.5}.cost-breakdown{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.cost-item{background:#f9fafb;border-radius:8px;display:flex;flex-direction:column;gap:8px;padding:16px}.cost-label{color:#666;font-size:13px;font-weight:500}.cost-value{color:#1a1a1a;font-size:24px;font-weight:700}.cost-value.highlight{color:#25d366}@media (max-width:768px){.whatsapp-analytics{padding:16px}.analytics-header{align-items:flex-start;flex-direction:column;gap:16px}.date-range-filter{align-items:stretch;flex-direction:column}.date-range-filter .form-control{width:100%}.overview-cards{grid-template-columns:1fr}.chart-bar{grid-template-columns:80px 1fr}.cost-breakdown,.insights-grid{grid-template-columns:1fr}}.notification-settings{margin:0 auto;max-width:1400px;padding:24px}.settings-header{align-items:center;display:flex;justify-content:space-between}.settings-header h1{color:#1a1a1a;font-size:28px;font-weight:600;margin-bottom:8px}.settings-header p{color:#666;font-size:14px}.btn-lg{font-size:16px;padding:14px 28px}.empty-state{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:80px 24px}.empty-state i{color:#d1d5db;font-size:72px;margin-bottom:24px}.empty-state h3{color:#1a1a1a;font-size:24px;margin-bottom:12px}.empty-state p{color:#666;font-size:16px}.empty-state p,.notifications-container{margin-bottom:32px}.notification-category{margin-bottom:40px}.category-title{border-bottom:2px solid #e5e7eb;color:#1a1a1a;font-size:20px;font-weight:600;margin-bottom:20px;padding-bottom:12px}.notifications-grid{grid-gap:20px;display:grid;gap:20px}.notification-card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:24px;transition:box-shadow .2s}.notification-card:hover{box-shadow:0 4px 6px #0000001a}.notification-header{justify-content:space-between;margin-bottom:16px}.event-info,.notification-header{align-items:flex-start;display:flex}.event-info{flex:1 1;gap:16px}.event-icon{flex-shrink:0;font-size:32px}.event-info h3{color:#1a1a1a;font-size:18px;font-weight:600;margin-bottom:6px}.event-info p{color:#666;font-size:14px;line-height:1.5}.toggle-switch{flex-shrink:0;height:30px;width:56px}.toggle-slider{border-radius:30px}.toggle-slider:before{height:22px;width:22px}.toggle-switch input:checked+.toggle-slider{background-color:#25d366}.toggle-switch input:checked+.toggle-slider:before{transform:translateX(26px)}.notification-config{animation:slideDown .3s ease;border-top:1px solid #f3f4f6;padding-top:16px}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.notification-config .form-group{margin-bottom:12px}.notification-config label{color:#374151;display:block;font-size:13px;font-weight:500;margin-bottom:8px}.notification-config small{display:block;font-size:12px;margin-top:6px}.notification-config small.warning{color:#f59e0b}.notification-info{margin-top:12px}.info-badge{align-items:center;background:#eff6ff;border-radius:6px;color:#1e40af;display:inline-flex;font-size:13px;gap:8px;padding:8px 12px}.help-section{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:32px}.help-section h3{color:#1a1a1a;font-size:20px;font-weight:600;margin-bottom:24px}.help-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:24px}.help-item{display:flex;gap:16px}.help-icon{flex-shrink:0;font-size:32px}.help-item h4{color:#1a1a1a;font-size:16px;font-weight:600;margin-bottom:8px}.help-item p{color:#666;font-size:14px;line-height:1.5}.help-note{align-items:flex-start;background:#fef3c7;border-left:4px solid #f59e0b;border-radius:8px;color:#92400e;display:flex;font-size:14px;gap:12px;padding:16px}.help-note i{flex-shrink:0;font-size:18px;margin-top:2px}.help-note strong{margin-right:6px}@media (max-width:768px){.notification-settings{padding:16px}.settings-header{align-items:flex-start;flex-direction:column;gap:16px}.settings-header button{width:100%}.notification-header{flex-direction:column;gap:16px}.help-grid{grid-template-columns:1fr}}.notification-templates{margin:0 auto;max-width:1400px;padding:24px}.templates-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:24px}.templates-header h2{color:#333;font-size:28px;margin:0}.templates-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.template-card{background:#fff;border:1px solid #e0e0e0;border-radius:12px;padding:20px;transition:all .3s ease}.template-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.template-card.inactive{background:#f9f9f9;opacity:.6}.template-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:16px}.template-info h3{color:#333;font-size:18px;margin:0 0 8px}.template-info .badge{border-radius:4px;display:inline-block;font-size:12px;font-weight:500;margin-bottom:4px;margin-right:6px;padding:4px 8px}.badge-new_lead{background:#e3f2fd;color:#1976d2}.badge-followup_reminder{background:#fff3e0;color:#f57c00}.badge-attendance_update{background:#e8f5e9;color:#388e3c}.badge-followup_overdue{background:#ffebee;color:#d32f2f}.badge-lead_meeting{background:#f3e5f5;color:#7b1fa2}.badge-leave_request{background:#e1f5fe;color:#0288d1}.badge-leave_status_update{background:#fce4ec;color:#c2185b}.badge-general{background:#f5f5f5;color:#616161}.badge-low{background:#f5f5f5;color:#757575}.badge-normal{background:#e3f2fd;color:#1976d2}.badge-high{background:#fff3e0;color:#f57c00}.badge-urgent{background:#ffebee;color:#d32f2f}.template-actions{display:flex;gap:8px}.btn-toggle{background:none;border:none;color:#ccc;cursor:pointer;font-size:24px;transition:color .2s}.btn-toggle.active{color:#4caf50}.btn-icon{background:none;border:none;color:#666;cursor:pointer;font-size:16px;padding:6px;transition:color .2s}.btn-icon:hover{color:#333}.btn-icon.btn-delete:hover{color:#d32f2f}.template-content{font-size:14px}.template-body,.template-title{line-height:1.5;margin-bottom:12px}.template-body strong,.template-title strong{color:#666;display:block;margin-bottom:4px}.template-variables{margin-top:12px}.variables-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.variable-tag{background:#f0f0f0;border-radius:4px;color:#666;font-family:monospace;font-size:12px;padding:4px 8px}.empty-state{color:#999;padding:60px 20px;text-align:center}.empty-state i{font-size:64px;margin-bottom:16px}.empty-state p{font-size:18px;margin-bottom:20px}.modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.modal-content{background:#fff;border-radius:12px;box-shadow:0 8px 32px #0003;max-height:90vh;max-width:700px;overflow-y:auto;width:90%}.modal-header{align-items:center;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;padding:20px 24px}.modal-header h3{color:#333;margin:0}.btn-close{background:none;border:none;color:#999;cursor:pointer;font-size:24px;padding:0}.btn-close:hover{color:#333}.modal-body{padding:24px}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px}.form-group input,.form-group select,.form-group textarea{border:1px solid #ddd;border-radius:6px;font-family:inherit;font-size:14px;padding:10px 12px;transition:border-color .2s;width:100%}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#1976d2;outline:none}.form-row{grid-gap:16px;gap:16px}.template-editor{position:relative}.variable-buttons{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.btn-variable{background:#f0f0f0;border:1px solid #ddd;border-radius:4px;cursor:pointer;font-family:monospace;font-size:12px;padding:4px 8px}.btn-variable:hover{background:#e0e0e0}.variables-manager{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.variable-item{align-items:center;background:#f0f0f0;border-radius:4px;display:flex;gap:6px;padding:6px 10px}.variable-item span{font-family:monospace;font-size:13px}.btn-remove{background:none;border:none;color:#d32f2f;cursor:pointer;font-size:14px;padding:0}.checkbox-label input[type=checkbox]{width:auto}.modal-footer{border-top:1px solid #e0e0e0;display:flex;gap:12px;justify-content:flex-end;margin-top:20px;padding-top:20px}.btn-primary:hover{background:#1565c0}.btn-secondary{background:#f0f0f0}.btn-secondary:hover{background:#e0e0e0}.btn-sm{font-size:13px;padding:6px 12px}.notification-settings-page{margin:0 auto;max-width:1200px;padding:24px}.settings-section{border-bottom:1px solid #e0e0e0}.settings-section:last-child{border-bottom:none}.settings-section h3{align-items:center;color:#333;display:flex;font-size:20px;gap:8px;margin:0 0 8px}.section-description{margin:0 0 24px}.form-group label{color:#666;font-size:13px}.form-group input[type=time]{border:1px solid #ddd;border-radius:6px;font-size:14px;padding:8px 12px}.form-group input[type=time]:focus{border-color:#1976d2;outline:none}.section-header>div{flex:1 1}.section-header .btn-secondary{flex-shrink:0}.info-section{background:#f0f7ff}.info-box{background:#fff;gap:12px;padding:16px}.info-label{min-width:120px}.firebase-config-form .form-group{display:flex;flex-direction:column;gap:8px}.firebase-config-form .form-group label{align-items:center;color:#333;display:flex;font-size:14px;font-weight:500;gap:4px}.warning-box ul{color:#666;margin:0;padding-left:20px}.warning-box li{font-size:13px;margin-bottom:4px}.settings-footer{background:#f9f9f9;padding:24px 32px}.error-box,.success-box{margin-top:12px}.warning-box ol{color:#666;margin:8px 0;padding-left:20px}.warning-box ol li{font-size:13px;line-height:1.5;margin-bottom:6px}@media (max-width:768px){.notification-settings-page{padding:16px}.settings-section{padding:20px}.section-header{flex-direction:column;gap:16px}.section-header .btn-secondary{align-self:flex-start}.setting-item{align-items:flex-start;flex-direction:column;gap:12px}.quiet-hours-config{grid-template-columns:1fr}.form-actions{flex-direction:column}.form-actions .btn{justify-content:center;width:100%}.info-label{min-width:100px}.settings-footer{padding:16px 20px}.upload-method-toggle{flex-direction:column}.method-btn{width:100%}}.platform-config-page{margin:0 auto;max-width:1400px;padding:24px}.settings-header{margin-bottom:32px}.settings-header h2{color:#333;font-size:28px;margin:0 0 8px}.settings-description{color:#666;font-size:14px;margin:0}.settings-content{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;overflow:hidden}.platform-tabs{padding:0}.platform-tabs .ant-tabs-nav{background:#fafafa;border-bottom:2px solid #e0e0e0;margin:0;padding:0 32px}.platform-tabs .ant-tabs-tab{font-size:15px;font-weight:500;padding:16px 24px}.platform-tabs .ant-tabs-tab i{font-size:16px;margin-right:8px}.platform-tabs .ant-tabs-content{padding:0}.settings-section{padding:32px}.section-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:24px}.section-header h3{align-items:center;color:#333;display:flex;font-size:20px;gap:10px;margin:0 0 8px}.section-header h3 i{color:#1976d2}.section-description{color:#666;font-size:14px;margin:0}.info-box{background:#f9f9f9;border:1px solid #e0e0e0;border-radius:8px;display:flex;flex-direction:column;gap:16px;padding:20px}.info-item{align-items:center;display:flex;font-size:14px;gap:12px}.info-label{color:#666;font-weight:500;min-width:140px}.status-badge{border-radius:12px;font-size:12px;font-weight:500;padding:4px 12px}.status-badge.active{background:#e8f5e9;color:#2e7d32}.status-badge.inactive{background:#ffebee;color:#c62828}.info-help{align-items:center;display:flex;font-size:14px;gap:8px}.info-help,.info-help i{color:#f57c00}.firebase-config-form{display:flex;flex-direction:column;gap:20px}.form-row{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 1fr}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{align-items:center;color:#333;display:flex;font-size:14px;font-weight:500;gap:4px}.required{color:#d32f2f;font-weight:700}.form-input{border:1px solid #ddd;border-radius:6px;font-family:inherit;font-size:14px;padding:10px 12px;transition:border-color .2s}.form-input:focus{border-color:#1976d2;box-shadow:0 0 0 3px #1976d21a;outline:none}.form-input[readonly]{background:#f5f5f5;cursor:not-allowed}.input-help{color:#999;font-size:12px;font-style:italic}.checkbox-label{align-items:center;color:#333;cursor:pointer;display:flex;font-size:14px;gap:8px}.checkbox-label input[type=checkbox]{cursor:pointer;height:18px;width:18px}.platform-section{background:#f9f9f9;border-left:3px solid #1976d2;border-radius:8px;padding:20px}.platform-section h4{align-items:center;color:#333;display:flex;font-size:16px;gap:8px;margin:0 0 16px}.platform-section h4 i{color:#1976d2;font-size:18px}.upload-method-toggle{background:#f9f9f9;border:1px solid #ddd;border-radius:8px;display:flex;gap:8px;padding:4px}.method-btn{align-items:center;background:#0000;border:none;border-radius:6px;color:#666;cursor:pointer;display:flex;flex:1 1;font-size:14px;font-weight:500;gap:8px;justify-content:center;padding:10px 16px;transition:all .2s}.method-btn:hover{background:#fff;color:#333}.method-btn.active{background:#1976d2;box-shadow:0 2px 4px #1976d233;color:#fff}.method-btn i{font-size:16px}.file-upload-container{position:relative}.file-input{height:0;opacity:0;position:absolute;width:0}.file-upload-label{align-items:center;background:#fafafa;border:2px dashed #ddd;border-radius:8px;color:#666;cursor:pointer;display:flex;font-size:14px;gap:10px;justify-content:center;padding:16px;transition:all .2s}.file-upload-label:hover{background:#f0f7ff;border-color:#1976d2;color:#1976d2}.file-upload-label i{color:#1976d2;font-size:20px}.form-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}.btn{align-items:center;border:none;border-radius:6px;cursor:pointer;display:inline-flex;font-size:14px;font-weight:500;gap:8px;padding:10px 20px;transition:all .2s}.btn-primary{background:#1976d2;color:#fff}.btn-primary:hover:not(:disabled){background:#1565c0;box-shadow:0 2px 8px #1976d24d}.btn-primary:disabled{background:#ccc}.btn-secondary{background:#f5f5f5;border:1px solid #ddd;color:#333}.btn-secondary:hover:not(:disabled){background:#e0e0e0}.btn-secondary:disabled{background:#f9f9f9;color:#999;cursor:not-allowed}.btn-test{background:#4caf50;color:#fff}.btn-test:hover:not(:disabled){background:#45a049;box-shadow:0 2px 8px #4caf504d}.btn-test:disabled{background:#ccc;cursor:not-allowed}.btn-large{font-size:15px;padding:12px 32px}.btn i{font-size:14px}.btn .fa-spinner{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.success-box{align-items:center;background:#e8f5e9;border:1px solid #81c784;border-radius:6px;color:#2e7d32;display:flex;font-size:14px;gap:10px;padding:12px 16px}.success-box i{color:#2e7d32;font-size:18px}.error-box{align-items:center;background:#ffebee;border:1px solid #e57373;border-radius:6px;color:#c62828;display:flex;font-size:14px;gap:10px;padding:12px 16px}.error-box i{color:#c62828;font-size:18px}.warning-box{align-items:flex-start;background:#fff8e1;border:1px solid #ffd54f;display:flex;gap:12px;padding:16px}.warning-box i{color:#f57c00;flex-shrink:0;font-size:20px;margin-top:2px}.warning-box strong{color:#f57c00;display:block;margin-bottom:8px}.warning-box ol,.warning-box ul{color:#666;margin:8px 0;padding-left:20px}.warning-box ol li,.warning-box ul li{font-size:13px;line-height:1.5;margin-bottom:6px}.settings-group{display:flex;flex-direction:column;gap:20px}.setting-item{align-items:center;background:#f9f9f9;border-radius:8px;display:flex;justify-content:space-between;padding:16px;transition:background .2s}.setting-item:hover{background:#f5f5f5}.setting-info{flex:1 1}.setting-info label{color:#333;display:block;font-size:15px;font-weight:500;margin-bottom:4px}.setting-info label i{color:#1976d2;margin-right:8px;width:20px}.setting-help{color:#999;display:block;font-size:13px}.toggle-switch{display:inline-block;height:28px;position:relative;width:52px}.toggle-switch input{height:0;opacity:0;width:0}.toggle-slider{background-color:#ccc;border-radius:28px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}.toggle-slider:before{background-color:#fff;border-radius:50%;bottom:4px;content:"";height:20px;left:4px;position:absolute;transition:.4s;width:20px}.toggle-switch input:checked+.toggle-slider{background-color:#4caf50}.toggle-switch input:disabled+.toggle-slider{background-color:#e0e0e0;cursor:not-allowed}.toggle-switch input:checked+.toggle-slider:before{transform:translateX(24px)}.quiet-hours-config{grid-gap:16px;background:#fff;border-radius:8px;display:grid;gap:16px;grid-template-columns:1fr 1fr;margin-top:16px;padding:16px}.quiet-hours-config .form-group label{color:#666;font-size:13px;font-weight:500}.quiet-hours-config .form-group input[type=time]{border:1px solid #ddd;border-radius:6px;font-size:14px;padding:8px 12px}.quiet-hours-config .form-group input[type=time]:focus{border-color:#1976d2;outline:none}.number-input{border:1px solid #ddd;border-radius:6px;font-size:14px;padding:8px 12px;text-align:center;width:120px}.number-input:focus{border-color:#1976d2;outline:none}.settings-footer{display:flex;justify-content:flex-end;padding:24px 0 0}.loading{color:#999;font-size:18px;padding:60px 20px;text-align:center}@media (max-width:992px){.platform-config-page{padding:16px}.settings-section{padding:20px}.form-row{grid-template-columns:1fr}.section-header{flex-direction:column;gap:16px}.section-header .btn-secondary{align-self:flex-start}}@media (max-width:768px){.settings-header h2{font-size:24px}.platform-tabs .ant-tabs-nav{padding:0 16px}.platform-tabs .ant-tabs-tab{font-size:14px;padding:12px 16px}.form-actions{flex-direction:column}.form-actions .btn{justify-content:center;width:100%}.setting-item{align-items:flex-start;flex-direction:column;gap:12px}.quiet-hours-config{grid-template-columns:1fr}.info-label{min-width:100px}.upload-method-toggle{flex-direction:column}.method-btn{width:100%}}.firebase-config-form{animation:fadeIn .3s ease-out}.all-notifications-page{margin:0 auto;max-width:1400px;padding:24px}.header-content h2{align-items:center;color:#262626;display:flex;gap:12px;margin-bottom:8px}.notifications-card{border-radius:8px;box-shadow:0 2px 8px #00000014}.notifications-toolbar{align-items:center;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;margin-bottom:24px}.toolbar-left{flex:0 0 auto}.toolbar-right{align-items:center;display:flex;flex-wrap:wrap;gap:12px}.notifications-content{min-height:400px}.loading-container{align-items:center;display:flex;justify-content:center;padding:80px 0}.notification-list-item{background-color:#fff;border-bottom:1px solid #f0f0f0;cursor:pointer;padding:16px 20px!important;transition:all .2s}.notification-list-item:hover{background-color:#fafafa}.notification-list-item.unread{background-color:#e6f7ff;border-left:3px solid #1890ff}.notification-list-item.unread:hover{background-color:#d4efff}.notification-avatar{align-items:center;background-color:#f5f5f5;border-radius:50%;display:flex;font-size:28px;height:48px;justify-content:center;width:48px}.notification-item-title{align-items:center;color:#262626;display:flex;font-size:15px;font-weight:500;gap:8px}.unread-indicator{background-color:#1890ff;border-radius:50%;flex-shrink:0;height:8px;width:8px}.notification-item-description{margin-top:4px}.notification-item-description>span{color:#595959;display:block;font-size:14px;line-height:1.5;margin-bottom:8px}.notification-item-meta{align-items:center;display:flex;gap:12px;margin-top:8px}.notification-time{font-size:12px}.notification-priority-tag{font-size:11px;line-height:20px;margin:0;padding:0 8px}.load-more-container{border-top:1px solid #f0f0f0;padding:24px 0;text-align:center}.ant-segmented{background-color:#f5f5f5;padding:2px}.ant-segmented-item-selected{background-color:#fff;box-shadow:0 2px 4px #0000001a}.ant-empty{padding:60px 0}@media (max-width:992px){.notifications-toolbar{align-items:stretch;flex-direction:column}.toolbar-left,.toolbar-right{width:100%}.toolbar-right{justify-content:space-between}.toolbar-right .ant-input-affix-wrapper{flex:1 1;min-width:0}}@media (max-width:768px){.all-notifications-page{padding:16px}.notification-list-item{padding:12px 16px!important}.notification-avatar{font-size:24px;height:40px;width:40px}.toolbar-right{align-items:stretch;flex-direction:column;gap:8px}.toolbar-right .ant-btn,.toolbar-right .ant-input-affix-wrapper{width:100%}}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.notification-list-item{animation:fadeIn .3s ease-out}.notification-settings-container{background-color:#f0f2f5;margin:0 auto;max-width:1200px;min-height:calc(100vh - 64px);padding:24px}.notification-settings-container .page-header{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;box-shadow:0 4px 12px #0000001a;color:#fff;margin-bottom:24px;padding:32px}.notification-settings-container .page-header .ant-typography{color:#fff!important;margin-bottom:8px}.notification-settings-container .page-header h2{align-items:center;display:flex;gap:12px;margin-bottom:8px}.notification-settings-container .settings-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000f}.settings-header{margin-bottom:24px}.settings-header h3,.settings-header h4{align-items:center;display:flex;gap:8px;margin-bottom:8px}.section-header{margin-bottom:16px}.section-header h5{align-items:center;color:#1890ff;display:flex;gap:8px;margin-bottom:4px}.settings-section{background:#fff;border-radius:8px;margin-bottom:24px}.ringtone-section{background:linear-gradient(135deg,#f5f7fa,#e8eef5)!important;border:1px solid #d9e2ec!important}.ringtone-section .section-header h5{color:#667eea}.volume-control{background:linear-gradient(135deg,#fafafa,#f0f0f0);border:1px solid #e8e8e8;border-radius:8px;padding:16px}.volume-control .ant-slider{margin-top:16px}.ringtone-card{background:#fff;border:2px solid #e8e8e8;border-radius:8px;height:100%;transition:all .3s ease}.ringtone-card:hover{border-color:#667eea;box-shadow:0 4px 16px #667eea26;transform:translateY(-2px)}.ringtone-card .ant-card-body{display:flex;flex-direction:column;height:100%;padding:16px}.ringtone-card .ant-space{width:100%}.ringtone-card .ant-btn{margin-top:8px;width:100%}.ringtone-card .ant-btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);border:none}.ringtone-card .ant-btn-primary:hover{background:linear-gradient(135deg,#5568d3,#653a8b)}.settings-actions{border-top:1px solid #e8e8e8;display:flex;justify-content:center;margin-top:24px;padding:24px 0}.settings-actions .ant-space{gap:16px}.settings-actions .ant-btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);border:none;font-weight:500;height:40px;min-width:140px}.settings-actions .ant-btn-primary:hover{background:linear-gradient(135deg,#5568d3,#653a8b);box-shadow:0 4px 12px #667eea4d;transform:translateY(-1px)}.settings-actions .ant-btn:not(.ant-btn-primary){height:40px;min-width:140px}.notification-settings-container .ant-form-item-label{font-weight:500}.notification-settings-container .ant-switch-checked{background-color:#667eea}.notification-settings-container .ant-alert-info{border-left:4px solid #667eea}@media (max-width:768px){.notification-settings-container{padding:16px}.notification-settings-container .page-header{padding:24px 16px}.notification-settings-container .page-header h2{font-size:20px}.settings-actions{text-align:center}.settings-actions .ant-space{flex-direction:column;justify-content:center;width:100%}.settings-actions .ant-btn{width:100%}.ringtone-card{margin-bottom:16px}}.notification-settings-container .ant-spin-nested-loading{min-height:200px}.notification-settings-container .ant-empty{padding:40px 0}.ringtone-card .ant-tag{border-radius:4px;font-size:11px;padding:0 6px}.ringtone-card .ant-select-selector{border-radius:6px}.ringtone-card .ant-select-focused .ant-select-selector{border-color:#667eea!important;box-shadow:0 0 0 2px #667eea1a!important}.ringtone-manager-container{margin:0 auto;max-width:1400px;padding:24px}.manager-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:16px}.manager-header h3{margin-bottom:4px}@media (max-width:768px){.ringtone-manager-container{padding:16px}.manager-header{flex-direction:column;gap:16px}.manager-header>div:last-child{width:100%}.manager-header .ant-space{justify-content:space-between;width:100%}}.facebook-leads-container{background-color:#f0f2f5;min-height:calc(100vh - 64px);padding:24px}.page-header{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;padding:24px}.header-content{align-items:center;display:flex;gap:16px}.header-icon{color:#1890ff;font-size:32px}.header-content h1{color:#262626;font-size:24px;font-weight:600;margin:0}.header-content p{color:#8c8c8c;font-size:14px;margin:4px 0 0}.search-section{margin-bottom:16px}.ant-statistic-title{font-weight:500}.ant-statistic-content{font-size:24px;font-weight:600}.ant-table{background:#fff}.ant-table-thead>tr>th{background-color:#fafafa;font-weight:600}.ant-tag{border-radius:4px}.ant-descriptions-item-label{background-color:#fafafa;font-weight:600}@media (max-width:768px){.facebook-leads-container{padding:16px}.search-section{flex-direction:column}.search-section .ant-space{flex-wrap:wrap;width:100%}.header-content{align-items:flex-start;flex-direction:column}.header-icon{font-size:24px}}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}*{box-sizing:border-box}.app-container{background-color:#fafbfc;min-height:100vh}.page-container{min-height:calc(100vh - 64px);padding:24px}.content-container{background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000008;padding:24px}.page-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:24px}.page-title{color:#374151;font-size:24px;font-weight:600;margin:0}.stats-card{background:linear-gradient(135deg,#e3f2fd,#f3e5f5);border:1px solid #e1f5fe;border-radius:8px;color:#1976d2;margin-bottom:16px;padding:20px}.stats-card .stat-value{font-size:28px;font-weight:700;margin-bottom:8px}.stats-card .stat-label{font-size:14px;opacity:.9}.card-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));margin-bottom:24px}.lead-card{background:#fff;border:1px solid #e8e8e8;border-radius:8px;padding:16px;transition:all .3s ease}.lead-card:hover{box-shadow:0 4px 12px #00000008;transform:translateY(-2px)}.lead-status{border-radius:4px;font-size:12px;font-weight:500;padding:4px 8px;text-transform:uppercase}.lead-status.new{background:#e3f2fd;color:#1976d2}.lead-status.contacted{background:#fff3e0;color:#f57c00}.lead-status.converted,.lead-status.qualified{background:#e8f5e8;color:#388e3c}.lead-status.lost{background:#ffebee;color:#d32f2f}.lead-rating{border-radius:4px;font-size:12px;font-weight:500;padding:4px 8px;text-transform:uppercase}.lead-rating.hot{background:#ffebee;color:#d32f2f}.lead-rating.warm{background:#fff3e0;color:#f57c00}.lead-rating.cold{background:#fafbfc;color:#757575}.form-container{margin:0 auto;max-width:800px}.form-section{margin-bottom:24px}.form-section-title{color:#374151;font-size:16px;font-weight:600;margin-bottom:16px}.integrations-page{padding:24px}.integration-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(2,1fr);margin-top:24px;max-width:800px}.integration-card{border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;padding:20px;text-align:center;transition:all .3s ease}.integration-card:hover{border-color:#1976d2;box-shadow:0 4px 12px #1976d226;transform:translateY(-2px)}.integration-icon{font-size:48px;margin-bottom:12px}.integration-title{color:#1f2937;font-size:16px;font-weight:600;margin-bottom:8px}.integration-description{color:#6b7280;font-size:13px;line-height:1.4;margin-bottom:16px}.loading-spinner{align-items:center;display:flex;justify-content:center;min-height:200px}.error-message{background:#ffebee;color:#d32f2f}.error-message,.success-message{border-radius:6px;margin-bottom:16px;padding:12px}.success-message{background:#e8f5e8;color:#388e3c}.action-buttons{display:flex;gap:8px;justify-content:flex-end;margin-top:24px}.btn-primary{background-color:#1976d2!important;border-color:#1976d2!important;color:#fff!important}.btn-primary:hover:not(:disabled){background-color:#1565c0!important;border-color:#1565c0!important}.btn-primary:disabled{background-color:#9e9e9e!important;border-color:#9e9e9e!important;cursor:not-allowed;opacity:.6}.filter-bar{background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000008;margin-bottom:24px;padding:16px}.search-input{max-width:300px}.tag-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.tag-item{background:#f0f0f0;border-radius:4px;color:#6b7280;font-size:12px;padding:4px 8px}@media (max-width:768px){.content-container,.page-container{padding:16px}.page-header{align-items:flex-start;flex-direction:column;gap:16px}.card-grid,.integration-grid{grid-template-columns:1fr}.action-buttons{flex-direction:column}}
/*# sourceMappingURL=main.e7b31843.css.map*/