@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
@import url("https://fonts.googleapis.com/css?family=IBM+Plex+Sans+Arabic:500,700,400");

* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

html,
body {
    margin: 0px;
    min-height: 100%;
}
/* a blue color as a generic focus style */
button:focus-visible {
    outline: 2px solid #4a90e2 !important;
    outline: -webkit-focus-ring-color auto 5px !important;
}

a {
    text-decoration: none;
}

:root {
    --grey: 0px 0px 32px 8px rgba(102, 102, 102, 0.08);
    --colors-primary-600: rgba(55, 42, 88, 1);
    --colors-primary-500: rgba(106, 93, 139, 1);
    --colors-primary-400: rgba(136, 125, 162, 1);
    --colors-primary-300: rgba(166, 158, 185, 1);
    --colors-primary-200: rgba(195, 190, 209, 1);
    --colors-primary-100: rgba(225, 223, 232, 1);
    --colors-primary-50: rgba(243, 242, 246, 1);
    --colors-additional-success: rgba(73, 160, 120, 1);
    --colors-additional-failure: rgba(219, 58, 52, 1);
    --khames-design-system-colors-gray-darkest: rgba(17, 17, 17, 1);
    --khames-design-system-colors-gray-white: rgba(255, 255, 255, 1);
    --khames-design-system-colors-gray-dark: rgba(102, 102, 102, 1);
    --khames-design-system-colors-gray-default: rgba(153, 153, 153, 1);
    --khames-design-system-colors-gray-lighter: rgba(230, 230, 230, 1);
}


/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f8f9fa;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Services content section wrapper for layout with menu */
.services-content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    width: 100%;
    min-width: 0; /* Allows flex item to shrink below content size */
}

.clientProfileServices-content {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Page Header */
.page-header {
    width: 100%;
    align-self: stretch;
    margin-bottom: 32px;
}

.header-content {
    width: 100%;
    text-align: start;
}

#profileServicesPage h1.page-title,
.clientProfileServices-content h1.page-title {
    margin: 0 0 8px !important;
    font-family: "IBM Plex Sans Arabic", Helvetica, sans-serif !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.01em !important;
    color: var(--khames-design-system-colors-gray-darkest) !important;
    text-align: inherit;
    unicode-bidi: plaintext;
}

#profileServicesPage .page-subtitle,
.clientProfileServices-content .page-subtitle {
    margin: 0 !important;
    font-family: "IBM Plex Sans Arabic", Helvetica, sans-serif !important;
    font-size: 0.9375rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: var(--khames-design-system-colors-gray-dark) !important;
    text-align: inherit;
    unicode-bidi: plaintext;
}

[dir="rtl"] #profileServicesPage .header-content,
[dir="rtl"] .clientProfileServices-content .header-content,
html[dir="rtl"] #profileServicesPage .header-content,
html[dir="rtl"] .clientProfileServices-content .header-content,
:lang(ar) #profileServicesPage .header-content,
:lang(ar) .clientProfileServices-content .header-content {
    text-align: right;
}

[dir="ltr"] #profileServicesPage .header-content,
[dir="ltr"] .clientProfileServices-content .header-content,
html[dir="ltr"] #profileServicesPage .header-content,
html[dir="ltr"] .clientProfileServices-content .header-content,
:lang(en) #profileServicesPage .header-content,
:lang(en) .clientProfileServices-content .header-content {
    text-align: left;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    width: 100%;
}

[dir="rtl"] #profileServicesPage .filter-tabs,
[dir="rtl"] .clientProfileServices-content .filter-tabs,
html[dir="rtl"] #profileServicesPage .filter-tabs,
html[dir="rtl"] .clientProfileServices-content .filter-tabs,
:lang(ar) #profileServicesPage .filter-tabs,
:lang(ar) .clientProfileServices-content .filter-tabs {
    direction: rtl;
}

    .filter-tabs::-webkit-scrollbar {
        height: 4px;
    }

    .filter-tabs::-webkit-scrollbar-track {
        background: transparent;
    }

    .filter-tabs::-webkit-scrollbar-thumb {
        background: var(--khames-design-system-colors-gray-lighter);
        border-radius: 4px;
    }

.tab-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: var(--khames-design-system-colors-gray-white);
    border: 2px solid var(--khames-design-system-colors-gray-lighter);
    border-radius: 12px;
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 14px;
    font-weight: 500;
    color: var(--khames-design-system-colors-gray-default);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

    .tab-button:hover {
        border-color: var(--colors-primary-300);
        background-color: var(--colors-primary-50);
    }

    .tab-button.active {
        background-color: var(--colors-primary-500);
        border-color: var(--colors-primary-500);
        color: var(--khames-design-system-colors-gray-white);
    }

.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.tab-button.active .tab-count {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Requests Container */
.requests-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Request Card */
.request-card {
    background-color: var(--khames-design-system-colors-gray-white);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

    .request-card:hover {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }

/* Request Header */
.request-header {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

/* Image at inline-start: left in LTR, right in RTL */
#profileServicesPage .request-header {
    flex-direction: row;
}

#profileServicesPage .request-header .request-visual {
    order: -1;
}

#profileServicesPage .request-header .request-info {
    order: 0;
}


.request-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    text-align: start;
}

[dir="rtl"] .request-info,
html[dir="rtl"] .request-info,
:lang(ar) .request-info {
    text-align: right;
}

.request-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
}

[dir="ltr"] .request-title-row {
    flex-direction: row;
}

[dir="rtl"] .request-title-row,
html[dir="rtl"] .request-title-row,
:lang(ar) .request-title-row {
    flex-direction: row;
    text-align: right;
}

#profileServicesPage h2.request-title,
#profileServicesPage h2.request-title-compact,
.clientProfileServices-content h2.request-title,
.clientProfileServices-content h2.request-title-compact {
    margin: 0 !important;
    font-family: "IBM Plex Sans Arabic", Helvetica, sans-serif !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    color: var(--khames-design-system-colors-gray-darkest) !important;
    flex: 1;
    min-width: 0;
    text-align: inherit;
    unicode-bidi: plaintext;
}

.request-image {
    width: 110px;
    height: 110px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
}

.request-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

[dir="rtl"] .request-meta,
html[dir="rtl"] .request-meta,
:lang(ar) .request-meta {
    justify-content: flex-start;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 14px;
    font-weight: 500;
    color: var(--khames-design-system-colors-gray-dark);
}

[dir="ltr"] .meta-item,
html[dir="ltr"] .meta-item,
#profileServicesPage[dir="ltr"] .meta-item {
    flex-direction: row;
}

[dir="rtl"] .meta-item,
html[dir="rtl"] .meta-item,
#profileServicesPage[dir="rtl"] .meta-item,
:lang(ar) .meta-item {
    flex-direction: row-reverse;
}

    .meta-item img {
        width: 20px;
        height: 20px;
    }

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 10px;
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.status-new {
    background-color: var(--colors-primary-50);
    color: var(--colors-primary-500);
}

.status-in-progress {
    background-color: #FFF4E6;
    color: #F59E0B;
}

.status-completed {
    background-color: #F0F0F0;
    color: var(--khames-design-system-colors-gray-dark);
}

/* Offers Section */
.offers-section {
    margin-bottom: 20px;
}

.offers-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 0 16px;
    padding: 0 0 12px;
    border: none;
    border-bottom: 2px solid var(--khames-design-system-colors-gray-lighter);
    background: transparent;
    cursor: pointer;
    text-align: inherit;
    font: inherit;
    color: inherit;
    box-sizing: border-box;
}

.offers-header:hover .offers-title {
    color: var(--colors-primary-500);
}

.offers-header:focus-visible {
    outline: 2px solid var(--colors-primary-400);
    outline-offset: 4px;
    border-radius: 8px;
}

.offers-section:not(.is-expanded) .offers-body {
    display: none;
}

.offers-section:not(.is-expanded) .offers-header {
    margin-bottom: 0;
}

.offers-toggle-icon {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.offers-section:not(.is-expanded) .offers-toggle-icon {
    transform: rotate(180deg);
}

#profileServicesPage .offers-title,
.clientProfileServices-content .offers-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    font-family: "IBM Plex Sans Arabic", Helvetica, sans-serif !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    letter-spacing: normal !important;
    color: var(--khames-design-system-colors-gray-darkest) !important;
}

.offers-title-text {
    pointer-events: none;
}

    .offers-title .offers-toggle-icon,
    .offers-title img {
        width: 20px;
        height: 20px;
    }

.offers-count {
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 14px;
    font-weight: 600;
    color: var(--colors-primary-500);
    background-color: var(--colors-primary-50);
    padding: 6px 12px;
    border-radius: 8px;
}

.workflow-payment-gate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding: 16px 20px;
    border: 1px solid #f0d78c;
    border-radius: 12px;
    background: #fff8e6;
}

.workflow-payment-gate__content {
    flex: 1 1 auto;
    min-width: 0;
}

.workflow-payment-gate__title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--khames-design-system-colors-gray-darkest);
}

.workflow-payment-gate__hint,
.workflow-payment-gate__amount {
    margin: 0;
    font-size: 14px;
    color: var(--khames-design-system-colors-gray-dark);
}

.workflow-payment-gate__action {
    flex: 0 0 auto;
    white-space: nowrap;
}

.offer-card--payment-gated {
    opacity: 0.92;
}

.offer-card .offer-pay-first {
    background-color: var(--colors-primary-500);
    border-color: var(--colors-primary-500);
}

@media (max-width: 768px) {
    .workflow-payment-gate {
        flex-direction: column;
        align-items: stretch;
    }

    .workflow-payment-gate__action {
        width: 100%;
    }
}

.offers-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Offer Card */
.offer-card {
    position: relative;
    background-color: #FAFAFA;
    border: 2px solid var(--khames-design-system-colors-gray-lighter);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

    .offer-card:hover {
        border-color: var(--colors-primary-300);
        background-color: var(--colors-primary-50);
    }

.best-offer {
    border-color: var(--colors-additional-success);
    background-color: #F0FDF4;
}

.best-offer-badge {
    position: absolute;
    top: -12px;
    inset-inline-start: 20px;
    background-color: var(--colors-additional-success);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(73, 160, 120, 0.3);
}

.offer-content {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-direction: row;
    align-items: flex-start;
}

#profileServicesPage .offer-content {
    flex-direction: row;
}

#profileServicesPage .offer-content .provider-image {
    order: -1;
}

#profileServicesPage .offer-content .offer-details {
    order: 0;
}

.provider-image {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.offer-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    text-align: start;
    align-items: flex-start;
}

.provider-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex-direction: row;
}

#profileServicesPage[dir="ltr"] .provider-header,
[dir="ltr"] #profileServicesPage .provider-header,
html[dir="ltr"] #profileServicesPage .provider-header {
    flex-direction: row;
}

#profileServicesPage[dir="rtl"] .provider-header,
[dir="rtl"] #profileServicesPage .provider-header,
html[dir="rtl"] #profileServicesPage .provider-header {
    flex-direction: row-reverse;
}

.provider-name {
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 16px;
    font-weight: 700;
    color: var(--khames-design-system-colors-gray-darkest);
}

.provider-badge {
    display: inline-flex;
    padding: 4px 10px;
    background-color: var(--colors-primary-50);
    color: var(--colors-primary-500);
    border-radius: 6px;
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 11px;
    font-weight: 600;
}

.provider-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 13px;
    font-weight: 600;
    color: var(--khames-design-system-colors-gray-darkest);
    flex-direction: row;
}

#profileServicesPage[dir="ltr"] .provider-rating,
[dir="ltr"] #profileServicesPage .provider-rating,
html[dir="ltr"] #profileServicesPage .provider-rating {
    flex-direction: row;
}

#profileServicesPage[dir="rtl"] .provider-rating,
[dir="rtl"] #profileServicesPage .provider-rating,
html[dir="rtl"] #profileServicesPage .provider-rating {
    flex-direction: row;
}

    .provider-rating img {
        width: 16px;
        height: 16px;
    }

.rating-count {
    color: var(--khames-design-system-colors-gray-default);
    font-weight: 400;
    font-size: 12px;
}

.offer-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 4px;
    flex-direction: row;
}

#profileServicesPage[dir="ltr"] .offer-price,
[dir="ltr"] #profileServicesPage .offer-price,
html[dir="ltr"] #profileServicesPage .offer-price {
    flex-direction: row;
}

#profileServicesPage[dir="rtl"] .offer-price,
[dir="rtl"] #profileServicesPage .offer-price,
html[dir="rtl"] #profileServicesPage .offer-price {
    flex-direction: row;
}

.currency {
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 16px;
    font-weight: 500;
    color: var(--khames-design-system-colors-gray-dark);
}

.price-amount {
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 28px;
    font-weight: 700;
    color: var(--khames-design-system-colors-gray-darkest);
}

.offer-actions {
    display: flex;
    gap: 12px;
}

/* Compact Request Card */
.request-compact {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-direction: row;
    align-items: flex-start;
}

#profileServicesPage .request-compact {
    flex-direction: row;
}

#profileServicesPage .request-compact .request-image-compact {
    order: -1;
}

#profileServicesPage .request-compact .request-info-compact {
    order: 0;
}

.request-image-compact {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.request-info-compact {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    text-align: start;
}

.request-title-compact {
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 18px;
    font-weight: 700;
    color: var(--khames-design-system-colors-gray-darkest);
}

.provider-info-compact {
    display: flex;
    align-items: center;
    gap: 8px;
}

.provider-badge-small {
    display: inline-flex;
    padding: 3px 8px;
    background-color: var(--colors-primary-50);
    color: var(--colors-primary-500);
    border-radius: 5px;
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 10px;
    font-weight: 600;
}

.provider-name-compact {
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 14px;
    font-weight: 600;
    color: var(--khames-design-system-colors-gray-darkest);
}

.request-meta-compact {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.meta-item-compact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 12px;
    font-weight: 500;
    color: var(--khames-design-system-colors-gray-dark);
    flex-direction: row;
}

#profileServicesPage[dir="ltr"] .meta-item-compact,
[dir="ltr"] #profileServicesPage .meta-item-compact,
html[dir="ltr"] #profileServicesPage .meta-item-compact {
    flex-direction: row;
}

#profileServicesPage[dir="rtl"] .meta-item-compact,
[dir="rtl"] #profileServicesPage .meta-item-compact,
html[dir="rtl"] #profileServicesPage .meta-item-compact {
    flex-direction: row-reverse;
}

    .meta-item-compact img {
        width: 16px;
        height: 16px;
    }

.rating-compact {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 12px;
    font-weight: 600;
    color: var(--khames-design-system-colors-gray-darkest);
}

    .rating-compact img {
        width: 14px;
        height: 14px;
    }

/* Progress Section */
.progress-section {
    margin-bottom: 16px;
    padding: 16px;
    background-color: #FAFAFA;
    border-radius: 12px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--khames-design-system-colors-gray-lighter);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--colors-primary-500), var(--colors-primary-400));
    border-radius: 10px;
    transition: width 0.3s ease;
}

.progress-text {
    display: block;
    text-align: center;
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 13px;
    font-weight: 600;
    color: var(--colors-primary-500);
}

/* Request Actions */
.request-actions {
    display: flex;
    justify-content: center;
    padding-top: 16px;
    border-top: 1px solid var(--khames-design-system-colors-gray-lighter);
}

.request-actions-compact {
    display: flex;
    gap: 12px;
}

/* Buttons */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    white-space: nowrap;
}

    .btn img {
        width: 18px;
        height: 18px;
    }

.btn-primary {
    background-color: var(--colors-primary-500);
    color: var(--khames-design-system-colors-gray-white);
}

    .btn-primary:hover {
        background-color: var(--colors-primary-600);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(106, 93, 139, 0.3);
    }

.btn-primary-outline {
    background-color: transparent;
    color: var(--colors-primary-500);
    border: 2px solid var(--colors-primary-500);
}

    .btn-primary-outline:hover {
        background-color: var(--colors-primary-50);
    }

.btn-secondary {
    background-color: #F5F5F5;
    color: var(--khames-design-system-colors-gray-darkest);
}

    .btn-secondary:hover {
        background-color: #E8E8E8;
    }

.btn-success {
    background-color: var(--colors-additional-success);
    color: var(--khames-design-system-colors-gray-white);
}

    .btn-success:hover {
        background-color: #419770;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(73, 160, 120, 0.3);
    }

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: none;
    border: none;
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

    .btn-text img {
        width: 18px;
        height: 18px;
    }

.btn-danger {
    color: var(--colors-additional-failure);
}

    .btn-danger:hover {
        background-color: rgba(219, 58, 52, 0.1);
    }

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.empty-icon {
    width: 80px;
    height: 80px;
    opacity: 0.3;
    margin-bottom: 20px;
}

#profileServicesPage h3.empty-title,
.clientProfileServices-content h3.empty-title {
    margin: 0 0 8px !important;
    font-family: "IBM Plex Sans Arabic", Helvetica, sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    letter-spacing: normal !important;
    color: var(--khames-design-system-colors-gray-darkest) !important;
    text-align: center;
    unicode-bidi: plaintext;
}

.empty-text {
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 16px;
    font-weight: 400;
    color: var(--khames-design-system-colors-gray-dark);
    margin-bottom: 24px;
}


@media (max-width: 768px) {
    #profileServicesPage h1.page-title,
    .clientProfileServices-content h1.page-title {
        font-size: 1.5rem !important;
    }

    .page-subtitle {
        font-size: 14px;
    }

    .filter-tabs {
        gap: 8px;
    }

    .tab-button {
        padding: 10px 16px;
        font-size: 13px;
    }

    .request-card {
        padding: 16px;
    }

    .request-header {
        flex-direction: column;
    }

    .request-image {
        width: 100%;
        height: 200px;
    }

    #profileServicesPage h2.request-title,
    #profileServicesPage h2.request-title-compact {
        font-size: 1.0625rem !important;
    }

    .offer-content {
        flex-direction: column;
    }

    .provider-image {
        width: 100%;
        height: 180px;
    }

    .offer-actions {
        flex-direction: column;
    }

    .request-compact {
        flex-direction: column;
    }

    .request-image-compact {
        width: 100%;
        height: 160px;
    }

    .request-actions-compact {
        flex-direction: column;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .price-amount {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    #profileServicesPage h1.page-title,
    .clientProfileServices-content h1.page-title {
        font-size: 1.375rem !important;
    }

    #profileServicesPage h2.request-title,
    #profileServicesPage h2.request-title-compact {
        font-size: 1rem !important;
    }

    #profileServicesPage .offers-title {
        font-size: 1rem !important;
    }

    .provider-name {
        font-size: 14px;
    }

    .price-amount {
        font-size: 22px;
    }
}

/* ===== Profile Services — compact sidebar (width/spacing only) ===== */
.profile.profile-services-page {
    --profile-services-menu-width: 248px;
    --svc-profile-chrome: 200px;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.profile.profile-services-page .content {
    align-items: stretch !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.profile.profile-services-page .content-wrapper {
    gap: 16px;
    justify-content: flex-start !important;
    align-items: flex-start;
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Match site header / profile page horizontal inset */
@media (min-width: 1441px) {
    .profile.profile-services-page .content {
        padding-left: 156px !important;
        padding-right: 156px !important;
    }
}

@media (min-width: 1025px) and (max-width: 1440px) {
    .profile.profile-services-page .content {
        padding-left: 80px !important;
        padding-right: 80px !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .profile.profile-services-page .content {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
}

@media (max-width: 768px) {
    .profile.profile-services-page .content {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 480px) {
    .profile.profile-services-page .content {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

.profile.profile-services-page .menu {
    width: var(--profile-services-menu-width) !important;
    max-width: var(--profile-services-menu-width);
    flex: 0 0 var(--profile-services-menu-width);
    padding: 10px !important;
    align-items: stretch !important;
    align-self: flex-start;
}

.profile.profile-services-page .menu .tabs {
    align-items: stretch !important;
    width: 100%;
    gap: 6px;
}

.profile.profile-services-page .menu .menu-item,
.profile.profile-services-page .menu .my-profile {
    padding: 10px 12px !important;
    width: 100%;
    box-sizing: border-box;
    gap: 8px;
}

.profile.profile-services-page .menu .menu-item .text-wrapper-6,
.profile.profile-services-page .menu .menu-item .text-wrapper-10,
.profile.profile-services-page .menu .my-profile .text-wrapper-6,
.profile.profile-services-page .menu .my-profile .text-wrapper-10 {
    flex: 1 1 auto;
    min-width: 0;
}

.profile.profile-services-page .menu .menu-item .soon-tag {
    flex: 0 0 auto;
    flex-shrink: 0;
    margin-inline-end: 2px;
}

.profile.profile-services-page .menu .menu-item .img,
.profile.profile-services-page .menu .menu-item .img-2,
.profile.profile-services-page .menu .my-profile .img,
.profile.profile-services-page .menu .my-profile .img-2 {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}


/* ===== Profile Services — scrollable data panel ===== */
.profile.profile-services-page .services-content-section {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    min-height: 0;
}

.profile.profile-services-page #profileServicesPage.svc-my-requests-layout {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.profile.profile-services-page .svc-my-requests-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    scrollbar-gutter: stable;
}

.profile.profile-services-page .svc-my-requests-scroll::-webkit-scrollbar {
    width: 6px;
}

.profile.profile-services-page .svc-my-requests-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(106, 93, 139, 0.35);
}

@media (min-width: 769px) {
    .profile.profile-services-page .content-wrapper {
        align-items: stretch;
        min-height: calc(100dvh - var(--svc-profile-chrome));
    }

    .profile.profile-services-page #profileServicesPage.svc-my-requests-layout {
        height: calc(100dvh - var(--svc-profile-chrome));
        max-height: calc(100dvh - var(--svc-profile-chrome));
    }

    .profile.profile-services-page .menu {
        position: sticky;
        top: 24px;
    }
}


/* ===== My Requests — UI refresh ===== */
#profileServicesPage.clientProfileServices-content {
    padding: 0;
}

#profileServicesPage .svc-my-requests-toolbar {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ece8f2;
}

#profileServicesPage .svc-my-requests-toolbar .svc-my-requests-hero {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

#profileServicesPage .svc-my-requests-toolbar .header-content {
    width: 100%;
    max-width: 100%;
}

#profileServicesPage .svc-my-requests-toolbar .svc-my-requests-filters {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
    align-self: stretch;
}

#profileServicesPage .svc-my-requests-hero {
    flex-shrink: 0;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ece8f2;
}

#profileServicesPage .svc-my-requests-hero .header-content::before {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    border-radius: 999px;
    margin-bottom: 8px;
    background: linear-gradient(
        to right,
        var(--colors-primary-600, #372a58),
        var(--colors-primary-400, #887da2)
    );
}

[dir="rtl"] #profileServicesPage .svc-my-requests-hero .header-content::before,
html[dir="rtl"] #profileServicesPage .svc-my-requests-hero .header-content::before {
    background: linear-gradient(
        to left,
        var(--colors-primary-600, #372a58),
        var(--colors-primary-400, #887da2)
    );
}

#profileServicesPage h1.page-title {
    font-size: 1.5rem !important;
    letter-spacing: -0.02em !important;
    color: var(--colors-primary-600, #372a58) !important;
}

#profileServicesPage .page-subtitle {
    max-width: none;
    width: 100%;
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    color: #6b7280 !important;
    overflow-wrap: normal;
    word-break: normal;
}

#profileServicesPage .svc-my-requests-filters {
    flex-shrink: 0;
    margin-bottom: 12px;
    padding: 4px;
    gap: 4px;
    border: 1px solid #e8e4f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(55, 42, 88, 0.05);
}

#profileServicesPage .tab-button {
    border: none;
    background: transparent;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    color: #6b7280;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

#profileServicesPage .tab-button:hover:not(.active) {
    background: var(--colors-primary-50, #f3f2f6);
    color: var(--colors-primary-600, #372a58);
}

#profileServicesPage .tab-button.active {
    background: var(--colors-primary-500, #6a5d8b);
    color: #fff;
    box-shadow: 0 4px 14px rgba(106, 93, 139, 0.28);
}

#profileServicesPage .tab-button:not(.active) .tab-count {
    background: var(--colors-primary-50, #f3f2f6);
    color: var(--colors-primary-600, #372a58);
}

#profileServicesPage .requests-container {
    gap: 16px;
}

#profileServicesPage .request-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 1px solid #e8e4f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(55, 42, 88, 0.06);
}

#profileServicesPage .request-card::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--colors-primary-400, #887da2);
}

#profileServicesPage .request-card.new-request::before {
    background: var(--colors-primary-500, #6a5d8b);
}

#profileServicesPage .request-card.in-progress-request::before {
    background: #f59e0b;
}

#profileServicesPage .request-card.completed-request::before {
    background: var(--colors-additional-success, #49a078);
}

#profileServicesPage .request-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(55, 42, 88, 0.1);
}

#profileServicesPage .request-header {
    margin-bottom: 0;
    padding: 20px 22px 16px;
    background: linear-gradient(180deg, #faf9fc 0%, #fff 100%);
    align-items: flex-start;
}

#profileServicesPage .request-header .request-title-row {
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
}

#profileServicesPage .request-header h2.request-title {
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

#profileServicesPage .request-header .status-badge {
    flex-shrink: 0;
    margin-inline-start: auto;
}

#profileServicesPage .request-visual {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#profileServicesPage .request-image,
#profileServicesPage .request-image-compact {
    border: 2px solid #ece8f2;
    box-shadow: 0 4px 14px rgba(55, 42, 88, 0.08);
}

#profileServicesPage .status-badge {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

#profileServicesPage .meta-item {
    padding: 6px 12px;
    border-radius: 999px;
    background: #f5f3f8;
    font-size: 0.8125rem;
    color: #4b5563;
}

#profileServicesPage .meta-item--category {
    background: var(--colors-primary-50, #f3f2f6);
    color: var(--colors-primary-600, #372a58);
    font-weight: 600;
}

#profileServicesPage .offers-section {
    margin: 0;
    padding: 0 22px 18px;
}

#profileServicesPage .offers-header {
    margin-bottom: 12px;
    padding: 12px 14px;
    border: 1px solid #ece8f2;
    border-radius: 12px;
    background: #f8f7fb;
}

#profileServicesPage .offers-count {
    border-radius: 999px;
    font-size: 0.8125rem;
    padding: 5px 12px;
}

#profileServicesPage .offer-card {
    padding: 20px 18px 18px;
    border: 1px solid #e8e4f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(55, 42, 88, 0.04);
}

#profileServicesPage .offer-card.best-offer {
    padding-top: 42px;
    border-color: rgba(73, 160, 120, 0.45);
    background: linear-gradient(180deg, #f0fdf4 0%, #fff 72%);
}

#profileServicesPage .best-offer-badge {
    top: 12px;
    inset-inline-start: 16px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.6875rem;
    letter-spacing: 0.02em;
}

#profileServicesPage .offer-actions {
    gap: 10px;
    justify-content: flex-start;
}

#profileServicesPage[dir="rtl"] .offer-actions,
[dir="rtl"] #profileServicesPage .offer-actions,
html[dir="rtl"] #profileServicesPage .offer-actions {
    justify-content: flex-start;
}

#profileServicesPage .request-header .request-info {
    text-align: start;
    align-items: flex-start;
}

#profileServicesPage .request-header .request-meta {
    justify-content: flex-start;
}

#profileServicesPage .request-info-compact .request-title-row .status-badge {
    flex-shrink: 0;
    margin-inline-start: auto;
}

#profileServicesPage[dir="rtl"] .request-info-compact,
[dir="rtl"] #profileServicesPage .request-info-compact,
html[dir="rtl"] #profileServicesPage .request-info-compact {
    text-align: start;
    align-items: flex-start;
}

#profileServicesPage[dir="rtl"] .offer-details,
[dir="rtl"] #profileServicesPage .offer-details,
html[dir="rtl"] #profileServicesPage .offer-details {
    text-align: start;
    align-items: flex-start;
}

#profileServicesPage .btn {
    min-height: 44px;
    padding: 11px 18px;
    border-radius: 10px;
    font-size: 0.875rem !important;
}

#profileServicesPage .request-actions {
    justify-content: flex-end;
    padding: 12px 22px 18px;
    background: #faf9fc;
    border-top: 1px solid #ece8f2;
}

[dir="rtl"] #profileServicesPage .request-actions,
html[dir="rtl"] #profileServicesPage .request-actions {
    justify-content: flex-start;
}

#profileServicesPage .btn-text.btn-danger {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#profileServicesPage .request-compact {
    padding: 20px 22px 16px;
    margin-bottom: 0;
    background: linear-gradient(180deg, #faf9fc 0%, #fff 100%);
}

#profileServicesPage .request-info-compact .request-title-row {
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
}

#profileServicesPage .request-info-compact h2.request-title-compact {
    flex: 1;
    min-width: 0;
}

#profileServicesPage .meta-item-compact {
    padding: 6px 12px;
    border-radius: 999px;
    background: #f5f3f8;
    font-size: 0.8125rem;
    color: #4b5563;
}

#profileServicesPage .request-meta-compact .meta-item-compact:first-child {
    background: var(--colors-primary-50, #f3f2f6);
    color: var(--colors-primary-600, #372a58);
    font-weight: 600;
}

#profileServicesPage .progress-section {
    margin: 0 22px 16px;
    border: 1px solid #ece8f2;
    background: #f8f7fb;
}

#profileServicesPage .request-actions-compact {
    padding: 0 22px 18px;
}

#profileServicesPage .empty-state {
    padding: 48px 28px;
    border: 1px dashed #d8d2e6;
    border-radius: 16px;
    background: linear-gradient(180deg, #faf9fc 0%, #fff 100%);
}

#profileServicesPage .empty-icon {
    width: 72px;
    height: 72px;
    opacity: 0.45;
    margin-bottom: 16px;
}

/* ===== Profile Services — mobile & tablet responsive ===== */
@media (max-width: 1024px) {
    .profile.profile-services-page .content-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .profile.profile-services-page .services-content-section {
        order: 1;
        width: 100%;
    }

    .profile.profile-services-page .content-wrapper > .mobile-side-menu-btn {
        order: 2;
        width: 100%;
        margin: 0;
    }

    .profile.profile-services-page .content-wrapper > .menu {
        order: 3;
        width: 100% !important;
        max-width: none;
        flex: 0 0 auto;
        position: static;
    }

    .profile.profile-services-page .content-wrapper {
        min-height: 0;
    }
}

@media (max-width: 768px) {
    .profile.profile-services-page {
        --svc-profile-chrome: max(148px, calc(112px + env(safe-area-inset-top, 0px) + 36px));
        --svc-mobile-menu-reserve: 88px;
        overflow-x: hidden;
    }

    /* Title + filters stay put; request cards scroll inside the panel */
    .profile.profile-services-page .services-content-section {
        flex: 1 1 auto;
        min-height: 0;
        max-height: calc(100dvh - var(--svc-profile-chrome) - var(--svc-mobile-menu-reserve));
        overflow: hidden;
    }

    .profile.profile-services-page #profileServicesPage.svc-my-requests-layout {
        flex: 1 1 auto;
        min-height: 0;
        height: auto;
        max-height: 100%;
        overflow: hidden;
    }

    .profile.profile-services-page .svc-my-requests-scroll {
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;
        overflow-y: auto !important;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        overscroll-behavior: contain;
    }

    #profileServicesPage h1.page-title {
        font-size: 1.375rem !important;
    }

    #profileServicesPage .page-subtitle {
        font-size: 0.8125rem !important;
    }

    #profileServicesPage .svc-my-requests-toolbar {
        gap: 10px;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    #profileServicesPage .svc-my-requests-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 4px;
        gap: 4px;
    }

    #profileServicesPage .svc-my-requests-filters::-webkit-scrollbar {
        display: none;
    }

    #profileServicesPage .tab-button {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 8px 12px;
        font-size: 0.75rem !important;
    }

    #profileServicesPage .request-header,
    #profileServicesPage .request-compact {
        padding: 14px;
    }

    #profileServicesPage .request-header {
        flex-direction: column;
        gap: 12px;
    }

    #profileServicesPage .request-header .request-visual {
        order: 0;
        width: 100%;
    }

    #profileServicesPage .request-header .request-info {
        order: 1;
        width: 100%;
    }

    #profileServicesPage .request-header .request-image {
        width: 100%;
        height: 160px;
    }

    #profileServicesPage .request-compact {
        flex-direction: column;
        gap: 12px;
    }

    #profileServicesPage .request-compact .request-image-compact {
        order: 0;
        width: 100%;
        height: 140px;
    }

    #profileServicesPage .request-compact .request-info-compact {
        order: 1;
        width: 100%;
    }

    #profileServicesPage .offer-content {
        flex-direction: column;
        gap: 12px;
    }

    #profileServicesPage .offer-content .provider-image {
        order: 0;
        width: 100%;
        height: 140px;
    }

    #profileServicesPage .offer-content .offer-details {
        order: 1;
        width: 100%;
    }

    #profileServicesPage .offer-actions {
        flex-direction: column;
        align-items: stretch;
    }

    #profileServicesPage .offer-actions .btn {
        width: 100%;
    }

    #profileServicesPage .offers-section,
    #profileServicesPage .request-actions,
    #profileServicesPage .request-actions-compact,
    #profileServicesPage .progress-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    #profileServicesPage .request-actions,
    #profileServicesPage .request-actions-compact {
        flex-direction: column;
        align-items: stretch;
        justify-content: stretch;
    }

    #profileServicesPage .request-actions .btn,
    #profileServicesPage .request-actions-compact .btn {
        width: 100%;
    }

    #profileServicesPage .request-meta,
    #profileServicesPage .request-meta-compact {
        gap: 8px;
    }

    #profileServicesPage .offers-header {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 12px;
    }

    #profileServicesPage .workflow-payment-gate {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 14px;
    }

    #profileServicesPage .workflow-payment-gate__action {
        width: 100%;
    }

    #profileServicesPage .workflow-payment-gate__action .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    #profileServicesPage h1.page-title {
        font-size: 1.25rem !important;
    }

    #profileServicesPage h2.request-title,
    #profileServicesPage h2.request-title-compact {
        font-size: 0.9375rem !important;
    }

    #profileServicesPage .request-header .request-title-row,
    #profileServicesPage .request-info-compact .request-title-row {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    #profileServicesPage .request-header .status-badge,
    #profileServicesPage .request-info-compact .status-badge {
        margin-inline-start: 0;
    }

    #profileServicesPage .price-amount {
        font-size: 1.375rem !important;
    }

    #profileServicesPage .offer-card {
        padding: 16px 14px 14px;
    }

    #profileServicesPage .offer-card.best-offer {
        padding-top: 36px;
    }

    #profileServicesPage .empty-state {
        padding: 32px 20px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.request-card {
    animation: fadeIn 0.4s ease;
}

/* Accept offer confirmation dialog */
body.client-svc-dialog-open {
    overflow: hidden;
}

.client-svc-dialog {
    position: fixed;
    inset: 0;
    z-index: 100200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    box-sizing: border-box;
}

.client-svc-dialog[hidden] {
    display: none !important;
}

.client-svc-dialog__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    backdrop-filter: blur(3px);
}

.client-svc-dialog__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    min-width: min(100%, 320px);
    padding: 32px 36px 28px;
    background: var(--khames-design-system-colors-gray-white, #fff);
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(55, 42, 88, 0.18);
    border: 1px solid var(--khames-design-system-colors-gray-lighter, #e8e4ef);
    font-family: "IBM Plex Sans Arabic", Helvetica, sans-serif;
    text-align: center;
    unicode-bidi: isolate;
}

#accept-offer-confirm-modal .client-svc-dialog__panel {
    max-width: 540px;
    padding: 36px 40px 32px;
}

.client-svc-dialog__close {
    position: absolute;
    top: 14px;
    inset-inline-end: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--khames-design-system-colors-gray-darkest, #111);
    cursor: pointer;
}

.client-svc-dialog__close:hover {
    background: var(--khames-design-system-colors-gray-lighter, #e6e6e6);
}

.client-svc-dialog__title,
.client-svc-dialog h2.client-svc-dialog__title {
    margin: 0 0 14px;
    padding-inline: 36px;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    min-font-size: 1.25rem !important;
    color: var(--khames-design-system-colors-gray-darkest, #111);
}

.client-svc-dialog__text {
    margin: 0 0 28px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--khames-design-system-colors-gray-dark, #666);
}

#accept-offer-confirm-modal .client-svc-dialog__text {
    font-size: 1.0625rem;
    max-width: 38em;
    margin-inline: auto;
}

.client-svc-dialog__actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.client-svc-dialog__actions--split {
    flex-wrap: wrap;
}

.client-svc-dialog__btn {
    flex: 1 1 160px;
    min-width: 140px;
    padding: 14px 22px;
    border-radius: 12px;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}

#accept-offer-confirm-modal .client-svc-dialog__actions--split {
    gap: 16px;
    margin-top: 4px;
}

@media (max-width: 480px) {
    #accept-offer-confirm-modal .client-svc-dialog__panel {
        padding: 28px 20px 24px;
    }

    #accept-offer-confirm-modal .client-svc-dialog__title,
    #accept-offer-confirm-modal h2.client-svc-dialog__title {
        font-size: 1.125rem !important;
        min-font-size: 1.125rem !important;
        padding-inline: 24px;
    }
}

.client-svc-dialog__btn--secondary {
    background: var(--khames-design-system-colors-gray-lighter, #e6e6e6);
    color: var(--khames-design-system-colors-gray-darkest, #111);
}

.client-svc-dialog__btn--secondary:hover {
    background: #d8d8d8;
}

.client-svc-dialog__btn--success {
    background: var(--colors-additional-success, #49a078);
    color: var(--khames-design-system-colors-gray-white, #fff);
}

.client-svc-dialog__btn--success:hover {
    background: #419770;
}

.client-svc-dialog__btn:focus-visible {
    outline: 2px solid var(--colors-primary-400, #887da2);
    outline-offset: 2px;
}
