:root{--app-bg: #f6f7fb;--surface: #ffffff;--surface-muted: #f6f7fb;--border: #d8d8d8;--border-strong: #eef0f6;--text: #323446;--text-soft: #999dae;--text-faint: #83879a;--brand: #6871f0;--brand-soft: #e0e3ff;--shadow-soft: 0 8px 30px rgba(29, 37, 64, .06);--success-bg: #cbf4b4;--success-fg: #338d00;--danger-bg: #ffcccc;--danger-fg: #8d0000}button,input,select{font:inherit}.auth-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:#f7f8ff}.login-card{width:min(100%,543px);background:var(--surface);border:1px solid var(--border);border-radius:22px;padding:22px 22px 24px;box-shadow:var(--shadow-soft)}.login-brand{width:100%;display:flex;justify-content:center;color:var(--brand)}.login-brand svg{width:127px;height:auto;display:block}.login-card h1{margin-top:27px;text-align:center;color:#2c2c2c;font-size:24px;font-weight:700;line-height:1.2}.subtitle{margin-top:8px;text-align:center;color:#8f8f8f;font-size:16px;font-weight:500;line-height:1.35}.login-form{display:grid;gap:12px;margin-top:22px}.field-label{color:#4a4a4a;font-size:16px;font-weight:600;line-height:1.3}.field-input{min-height:56px;border:1px solid var(--border);border-radius:12px;padding:16px 15px;color:var(--text);background:#fff;box-shadow:inset 0 1px 2px #0f172a08}.field-input::placeholder{color:#ababab}.field-input:focus,.input-shell:focus-within,.search-shell:focus-within{outline:none;border-color:#6871f099;box-shadow:0 0 0 3px #6871f024}.primary-button{min-height:48px;margin-top:10px;border:0;border-radius:12px;background:var(--brand);color:#fff;font-weight:600;font-size:16px;cursor:pointer;box-shadow:none}.primary-button:hover:enabled{background:#5f69ea}.error-text{margin-top:14px;color:#d80027}.admin-layout{min-height:100vh;padding:20px;display:grid;grid-template-columns:292px minmax(0,1fr);gap:20px;background:var(--app-bg)}.sidebar,.filters-card,.table-card{background:var(--surface);box-shadow:var(--shadow-soft)}.sidebar{border-radius:24px;padding:16px;display:flex;flex-direction:column;justify-content:space-between;min-height:860px}.sidebar-top{display:grid;gap:30px}.sidebar-brand{display:inline-flex;align-items:center;padding-bottom:3px;color:var(--brand)}.sidebar-brand svg{width:127px;height:auto;display:block}.sidebar-nav,.sidebar-subgroup{display:grid;gap:4px}.finance-nav{display:grid;gap:20px;margin-top:6px}.finance-group{display:grid;gap:14px}.finance-group-label{padding-left:12px;color:#3f4459;font-size:16px;font-weight:500;line-height:1.4}.finance-links{display:grid;gap:12px}.finance-link{min-height:40px;width:224px;justify-self:end;display:inline-flex;align-items:center;padding:8px 16px;border:0;border-radius:20px;background:transparent;color:#9aa0b7;font-size:16px;font-weight:400;line-height:1.4;text-align:left;cursor:pointer}.finance-link-active{background:var(--surface-muted);color:var(--text)}.sidebar-subgroup{justify-items:end}.sidebar-item{min-height:48px;width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px;border:0;border-radius:16px;background:transparent;color:var(--text);font-size:16px;font-weight:500;cursor:pointer}.sidebar-item.active{background:var(--brand-soft)}.sidebar-item.sub-item{width:224px;justify-self:end}.sidebar-item.sub-item.active{background:var(--surface-muted)}.sidebar-item:disabled{cursor:not-allowed;opacity:.55}.sidebar-item-main{display:inline-flex;align-items:center;gap:8px}.sidebar-item-icon,.logout-btn svg,.toolbar-button svg,.search-shell svg,.input-shell svg,.select-dropdown-trigger svg{width:24px;height:24px;flex:0 0 auto}.sidebar-item-trailing{display:inline-flex;align-items:center}.icon-stroke,.direction-icon{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.chevron-icon{color:var(--text);transform:rotate(0);transition:transform .16s ease}.chevron-icon.open{transform:rotate(180deg)}.logout-btn{min-height:48px;display:inline-flex;align-items:center;gap:8px;padding:12px;border:0;border-radius:16px;background:transparent;color:#d80027;font-size:16px;font-weight:500;cursor:pointer}.dashboard-column{display:grid;gap:20px;min-width:0;align-content:start;grid-auto-rows:max-content}.filters-card{padding:16px;border-radius:16px;display:grid;gap:16px}.filters-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;align-items:end}.providers-filters-grid{grid-template-columns:minmax(220px,280px)}.clients-filters-grid{grid-template-columns:repeat(2,minmax(220px,280px))}.filter-field{display:grid;gap:6px}.filter-label{color:var(--text);font-size:12px;font-weight:500;line-height:1.4}.date-picker{position:relative}.input-shell,.date-picker-trigger,.select-dropdown-trigger,.search-shell,.toolbar-button{min-height:48px;border:1px solid var(--border);border-radius:12px;background:#fff}.input-shell,.date-picker-trigger,.select-dropdown-trigger,.search-shell{display:flex;align-items:center;padding:12px;transition:border-color .12s ease,box-shadow .12s ease}.date-picker-trigger{width:100%;justify-content:space-between;gap:12px;color:#404558;cursor:pointer}.select-dropdown{position:relative}.select-dropdown-trigger{width:100%;justify-content:space-between;gap:10px;color:#404558;cursor:pointer;background:#fff}.select-dropdown-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:500;line-height:1.4}.select-dropdown-text.placeholder{color:var(--text-soft)}.date-picker-trigger-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:500;line-height:1.4}.date-picker-trigger-text.placeholder{color:#404558}.date-picker.open .date-picker-trigger{border-color:#6871f099;box-shadow:0 0 0 3px #6871f024}.date-picker-trigger svg{width:22px;height:22px;color:#6c7286;flex:0 0 auto}.select-dropdown.open .select-dropdown-trigger{border-color:#8f95ff;box-shadow:0 0 0 3px #8f95ff29}.input-shell input,.input-shell select,.search-shell input{width:100%;border:0;padding:0;background:transparent;color:var(--text);outline:none}.input-shell input::placeholder,.input-shell select,.search-shell input::placeholder{color:var(--text-soft)}.input-shell input[type=datetime-local]{color:var(--text-soft)}.input-shell input[type=datetime-local]::-webkit-calendar-picker-indicator{opacity:0;position:absolute;top:0;right:0;bottom:0;left:0;width:100%;cursor:pointer}.with-icon,.search-shell{gap:10px}.with-icon svg,.search-shell svg,.toolbar-button svg{color:var(--text-faint)}.select-dropdown-trigger svg{color:#6d7388}.select-dropdown-popover{position:absolute;top:calc(100% + 8px);left:0;z-index:20;width:100%;border:1px solid #e3e6f0;border-radius:16px;background:#fff;box-shadow:0 8px 24px #31386014;overflow:hidden}.select-dropdown-list{max-height:264px;overflow-y:auto;padding:0}.select-dropdown-list::-webkit-scrollbar{width:8px}.select-dropdown-list::-webkit-scrollbar-track{background:transparent}.select-dropdown-list::-webkit-scrollbar-thumb{border-radius:999px;background:#c2c9dc}.select-dropdown-option{width:100%;min-height:54px;display:flex;align-items:center;padding:16px;border:0;border-bottom:1px solid #f0f2f7;background:#fff;color:#484d60;font-size:15px;font-weight:500;line-height:1.4;text-align:left;cursor:pointer}.select-dropdown-option:last-child{border-bottom:0}.select-dropdown-option.selected{background:#f2f4fa}.select-dropdown-option:hover{background:#f7f8fc}.date-picker-popover{position:absolute;top:calc(100% + 12px);left:0;z-index:20;width:min(340px,calc(100vw - 48px));padding:14px 18px 18px;border:1px solid #d6d7df;border-radius:24px;background:#fff;box-shadow:0 18px 36px #1e235a24}.date-picker-header{display:grid;grid-template-columns:32px 1fr 32px;align-items:center;margin-bottom:18px}.date-picker-header strong{justify-self:center;color:#3b3d4f;font-size:17px;font-weight:500;line-height:1.3}.date-picker-nav{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;background:transparent;color:#6a6ef6;cursor:pointer}.date-picker-nav.next{color:#7b7f90}.date-picker-nav:hover{background:#f3f4fb}.date-picker-nav span{font-size:28px;line-height:1;transform:translateY(-1px)}.date-picker-weekdays,.date-picker-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.date-picker-weekdays{margin-bottom:8px}.date-picker-weekdays span{text-align:center;color:#8f9097;font-size:12px;font-weight:500;line-height:1.4}.date-picker-day{width:40px;height:40px;justify-self:center;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:transparent;color:#3c3f4a;font-size:15px;font-weight:500;line-height:1;cursor:pointer}.date-picker-day.outside{color:#b8b9c3}.date-picker-day.today{background:#ecebff;color:#6a6ef6}.date-picker-day.selected{background:#6a6ef6;color:#fff;box-shadow:0 10px 20px #6a6ef647}.date-picker-day.in-range{background:#ecebff;color:#4f53d8;border-radius:0}.date-picker-day.in-range.selected{border-radius:8px}.date-picker-day:hover{background:#f2f3ff}.date-picker-day.selected:hover{background:#6166f4}.date-picker-actions{margin-top:14px;display:flex;justify-content:flex-end}.date-picker-clear{min-height:36px;padding:8px 12px;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--text);cursor:pointer}.toolbar-row{padding-top:16px;border-top:1px solid var(--border-strong);display:flex;align-items:center;justify-content:space-between;gap:16px}.search-shell{width:418px}.toolbar-actions{display:flex;align-items:center;gap:16px}.toolbar-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;color:var(--text);font-size:16px;font-weight:500;cursor:pointer}.toolbar-button:disabled{opacity:.6;cursor:not-allowed}.table-card{border:1px solid #f2f2f2;border-radius:16px;overflow:hidden}.table-warning{padding:12px 16px;color:#8d4b00;background:#fff4dc;border-bottom:1px solid #f1dfb2}.table-scroll{overflow-x:auto}table{width:100%;min-width:1560px;border-collapse:collapse;background:#fff}thead tr{border-bottom:1px solid var(--border-strong)}thead th{padding:14px 10px;text-align:left;color:var(--text);font-size:16px;font-weight:500;line-height:1.4}.table-sort-button{width:100%;display:inline-flex;align-items:center;justify-content:space-between;gap:12px;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.sort-icon{width:20px;height:20px;flex:0 0 auto;stroke:#6b7285;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;transition:stroke .2s ease,transform .2s ease}.table-sort-button:hover .sort-icon,.table-sort-button:focus-visible .sort-icon,.sort-icon.asc,.sort-icon.desc{stroke:#394056}.sort-icon.asc{transform:rotate(180deg)}thead th:first-child,tbody td:first-child{padding-left:20px}thead th:nth-child(1),tbody td:nth-child(1){width:150px}thead th:nth-child(2),tbody td:nth-child(2){width:275px}thead th:nth-child(3),tbody td:nth-child(3){width:110px}thead th:nth-child(4),tbody td:nth-child(4),thead th:nth-child(5),tbody td:nth-child(5){width:180px}thead th:nth-child(6),tbody td:nth-child(6){width:70px;text-align:center}thead th:nth-child(7),tbody td:nth-child(7){width:160px}tbody tr{border-bottom:1px solid var(--border-strong)}tbody tr:last-child{border-bottom:0}tbody td{padding:8px 10px;color:var(--text);font-size:16px;line-height:1.25;vertical-align:middle}.date-cell{display:inline-grid;gap:0}.direction-cell{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.direction-icon{width:18px;height:18px}.direction-icon.incoming{color:#3fc45a}.direction-icon.outgoing{color:#6d78f4}.icon-button{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;background:transparent;color:#6d78f4;cursor:pointer}.eye-icon{stroke-width:1.8}.status-chip{min-height:28px;display:inline-flex;align-items:center;justify-content:center;padding:4px 12px;border-radius:999px;font-size:16px;line-height:20px;position:relative}.status-chip:before{content:"";width:8px;height:8px;border-radius:999px;margin-right:8px;background:currentColor}.status-chip.read{background:var(--success-bg);color:var(--success-fg)}.status-chip.unread{background:var(--danger-bg);color:var(--danger-fg)}.status-chip.completed,.status-chip.busy{background:#e6efff;color:#355bb7}.status-chip.failed,.status-chip.canceled{background:#ffe0e0;color:#b42318}.table-empty{padding:36px 16px;text-align:center;color:var(--text-faint)}.pagination{padding:16px 0 6px;display:flex;justify-content:flex-end;align-items:center;gap:12px;background:var(--app-bg)}.pagination-arrow,.pagination-page{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:4px;background:#fff;color:#4e4e4e;cursor:pointer}.pagination-arrow:disabled{opacity:.45;cursor:not-allowed}.pagination-pages{display:inline-flex;align-items:center;gap:0}.pagination-page{background:transparent}.pagination-page.active{background:#5b64c933;color:var(--brand)}.pagination-ellipsis{width:36px;text-align:center;color:#4e4e4e}@media (max-width: 1280px){.admin-layout{grid-template-columns:1fr}.sidebar{min-height:auto}}@media (max-width: 1080px){.filters-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar-row{flex-direction:column;align-items:stretch}.search-shell{width:100%}.toolbar-actions{justify-content:stretch}.toolbar-button{flex:1 1 0}}@media (max-width: 720px){.login-card{width:min(100%,543px);padding:20px 16px}.login-card h1{margin-top:22px;font-size:22px}.subtitle,.field-label,.field-input,.primary-button{font-size:15px}.admin-layout{padding:12px;gap:12px}.sidebar,.filters-card{border-radius:20px}.filters-grid{grid-template-columns:1fr}.toolbar-actions{flex-direction:column}.toolbar-button{width:100%}.date-picker-popover{width:min(100vw - 56px,340px)}.pagination{justify-content:center;flex-wrap:wrap}}:root{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;line-height:1.5;font-weight:400;color:#1a2933;background:#f5f7fa;--card-bg: #ffffff;--card-border: #d9e0e8;--text-muted: #566879;--button-secondary-bg: #edf2f7;--button-secondary-text: #2d3748;--result-bg: #f7fafc;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}h1,h2,p{margin:0}button{border-radius:8px;border:1px solid #ced7e1;padding:.6rem 1rem;font-size:.95rem;font-weight:600;background-color:#fff;color:#1a2933;cursor:pointer}button:disabled{opacity:.7;cursor:not-allowed}
