@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;500;600;700&display=swap');

:root {
    --surface: #f6f8fb;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
    --accent: #2563eb;
    --accent-dark: #1d4ed8;
}

body {
    background: var(--surface);
    color: var(--ink);
    text-transform: lowercase;
    font-family: 'Roboto Condensed', Arial, sans-serif;
}

.app-shell {
    min-height: 100vh;
    display: flex;
}

.sidebar {
    width: 264px;
    background: #111827;
    color: #fff;
    padding: 20px;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 20;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 28px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--accent);
}

.sidebar .nav-link {
    color: #d1d5db;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.sidebar .nav-link:hover,
.sidebar .nav-link:focus {
    color: #fff;
    background: rgba(255,255,255,.08);
}

.main {
    flex: 1;
    margin-left: 264px;
    min-width: 0;
}

.topbar {
    height: 72px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.content {
    padding: 24px;
}

.metric {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 20px;
}

.panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.panel-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.panel-body {
    padding: 20px;
}

.super-analytics .analytics-card {
    min-height: 142px;
    border-radius: 8px;
    color: #fff;
    padding: 22px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: 0 8px 18px rgba(31, 41, 55, .12);
    overflow: hidden;
    position: relative;
}

.super-analytics .analytics-card::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    right: -42px;
    bottom: -55px;
}

.super-analytics .analytics-card i {
    font-size: 38px;
    opacity: .75;
    z-index: 1;
}

.analytics-label,
.analytics-hint {
    opacity: .82;
    font-size: 14px;
}

.analytics-value {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
    margin: 10px 0 12px;
}

.bg-c-blue {
    background: linear-gradient(45deg, #4099ff, #73b4ff);
}

.bg-c-green {
    background: linear-gradient(45deg, #2ed8b6, #59e0c5);
}

.bg-c-yellow {
    background: linear-gradient(45deg, #ffb64d, #ffcb80);
}

.bg-c-pink {
    background: linear-gradient(45deg, #ff5370, #ff869a);
}

.analytics-panel {
    border-radius: 8px;
}

.donut-meter {
    width: 190px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto;
    background: conic-gradient(#4099ff calc(var(--value) * 1%), #eef2f7 0);
}

.donut-meter > div {
    width: 124px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    align-content: center;
}

.donut-meter strong {
    font-size: 28px;
}

.donut-meter span {
    color: var(--muted);
}

.mini-stat {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.activity-feed {
    padding: 10px 18px 18px;
}

.activity-item {
    position: relative;
    display: flex;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.activity-item:last-child {
    border-bottom: 0;
}

.activity-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #4099ff;
    margin-top: 6px;
    box-shadow: 0 0 0 4px rgba(64,153,255,.14);
    flex: 0 0 auto;
}

.adminty-analytics {
    --adminty-blue: #4099ff;
    --adminty-green: #2ed8b6;
    --adminty-yellow: #ffb64d;
    --adminty-pink: #ff5370;
    --adminty-orange: #ff9f43;
}

.adminty-page-head h1 {
    font-weight: 700;
    color: #263544;
}

.adminty-stat {
    min-height: 132px;
    border-radius: 8px;
    color: #fff;
    padding: 22px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 24px rgba(31, 41, 55, .13);
}

.adminty-stat::after {
    content: "";
    position: absolute;
    width: 145px;
    height: 145px;
    right: -52px;
    bottom: -70px;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
}

.adminty-stat .stat-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255,255,255,.18);
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
}

.adminty-stat .stat-icon i {
    font-size: 28px;
}

.adminty-stat .stat-body {
    text-align: right;
    position: relative;
    z-index: 1;
}

.adminty-stat h2 {
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    margin: 0 0 8px;
}

.adminty-stat p,
.mini-growth p {
    margin: 0;
    opacity: .88;
    font-size: 15px;
}

.adminty-stat span {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    opacity: .75;
}

.card-blue {
    background: linear-gradient(45deg, var(--adminty-blue), #73b4ff);
}

.card-green {
    background: linear-gradient(45deg, var(--adminty-green), #59e0c5);
}

.card-yellow {
    background: linear-gradient(45deg, var(--adminty-yellow), #ffcb80);
}

.card-pink {
    background: linear-gradient(45deg, var(--adminty-pink), #ff869a);
}

.adminty-card {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 1px 18px rgba(69, 90, 100, .08);
}

.adminty-card .card-header {
    padding: 20px 22px 0;
}

.adminty-card .card-body {
    padding: 22px;
}

.analytics-chart {
    height: 260px;
    display: flex;
    align-items: flex-end;
    gap: 14px;
    padding: 28px 8px 6px;
    border-bottom: 1px solid #edf2f7;
    background:
        linear-gradient(to top, rgba(64,153,255,.09) 1px, transparent 1px) 0 0 / 100% 52px;
}

.analytics-chart span {
    flex: 1;
    min-width: 14px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, #73b4ff, #4099ff);
    box-shadow: 0 8px 14px rgba(64,153,255,.2);
}

.satisfaction-ring {
    width: 190px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-inline: auto;
    background: conic-gradient(var(--adminty-blue) calc(var(--value) * 1%), #eef2f7 0);
}

.satisfaction-ring > div {
    width: 122px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    align-content: center;
    box-shadow: inset 0 0 0 1px #f3f4f6;
}

.satisfaction-ring strong {
    font-size: 30px;
    line-height: 1;
}

.satisfaction-ring span {
    color: var(--muted);
    font-size: 14px;
}

.small-ring {
    width: 150px;
}

.small-ring > div {
    width: 98px;
}

.health-line {
    margin-bottom: 18px;
}

.health-line > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
    color: var(--muted);
}

.health-line .progress {
    height: 7px;
    border-radius: 12px;
    background: #edf2f7;
}

.mini-growth {
    color: #fff;
    min-height: 170px;
    overflow: hidden;
}

.mini-growth h2 {
    font-size: 31px;
    font-weight: 700;
    margin-bottom: 6px;
}

.bg-growth-blue {
    background: linear-gradient(135deg, #4099ff, #5ab2ff);
}

.bg-growth-green {
    background: linear-gradient(135deg, #2ed8b6, #54e5ca);
}

.bg-growth-orange {
    background: linear-gradient(135deg, #ff9f43, #ffbc70);
}

.growth-bars,
.wide-wave {
    height: 72px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-top: 20px;
}

.growth-bars span,
.wide-wave span {
    flex: 1;
    min-width: 8px;
    border-radius: 8px 8px 0 0;
    background: rgba(255,255,255,.6);
}

.wide-wave {
    height: 126px;
    padding: 12px 0 0;
    border-top: 1px solid #eef2f7;
}

.wide-wave span {
    background: linear-gradient(180deg, #59e0c5, #2ed8b6);
}

.split-metric {
    border: 1px solid #edf2f7;
    border-radius: 8px;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fbfdff;
}

.split-metric span {
    color: var(--muted);
}

.split-metric strong {
    font-size: 26px;
    color: #263544;
}

.location-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-bottom: 1px solid var(--line);
}

.location-row:last-child {
    border-bottom: 0;
}

.flag-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--adminty-blue);
    box-shadow: 0 0 0 4px rgba(64,153,255,.14);
}

.adminty-analytics .table > :not(caption) > * > * {
    padding: 14px 22px;
}

.adminty-analytics .btn-light.active {
    background: var(--adminty-blue);
    border-color: var(--adminty-blue);
    color: #fff;
}

.company-crm-dashboard {
    --crm-blue: #4099ff;
    --crm-green: #2ed8b6;
    --crm-yellow: #ffb64d;
    --crm-pink: #ff5370;
    --crm-ink: #263544;
}

.company-crm-dashboard h1,
.company-crm-dashboard h2 {
    color: var(--crm-ink);
    font-weight: 700;
}

.crm-kpi {
    min-height: 128px;
    padding: 22px;
    border-radius: 8px;
    color: #fff;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 24px rgba(31, 41, 55, .13);
}

.crm-kpi::after {
    content: "";
    position: absolute;
    width: 142px;
    height: 142px;
    right: -54px;
    bottom: -68px;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
}

.crm-kpi p {
    margin: 0 0 10px;
    font-size: 15px;
    opacity: .9;
}

.crm-kpi h2 {
    margin: 0;
    color: #fff;
    font-size: 30px;
    line-height: 1.1;
}

.crm-kpi i {
    font-size: 38px;
    opacity: .78;
    position: relative;
    z-index: 1;
}

.crm-blue {
    background: linear-gradient(45deg, var(--crm-blue), #73b4ff);
}

.crm-green {
    background: linear-gradient(45deg, var(--crm-green), #59e0c5);
}

.crm-yellow {
    background: linear-gradient(45deg, var(--crm-yellow), #ffcb80);
}

.crm-pink {
    background: linear-gradient(45deg, var(--crm-pink), #ff869a);
}

.crm-card {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 1px 18px rgba(69, 90, 100, .08);
}

.crm-card .card-header {
    padding: 20px 22px 0;
}

.crm-card .card-body {
    padding: 22px;
}

.crm-monthly-chart {
    height: 284px;
    display: flex;
    align-items: flex-end;
    gap: 13px;
    padding: 30px 8px 6px;
    border-bottom: 1px solid #edf2f7;
    background:
        linear-gradient(to top, rgba(64,153,255,.08) 1px, transparent 1px) 0 0 / 100% 56px;
}

.crm-monthly-chart span {
    flex: 1;
    min-width: 13px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, #73b4ff, #4099ff);
    box-shadow: 0 8px 14px rgba(64,153,255,.18);
}

.company-crm-dashboard .card-body .row strong {
    display: block;
    color: var(--crm-ink);
    font-size: 24px;
}

.company-crm-dashboard .card-body .row span {
    color: var(--muted);
    font-size: 14px;
}

.crm-feed {
    padding: 8px 22px 18px;
}

.crm-feed-item {
    display: flex;
    gap: 13px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

.crm-feed-item:last-child {
    border-bottom: 0;
}

.crm-feed-item small,
.crm-update-item span,
.crm-update-item p,
.crm-activity-item p,
.deadline-item span {
    display: block;
    color: var(--muted);
}

.crm-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 6px;
    flex: 0 0 auto;
    box-shadow: 0 0 0 4px rgba(64,153,255,.12);
}

.progress-crm i {
    font-size: 30px;
}

.crm-line-chart {
    height: 86px;
    display: flex;
    align-items: flex-end;
    gap: 9px;
    padding-top: 12px;
}

.crm-line-chart span {
    flex: 1;
    min-width: 8px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, #59e0c5, #2ed8b6);
}

.company-crm-dashboard .table > :not(caption) > * > * {
    padding: 14px 22px;
}

.crm-updates,
.crm-activity,
.crm-deadlines {
    padding: 8px 22px 18px;
}

.crm-update-item {
    padding: 14px 0 14px 18px;
    border-left: 2px solid #edf2f7;
    position: relative;
}

.crm-update-item::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 20px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--crm-blue);
}

.crm-activity-item,
.deadline-item {
    display: flex;
    gap: 13px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.crm-activity-item:last-child,
.deadline-item:last-child {
    border-bottom: 0;
}

.crm-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(64,153,255,.12);
    color: var(--crm-blue);
    font-weight: 700;
    flex: 0 0 auto;
}

.task-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.task-pair > div {
    padding: 16px;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background: #fbfdff;
}

.task-pair strong {
    display: block;
    font-size: 28px;
    color: var(--crm-ink);
}

.task-pair span {
    color: var(--muted);
}

.deadline-item i {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(46,216,182,.12);
    color: var(--crm-green);
    flex: 0 0 auto;
}

@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform .2s ease;
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .main {
        margin-left: 0;
    }
}

.crm-page-shell,
.crm-page-shell *,
.employee-form-modal,
.employee-form-modal * {
    font-family: 'Roboto Condensed', Arial, sans-serif;
}

.crm-page-shell {
    color: #102a56;
}

.crm-page-shell select option,
.employee-form-modal select option {
    font-weight: 900;
    font-family: 'Roboto Condensed', Arial, sans-serif;
}

.employees-filter-card,
.employees-history-card {
    border: 1px solid #dfe8f3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(24,52,88,.07);
}

.employees-filter-card {
    padding: 18px;
    margin-bottom: 16px;
}

.employees-filter-label {
    display: block;
    font-size: 16px;
    font-weight: 900;
    text-transform: lowercase;
    color: #102a56;
    margin-bottom: 8px;
}

.employees-input-shell,
.employees-select-shell {
    position: relative;
}

.employees-input-shell i,
.employees-select-shell i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7890;
    z-index: 2;
}

.employees-input-shell .form-control,
.employees-select-shell .form-select {
    min-height: 46px;
    border-radius: 14px;
    border: 1px solid #d9e4f0;
    color: #102a56;
    font-size: 16px;
    font-weight: 900;
    padding-left: 42px;
    box-shadow: none;
}

.employees-table-topbar {
    min-height: 62px;
    background: #bff2c2;
    border-radius: 18px 18px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
}

.employees-table-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.employees-table-title span {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #fff;
    color: #198754;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(25,135,84,.12);
}

.employees-table-title h6 {
    margin: 0;
    font-size: 17px;
    line-height: 1;
    font-weight: 900;
    text-transform: lowercase;
    letter-spacing: 0;
}

.employees-count {
    min-width: 38px;
    height: 34px;
    border-radius: 999px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #102a56;
    font-weight: 900;
    padding: 0 12px;
}

.employees-table-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.employees-add-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    line-height: 1;
    font-weight: 900;
}

.employees-table-wrap {
    border-radius: 0 0 18px 18px;
    overflow-x: visible;
}

.employees-table {
    table-layout: fixed;
    width: 100%;
}

.employees-table th,
.employees-table td {
    text-align: center;
    vertical-align: middle;
    color: #102a56;
    font-size: 15px;
    font-weight: 900;
    border-color: #edf2f7;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employees-table th {
    text-transform: lowercase;
    background: #f8fbff;
}

.employees-loading-cell {
    height: 82px;
    color: #6b7890 !important;
    text-transform: lowercase;
}

.employees-action-cell {
    white-space: nowrap;
    overflow: visible !important;
    text-align: center !important;
}

.employees-icon-action {
    width: 28px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #60708c;
    font-size: 15px;
    padding: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin: 0;
    cursor: pointer;
    transition: color .16s ease;
}

.employees-icon-action:hover,
.employees-icon-action:focus {
    background: transparent;
    box-shadow: none;
    transform: none;
    outline: none;
}

.employees-action-view:hover {
    color: #0284c7;
}

.employees-action-edit:hover {
    color: #b7791f;
}

.employees-action-delete:hover {
    color: #dc3545;
}

.employees-action-print:hover {
    color: #2563eb;
}

.employees-action-email:hover {
    color: #0d9488;
}

.employees-status-badge {
    border-radius: 999px;
    padding: .45rem .72rem;
    font-size: 13px;
    font-weight: 900;
    text-transform: lowercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.employees-badge-active,
.employees-badge-new,
.employees-badge-won,
.employees-badge-qualified,
.employees-badge-done {
    background: #d3f2d6 !important;
    color: #11713d !important;
}

.employees-badge-inactive,
.employees-badge-lost {
    background: #ffe1dc !important;
    color: #a73826 !important;
}

.employees-badge-contacted,
.employees-badge-proposal,
.employees-badge-negotiation,
.employees-badge-open,
.employees-badge-draft,
.employees-badge-sent,
.employees-badge-partial {
    background: #dceaff !important;
    color: #0d47a1 !important;
}

.employees-badge-paid,
.employees-badge-completed,
.employees-badge-approved {
    background: #d3f2d6 !important;
    color: #11713d !important;
}

.employees-badge-cancelled,
.employees-badge-void {
    background: #ffe1dc !important;
    color: #a73826 !important;
}

.employees-pagination-footer {
    border-top: 1px solid #edf2f7;
    padding: 14px 18px;
    display: flex;
    justify-content: center;
    background: #fff;
    border-radius: 0 0 18px 18px;
}

.employees-pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #102a56;
    font-weight: 900;
}

.employees-pagination .pagination {
    margin: 0;
}

.employees-pagination .page-link {
    border-radius: 10px;
    border: 1px solid #d9e4f0;
    color: #102a56;
    font-weight: 900;
    text-transform: lowercase;
    margin: 0 3px;
}

.employees-pagination .active .page-link {
    background: #198754;
    border-color: #198754;
    color: #fff;
}

.crm-table th:nth-last-child(1),
.crm-table td:nth-last-child(1) {
    width: 13%;
}

.crm-primary-link {
    color: #102a56;
    font-weight: 900;
    text-decoration: none;
}

.crm-primary-link:hover {
    color: #198754;
}

.crm-subline {
    font-size: 12px;
    color: #6b7890;
    font-weight: 900;
}

.employee-form-modal {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15,23,42,.22);
}

.employee-form-header {
    border: 0;
    background: linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);
    padding: 20px 22px 12px;
}

.employee-form-kicker {
    color: #198754;
    font-size: 13px;
    font-weight: 900;
    text-transform: lowercase;
}

.employee-form-header .modal-title {
    color: #102a56;
    font-size: 20px;
    font-weight: 900;
    text-transform: lowercase;
}

.employee-form-tabs {
    gap: 8px;
    border: 0;
    margin-bottom: 18px;
}

.employee-form-tabs .nav-link,
.content > .nav-tabs .nav-link {
    border: 1px solid #d7e5ff;
    border-radius: 12px;
    color: #244f95;
    background: #f5f9ff;
    font-size: 15px;
    font-weight: 900;
    text-transform: lowercase;
}

.employee-form-tabs .nav-link.active,
.content > .nav-tabs .nav-link.active {
    background: #dceaff;
    border-color: #8fb7ff;
    color: #0d47a1;
    box-shadow: 0 10px 22px rgba(13,71,161,.12);
}

.content > .nav-tabs {
    gap: 8px;
    border: 0;
    margin-bottom: 18px !important;
}

.content > .nav-tabs .nav-link {
    padding: .62rem 1rem;
}

.content > .nav-tabs .nav-link:hover {
    background: #eaf2ff;
    border-color: #bcd4ff;
    color: #153f82;
}

.employee-info-subtabs {
    gap: 8px;
    border: 1px solid #cfead5;
    border-radius: 14px;
    background: #f6fff7;
    padding: 6px;
    margin-bottom: 16px;
}

.employee-info-subtabs .nav-link {
    border: 0;
    border-radius: 10px;
    color: #217245;
    font-size: 14px;
    font-weight: 900;
    text-transform: lowercase;
    padding: .5rem .85rem;
}

.employee-info-subtabs .nav-link.active {
    background: #d3f2d6;
    color: #11713d;
    box-shadow: 0 8px 18px rgba(25,135,84,.12);
}

.employee-info-subcontent {
    min-height: 170px;
}

.employee-form-content {
    padding-bottom: 16px;
}

.employee-form-label {
    display: block;
    color: #102a56;
    font-size: 16px;
    font-weight: 900;
    text-transform: lowercase;
    margin-bottom: 6px;
}

.employee-form-control {
    min-height: 46px;
    border-radius: 14px !important;
    border: 1px solid #d9e4f0;
    color: #102a56;
    font-size: 16px;
    font-weight: 900;
    box-shadow: none !important;
}

.employee-form-control:focus {
    border-color: #9ec5fe;
    box-shadow: 0 0 0 .2rem rgba(13,110,253,.12) !important;
}

.currency-input {
    text-align: right;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.employee-save-btn {
    min-height: 48px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 900;
    text-transform: lowercase;
    margin-top: 8px;
}

@media (max-width: 767.98px) {
    .employees-table {
        min-width: 760px;
    }
    .employees-table-topbar {
        align-items: flex-start;
        flex-direction: column;
    }
    .employees-table-actions {
        width: 100%;
        justify-content: space-between;
    }
}

:root {
    --sidebar-width: 280px;
    --topbar-height: 72px;
    --app-bg: #f5f7fb;
    --panel-bg: #fff;
    --border-color: #e6ebf2;
    --text-main: #1d2939;
    --primary-soft: #eef4ff;
}

.app-sidebar.sidebar {
    width: var(--sidebar-width);
    background: #fff;
    color: var(--text-main);
    border-right: 1px solid var(--border-color);
    padding: 0;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1040;
    transform: translateX(0);
    transition: transform .2s ease, width .2s ease;
    display: flex;
    flex-direction: column;
}

.sidebar-brand {
    min-height: var(--topbar-height);
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-brand a {
    text-decoration: none;
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0d6efd;
    color: #fff;
    font-weight: 800;
    text-transform: lowercase;
}

.sidebar-scroll {
    overflow-y: auto;
    padding: 1rem;
    flex: 1;
}

.sidebar-section-title {
    margin: 1rem .75rem .45rem;
    color: #98a2b3;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.sidebar-link {
    min-height: 42px;
    width: 100%;
    border: 0;
    border-radius: 8px;
    color: #475467;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .62rem .75rem;
    background: transparent;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
}

.sidebar-link:hover,
.sidebar-link:focus {
    background: #f2f4f7;
    color: #0d6efd;
}

.sidebar-link.active {
    background: var(--primary-soft);
    color: #0d6efd;
}

.sidebar-icon {
    width: 1.25rem;
    text-align: center;
    flex: 0 0 auto;
}

.logout-link {
    color: #dc2626;
}

.logout-link:hover,
.logout-link:focus {
    background: #fff1f2;
    color: #b91c1c;
}

.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.45);
    z-index: 1030;
}

.company-main.main {
    min-height: 100vh;
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    display: flex;
    flex-direction: column;
    transition: margin-left .2s ease, width .2s ease;
    flex: initial;
}

.app-topbar.topbar {
    min-height: var(--topbar-height);
    height: auto;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1020;
    padding: 0;
}

.company-header-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
}

.company-header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.company-header-logo {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    background: #fff;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e7f0ff;
    color: #0d6efd;
    font-weight: 700;
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.company-language-btn {
    min-height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: #fff;
    color: #344054;
    padding: .45rem 2rem .45rem .75rem;
    font-weight: 800;
    text-transform: lowercase;
}

.sidebar.collapsed {
    width: 76px;
}

.sidebar.collapsed .brand-copy,
.sidebar.collapsed .sidebar-link span,
.sidebar.collapsed .sidebar-section-title {
    display: none;
}

.sidebar.collapsed .sidebar-link {
    justify-content: center;
}

.sidebar.collapsed + .sidebar-backdrop + .company-main,
.sidebar.collapsed ~ .company-main {
    margin-left: 76px;
    width: calc(100% - 76px);
}

@media (max-width: 991.98px) {
    .app-sidebar.sidebar {
        transform: translateX(-100%);
    }
    .app-sidebar.sidebar.open,
    .app-sidebar.sidebar.show,
    .app-sidebar.sidebar.mobile-open {
        transform: translateX(0);
    }
    .sidebar-backdrop.show {
        display: block;
    }
    .company-main.main,
    .sidebar.collapsed + .sidebar-backdrop + .company-main,
    .sidebar.collapsed ~ .company-main {
        margin-left: 0;
        width: 100%;
    }
    .content {
        padding: 1rem;
    }
}
