:root {
    --sidebar-width: 270px;
    --sidebar-collapsed-width: 82px;
    --primary-dark: #0f2742;
    --primary: #173b63;
    --primary-light: #245787;
    --accent: #b8924b;
    --accent-light: #d8bb7e;
    --sidebar-bg: #0e2239;
    --sidebar-bg-secondary: #132d4a;
    --sidebar-text: #c5d1dd;
    --sidebar-muted: #8194a8;
    --body-bg: #f4f7fa;
    --surface: #ffffff;
    --border: #e2e8ef;
    --text-primary: #172331;
    --text-secondary: #6b7887;
    --success: #198754;
    --danger: #dc3545;
    --warning: #f0ad4e;
    --header-height: 78px;
    --footer-height: 52px;
    --shadow-sm: 0 2px 8px rgba(17, 38, 63, 0.06);
    --shadow-md: 0 10px 30px rgba(17, 38, 63, 0.10);
    --transition: all 0.25s ease;
}

html {
    font-size: 15px;
}

html,
body {
    min-height: 100%;
}

    body.law-office-body {
        margin: 0;
        background: var(--body-bg);
        color: var(--text-primary);
        font-family: Inter, "Segoe UI", Arial, sans-serif;
    }

/* App Shell */

.app-shell {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */

.app-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    background: linear-gradient( 180deg, var(--sidebar-bg) 0%, #091a2b 100%);
    color: var(--sidebar-text);
    z-index: 1040;
    transition: var(--transition);
    box-shadow: 4px 0 20px rgba(5, 21, 35, 0.14);
}

.sidebar-brand {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-brand-link {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #ffffff;
    text-decoration: none;
    min-width: 0;
}

    .sidebar-brand-link:hover {
        color: #ffffff;
    }

.brand-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient( 145deg, var(--accent), #8e6b30);
    color: #ffffff;
    font-size: 21px;
    box-shadow: 0 7px 18px rgba(184, 146, 75, 0.25);
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-title {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.1px;
    white-space: nowrap;
}

.brand-subtitle {
    color: var(--sidebar-muted);
    font-size: 10px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.sidebar-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 18px 14px;
}

    .sidebar-scroll::-webkit-scrollbar {
        width: 5px;
    }

    .sidebar-scroll::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.12);
        border-radius: 10px;
    }

.sidebar-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
}

.user-avatar,
.profile-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient( 145deg, var(--accent), #957034);
    color: #ffffff;
    font-weight: 700;
}

.user-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    font-size: 14px;
}

.user-information {
    min-width: 0;
}

.user-name {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-role {
    color: var(--sidebar-muted);
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-section-title {
    padding: 0 12px;
    margin-bottom: 7px;
    color: var(--sidebar-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.sidebar-navigation {
    display: flex;
    flex-direction: column;
}

.sidebar-link {
    min-height: 45px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    margin: 2px 0;
    padding: 10px 13px;
    border-radius: 9px;
    color: var(--sidebar-text);
    text-decoration: none;
    transition: var(--transition);
}

    .sidebar-link:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.07);
    }

    .sidebar-link.active {
        color: #ffffff;
        background: linear-gradient( 90deg, rgba(184, 146, 75, 0.30), rgba(184, 146, 75, 0.12));
        box-shadow: inset 3px 0 0 var(--accent);
    }

.sidebar-link-icon {
    width: 24px;
    flex: 0 0 24px;
    text-align: center;
    font-size: 16px;
}

.sidebar-link-text {
    flex: 1;
    white-space: nowrap;
}

.sidebar-link-arrow {
    font-size: 11px;
}

.sidebar-submenu {
    margin: 4px 0 8px 24px;
    padding-left: 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.sidebar-sublink {
    display: block;
    padding: 8px 12px;
    border-radius: 7px;
    color: var(--sidebar-muted);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

    .sidebar-sublink:hover,
    .sidebar-sublink.active {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.06);
    }

.sidebar-footer {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--sidebar-muted);
}

.sidebar-version {
    font-size: 10px;
}

/* Main */

.app-main {
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin-left: var(--sidebar-width);
    transition: var(--transition);
}

/* Header */

.app-header {
    position: sticky;
    top: 0;
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 27px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    z-index: 1030;
}

.header-left,
.header-actions {
    display: flex;
    align-items: center;
}

.header-left {
    gap: 16px;
}

.header-actions {
    gap: 10px;
}

.sidebar-toggle-button,
.header-icon-button {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #ffffff;
    color: var(--primary-dark);
    font-size: 20px;
    transition: var(--transition);
}

    .sidebar-toggle-button:hover,
    .header-icon-button:hover {
        background: #edf3f8;
        border-color: #d5dee8;
    }

.page-heading-title {
    margin: 0;
    color: var(--primary-dark);
    font-size: 19px;
    font-weight: 700;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
    color: var(--text-secondary);
    font-size: 11px;
}

    .page-breadcrumb a {
        color: var(--primary-light);
        text-decoration: none;
    }

    .page-breadcrumb i {
        font-size: 8px;
    }

.header-icon-button {
    position: relative;
}

.notification-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 7px;
    height: 7px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: var(--danger);
}

.profile-menu-button {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 9px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
    transition: var(--transition);
}

    .profile-menu-button:hover {
        border-color: var(--border);
        background: #f7f9fb;
    }

.profile-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    font-size: 12px;
}

.profile-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.profile-name {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
}

.profile-role {
    color: var(--text-secondary);
    font-size: 10px;
}

.profile-arrow {
    color: var(--text-secondary);
    font-size: 10px;
}

.profile-dropdown {
    min-width: 230px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

    .profile-dropdown .dropdown-item {
        padding: 9px 11px;
        border-radius: 7px;
    }

/* Content */

.app-content {
    flex: 1;
    width: 100%;
    padding: 26px;
}

.app-footer {
    min-height: var(--footer-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 27px;
    border-top: 1px solid var(--border);
    background: #ffffff;
    color: var(--text-secondary);
    font-size: 11px;
}

/* Dashboard */

.dashboard-welcome {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    padding: 30px;
    border-radius: 17px;
    background: linear-gradient( 125deg, var(--primary-dark), var(--primary-light));
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

    .dashboard-welcome::after {
        content: "";
        position: absolute;
        top: -90px;
        right: -80px;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.06);
    }

    .dashboard-welcome::before {
        content: "";
        position: absolute;
        right: 130px;
        bottom: -120px;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: rgba(184, 146, 75, 0.13);
    }

.dashboard-welcome-content {
    position: relative;
    z-index: 2;
}

.dashboard-welcome-title {
    margin-bottom: 8px;
    font-size: 26px;
    font-weight: 700;
}

.dashboard-welcome-text {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
}

.dashboard-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
}

.stat-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    padding: 21px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

    .stat-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
    }

.stat-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.stat-card-label {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
}

.stat-card-value {
    margin-top: 7px;
    color: var(--primary-dark);
    font-size: 29px;
    font-weight: 700;
}

.stat-card-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 20px;
}

    .stat-card-icon.clients {
        color: #1f6faf;
        background: #e9f3fc;
    }

    .stat-card-icon.cases {
        color: #875f18;
        background: #fff5df;
    }

    .stat-card-icon.hearings {
        color: #9e3541;
        background: #fcecef;
    }

    .stat-card-icon.billing {
        color: #277b55;
        background: #e9f7f0;
    }

.stat-card-footer {
    margin-top: 14px;
    color: var(--text-secondary);
    font-size: 11px;
}

.dashboard-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.dashboard-card-header {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 19px;
    border-bottom: 1px solid var(--border);
}

.dashboard-card-title {
    margin: 0;
    color: var(--primary-dark);
    font-size: 15px;
    font-weight: 700;
}

.dashboard-card-subtitle {
    margin-top: 2px;
    color: var(--text-secondary);
    font-size: 10px;
}

.dashboard-card-body {
    padding: 19px;
}

.quick-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

    .quick-action:hover {
        color: var(--primary-dark);
        border-color: #bdcddd;
        background: #f7fafc;
        transform: translateY(-1px);
    }

.quick-action-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #edf3f8;
    color: var(--primary-light);
}

.quick-action-title {
    font-size: 12px;
    font-weight: 600;
}

.quick-action-description {
    margin-top: 2px;
    color: var(--text-secondary);
    font-size: 9px;
}

.dashboard-table {
    margin: 0;
}

    .dashboard-table th {
        padding: 11px 15px;
        border-bottom: 1px solid var(--border);
        background: #f8fafc;
        color: var(--text-secondary);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.4px;
        text-transform: uppercase;
    }

    .dashboard-table td {
        padding: 13px 15px;
        border-color: var(--border);
        vertical-align: middle;
        font-size: 12px;
    }

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 700;
}

    .status-pill.active {
        background: #e7f6ee;
        color: #23734e;
    }

    .status-pill.pending {
        background: #fff4dc;
        color: #94691e;
    }

    .status-pill.upcoming {
        background: #e9f2fb;
        color: #246b9f;
    }

/* Collapsed Sidebar */

body.sidebar-collapsed .app-sidebar {
    width: var(--sidebar-collapsed-width);
}

body.sidebar-collapsed .app-main {
    width: calc(100% - var(--sidebar-collapsed-width));
    margin-left: var(--sidebar-collapsed-width);
}

body.sidebar-collapsed .brand-text,
body.sidebar-collapsed .user-information,
body.sidebar-collapsed .sidebar-link-text,
body.sidebar-collapsed .sidebar-link-arrow,
body.sidebar-collapsed .sidebar-section-title,
body.sidebar-collapsed .sidebar-version,
body.sidebar-collapsed .sidebar-submenu {
    display: none;
}

body.sidebar-collapsed .sidebar-brand {
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
}

body.sidebar-collapsed .sidebar-brand-link {
    justify-content: center;
}

body.sidebar-collapsed .sidebar-user-card {
    justify-content: center;
    padding: 10px;
}

body.sidebar-collapsed .sidebar-link {
    justify-content: center;
    padding-left: 8px;
    padding-right: 8px;
}

body.sidebar-collapsed .sidebar-link-icon {
    width: auto;
    flex: none;
}

.sidebar-overlay {
    display: none;
}

/* Responsive */

@media (max-width: 991.98px) {
    .app-sidebar {
        transform: translateX(-100%);
    }

    .app-main {
        width: 100%;
        margin-left: 0;
    }

    body.sidebar-mobile-open .app-sidebar {
        transform: translateX(0);
    }

    body.sidebar-mobile-open .sidebar-overlay {
        position: fixed;
        inset: 0;
        display: block;
        background: rgba(6, 19, 33, 0.55);
        z-index: 1035;
    }

    .app-header {
        padding-left: 17px;
        padding-right: 17px;
    }

    .app-content {
        padding: 18px;
    }

    .profile-details,
    .profile-arrow {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .page-breadcrumb {
        display: none;
    }

    .app-footer {
        flex-direction: column;
        gap: 3px;
        text-align: center;
    }

    .quick-action-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-welcome {
        padding: 23px;
    }

    .dashboard-welcome-title {
        font-size: 22px;
    }
}

/* Client form */

.form-section-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    border-radius: 10px;
    background: #edf3f8;
    color: var(--primary-light);
    font-size: 18px;
}

.form-label {
    color: var(--primary-dark);
    font-size: 12px;
}

.form-control,
.form-select,
.input-group-text {
    min-height: 44px;
    border-color: var(--border);
    font-size: 13px;
}

textarea.form-control {
    min-height: auto;
}

.form-control:focus,
.form-select:focus {
    border-color: #8aa7c3;
    box-shadow: 0 0 0 0.2rem rgba(36, 87, 135, 0.12);
}

.input-group-text {
    background: #f7f9fb;
    color: var(--primary-light);
}

.registration-information {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.registration-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.registration-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    border-radius: 9px;
    background: #edf3f8;
    color: var(--primary-light);
}

.form-check-input:checked {
    border-color: var(--primary-light);
    background-color: var(--primary-light);
}

.btn-primary {
    border-color: var(--primary);
    background: var(--primary);
}

    .btn-primary:hover,
    .btn-primary:focus {
        border-color: var(--primary-dark);
        background: var(--primary-dark);
    }

/* Client details */

.client-profile-card {
    overflow: hidden;
}

    .client-profile-card .card-body {
        background: linear-gradient( 180deg, #ffffff 0%, #f8fafc 100%);
    }

.client-profile-avatar {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: linear-gradient( 145deg, var(--primary-light), var(--primary-dark));
    color: #ffffff;
    font-size: 25px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(23, 59, 99, 0.22);
}

.client-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 20px;
    background: #edf3f8;
    color: var(--primary-light);
    font-size: 10px;
    font-weight: 700;
}

.client-profile-summary {
    padding: 8px 20px 20px;
}

.client-profile-summary-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
}

.client-profile-summary-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    border-radius: 9px;
    background: #edf3f8;
    color: var(--primary-light);
}

.client-profile-summary-label {
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 600;
}

.client-profile-summary-value {
    margin-top: 2px;
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 500;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
    row-gap: 22px;
}

.details-item {
    min-width: 0;
}

.details-item-full {
    grid-column: 1 / -1;
}

.details-label {
    margin-bottom: 5px;
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.35px;
    text-transform: uppercase;
}

.details-value {
    color: var(--text-primary);
    font-size: 13px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.client-notes {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #f8fafc;
    color: var(--text-primary);
    font-size: 13px;
    line-height: 1.7;
    white-space: pre-wrap;
}

.empty-details-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 140px;
    color: var(--text-secondary);
    text-align: center;
    font-size: 12px;
}

    .empty-details-state i {
        font-size: 28px;
        color: #a8b6c5;
    }

@media (max-width: 767.98px) {
    .details-grid {
        grid-template-columns: 1fr;
    }

    .details-item-full {
        grid-column: auto;
    }
}

/* Delete client */

.delete-warning-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 32px;
    background: linear-gradient( 135deg, #991b1b, #dc2626);
    color: #ffffff;
}

    .delete-warning-header p {
        color: rgba(255, 255, 255, 0.82);
    }

.delete-warning-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 25px;
}

.delete-client-summary {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #f8fafc;
}

.delete-client-avatar {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    border-radius: 15px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 23px;
}

/* Client dashboard integration */

.dashboard-stat-card {
    display: block;
    height: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #ffffff;
    color: inherit;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .dashboard-stat-card:hover {
        transform: translateY(-3px);
        border-color: rgba(23, 59, 99, 0.25);
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
    }

.dashboard-stat-card-body {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
}

.dashboard-stat-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    border-radius: 14px;
    font-size: 23px;
}

    .dashboard-stat-icon.clients {
        background: #e8f0f7;
        color: var(--primary-light);
    }

.dashboard-stat-content {
    min-width: 0;
}

.dashboard-stat-label {
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 600;
}

.dashboard-stat-value {
    margin-top: 2px;
    color: var(--text-primary);
    font-size: 27px;
    font-weight: 700;
    line-height: 1.2;
}

.dashboard-stat-meta {
    margin-top: 5px;
    font-size: 10px;
    font-weight: 600;
}

.dashboard-stat-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 22px;
    border-top: 1px solid var(--border);
    background: #f8fafc;
    color: var(--primary-light);
    font-size: 11px;
    font-weight: 600;
}

.client-summary-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 105px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: #ffffff;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .client-summary-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 9px 24px rgba(15, 23, 42, 0.08);
    }

.client-summary-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    border-radius: 13px;
    font-size: 21px;
}

    .client-summary-icon.active {
        background: #dcfce7;
        color: #15803d;
    }

    .client-summary-icon.inactive {
        background: #f1f5f9;
        color: #64748b;
    }

    .client-summary-icon.deleted {
        background: #fee2e2;
        color: #b91c1c;
    }

.client-summary-label {
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 600;
}

.client-summary-number {
    margin-top: 2px;
    color: var(--text-primary);
    font-size: 23px;
    font-weight: 700;
}

.client-summary-arrow {
    margin-left: auto;
    color: #94a3b8;
}

.recent-client-avatar {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    border-radius: 10px;
    background: #e8f0f7;
    color: var(--primary-light);
    font-size: 11px;
    font-weight: 700;
}

.dashboard-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    padding: 35px;
    text-align: center;
}

.dashboard-empty-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 15px;
    background: #edf3f8;
    color: var(--primary-light);
    font-size: 24px;
}