.cpanel-admin-shell {
    background: #f4f7fb;
}

.cpanel-admin-shell .sidebar {
    background: #fbfcfe;
    border-right: 1px solid #e6edf5;
    box-shadow: 10px 0 28px rgba(15, 23, 42, 0.03);
}

.cpanel-admin-shell .sidebar-content,
.cpanel-admin-shell .sidebar-brand {
    background: transparent;
}

.cpanel-admin-shell .sidebar-brand {
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    padding: 1.05rem 1.35rem 0.8rem;
}

.cpanel-admin-shell .sidebar-header {
    color: #94a3b8;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-top: 0.85rem;
    padding: 0 1.35rem 0.4rem;
    text-transform: uppercase;
}

.cpanel-admin-shell .sidebar-link {
    align-items: center;
    border-radius: 10px;
    color: #64748b;
    display: flex;
    gap: 0.75rem;
    margin: 0.05rem 0.8rem;
    padding: 0.6rem 0.8rem;
    transition: all 0.2s ease;
}

.cpanel-icon {
    display: inline-block;
    flex: 0 0 auto;
    vertical-align: middle;
}

.cpanel-admin-shell .sidebar-link .cpanel-icon {
    height: 1rem;
    width: 1rem;
}

.cpanel-admin-shell .sidebar-link:hover,
.cpanel-admin-shell .sidebar-item.active .sidebar-link,
.cpanel-admin-shell .sidebar-link.active {
    background: rgba(37, 84, 216, 0.06);
    color: #1e3a8a;
}

.cpanel-admin-shell .sidebar-link:hover {
    background: rgba(148, 163, 184, 0.08);
    color: #334155;
}

.cpanel-admin-shell .main {
    background: #f4f7fb;
}

.cpanel-admin-shell .navbar.cpanel-admin-topbar {
    background: rgba(244, 247, 251, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(203, 213, 225, 0.6);
    min-height: 64px;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.cpanel-admin-shell .content.cpanel-admin-content {
    padding: 1.1rem 1.25rem 1.5rem;
}

.cpanel-page-shell {
    color: #0f172a;
}

.cpanel-page-header {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.15rem;
}

.cpanel-page-header > div:first-child {
    display: grid;
    gap: 0.2rem;
}

.cpanel-page-eyebrow {
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.cpanel-page-breadcrumb {
    align-items: center;
    color: #0f172a;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.875rem;
    gap: 0.7rem;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.cpanel-page-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 180ms ease;
}

.cpanel-page-breadcrumb a:hover,
.cpanel-page-breadcrumb a:focus-visible {
    color: #334155;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.cpanel-page-breadcrumb__separator {
    color: #94a3b8;
    font-size: 1.15rem;
    line-height: 1;
}

.cpanel-page-title {
    color: #0f172a;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.2rem;
}

.cpanel-page-subtitle {
    color: #64748b;
    max-width: 58rem;
}

.cpanel-page-actions {
    align-items: center;
    display: flex;
    gap: 0.65rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.cpanel-create-btn {
    align-items: center;
    background: linear-gradient(180deg, #3c63de 0%, #2f55cf 100%);
    border: 0;
    border-radius: 0.95rem;
    box-shadow: 0 8px 18px rgba(47, 85, 207, 0.18);
    color: #ffffff;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 800;
    gap: 0.55rem;
    letter-spacing: -0.02em;
    min-height: 2.7rem;
    padding: 0.55rem 1rem;
    text-decoration: none;
}

.cpanel-create-btn:hover,
.cpanel-create-btn:focus {
    background: linear-gradient(180deg, #355bd7 0%, #284bbf 100%);
    box-shadow: 0 16px 30px rgba(40, 75, 191, 0.28);
    color: #ffffff;
    transform: translateY(-1px);
}

.cpanel-create-btn .cpanel-icon {
    height: 0.95rem;
    width: 0.95rem;
}

.cpanel-primary-btn,
.cpanel-secondary-btn,
.cpanel-danger-btn {
    align-items: center;
    border-radius: 12px;
    box-shadow: none;
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 600;
    gap: 0.45rem;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.55rem 0.95rem;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.cpanel-primary-btn {
    background: #2554d8;
    border: 1px solid #2554d8;
    box-shadow: 0 8px 16px rgba(37, 84, 216, 0.14);
    color: #ffffff;
}

.cpanel-primary-btn:hover,
.cpanel-primary-btn:focus {
    background: #1d45b2;
    border-color: #1d45b2;
    box-shadow: 0 10px 18px rgba(29, 69, 178, 0.18);
    color: #ffffff;
}

.cpanel-secondary-btn {
    background: #ffffff;
    border: 1px solid #dbe5f0;
    color: #475569;
}

.cpanel-secondary-btn:hover,
.cpanel-secondary-btn:focus {
    background: #f8fbff;
    border-color: #cbd9ea;
    color: #334155;
}

.cpanel-danger-btn {
    background: #ffffff;
    border: 1px solid rgba(220, 38, 38, 0.18);
    color: #b91c1c;
}

.cpanel-danger-btn:hover,
.cpanel-danger-btn:focus {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.24);
    color: #991b1b;
}

.cpanel-secondary-btn .cpanel-icon,
.cpanel-primary-btn .cpanel-icon,
.cpanel-danger-btn .cpanel-icon {
    height: 0.9rem;
    width: 0.9rem;
}

.cpanel-row-btn {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.74rem;
    font-weight: 700;
    gap: 0.4rem;
    justify-content: center;
    min-height: 2rem;
    padding: 0.38rem 0.7rem;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    white-space: nowrap;
}

.cpanel-row-btn .cpanel-icon {
    height: 0.82rem;
    width: 0.82rem;
}

.cpanel-row-btn-primary {
    background: rgba(37, 84, 216, 0.1);
    border-color: rgba(37, 84, 216, 0.18);
    color: #2554d8;
}

.cpanel-row-btn-primary:hover,
.cpanel-row-btn-primary:focus {
    background: rgba(37, 84, 216, 0.16);
    color: #1d45b2;
}

.cpanel-row-btn-success {
    background: rgba(22, 163, 74, 0.1);
    border-color: rgba(22, 163, 74, 0.16);
    color: #15803d;
}

.cpanel-row-btn-success:hover,
.cpanel-row-btn-success:focus {
    background: rgba(22, 163, 74, 0.16);
    color: #166534;
}

.cpanel-row-btn-info {
    background: rgba(8, 145, 178, 0.1);
    border-color: rgba(8, 145, 178, 0.16);
    color: #0f7490;
}

.cpanel-row-btn-info:hover,
.cpanel-row-btn-info:focus {
    background: rgba(8, 145, 178, 0.16);
    color: #155e75;
}

.cpanel-row-btn-neutral {
    background: #ffffff;
    border-color: #dbe5f0;
    color: #475569;
}

.cpanel-row-btn-neutral:hover,
.cpanel-row-btn-neutral:focus {
    background: #f8fbff;
    border-color: #cbd9ea;
    color: #334155;
}

.cpanel-section-card {
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 20px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.045);
    overflow: hidden;
}

.cpanel-section-card .card-header {
    background: transparent;
    border-bottom: 1px solid #edf2f7;
    padding: 1rem 1.1rem 0.85rem;
}

.cpanel-section-card .card-body {
    padding: 1rem 1.1rem;
}

.cpanel-section-title {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0;
}

.cpanel-table-wrap {
    overflow-x: auto;
}

.cpanel-table {
    margin-bottom: 0;
}

.cpanel-table th {
    border-bottom-color: #edf2f7;
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.85rem 1rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.cpanel-table td {
    border-bottom-color: #edf2f7;
    padding: 0.9rem 1rem;
    vertical-align: middle;
}

.cpanel-table tbody tr:hover {
    background: #fbfdff;
}

.cpanel-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.cpanel-icon-action {
    align-items: center;
    color: #64748b;
    display: inline-flex;
    justify-content: center;
    text-decoration: none;
}

.cpanel-icon-action:hover {
    color: #2554d8;
}

.cpanel-icon-action .cpanel-icon {
    height: 16px;
    width: 16px;
}

.cpanel-pill {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 0.34rem 0.65rem;
}

.cpanel-pill-primary {
    background: rgba(37, 84, 216, 0.12);
    color: #2554d8;
}

.cpanel-pill-success {
    background: rgba(21, 128, 61, 0.12);
    color: #15803d;
}

.cpanel-pill-warning {
    background: rgba(245, 158, 11, 0.16);
    color: #b45309;
}

.cpanel-pill-info {
    background: rgba(8, 145, 178, 0.12);
    color: #0f7490;
}

.cpanel-pill-neutral {
    background: rgba(148, 163, 184, 0.16);
    color: #475569;
}

.cpanel-form-card {
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 20px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.045);
}

.cpanel-form-card .card-body {
    padding: 1.2rem 1.25rem;
}

.cpanel-form-card input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.cpanel-form-card select,
.cpanel-form-card textarea,
.cpanel-form-card .form-select,
.cpanel-form-card .form-control {
    background-color: #fbfdff;
    border: 1px solid #dbe5f0;
    border-radius: 12px;
    box-shadow: none;
    min-height: 44px;
    padding: 0.65rem 0.85rem;
}

.cpanel-form-card textarea {
    min-height: 120px;
}

.cpanel-form-card input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):focus,
.cpanel-form-card select:focus,
.cpanel-form-card textarea:focus,
.cpanel-form-card .form-select:focus,
.cpanel-form-card .form-control:focus {
    background-color: #ffffff;
    border-color: rgba(37, 84, 216, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(37, 84, 216, 0.08);
}

.cpanel-form-actions {
    align-items: center;
    border-top: 1px solid #edf2f7;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
}

.cpanel-team-panel {
    background: linear-gradient(180deg, #fbfdff 0%, #f7faff 100%);
    border: 1px solid #e1eaf5;
    border-radius: 18px;
    padding: 1rem 1rem 0.95rem;
}

.cpanel-team-panel__header {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.cpanel-team-panel__title {
    color: #0f172a;
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.cpanel-team-panel__subtitle {
    color: #64748b;
    font-size: 0.88rem;
}

.cpanel-team-group {
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 16px;
    padding: 1rem;
}

.cpanel-team-group + .cpanel-team-group {
    margin-top: 0.9rem;
}

.cpanel-team-group__header {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 0.95rem;
}

.cpanel-team-group__title-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.2rem;
}

.cpanel-team-group__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.cpanel-team-group__helper {
    color: #64748b;
    font-size: 0.87rem;
}

.cpanel-team-assigned-list {
    display: grid;
    gap: 0.7rem;
}

.cpanel-team-member,
.cpanel-modal-assignment-item {
    align-items: center;
    background: #fbfdff;
    border: 1px solid #dbe5f0;
    border-radius: 14px;
    display: flex;
    gap: 0.9rem;
    justify-content: space-between;
    padding: 0.85rem 0.95rem;
}

.cpanel-team-member__summary {
    align-items: center;
    display: flex;
    gap: 0.85rem;
    min-width: 0;
}

.cpanel-team-member__avatar {
    align-items: center;
    background: rgba(37, 84, 216, 0.12);
    border-radius: 999px;
    color: #2554d8;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 700;
    height: 40px;
    justify-content: center;
    min-width: 40px;
    width: 40px;
}

.cpanel-team-member__body {
    flex: 1 1 auto;
    min-width: 0;
}

.cpanel-team-member__name {
    color: #0f172a;
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
}

.cpanel-team-member__meta {
    margin-top: 0.25rem;
}

.cpanel-modal-assignment-list {
    display: grid;
    gap: 0.7rem;
}

.cpanel-modal-assignment-item {
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.cpanel-modal-assignment-item:hover {
    border-color: #c4d5eb;
    transform: translateY(-1px);
}

.cpanel-team-group .cpanel-row-btn {
    white-space: nowrap;
}

.cpanel-assignment-empty {
    background: #ffffff;
    border: 1px dashed #dbe5f0;
    border-radius: 14px;
    color: #64748b;
    padding: 0.9rem 1rem;
    text-align: center;
}

@media (max-width: 767.98px) {
    .cpanel-team-group__header,
    .cpanel-team-member,
    .cpanel-modal-assignment-item {
        align-items: stretch;
        flex-direction: column;
    }

    .cpanel-team-group__header .cpanel-row-btn,
    .cpanel-team-member .cpanel-row-btn,
    .cpanel-modal-assignment-item .cpanel-row-btn {
        width: 100%;
    }
}

.cpanel-alert-stack {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cpanel-empty-state {
    align-items: center;
    background: #fbfdff;
    border: 1px dashed #dbe5f0;
    border-radius: 14px;
    color: #64748b;
    display: flex;
    justify-content: center;
    min-height: 120px;
    padding: 1.2rem;
    text-align: center;
}

.cpanel-empty-state > * {
    max-width: 28rem;
}

.cpanel-inline-note {
    color: #64748b;
    font-size: 0.88rem;
}

.cpanel-modal .modal-content {
    border: 1px solid #e7edf5;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.cpanel-modal .modal-header,
.cpanel-modal .modal-footer {
    border-color: #edf2f7;
}

.cpanel-modal .modal-header {
    padding: 0.95rem 1rem 0.85rem;
}

.cpanel-modal .modal-body {
    padding: 1rem;
}

.cpanel-modal .modal-footer {
    align-items: center;
    gap: 0.65rem;
    justify-content: flex-end;
    padding: 0.9rem 1rem 1rem;
}

.profile-page {
    color: #0f172a;
}

.profile-page .cpanel-page-header,
.profile-page .profile-page-header {
    margin-bottom: 1.4rem;
}

.profile-message-stack {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
}

.profile-message-stack .alert {
    border: 1px solid #dbe5f0;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
    margin-bottom: 0;
    padding: 0.9rem 1rem;
}

.profile-card {
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 20px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.045);
    overflow: hidden;
}

.profile-card .card-body {
    padding: 1.25rem;
}

.profile-card-heading {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.profile-card-copy {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.profile-page .form-label {
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.38rem;
}

.profile-page .form-control,
.profile-page .form-select {
    background-color: #fbfdff;
    border: 1px solid #dbe5f0;
    border-radius: 12px;
    box-shadow: none;
    min-height: 44px;
    padding: 0.65rem 0.85rem;
}

.profile-page .form-control:focus,
.profile-page .form-select:focus {
    background-color: #ffffff;
    border-color: rgba(37, 84, 216, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(37, 84, 216, 0.08);
}

.profile-actions {
    align-items: center;
    border-top: 1px solid #edf2f7;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1rem;
    padding-top: 1rem;
}

.profile-meta-list {
    display: grid;
    gap: 0.85rem;
    margin: 0;
}

.profile-meta-item {
    align-items: flex-start;
    display: grid;
    gap: 0.15rem;
}

.profile-meta-label {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0;
    text-transform: uppercase;
}

.profile-meta-value {
    color: #0f172a;
    font-size: 0.95rem;
    margin: 0;
}

.profile-password-note {
    color: #64748b;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
    .cpanel-admin-shell .content.cpanel-admin-content {
        padding: 1rem;
    }

    .cpanel-create-btn {
        min-height: 2.55rem;
        padding: 0.5rem 0.9rem;
    }

    .cpanel-primary-btn,
    .cpanel-secondary-btn,
    .cpanel-danger-btn {
        min-height: 2.4rem;
        padding: 0.5rem 0.85rem;
    }

    .cpanel-page-header {
        flex-direction: column;
    }

    .cpanel-page-actions {
        width: 100%;
    }

    .cpanel-page-actions .btn {
        width: 100%;
    }

    .cpanel-form-actions > * {
        width: 100%;
    }

    .profile-actions > * {
        width: 100%;
    }
}

.cpanel-table-card {
    border-radius: 18px;
}

.cpanel-clean-table {
    min-width: 760px;
}

.cpanel-clean-table th {
    background: #fbfdff;
    border-bottom: 1px solid #e7edf5;
    color: #64748b;
    font-size: 0.72rem;
    padding-bottom: 0.78rem;
    padding-top: 0.78rem;
}

.cpanel-clean-table td {
    color: #334155;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

.cpanel-clean-table tbody tr {
    transition: background-color 0.18s ease;
}

.cpanel-clean-table tbody tr:last-child td {
    border-bottom: 0;
}

.cpanel-clean-table tbody tr:hover {
    background: #f8fbff;
}

.client-cell {
    min-width: 210px;
}

.client-cell__identity {
    align-items: center;
    display: flex;
    gap: 0.65rem;
}

.client-cell__avatar {
    align-items: center;
    background: #eef2f7;
    border-radius: 50%;
    color: #475569;
    display: inline-flex;
    flex: 0 0 2rem;
    font-size: 0.72rem;
    font-weight: 700;
    height: 2rem;
    justify-content: center;
    letter-spacing: 0.02em;
    width: 2rem;
}

.client-cell__name {
    color: #0f172a;
    font-weight: 700;
    line-height: 1.25;
}

.client-cell__link {
    color: inherit;
    text-decoration: none;
}

.client-cell__link:hover,
.client-cell__link:focus {
    color: #2554d8;
    text-decoration: none;
}

.client-cell__meta,
.client-contact-cell__meta {
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.35;
    margin-top: 0.2rem;
}

.client-sites-cell {
    min-width: 160px;
}

.client-sites-cell__count {
    color: #0f172a;
    font-weight: 700;
    line-height: 1.25;
}

.cpanel-count-cell {
    color: #0f172a;
    font-weight: 700;
}

.cpanel-status-badge {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
    min-height: 1.75rem;
    padding: 0.38rem 0.62rem;
    white-space: nowrap;
}

.cpanel-status-badge-active {
    background: #ecfdf3;
    border-color: #bbf7d0;
    color: #166534;
}

.cpanel-status-badge-inactive {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #475569;
}

.client-management-page .cpanel-page-header {
    align-items: center;
    margin-bottom: 1.25rem;
}

.client-management-page .cpanel-page-title {
    font-size: clamp(1.25rem, 1.8vw, 1.6rem);
}

.client-management-page .cpanel-page-actions .cpanel-create-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: 1px solid #2563eb;
    border-radius: 0.3rem;
    box-shadow: none;
    font-size: 0.875rem;
    font-weight: 600;
    min-height: 2.4rem;
    padding: 0.45rem 0.8rem;
}

.client-management-page .cpanel-page-actions .cpanel-create-btn:hover,
.client-management-page .cpanel-page-actions .cpanel-create-btn:focus {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    border-color: #1d4ed8;
    box-shadow: none;
    color: #fff;
    transform: none;
}

.client-management-page .cpanel-table-card {
    border-color: #e2e6ed;
    border-radius: 12px;
    box-shadow: none;
}

.client-management-page .cpanel-clean-table th {
    background: transparent;
    border-bottom: 0 !important;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0;
    padding: 0.72rem 0.85rem;
    text-transform: none;
}

.client-management-page .cpanel-clean-table thead {
    border-bottom: 0;
}

.client-management-page .cpanel-clean-table thead tr {
    border-bottom: 0 !important;
}

.client-management-page .cpanel-clean-table > tbody {
    border-top: 1px solid #e5e9f0 !important;
}

.client-management-page .cpanel-clean-table td {
    border-bottom-color: #e5e9f0;
    color: #475569;
    font-size: 0.875rem;
    padding: 0.72rem 0.85rem;
}

.client-management-page .cpanel-clean-table tbody tr:hover {
    background: #fbfcfe;
}

.client-management-page .cpanel-clean-table th:nth-child(4),
.client-management-page .cpanel-clean-table td:nth-child(4),
.client-management-page .cpanel-clean-table th:nth-child(5),
.client-management-page .cpanel-clean-table td:nth-child(5) {
    text-align: right;
}

.client-management-page .client-cell__name,
.client-management-page .client-sites-cell__count {
    font-size: 0.9rem;
}

.client-management-page .cpanel-status-badge {
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    min-height: 1.45rem;
    padding: 0.24rem 0.55rem;
}

.client-management-page .cpanel-status-badge-active {
    background: #ecfeff;
    border-color: #5eead4;
    color: #0f766e;
}

.client-management-page .cpanel-status-badge-inactive {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #e11d48;
}

.client-management-page .cpanel-row-actions-menu {
    display: inline-flex;
}

.client-management-page .cpanel-row-actions-trigger {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #64748b;
    display: inline-flex;
    height: 2rem;
    justify-content: center;
    padding: 0;
    width: 2rem;
}

.client-management-page .cpanel-row-actions-trigger:hover,
.client-management-page .cpanel-row-actions-trigger:focus-visible,
.client-management-page .cpanel-row-actions-trigger[aria-expanded="true"] {
    background: #f1f5f9;
    border-color: #dbe5f0;
    color: #1e293b;
    outline: none;
}

.client-management-page .cpanel-row-actions-trigger::after {
    display: none;
}

.client-management-page .cpanel-row-actions-dropdown {
    border: 1px solid #dbe5f0;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    min-width: 9rem;
    padding: 0.35rem;
}

.client-management-page .cpanel-row-actions-dropdown .dropdown-item {
    align-items: center;
    border-radius: 7px;
    color: #334155;
    display: flex;
    font-size: 0.85rem;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
}

.client-management-page .cpanel-row-actions-dropdown .dropdown-item:hover,
.client-management-page .cpanel-row-actions-dropdown .dropdown-item:focus {
    background: #f1f5f9;
    color: #1e293b;
}

.client-management-page .cpanel-client-list-toolbar {
    align-items: center;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.75rem 1rem;
}

.client-management-page .cpanel-client-search-form {
    align-items: center;
    display: flex;
    flex: 1 1 38rem;
    gap: 0.75rem;
    margin: 0;
    max-width: 38rem;
}

.client-management-page .cpanel-client-search-wrap {
    flex: 1 1 24rem;
    max-width: 24rem;
    position: relative;
}

.client-management-page .cpanel-client-status-select {
    background: #fff;
    border: 1px solid #dbe5f0;
    border-radius: 10px;
    color: #334155;
    font-size: 0.875rem;
    height: 2.4rem;
    min-width: 7.25rem;
    padding: 0.45rem 2rem 0.45rem 0.75rem;
}

.client-management-page .cpanel-client-search-icon {
    color: #64748b;
    left: 0.75rem;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.client-management-page .cpanel-client-search-input {
    background: #f8fafc;
    border: 1px solid #dbe5f0;
    border-radius: 10px;
    color: #0f172a;
    font-size: 0.875rem;
    height: 2.4rem;
    padding: 0.45rem 0.75rem 0.45rem 2.25rem;
    width: 100%;
}

.client-management-page .cpanel-client-search-input:focus {
    background: #fff;
    border-color: rgba(37, 84, 216, 0.5);
    box-shadow: 0 0 0 3px rgba(37, 84, 216, 0.08);
    outline: none;
}

.client-management-page .cpanel-client-status-select:focus {
    border-color: rgba(37, 84, 216, 0.5);
    box-shadow: 0 0 0 3px rgba(37, 84, 216, 0.08);
    outline: none;
}

.client-management-page .cpanel-client-list-count {
    color: #64748b;
    flex: 0 0 auto;
    font-size: 0.8125rem;
    font-weight: 600;
}

.client-management-page .cpanel-section-card .card-header {
    padding: 1.05rem 1.15rem;
}

.client-management-page .cpanel-actions {
    gap: 0.4rem;
}

.client-management-page .cpanel-row-btn {
    min-height: 1.9rem;
    padding-left: 0.68rem;
    padding-right: 0.68rem;
}

@media (max-width: 767.98px) {
    .client-management-page .cpanel-client-list-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .client-management-page .cpanel-client-search-form {
        align-items: stretch;
        flex-direction: column;
        max-width: none;
    }

    .client-management-page .cpanel-client-search-wrap {
        max-width: none;
        width: 100%;
    }

    .client-management-page .cpanel-client-status-select {
        width: 100%;
    }

    .client-management-page .cpanel-client-list-count {
        align-self: flex-start;
    }

}

.cpanel-row--inactive {
    opacity: 0.62;
}

.cpanel-row--inactive:hover {
    opacity: 0.78;
}

/* ── Filter bar ────────────────────────────────────────────── */
.cpanel-filter-bar {
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid #e8edf5;
    background: #fff;
}

.cpanel-filter-bar form {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.cpanel-filter-search-wrap {
    position: relative;
}

.cpanel-filter-search-wrap .cpanel-filter-search-icon {
    color: #94a3b8;
    left: 0.7rem;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.cpanel-filter-bar .cpanel-filter-input,
.cpanel-filter-bar .cpanel-filter-select {
    appearance: auto;
    background-color: #f8fafc;
    border: 1px solid #dbe5f0;
    border-radius: 10px;
    color: #334155;
    font-size: 0.875rem;
    height: 38px;
    padding: 0.375rem 0.75rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cpanel-filter-bar .cpanel-filter-input {
    padding-left: 2.1rem;
    width: 220px;
}

.cpanel-filter-bar .cpanel-filter-select {
    width: 150px;
}

.cpanel-filter-bar .cpanel-filter-input:focus,
.cpanel-filter-bar .cpanel-filter-select:focus {
    background-color: #fff;
    border-color: rgba(37, 84, 216, 0.5);
    box-shadow: 0 0 0 3px rgba(37, 84, 216, 0.08);
    outline: none;
}

.cpanel-filter-btn {
    align-items: center;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.875rem;
    font-weight: 600;
    height: 38px;
    justify-content: center;
    padding: 0 1.1rem;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.cpanel-filter-btn-apply {
    background: #2554d8;
    border: 1px solid #2554d8;
    color: #fff;
}

.cpanel-filter-btn-apply:hover,
.cpanel-filter-btn-apply:focus {
    background: #1d45b2;
    border-color: #1d45b2;
    color: #fff;
}

.cpanel-filter-btn-clear {
    background: #fff;
    border: 1px solid #dbe5f0;
    color: #64748b;
}

.cpanel-filter-btn-clear:hover,
.cpanel-filter-btn-clear:focus {
    background: #f8fafc;
    border-color: #b8cce0;
    color: #334155;
}

/* ── Pagination ────────────────────────────────────────────── */
.cpanel-pagination {
    align-items: center;
    background: #f8fafc;
    border-top: 1px solid #e8edf5;
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
}

.cpanel-pagination__count {
    color: #64748b;
    font-size: 0.8125rem;
}

.cpanel-pagination .page-link {
    border-color: #e2e8f0;
    border-radius: 8px !important;
    color: #334155;
    font-size: 0.8125rem;
    padding: 0.3rem 0.65rem;
}

.cpanel-pagination .page-link:hover {
    background-color: #f1f5f9;
    border-color: #cbd9ea;
    color: #1e293b;
}

.cpanel-pagination .page-item + .page-item {
    margin-left: 3px;
}

.cpanel-pagination .page-item.active .page-link {
    background-color: #2554d8;
    border-color: #2554d8;
    color: #fff;
}

.cpanel-pagination .page-item.disabled .page-link {
    background-color: transparent;
    border-color: #e2e8f0;
    color: #94a3b8;
}

/* ── Request follow-up page ────────────────────────────────── */
.req-id-badge {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #1e293b;
    font-family: ui-monospace, monospace;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.25rem 0.65rem;
}

.req-detail-grid {
    border: 1px solid #e8edf5;
    border-radius: 10px;
    overflow: hidden;
}

.req-detail-row {
    align-items: baseline;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    gap: 1rem;
    padding: 0.55rem 0.9rem;
}

.req-detail-row:last-child {
    border-bottom: none;
}

.req-detail-label {
    color: #64748b;
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    width: 100px;
}

.req-detail-value {
    color: #1e293b;
    font-size: 0.875rem;
}

.req-detail-section-title {
    color: #475569;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.req-description-block {
    background: #f8fafc;
    border: 1px solid #e8edf5;
    border-radius: 10px;
    color: #334155;
    font-size: 0.875rem;
    line-height: 1.6;
    padding: 0.75rem 1rem;
}

.req-reporter-strip {
    border-top: 1px solid #e8edf5;
    padding: 0.875rem 1.25rem;
}

.req-reporter-label {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.req-reporter-info {
    align-items: center;
    display: flex;
    gap: 0.625rem;
}

.req-reporter-avatar {
    align-items: center;
    background: #e0e7ff;
    border-radius: 50%;
    color: #4338ca;
    display: flex;
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.req-reporter-name {
    color: #1e293b;
    font-size: 0.875rem;
    font-weight: 600;
}

.req-reporter-role {
    color: #64748b;
    font-size: 0.8rem;
}
.client-detail-page { width:100%; max-width:none; margin:0; }
.client-detail-card { background: #fff; border: 1px solid #e1e6ef; border-radius: 12px; padding: 24px; box-shadow: 0 3px 14px rgba(27,45,74,.04); }
.client-detail-header { display:flex; justify-content:space-between; gap:24px; align-items:flex-start; }
.client-detail-breadcrumb { display:flex; gap:8px; color:#69778b; font-size:.86rem; margin-bottom:16px; }
.client-detail-breadcrumb a { color:inherit; text-decoration:none; }
.client-detail-identity { display:flex; align-items:center; gap:14px; }
.client-detail-avatar { width:44px; height:44px; border-radius:50%; display:grid; place-items:center; background:#e5efff; color:#2163c5; font-weight:700; }
.client-detail-identity h1,.client-edit-card h1 { margin:0; color:#15253d; font-size:1.55rem; font-weight:700; }
.client-detail-identity p,.client-detail-subtitle { margin:3px 0 0; color:#6d7b8f; font-size:.9rem; }
.client-detail-actions { display:flex; align-items:center; gap:10px; }
.client-status-pill,.client-role-pill { display:inline-flex; align-items:center; border-radius:999px; padding:4px 10px; font-size:.78rem; font-weight:600; background:#ecfdf3; color:#087443; border:1px solid #b7edce; }
.client-status-pill.is-inactive { background:#f4f5f7; color:#64748b; border-color:#d9dee7; }
.client-detail-menu,.client-row-menu { position:relative; }
.client-detail-menu summary,.client-row-menu summary { list-style:none; cursor:pointer; border:1px solid #dce3ed; border-radius:8px; padding:4px 11px; font-size:1.2rem; line-height:1; color:#4a5a70; }
.client-detail-menu summary::-webkit-details-marker,.client-row-menu summary::-webkit-details-marker { display:none; }
.client-detail-menu-popover,.client-row-menu>div { position:absolute; z-index:4; right:0; top:calc(100% + 5px); min-width:165px; background:#fff; border:1px solid #e0e6ef; border-radius:8px; box-shadow:0 8px 22px rgba(21,37,61,.12); padding:5px; }
.client-detail-menu-popover button,.client-row-menu a,.client-row-menu button { display:block; width:100%; border:0; background:none; text-align:left; padding:8px 10px; color:#26364e; text-decoration:none; cursor:pointer; font:inherit; }
.client-detail-menu-popover button:hover,.client-row-menu a:hover,.client-row-menu button:hover { background:#f4f7fb; }
.client-detail-tabs { display:flex; gap:24px; border-bottom:1px solid #e2e7ef; margin-top:24px; }
.client-detail-tabs a { padding:10px 2px 12px; color:#64748b; text-decoration:none; border-bottom:2px solid transparent; }
.client-detail-tabs a.is-active { color:#14243d; border-color:#1f5fd1; font-weight:600; }
.client-detail-metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:24px 0; }
.client-detail-metrics>div { border:1px solid #e5eaf1; border-radius:10px; padding:17px; display:flex; flex-direction:column; gap:4px; }
.client-detail-metrics strong { font-size:1.45rem; color:#172944; }.client-detail-metrics span,.client-detail-fields label { color:#77859a; font-size:.84rem; }
.client-detail-section { border-top:1px solid #edf0f4; padding-top:20px; }.client-detail-section h2 { font-size:1.05rem; margin:0 0 15px; }.client-detail-fields { display:grid; grid-template-columns:repeat(2,1fr); gap:18px 28px; }.client-detail-fields p { margin:4px 0 0; color:#1d2d45; }.client-detail-fields p:empty { color:#8c98a9; }
.client-detail-toolbar { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:20px 0 16px; }.client-detail-search input { width:310px; border:1px solid #d9e0ea; border-radius:8px; padding:9px 12px; }.client-detail-table-wrap { overflow:visible; }.client-detail-table { width:100%; border-collapse:collapse; }.client-detail-table th { text-align:left; color:#64748b; font-size:.78rem; font-weight:600; padding:11px 12px; border-bottom:1px solid #e1e6ee; }.client-detail-table td { padding:14px 12px; border-bottom:1px solid #edf0f4; color:#273851; }.client-detail-table tbody tr[onclick] { cursor:pointer; }.client-detail-table tbody tr:hover { background:#fafcff; }.client-detail-table td strong,.client-detail-table td small { display:block; }.client-detail-table td small { color:#7b8798; margin-top:3px; }.client-detail-chevron { text-align:right; font-size:1.3rem; color:#7b8798; }.client-detail-empty { text-align:center; color:#7b8798; padding:28px !important; }.client-detail-helper { color:#69778b; margin:22px 0 8px; }
.client-edit-card { max-width:900px; }.client-edit-form { display:grid; grid-template-columns:repeat(2,1fr); gap:16px 22px; margin-top:24px; }.client-edit-field label { display:block; font-size:.84rem; color:#5f6f84; margin-bottom:5px; }.client-edit-field input,.client-edit-field select { width:100%; border:1px solid #d9e0ea; border-radius:7px; padding:9px 10px; }.client-edit-field.has-error small { color:#c0392b; }.client-edit-actions { grid-column:1/-1; display:flex; justify-content:flex-end; gap:10px; border-top:1px solid #edf0f4; padding-top:18px; margin-top:8px; }
@media (max-width: 700px) { .client-detail-header,.client-detail-toolbar { flex-direction:column; align-items:stretch; }.client-detail-actions { justify-content:flex-start; flex-wrap:wrap; }.client-detail-metrics,.client-detail-fields,.client-edit-form { grid-template-columns:1fr; }.client-detail-search input { width:100%; }.client-detail-toolbar .btn { align-self:flex-start; } }
.client-detail-table-wrap { overflow: visible; }
.client-detail-table thead th { background:#f3f7ff; color:#36527a; font-weight:700; border-bottom-color:#cbdcf6; }
.client-detail-helper { margin:16px 0 12px; line-height:1.45; }
.client-detail-fields { grid-template-columns:repeat(3,1fr); }
@media (max-width: 700px) { .client-detail-fields { grid-template-columns:1fr; } }
.client-detail-page .cpanel-row-actions-menu { display:inline-flex; }
.client-detail-page .cpanel-row-actions-trigger { align-items:center; background:transparent !important; border:0 !important; border-radius:8px; box-shadow:none !important; color:#64748b; display:inline-flex; height:2rem; justify-content:center; padding:0; width:2rem; }
.client-detail-page .cpanel-row-actions-trigger::after { display:none; }
.client-detail-page .cpanel-row-actions-trigger:hover,.client-detail-page .cpanel-row-actions-trigger:focus-visible,.client-detail-page .cpanel-row-actions-trigger[aria-expanded="true"] { background:#f1f5f9; border-color:#cbd9ea; color:#1e293b; outline:none; }
.client-detail-page .cpanel-row-actions-dropdown { border:1px solid #dbe5f0; border-radius:10px; box-shadow:0 10px 24px rgba(15,23,42,.12); min-width:9rem; padding:.35rem; }
.client-detail-page .cpanel-row-actions-dropdown .dropdown-item { align-items:center; border-radius:7px; color:#334155; display:flex; font-size:.85rem; gap:.5rem; padding:.5rem .6rem; }
.client-detail-page .cpanel-row-actions-dropdown .dropdown-item:hover,.client-detail-page .cpanel-row-actions-dropdown .dropdown-item:focus { background:#f1f5f9; color:#1e293b; }
.client-detail-page .client-detail-table td:last-child { text-align: right; }
.client-team-table th:last-child,.client-team-table td:last-child { text-align: right; }
.client-team-table thead th { background:#f3f7ff; color:#36527a; font-weight:700; border-bottom-color:#cbdcf6; }
.client-edit-button,.client-edit-button:hover { text-decoration: none !important; }
.site-management-page .cpanel-create-btn { border-radius:8px; min-height:2.4rem; padding:.5rem 1rem; }
.site-name-link { color:#203451; text-decoration:none; }
.site-name-link:hover { color:#1769d1; text-decoration:none; }
.site-management-page .site-status-pill { background:#ecfeff; border-color:#5eead4; border-radius:6px; color:#0f766e; font-size:.75rem; font-weight:500; min-height:1.45rem; padding:.24rem .55rem; }.site-management-page .site-status-pill i { display:none; }.site-management-page .cpanel-row-actions-trigger { background:transparent; border-color:transparent; }
.site-management-page .cpanel-row-actions-trigger { border:0; width:2rem; }
.site-management-page .cpanel-row-actions-trigger { background:transparent !important; border:0 !important; box-shadow:none !important; padding:0; }
.site-detail-page { width:100%; }.site-detail-card { background:#fff; border:1px solid #e1e6ef; border-radius:12px; box-shadow:0 3px 14px rgba(27,45,74,.04); padding:24px; }.site-detail-header { align-items:flex-start; display:flex; gap:24px; justify-content:space-between; }.site-detail-breadcrumb { color:#69778b; display:flex; font-size:.86rem; gap:8px; margin-bottom:16px; }.site-detail-breadcrumb a { color:#2163c5; text-decoration:none; }.site-detail-identity { align-items:center; display:flex; gap:14px; }.site-detail-icon { align-items:center; background:#e5efff; border-radius:12px; color:#2163c5; display:flex; height:44px; justify-content:center; width:44px; }.site-detail-identity h1 { color:#15253d; font-size:1.55rem; margin:0; }.site-detail-identity p,.site-detail-toolbar p,.site-edit-subtitle { color:#6d7b8f; font-size:.9rem; margin:3px 0 0; }.site-detail-actions { align-items:center; display:flex; gap:10px; }.site-deactivate-button { background:transparent; border:1px solid #dce3ed; border-radius:8px; color:#4a5a70; font-size:1.2rem; height:38px; width:42px; }.site-detail-tabs { border-bottom:1px solid #e2e7ef; display:flex; gap:24px; margin-top:24px; }.site-detail-tabs a { border-bottom:2px solid transparent; color:#64748b; padding:10px 2px 12px; text-decoration:none; }.site-detail-tabs a.is-active { border-color:#1f5fd1; color:#14243d; font-weight:600; }.site-detail-metrics { display:grid; gap:14px; grid-template-columns:repeat(3,1fr); margin:24px 0; }.site-detail-metrics>div { border:1px solid #dfe6ef; border-radius:10px; display:flex; flex-direction:column; gap:5px; min-height:90px; padding:17px; }.site-detail-metrics span,.site-detail-fields label { color:#77859a; font-size:.84rem; }.site-detail-metrics strong { color:#172944; font-size:1.4rem; }.site-detail-section,.site-access-section { border-top:1px solid #edf0f4; padding-top:20px; }.site-detail-section h2,.site-access-section h2 { color:#172944; font-size:1.05rem; margin:0 0 16px; }.site-detail-fields { display:grid; gap:18px 28px; grid-template-columns:repeat(2,1fr); }.site-detail-fields p { color:#1d2d45; margin:4px 0 0; }.site-detail-fields a { color:#2163c5; text-decoration:none; }.site-detail-toolbar { align-items:center; display:flex; justify-content:space-between; margin:18px 0 12px; }.site-detail-table-wrap { overflow-x:auto; }.site-detail-table { border-collapse:collapse; width:100%; }.site-detail-table th { background:#f3f7ff; border-bottom:1px solid #cbdcf6; color:#36527a; font-size:.78rem; padding:11px 12px; text-align:left; }.site-detail-table td { border-bottom:1px solid #edf0f4; color:#273851; padding:14px 12px; }.site-detail-table td strong,.site-detail-table td small { display:block; }.site-detail-table td small { color:#7b8798; margin-top:3px; }.site-role-pill { background:#ecfeff; border:1px solid #5eead4; border-radius:6px; color:#0f766e; font-size:.75rem; padding:4px 9px; }.site-detail-empty { color:#7b8798; padding:28px !important; text-align:center; }.site-access-heading { align-items:flex-start; display:flex; justify-content:space-between; }.site-access-heading p { color:#6d7b8f; margin:0; }.site-access-actions { align-items:center; display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }.site-access-action { align-items:center; border-radius:7px; display:inline-flex; font-size:.85rem; gap:6px; min-height:38px; padding:8px 12px; }.site-access-action .cpanel-icon { flex:0 0 auto; }.site-access-action-regenerate { background:#f8fafc; border-color:#dce3ed; color:#536681; }.site-access-action-regenerate:hover { background:#eef3f8; border-color:#cbd7e5; color:#34465e; }.site-integration-list { display:grid; gap:12px 24px; grid-template-columns:180px 1fr; margin:20px 0 0; }.site-integration-list dt { color:#77859a; }.site-integration-list dd { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.site-edit-card { max-width:900px; }.site-edit-card h1 { color:#15253d; font-size:1.55rem; margin:0; }.site-edit-form { display:grid; gap:16px 22px; grid-template-columns:repeat(2,1fr); margin-top:24px; }.site-edit-form label { color:#5f6f84; display:block; font-size:.84rem; margin-bottom:5px; }.site-edit-form input,.site-edit-form select { border:1px solid #d9e0ea; border-radius:7px; padding:9px 10px; width:100%; }.site-edit-form small { color:#c0392b; }.site-edit-actions { border-top:1px solid #edf0f4; display:flex; gap:10px; grid-column:1/-1; justify-content:flex-end; margin-top:8px; padding-top:18px; }
@media (max-width:700px) { .site-detail-header,.site-detail-toolbar,.site-access-heading { align-items:stretch; flex-direction:column; }.site-detail-actions { flex-wrap:wrap; }.site-detail-metrics,.site-detail-fields,.site-edit-form { grid-template-columns:1fr; }.site-detail-tabs { gap:14px; overflow-x:auto; }.site-integration-list { grid-template-columns:1fr; } }
.site-management-page { width:100%; }.site-filter-card,.site-table-card { background:#fff; border:1px solid #e4eaf2; border-radius:12px; box-shadow:0 3px 12px rgba(15,23,42,.05); margin-bottom:14px; }.site-filter-card { padding:14px; }.site-filter-form { align-items:end; display:flex; gap:12px; flex-wrap:wrap; }.site-search-field { align-items:center; border:1px solid #dce4ef; border-radius:7px; display:flex; flex:1 1 320px; gap:8px; padding:8px 11px; }.site-search-field span { color:#6d7e96; display:flex; }.site-search-field input,.site-filter-form select { border:0; color:#263951; font-size:.83rem; outline:0; width:100%; }.site-filter-form>div:not(.site-search-field) { min-width:170px; }.site-filter-form label { color:#60728c; display:block; font-size:.7rem; font-weight:600; margin:0 0 4px; }.site-filter-form select { border:1px solid #dce4ef; border-radius:7px; padding:8px 10px; }.site-reset-button { background:#fff; border:1px solid #d5dfeb; border-radius:7px; color:#40536d; padding:8px 13px; }.site-count { color:#60728c; font-size:.82rem; margin-left:auto; padding:9px 4px; white-space:nowrap; }.site-table-heading { border-bottom:1px solid #e8eef5; padding:12px 14px; }.site-table-heading h2 { color:#172944; font-size:1rem; margin:0; }.site-table-wrap { overflow-x:auto; }.site-management-table { border-collapse:collapse; min-width:980px; width:100%; }.site-management-table th { background:#f7faff; border-bottom:1px solid #dce6f2; color:#536681; font-size:.68rem; font-weight:700; letter-spacing:.04em; padding:10px 14px; text-align:left; text-transform:uppercase; }.site-management-table td { border-bottom:1px solid #edf1f6; color:#425572; font-size:.78rem; padding:10px 14px; vertical-align:middle; }.site-management-table tbody tr:hover { background:#fbfdff; }.site-name-cell { align-items:center; display:flex; gap:9px; }.site-name-cell strong,.site-name-cell small { display:block; }.site-name-cell strong { color:#203451; }.site-name-cell small { color:#8290a4; font-size:.7rem; margin-top:2px; }.site-avatar { align-items:center; background:#edf3fb; border-radius:50%; color:#617998; display:flex; height:28px; justify-content:center; width:28px; }.site-quick-links { display:flex; gap:10px; white-space:nowrap; }.site-quick-links a,.site-quick-links button { background:none; border:0; color:#1769d1; cursor:pointer; font-size:.72rem; padding:0; }.site-status-pill { align-items:center; background:#e7f7ed; border:1px solid #c5ecd3; border-radius:999px; color:#168044; display:inline-flex; font-size:.7rem; font-weight:600; gap:5px; padding:4px 9px; white-space:nowrap; }.site-status-pill i { background:#1aa052; border-radius:50%; height:6px; width:6px; }.site-management-table .cpanel-row-actions-trigger { align-items:center; background:#f7faff; border:1px solid #dbe5f0; border-radius:7px; color:#60728c; display:inline-flex; height:28px; justify-content:center; width:28px; }.site-actions-dropdown { border:1px solid #dbe5f0; border-radius:9px; box-shadow:0 10px 24px rgba(15,23,42,.12); min-width:130px; padding:4px; }.site-actions-dropdown .dropdown-item { align-items:center; display:flex; font-size:.8rem; gap:6px; padding:7px 8px; }.site-empty-state { color:#8290a4; padding:30px !important; text-align:center; }.site-table-footer { color:#718096; font-size:.75rem; padding:11px 14px; }
.client-metric-card { align-items:center; background:#fff; border:1px solid #dfe6ef; border-radius:10px; box-shadow:0 2px 5px rgba(15,23,42,.06); display:flex; justify-content:space-between; min-height:98px; padding:18px 20px; }.client-metric-card>div { display:flex; flex-direction:column; gap:5px; }.client-metric-card span:first-child { color:#52647e; font-size:.8rem; }.client-metric-card strong { color:#101f38; font-size:1.5rem; line-height:1; }.client-metric-icon { align-items:center; border-radius:10px; display:flex; height:40px; justify-content:center; width:40px; }.client-metric-icon-blue { background:#e7f0ff; color:#1971d8; }.client-metric-icon-teal { background:#e4f7f7; color:#06959a; }.client-metric-icon-orange { background:#fff2e6; color:#f07d18; }
.client-detail-metrics .client-metric-card { flex-direction:row; gap:0; }
.client-detail-metrics .client-metric-icon-blue { color:#1971d8; }.client-detail-metrics .client-metric-icon-teal { color:#06959a; }.client-detail-metrics .client-metric-icon-orange { color:#f07d18; }
.client-confirm-modal { border:0; border-radius:14px; box-shadow:0 20px 55px rgba(15,23,42,.24); overflow:hidden; }.client-confirm-modal .modal-header { border-bottom:1px solid #edf0f4; padding:20px 24px; }.client-confirm-modal .modal-title { color:#182b47; font-size:1.12rem; font-weight:700; letter-spacing:-.01em; }.client-confirm-modal .modal-body { padding:24px; color:#334155; }.client-confirm-icon { align-items:center; background:#fff0ee; border:1px solid #ffd2cd; border-radius:50%; color:#c9372c; display:flex; height:42px; justify-content:center; margin-bottom:14px; width:42px; }.client-confirm-modal .modal-body p { margin-bottom:8px; line-height:1.5; }.client-confirm-muted { color:#718096; font-size:.88rem; margin:14px 0 0 !important; }.client-confirm-modal .modal-footer { background:#fbfcfe; border-top:1px solid #edf0f4; gap:10px; padding:16px 24px; }.client-confirm-danger { background:#c9372c; border:1px solid #c9372c; border-radius:7px; color:#fff; font-weight:600; padding:8px 14px; }.client-confirm-danger:hover { background:#a92d25; border-color:#a92d25; color:#fff; }
.client-confirm-summary { align-items:center; background:#fff8f7; border:1px solid #f8d9d5; border-radius:10px; display:flex; gap:14px; padding:14px 16px; }.client-confirm-summary .client-confirm-icon { flex:0 0 42px; margin-bottom:0; }.client-confirm-summary p { margin:0 !important; }
.client-detail-menu-popover .client-danger-action { color:#b42318; display:flex; align-items:center; gap:8px; }
.client-detail-menu-popover .client-danger-action:hover { background:#fff1f0; color:#b42318; }
.client-edit-button,.client-status-action { align-items:center; display:inline-flex; gap:7px; border-radius:7px; padding:8px 12px; font-size:.86rem; font-weight:600; text-decoration:none; }
.client-edit-button { background:#e8f0ff; border:1px solid #b9cff5; color:#1f5fc4; }.client-edit-button:hover { background:#dce9ff; color:#174b9f; }
.client-status-action { background:#fff; border:1px solid #d9e1eb; color:#4d5d73; cursor:pointer; }.client-status-action.is-danger { border-color:#f0b7b2; color:#b42318; }.client-status-action.is-danger:hover { background:#fff1f0; }
.site-management-page .site-status-pill.is-inactive { background:#f4f5f7; border-color:#d9dee7; color:#64748b; }
/* Site Request Categories tab */
.site-category-add-button { align-items:center; display:inline-flex; gap:6px; white-space:nowrap; }.site-category-list { border-top:1px solid #edf0f4; list-style:none; margin:0; padding:0; }.site-category-row { align-items:center; border-bottom:1px solid #edf0f4; display:flex; flex-wrap:wrap; gap:10px 16px; padding:14px 4px; }.site-category-summary { display:flex; flex:1 1 220px; flex-direction:column; gap:3px; min-width:0; }.site-category-summary strong { color:#172944; overflow-wrap:anywhere; }.site-category-summary small { color:#7b8798; }.site-category-holder { align-items:center; display:flex; flex:0 1 340px; flex-wrap:wrap; gap:8px; }.site-category-holder .form-select { flex:1 1 200px; min-width:0; }.site-category-error { color:#b42318; flex-basis:100%; font-size:.84rem; margin-top:4px; }.site-category-hint { color:#6d7b8f; font-size:.86rem; margin:6px 0 12px; }.site-category-list .site-detail-empty { display:flex; flex-direction:column; gap:4px; }.site-category-options { border:1px solid #e1e6ef; border-radius:8px; max-height:260px; overflow-y:auto; }.site-category-option { align-items:center; border-bottom:1px solid #edf0f4; cursor:pointer; display:flex; gap:10px; margin:0; padding:10px 12px; }.site-category-option:last-child { border-bottom:0; }.site-category-option:hover { background:#f6f9ff; }.site-category-option[hidden] { display:none; }.site-category-option input { margin:0; }.site-category-create { display:flex; gap:8px; }.site-category-create .form-control { flex:1 1 auto; min-width:0; }
@media (max-width:700px) { .site-category-row { align-items:stretch; flex-direction:column; }.site-category-holder { flex-basis:auto; }.site-category-disable { align-self:flex-start; }.site-category-create { flex-direction:column; }.site-category-add-button { justify-content:center; } }
