: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);
    --colors-neutral-white: rgba(255, 255, 255, 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-darkest: rgba(17, 17, 17, 1);
    --khames-design-system-colors-gray-default: rgba(153, 153, 153, 1);
    --khames-design-system-colors-gray-lighter: rgba(230, 230, 230, 1);
}


.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-color: var(--colors-neutral-white);
}

    .profile .client-header {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 32px;
        padding: 24px 156px;
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
        background-color: var(--khames-design-system-colors-gray-white);
        border-color: var(--khames-design-system-colors-gray-lighter);
    }

    .profile .div {
        display: inline-flex;
        gap: 16px;
        align-items: center;
        justify-content: center;
        position: relative;
        flex: 0 0 auto;
    }

    .profile .contact-us {
        display: inline-flex;
        height: 48px;
        align-items: center;
        justify-content: center;
        padding: 0px 16px;
        position: relative;
        flex: 0 0 auto;
        background-color: var(--colors-primary-50);
        border-radius: 12px;
        border: 1px solid;
        border-color: var(--colors-primary-500);
    }

    .profile .text-wrapper {
        width: fit-content;
        font-weight: 700;
        color: var(--colors-primary-500);
        font-size: 16px;
        white-space: nowrap;
        position: relative;
        font-family: "IBM Plex Sans Arabic", Helvetica;
        letter-spacing: 0;
        line-height: normal;
    }

    [dir="rtl"] .profile .text-wrapper {
        direction: rtl;
    }

    [dir="ltr"] .profile .text-wrapper {
        direction: ltr;
        font-family: "Nunito", "IBM Plex Sans", Helvetica;
    }

    .profile .div-wrapper {
        display: inline-flex;
        height: 48px;
        align-items: center;
        justify-content: center;
        padding: 0px 16px;
        position: relative;
        flex: 0 0 auto;
        background-color: var(--colors-primary-500);
        border-radius: 12px;
    }

    .profile .text-wrapper-2 {
        width: fit-content;
        font-weight: 700;
        white-space: nowrap;
        position: relative;
        font-family: "IBM Plex Sans Arabic", Helvetica;
        color: var(--khames-design-system-colors-gray-white);
        font-size: 16px;
        letter-spacing: 0;
        line-height: normal;
    }

    [dir="rtl"] .profile .text-wrapper-2 {
        direction: rtl;
    }

    [dir="ltr"] .profile .text-wrapper-2 {
        direction: ltr;
        font-family: "Nunito", "IBM Plex Sans", Helvetica;
    }

    .profile .user-square-wrapper {
        width: 48px;
        height: 48px;
        align-items: center;
        background-color: var(--colors-primary-500);
        border-radius: 12px;
        display: flex;
        justify-content: center;
        position: relative;
    }

    .profile .img {
        position: relative;
        width: 24px;
        height: 24px;
    }

    .profile .navbar {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 32px;
        position: relative;
        flex: 1;
        flex-grow: 1;
    }

    .profile .text-wrapper-3 {
        position: relative;
        width: fit-content;
        margin-top: -1.00px;
        font-family: "IBM Plex Sans Arabic", Helvetica;
        font-weight: 500;
        color: var(--khames-design-system-colors-gray-dark);
        font-size: 16px;
        letter-spacing: 0;
        line-height: normal;
        white-space: nowrap;
    }

    [dir="rtl"] .profile .text-wrapper-3 {
        direction: rtl;
    }

    [dir="ltr"] .profile .text-wrapper-3 {
        direction: ltr;
        font-family: "Nunito", "IBM Plex Sans", Helvetica;
    }

    .profile .image {
        width: 69px;
        aspect-ratio: 1.44;
        position: relative;
        height: 48px;
    }

    .profile .content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 24px 156px;
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
    }

    .profile .div-2 {
        align-items: flex-start;
        gap: 24px;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
        display: flex;
        justify-content: center;
        position: relative;
    }

    .profile .left {
        flex-direction: column;
        gap: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        flex: 1;
        flex-grow: 1;
    }

    .profile .info {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        align-self: stretch;
        width: 100%;
        background-color: var(--khames-design-system-colors-gray-white);
        border-radius: 24px;
        border: 1px solid;
        border-color: var(--khames-design-system-colors-gray-lighter);
        position: relative;
        flex: 0 0 auto;
    }

    .profile .name {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        padding: 16px 24px;
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
        border-bottom-width: 1px;
        border-bottom-style: solid;
        border-color: var(--khames-design-system-colors-gray-lighter);
    }

    .profile .photo {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        padding: 8px;
        position: relative;
        flex: 0 0 auto;
        width: fit-content;
        max-width: 100%;
        box-sizing: border-box;
        background-color: var(--colors-primary-50);
        border-radius: 999px;
        aspect-ratio: 1;
    }

    .profile .add-circle {
        position: absolute;
        bottom: 12%;
        width: 24px;
        height: 24px;
        aspect-ratio: 1;
        z-index: 2;
    }

    [dir="rtl"] .profile .add-circle {
        left: 12%;
    }

    [dir="ltr"] .profile .add-circle {
        right: 12%;
    }

    .profile .elements {
        position: relative;
        height: 100%;
    }

    .profile .vector {
        position: absolute;
        width: 89.58%;
        height: 89.58%;
        top: 5.21%;
        left: 5.21%;
    }

    .profile .user-square {
        width: 40px;
        height: 40px;
        position: relative;
        aspect-ratio: 1;
        border-radius: 50%;
    }

    .profile .user-square.user-square--photo {
        width: 160px;
        height: 160px;
        min-width: 160px;
        min-height: 160px;
        border-radius: 50%;
        object-fit: cover;
        display: block;
    }

    .profile .profile-picture-file-input {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .profile .text-wrapper-4 {
        align-self: stretch;
        font-weight: 700 !important;
        color: var(--khames-design-system-colors-gray-darkest);
        font-size: 33px !important;
        text-align: center;
        position: relative;
        font-family: "IBM Plex Sans Arabic", Helvetica;
        letter-spacing: 0;
        line-height: normal;
    }

    [dir="rtl"] .profile .text-wrapper-4 {
        direction: rtl;
    }

    [dir="ltr"] .profile .text-wrapper-4 {
        direction: ltr;
        font-family: "Nunito", "IBM Plex Sans", Helvetica;
    }

    .profile .mail {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 24px;
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
        border-bottom-width: 1px;
        border-bottom-style: solid;
        border-color: var(--khames-design-system-colors-gray-lighter);
    }

    [dir="rtl"] .profile .mail {
        flex-direction: row;
    }

    [dir="ltr"] .profile .mail {
        flex-direction: row;
    }

    .profile .div-3 {
        gap: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        flex: 1;
        flex-grow: 1;
    }

    .profile .text-wrapper-5 {
        position: relative;
        flex: 1;
        margin-top: -1.00px;
        font-family: "IBM Plex Sans", Helvetica;
        font-weight: 500;
        color: var(--khames-design-system-colors-gray-darkest);
        font-size: 16px;
        letter-spacing: 0;
        line-height: normal;
    }

    [dir="rtl"] .profile .text-wrapper-5 {
        text-align: left;
    }

    [dir="ltr"] .profile .text-wrapper-5 {
        text-align: start;
    }

    .profile .text-wrapper-6 {
        flex: 1;
        font-weight: 500;
        color: var(--khames-design-system-colors-gray-default);
        font-size: 16px;
        position: relative;
        font-family: "IBM Plex Sans Arabic", Helvetica;
        letter-spacing: 0;
        line-height: normal;
    }

    [dir="rtl"] .profile .text-wrapper-6 {
        direction: rtl;
    }

    [dir="ltr"] .profile .text-wrapper-6 {
        direction: ltr;
        font-family: "Nunito", "IBM Plex Sans", Helvetica;
    }

    .profile .img-2 {
        position: relative;
        width: 24px;
        height: 24px;
        aspect-ratio: 1;
    }

    .profile .mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 24px;
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
    }

    [dir="rtl"] .profile .mobile {
        flex-direction: row;
    }

    [dir="ltr"] .profile .mobile {
        flex-direction: row;
    }

    .profile .text-wrapper-7 {
        position: relative;
        flex: 1;
        margin-top: -1.00px;
        font-family: "IBM Plex Sans", Helvetica;
        font-weight: 500;
        color: var(--khames-design-system-colors-gray-darkest);
        font-size: 16px;
        letter-spacing: 0;
        line-height: normal;
    }

    [dir="rtl"] .profile .text-wrapper-7 {
        direction: ltr;
        text-align: left;
    }

    [dir="ltr"] .profile .text-wrapper-7 {
        direction: ltr;
        text-align: start;
    }

    .profile .buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-self: stretch;
        width: 100%;
        align-items: stretch;
        justify-content: center;
        position: relative;
        flex: 0 0 auto;
    }

    .profile .button {
        all: unset;
        box-sizing: border-box;
        background-color: var(--colors-primary-50);
        border: 1px solid;
        border-color: var(--colors-primary-500);
        display: flex;
        height: 64px;
        align-items: center;
        justify-content: center;
        padding: 0px 16px;
        position: relative;
        width: 100%;
        min-height: 64px;
        flex: 0 0 auto;
        flex-grow: 0;
        border-radius: 16px;
    }

    .profile .button--secondary {
        background-color: var(--colors-primary-50);
        border-color: var(--colors-primary-500);
    }

    .profile .button--secondary:hover {
        background-color: var(--colors-primary-100);
    }

    .profile .text-wrapper-8 {
        width: fit-content;
        font-weight: 700;
        color: var(--colors-primary-500);
        font-size: 20px;
        white-space: nowrap;
        position: relative;
        font-family: "IBM Plex Sans Arabic", Helvetica;
        letter-spacing: 0;
        line-height: normal;
    }

    [dir="rtl"] .profile .text-wrapper-8 {
        direction: rtl;
    }

    [dir="ltr"] .profile .text-wrapper-8 {
        direction: ltr;
        font-family: "Nunito", "IBM Plex Sans", Helvetica;
    }

    .profile .button-2 {
        all: unset;
        box-sizing: border-box;
        background-color: var(--colors-primary-500);
        display: flex;
        height: 64px;
        align-items: center;
        justify-content: center;
        padding: 0px 16px;
        position: relative;
        flex: 1;
        flex-grow: 1;
        border-radius: 16px;
    }

    .profile .text-wrapper-9 {
        width: fit-content;
        font-weight: 700;
        color: var(--khames-design-system-colors-gray-white);
        font-size: 20px;
        white-space: nowrap;
        position: relative;
        font-family: "IBM Plex Sans Arabic", Helvetica;
        letter-spacing: 0;
        line-height: normal;
    }

    [dir="rtl"] .profile .text-wrapper-9 {
        direction: rtl;
    }

    [dir="ltr"] .profile .text-wrapper-9 {
        direction: ltr;
        font-family: "Nunito", "IBM Plex Sans", Helvetica;
    }

    .profile .menu {
        display: flex;
        flex-direction: column;
        width: 392px;
        align-items: center;
        justify-content: space-between;
        padding: 16px;
        position: relative;
        align-self: stretch;
        background-color: var(--khames-design-system-colors-gray-white);
        border-radius: 16px;
        box-shadow: var(--grey);
    }

    .profile .tabs {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
    }

    .profile .my-profile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 16px;
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
        background-color: var(--colors-primary-50);
        border-radius: 12px;
    }

    .profile .text-wrapper-10 {
        flex: 1;
        font-weight: 500;
        color: var(--colors-primary-500);
        font-size: 16px;
        position: relative;
        font-family: "IBM Plex Sans Arabic", Helvetica;
        letter-spacing: 0;
        line-height: normal;
    }

    [dir="rtl"] .profile .text-wrapper-10 {
        direction: rtl;
    }

    [dir="ltr"] .profile .text-wrapper-10 {
        direction: ltr;
        font-family: "Nunito", "IBM Plex Sans", Helvetica;
    }

    .profile .div-4 {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 16px;
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
    }

    .profile .text-wrapper-11 {
        flex: 1;
        font-weight: 500;
        color: var(--colors-additional-failure);
        font-size: 16px;
        position: relative;
        font-family: "IBM Plex Sans Arabic", Helvetica;
        letter-spacing: 0;
        line-height: normal;
    }

    [dir="rtl"] .profile .text-wrapper-11 {
        direction: rtl;
    }

    [dir="ltr"] .profile .text-wrapper-11 {
        direction: ltr;
        font-family: "Nunito", "IBM Plex Sans", Helvetica;
    }

    .profile .elements-2 {
        position: relative;
        width: 20px;
        height: 19px;
        top: 2px;
        background-image: url(/images/ClientProfile/icon-1.svg);
        background-size: 100% 100%;
    }

    [dir="rtl"] .profile .elements-2 {
        left: 2px;
    }

    [dir="ltr"] .profile .elements-2 {
        right: 2px;
    }

    .profile .footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
    }

    .profile .footer-2 {
        gap: 32px;
        padding: 64px 156px;
        background-color: var(--colors-primary-500);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
    }

    .profile .info-2 {
        display: flex;
        width: 1128px;
        align-items: flex-start;
        justify-content: space-between;
        position: relative;
        flex: 0 0 auto;
    }

    .profile .div-5 {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        position: relative;
        flex: 0 0 auto;
    }

    .profile .text-wrapper-12 {
        align-self: stretch;
        margin-top: -1.00px;
        font-weight: 700;
        color: var(--khames-design-system-colors-gray-white);
        font-size: 24px;
        position: relative;
        font-family: "IBM Plex Sans Arabic", Helvetica;
        letter-spacing: 0;
        line-height: normal;
    }

    [dir="rtl"] .profile .text-wrapper-12 {
        direction: rtl;
    }

    [dir="ltr"] .profile .text-wrapper-12 {
        direction: ltr;
        font-family: "Nunito", "IBM Plex Sans", Helvetica;
    }

    .profile .text-wrapper-13 {
        align-self: stretch;
        font-weight: 500;
        position: relative;
        font-family: "IBM Plex Sans Arabic", Helvetica;
        color: var(--khames-design-system-colors-gray-white);
        font-size: 16px;
        letter-spacing: 0;
        line-height: normal;
    }

    [dir="rtl"] .profile .text-wrapper-13 {
        direction: rtl;
    }

    [dir="ltr"] .profile .text-wrapper-13 {
        direction: ltr;
        font-family: "Nunito", "IBM Plex Sans", Helvetica;
    }

    .profile .text-wrapper-14 {
        width: fit-content;
        font-weight: 500;
        color: var(--khames-design-system-colors-gray-white);
        font-size: 16px;
        white-space: nowrap;
        position: relative;
        font-family: "IBM Plex Sans Arabic", Helvetica;
        letter-spacing: 0;
        line-height: normal;
    }

    [dir="rtl"] .profile .text-wrapper-14 {
        direction: rtl;
    }

    [dir="ltr"] .profile .text-wrapper-14 {
        direction: ltr;
        font-family: "Nunito", "IBM Plex Sans", Helvetica;
    }

    .profile .info-3 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        align-self: stretch;
        width: 100%;
        position: relative;
        flex: 0 0 auto;
    }

    .profile .div-6 {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
    }

    .profile .text-wrapper-15 {
        position: relative;
        flex: 1;
        font-family: "IBM Plex Sans Arabic", Helvetica;
        font-weight: 500;
        color: var(--khames-design-system-colors-gray-white);
        font-size: 16px;
        letter-spacing: 0;
        line-height: normal;
    }

    [dir="rtl"] .profile .text-wrapper-15 {
        text-align: right;
    }

    [dir="ltr"] .profile .text-wrapper-15 {
        text-align: left;
        font-family: "Nunito", "IBM Plex Sans", Helvetica;
    }

    .profile .text-wrapper-16 {
        position: relative;
        flex: 1;
        font-family: "IBM Plex Sans Arabic", Helvetica;
        font-weight: 500;
        color: var(--khames-design-system-colors-gray-white);
        font-size: 16px;
        letter-spacing: 0;
        line-height: normal;
    }

    [dir="rtl"] .profile .text-wrapper-16 {
        direction: rtl;
    }

    [dir="ltr"] .profile .text-wrapper-16 {
        direction: ltr;
        font-family: "Nunito", "IBM Plex Sans", Helvetica;
    }

    .profile .location {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        position: relative;
        flex: 0 0 auto;
    }

    .profile .logo {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        gap: 24px;
        position: relative;
        flex: 0 0 auto;
    }

    .profile .rectangle {
        position: absolute;
        top: 61px;
        left: calc(50.00% - 42px);
        width: 55px;
        height: 41px;
        background-color: var(--khames-design-system-colors-gray-white);
    }

    .profile .image-2 {
        width: 70px;
        aspect-ratio: 1.45;
        position: relative;
        height: 48px;
    }

    .profile .p {
        width: fit-content;
        font-weight: 700;
        color: var(--khames-design-system-colors-gray-white);
        font-size: 24px;
        position: relative;
        font-family: "IBM Plex Sans Arabic", Helvetica;
        letter-spacing: 0;
        line-height: normal;
        direction: rtl;
    }

    .profile .span {
        color: #ffffff;
    }

    .profile .text-wrapper-17 {
        color: #6a5d8b;
    }

    .profile .licenses {
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
    }

    .profile .copy-rights {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px 156px;
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
        background-color: var(--colors-primary-500);
        border-top-width: 1px;
        border-top-style: solid;
        border-color: var(--colors-primary-400);
    }

    .profile .text-wrapper-18 {
        width: fit-content;
        margin-top: -1.00px;
        font-weight: 500;
        color: var(--khames-design-system-colors-gray-white);
        font-size: 16px;
        white-space: nowrap;
        position: relative;
        font-family: "IBM Plex Sans Arabic", Helvetica;
        letter-spacing: 0;
        line-height: normal;
    }

    [dir="rtl"] .profile .text-wrapper-18 {
        direction: rtl;
    }

    [dir="ltr"] .profile .text-wrapper-18 {
        direction: ltr;
        font-family: "Nunito", "IBM Plex Sans", Helvetica;
    }
    /* Inject original CSS code here */

    .profile .header-actions {
        display: inline-flex;
        gap: 16px;
        align-items: center;
        justify-content: center;
        position: relative;
        flex: 0 0 auto;
    }

    .profile .contact-us {
        display: inline-flex;
        height: 48px;
        align-items: center;
        justify-content: center;
        padding: 0px 16px;
        position: relative;
        flex: 0 0 auto;
        background-color: var(--colors-primary-50);
        border-radius: 12px;
        border: 1px solid;
        border-color: var(--colors-primary-500);
        text-decoration: none;
        cursor: pointer;
        transition: background-color 0.2s ease, transform 0.1s ease;
    }

        .profile .contact-us:hover {
            background-color: var(--colors-primary-100);
        }

        .profile .contact-us:focus {
            outline: 2px solid var(--colors-primary-500);
            outline-offset: 2px;
        }

        .profile .contact-us:active {
            transform: scale(0.98);
        }

    .profile .request-property {
        display: inline-flex;
        height: 48px;
        align-items: center;
        justify-content: center;
        padding: 0px 16px;
        position: relative;
        flex: 0 0 auto;
        background-color: var(--colors-primary-500);
        border-radius: 12px;
        text-decoration: none;
        cursor: pointer;
        transition: background-color 0.2s ease, transform 0.1s ease;
        border: none;
    }

        .profile .request-property:hover {
            background-color: var(--colors-primary-600);
        }

        .profile .request-property:focus {
            outline: 2px solid var(--colors-primary-500);
            outline-offset: 2px;
        }

        .profile .request-property:active {
            transform: scale(0.98);
        }

    .profile .user-square-wrapper {
        width: 48px;
        height: 48px;
        align-items: center;
        background-color: var(--colors-primary-500);
        border-radius: 12px;
        display: flex;
        justify-content: center;
        position: relative;
        text-decoration: none;
        cursor: pointer;
        transition: background-color 0.2s ease, transform 0.1s ease;
    }

        .profile .user-square-wrapper:hover {
            background-color: var(--colors-primary-600);
        }

        .profile .user-square-wrapper:focus {
            outline: 2px solid var(--colors-primary-500);
            outline-offset: 2px;
        }

        .profile .user-square-wrapper:active {
            transform: scale(0.98);
        }

    .profile .logo-link {
        text-decoration: none;
        display: block;
    }

        .profile .logo-link:focus {
            outline: 2px solid var(--colors-primary-500);
            outline-offset: 2px;
            border-radius: 4px;
        }

    .profile .navbar a {
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .profile .navbar a:hover {
            color: var(--colors-primary-500);
        }

        .profile .navbar a:focus {
            outline: 2px solid var(--colors-primary-500);
            outline-offset: 2px;
            border-radius: 4px;
        }

    .profile .content-wrapper {
        align-items: flex-start;
        gap: 24px;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
        display: flex;
        justify-content: center;
        position: relative;
    }

    [dir="rtl"] .profile .content-wrapper {
        flex-direction: row-reverse;
    }

    [dir="ltr"] .profile .content-wrapper {
        flex-direction: row-reverse;
    }

    .profile .info-value {
        gap: 8px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        position: relative;
        flex: 1;
        flex-grow: 1;
    }

    [dir="rtl"] .profile .info-value {
        justify-content: flex-start;
    }

    [dir="ltr"] .profile .info-value {
        justify-content: flex-end;
    }

    /* English contact rows: icon + label left, value right (desktop) */
    @media (min-width: 1181px) {
        [dir="ltr"] .profile .mail,
        [dir="ltr"] .profile .mobile {
            display: grid !important;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
            grid-template-areas: "label value";
            align-items: center;
            column-gap: 16px;
        }

        [dir="ltr"] .profile .mail .info-label,
        [dir="ltr"] .profile .mobile .info-label {
            grid-area: label;
            flex: unset !important;
            width: auto !important;
            max-width: 100%;
            justify-self: start;
            justify-content: flex-start !important;
            flex-direction: row !important;
            gap: 8px !important;
        }

        [dir="ltr"] .profile .mail .info-value,
        [dir="ltr"] .profile .mobile .info-value {
            grid-area: value;
            flex: unset !important;
            width: auto !important;
            min-width: 0 !important;
            justify-self: end;
            justify-content: flex-end !important;
        }

        [dir="ltr"] .profile .mail .info-label .text-wrapper-6,
        [dir="ltr"] .profile .mobile .info-label .text-wrapper-6 {
            flex: 0 1 auto !important;
        }

        [dir="ltr"] .profile .mail .info-value .text-wrapper-5,
        [dir="ltr"] .profile .mail .info-value .text-wrapper-7,
        [dir="ltr"] .profile .mobile .info-value .text-wrapper-5,
        [dir="ltr"] .profile .mobile .info-value .text-wrapper-7 {
            text-align: end !important;
            flex: 0 1 auto !important;
            width: auto !important;
        }
    }

    .profile .info-label {
        gap: 8px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        position: relative;
        flex: 1;
        flex-grow: 1;
    }

    [dir="rtl"] .profile .info-label {
        flex-direction: row;
        justify-content: flex-end;
    }

    [dir="ltr"] .profile .info-label {
        flex-direction: row;
        justify-content: flex-start;
    }

    .profile .add-circle {
        position: absolute;
        bottom: 12%;
        width: 24px;
        height: 24px;
        aspect-ratio: 1;
        z-index: 2;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        transition: transform 0.2s ease;
    }

    [dir="rtl"] .profile .add-circle {
        left: 12%;
    }

    [dir="ltr"] .profile .add-circle {
        right: 12%;
    }

        .profile .add-circle:hover {
            transform: scale(1.1);
        }

        .profile .add-circle:focus {
            outline: 2px solid var(--colors-primary-500);
            outline-offset: 2px;
            border-radius: 50%;
        }

        .profile .add-circle:active {
            transform: scale(0.95);
        }

    .profile .button {
        all: unset;
        box-sizing: border-box;
        background-color: var(--colors-primary-50);
        border: 1px solid;
        border-color: var(--colors-primary-500);
        display: flex;
        height: 64px;
        align-items: center;
        justify-content: center;
        padding: 0px 16px;
        position: relative;
        width: 100%;
        min-height: 64px;
        flex: 0 0 auto;
        flex-grow: 0;
        border-radius: 16px;
        cursor: pointer;
        transition: background-color 0.2s ease, transform 0.1s ease;
    }

        .profile .button:hover {
            background-color: var(--colors-primary-100);
        }

        .profile .button:focus {
            outline: 2px solid var(--colors-primary-500);
            outline-offset: 2px;
        }

        .profile .button:active {
            transform: scale(0.98);
        }

    .profile .button--secondary {
        height: 64px;
        min-height: 64px;
        background-color: var(--colors-primary-50);
        border-color: var(--colors-primary-500);
    }

    .profile .button-2 {
        all: unset;
        box-sizing: border-box;
        background-color: var(--colors-primary-500);
        display: flex;
        height: 64px;
        align-items: center;
        justify-content: center;
        padding: 0px 16px;
        position: relative;
        flex: 1;
        flex-grow: 1;
        border-radius: 16px;
        cursor: pointer;
        transition: background-color 0.2s ease, transform 0.1s ease;
    }

        .profile .button-2:hover {
            background-color: var(--colors-primary-600);
        }

        .profile .button-2:focus {
            outline: 2px solid var(--colors-primary-500);
            outline-offset: 2px;
        }

        .profile .button-2:active {
            transform: scale(0.98);
        }

    .profile .menu-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 14px 12px;
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
        text-decoration: none;
        border-radius: 12px;
        transition: background-color 0.2s ease;
    }

    [dir="rtl"] .profile .menu-item {
        flex-direction: row-reverse;
        justify-content: flex-start;
    }

    [dir="ltr"] .profile .menu-item {
        flex-direction: row-reverse;
        justify-content: flex-start;
    }

        .profile .menu-item:hover {
            background-color: var(--colors-primary-50);
        }

        .profile .menu-item:focus {
            outline: 2px solid var(--colors-primary-500);
            outline-offset: -2px;
        }

    .profile .soon-tag {
        font-size: 12px;
        font-weight: 500;
        color: var(--khames-design-system-colors-gray-default);
        font-family: "IBM Plex Sans Arabic", Helvetica;
        padding: 2px 6px;
        border-radius: 4px;
        background-color: var(--colors-primary-50);
        white-space: nowrap;
        flex: 0 0 auto;
    }

    [dir="rtl"] .profile .soon-tag {
        direction: rtl;
        margin-right: 20px;
    }

    [dir="ltr"] .profile .soon-tag {
        direction: ltr;
        font-family: "Nunito", "IBM Plex Sans", Helvetica;
        margin-left: 20px;
    }

    .profile .client-profile-conversations-badge {
        min-width: 1.125rem;
        height: 1.125rem;
        padding: 0 5px;
        border-radius: 999px;
        background-color: var(--colors-additional-failure);
        color: var(--colors-neutral-white);
        font-size: 10px;
        font-weight: 700;
        line-height: 1.125rem;
        text-align: center;
        flex-shrink: 0;
    }

    .profile .my-profile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 14px 12px;
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
        background-color: var(--colors-primary-50);
        border-radius: 12px;
        text-decoration: none;
        transition: background-color 0.2s ease;
    }

    [dir="rtl"] .profile .my-profile {
        flex-direction: row-reverse;
        justify-content: flex-start;
    }

    [dir="ltr"] .profile .my-profile {
        flex-direction: row-reverse;
        justify-content: flex-start;
    }

        .profile .my-profile:hover {
            background-color: var(--colors-primary-100);
        }

        .profile .my-profile:focus {
            outline: 2px solid var(--colors-primary-500);
            outline-offset: -2px;
        }

    .profile .logout-button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 14px 12px;
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
        background: none;
        border: none;
        cursor: pointer;
        border-radius: 12px;
        transition: background-color 0.2s ease;
    }

    [dir="rtl"] .profile .logout-button {
        text-align: right;
    }
  
    [dir="ltr"] .profile .logout-button {
        text-align: left;
    }

    [dir="ltr"] .profile .logout-button {
        flex-direction: row-reverse;
        justify-content: flex-start;
    }

    .profile .menu-item .text-wrapper-6,
    .profile .my-profile .text-wrapper-10 {
        min-width: 0;
        white-space: nowrap;
    }

        .profile .logout-button:hover {
            background-color: rgba(219, 58, 52, 0.1);
        }

        .profile .logout-button:focus {
            outline: 2px solid var(--colors-additional-failure);
            outline-offset: -2px;
        }

        .profile .logout-button:active {
            transform: scale(0.98);
        }

    .profile .logout-icon {
        position: relative;
        width: 24px;
        height: 24px;
        display: block;
    }

    .profile .footer-content {
        gap: 32px;
        padding: 64px 156px;
        background-color: var(--colors-primary-500);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
    }

    .profile .footer-section {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        position: relative;
        flex: 0 0 auto;
    }

    .profile .social-links {
        display: inline-flex;
        gap: 16px;
        align-items: center;
        justify-content: center;
        position: relative;
        flex: 0 0 auto;
    }

        .profile .social-links a {
            display: block;
            transition: transform 0.2s ease;
        }

            .profile .social-links a:hover {
                transform: scale(1.1);
            }

            .profile .social-links a:focus {
                outline: 2px solid var(--khames-design-system-colors-gray-white);
                outline-offset: 2px;
                border-radius: 4px;
            }

    .profile .footer-section nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

        .profile .footer-section nav a {
            text-decoration: none;
            transition: opacity 0.2s ease;
        }

            .profile .footer-section nav a:hover {
                opacity: 0.8;
            }

            .profile .footer-section nav a:focus {
                outline: 2px solid var(--khames-design-system-colors-gray-white);
                outline-offset: 2px;
                border-radius: 4px;
            }

    .profile .contact-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
    }

        .profile .contact-item a {
            position: relative;
            flex: 1;
            font-family: "IBM Plex Sans Arabic", Helvetica;
            font-weight: 500;
            color: var(--khames-design-system-colors-gray-white);
            font-size: 16px;
            letter-spacing: 0;
            line-height: normal;
            text-decoration: none;
            transition: opacity 0.2s ease;
        }

        [dir="rtl"] .profile .contact-item a {
            text-align: right;
        }

        [dir="ltr"] .profile .contact-item a {
            text-align: left;
            font-family: "Nunito", "IBM Plex Sans", Helvetica;
        }

            .profile .contact-item a:hover {
                opacity: 0.8;
            }

            .profile .contact-item a:focus {
                outline: 2px solid var(--khames-design-system-colors-gray-white);
                outline-offset: 2px;
                border-radius: 4px;
            }

/* ============================================
   Responsive RTL/LTR Support
   ============================================ */

/* Account menu collapse + profile layout (max-width: 1180px) */
@media (max-width: 1180px) {
    .profile .content {
        padding: 24px 20px;
    }

    [dir="rtl"] .profile .content {
        padding: 24px 20px;
    }

    [dir="ltr"] .profile .content {
        padding: 24px 20px;
    }

    .profile .content {
        align-items: stretch;
    }

    .profile .content-wrapper {
        flex-direction: column;
        /* Desktop row uses flex-start; in column mode that shrink-wraps .left while the button stays 100% — match widths */
        align-items: stretch;
    }

    [dir="rtl"] .profile .content-wrapper {
        flex-direction: column;
    }

    [dir="ltr"] .profile .content-wrapper {
        flex-direction: column;
    }

    .profile .content-wrapper > .left,
    .profile .left {
        width: 100%;
        max-width: 100%;
        align-self: stretch;
        box-sizing: border-box;
        align-items: stretch;
    }

    .profile .menu {
        width: 100%;
    }

    /* Account sections trigger: full width of content column, calmer than floating 90% pill */
    .profile .content-wrapper > .mobile-side-menu-btn {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 8px;
        margin-bottom: 4px;
        box-sizing: border-box;
        box-shadow: 0 4px 14px rgba(107, 91, 149, 0.22);
        font-size: 17px;
        padding: 14px 18px;
    }

    [dir="rtl"] .profile .content-wrapper > .mobile-side-menu-btn {
        flex-direction: row-reverse;
    }

    .profile .info {
        border-radius: 18px;
        border: none;
        box-shadow: 0 2px 16px rgba(18, 28, 45, 0.07);
    }

    .profile .user-square.user-square--photo {
        width: 120px;
        height: 120px;
        min-width: 120px;
        min-height: 120px;
    }

    .profile .text-wrapper-4 {
        font-size: clamp(1.5rem, 5vw, 2.0625rem) !important;
        font-weight: 600;
        line-height: 1.35;
        overflow-wrap: anywhere;
        word-break: break-word;
        padding-inline: 10px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .profile .mail,
    .profile .mobile {
        padding: 16px 18px;
        gap: 12px;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
    }

    [dir="rtl"] .profile .mail,
    [dir="ltr"] .profile .mail,
    [dir="rtl"] .profile .mobile,
    [dir="ltr"] .profile .mobile {
        flex-direction: column !important;
    }

    /* Let labels use full width so phrases like “Mobile Number” do not break mid-word */
    .profile .mail .info-label,
    .profile .mobile .info-label {
        flex: 0 0 auto !important;
        flex-grow: 0 !important;
        width: 100%;
        min-width: 0;
        justify-content: flex-start !important;
    }

    [dir="rtl"] .profile .mail .info-label,
    [dir="rtl"] .profile .mobile .info-label {
        justify-content: flex-start !important;
    }

    /* Horizontal label row: icon then text in LTR; RTL keeps logical end alignment */
    [dir="ltr"] .profile .mail .info-label,
    [dir="ltr"] .profile .mobile .info-label {
        flex-direction: row !important;
        justify-content: flex-start !important;
    }

    [dir="ltr"] .profile .mail .info-value,
    [dir="ltr"] .profile .mobile .info-value {
        justify-content: flex-start !important;
    }

    [dir="ltr"] .profile .mail .info-value .text-wrapper-5,
    [dir="ltr"] .profile .mail .info-value .text-wrapper-7,
    [dir="ltr"] .profile .mobile .info-value .text-wrapper-5,
    [dir="ltr"] .profile .mobile .info-value .text-wrapper-7 {
        text-align: start !important;
    }

    .profile .mail .info-label .text-wrapper-6,
    .profile .mobile .info-label .text-wrapper-6 {
        flex: 0 1 auto !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .profile .mail .info-value,
    .profile .mobile .info-value {
        flex: 0 0 auto !important;
        flex-grow: 0 !important;
        width: 100%;
        min-width: 0;
    }

    [dir="rtl"] .profile .mail .info-value,
    [dir="rtl"] .profile .mobile .info-value {
        justify-content: flex-end !important;
    }

    .profile .mail .info-value .text-wrapper-5,
    .profile .mail .info-value .text-wrapper-7,
    .profile .mobile .info-value .text-wrapper-5,
    .profile .mobile .info-value .text-wrapper-7 {
        display: block;
        width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    [dir="rtl"] .profile .mail .info-value .text-wrapper-5,
    [dir="rtl"] .profile .mail .info-value .text-wrapper-7,
    [dir="rtl"] .profile .mobile .info-value .text-wrapper-5,
    [dir="rtl"] .profile .mobile .info-value .text-wrapper-7 {
        text-align: end !important;
    }

    .profile .name {
        padding: 14px 16px;
    }

    .profile .buttons {
        flex-direction: column;
        align-items: stretch;
    }

    [dir="rtl"] .profile .buttons {
        flex-direction: column;
        align-items: stretch;
    }

    [dir="ltr"] .profile .buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .profile .text-wrapper-4 {
        font-size: clamp(1.4rem, 5vw, 1.875rem) !important;
        line-height: 1.4;
    }

    .profile .content {
        padding: 16px 14px;
    }
}

/* iPad (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .profile .content {
        padding: 24px 40px;
        align-items: stretch;
    }

    .profile .content-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    [dir="rtl"] .profile .content-wrapper {
        flex-direction: column;
    }

    [dir="ltr"] .profile .content-wrapper {
        flex-direction: column;
    }

    .profile .content-wrapper > .left,
    .profile .left {
        width: 100%;
        max-width: 100%;
        align-self: stretch;
        box-sizing: border-box;
        align-items: stretch;
    }

    .profile .menu {
        width: 100%;
    }
}

/* Desktop 1440px */
@media (min-width: 1025px) and (max-width: 1440px) {
    .profile .content {
        padding: 24px 80px;
    }
}

/* Widescreen (above 1440px) */
@media (min-width: 1441px) {
    .profile .content {
        padding: 24px 156px;
    }
}

/* ============================================
   Edit Account Modal Styles
   ============================================ */

.edit-account-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100002; /* Must be above #mainHeader (99997) and mobile menu (99999) */
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.edit-account-modal.show {
    display: flex;
    opacity: 1;
}

.edit-account-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.edit-account-modal-dialog {
    position: relative;
    z-index: 10000;
    width: 90%;
    max-width: 560px;
    margin: 20px;
}

.edit-account-modal-content {
    background-color: var(--khames-design-system-colors-gray-white);
    border-radius: 24px;
    box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 40px);
}

.edit-account-modal.show .edit-account-modal-content {
    transform: scale(1);
}

.edit-account-modal-header {
    position: relative;
    padding: 32px 32px 24px;
    border-bottom: 1px solid var(--khames-design-system-colors-gray-lighter);
    flex: 0 0 auto;
}

.type-selector {
    position: absolute;
    top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--colors-primary-500);
    border-radius: 24px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

[dir="rtl"] .type-selector {
    right: 32px;
}

[dir="ltr"] .type-selector {
    left: 32px;
}

.type-selector:hover {
    background-color: var(--colors-primary-600);
}

.type-selector-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.type-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.type-text {
    color: var(--khames-design-system-colors-gray-white);
    font-family: "Nunito", "IBM Plex Sans", Helvetica;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

[dir="rtl"] .type-text {
    font-family: "IBM Plex Sans Arabic", Helvetica;
}

.type-chevron {
    width: 12px;
    height: 12px;
    filter: brightness(0) invert(1);
    transition: transform 0.2s ease;
}

.edit-account-modal-title {
    text-align: center;
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    letter-spacing: normal !important;
    color: var(--khames-design-system-colors-gray-darkest);
    margin: 0;
    padding-top: 48px;
}

[dir="ltr"] .edit-account-modal-title {
    font-family: "Nunito", "IBM Plex Sans", Helvetica;
}

.edit-account-modal-close {
    position: absolute;
    top: 24px;
    width: 40px;
    height: 40px;
    background: var(--colors-primary-50);
    border: 1px solid rgba(106, 93, 139, 0.16);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--colors-primary-600);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
    padding: 0;
    line-height: 1;
}

[dir="rtl"] .edit-account-modal-close {
    left: 32px;
}

[dir="ltr"] .edit-account-modal-close {
    right: 32px;
}

.edit-account-modal-close:hover {
    background: var(--colors-primary-100);
    border-color: rgba(106, 93, 139, 0.32);
    color: var(--colors-primary-700);
}

.edit-account-modal-close:focus-visible {
    outline: 2px solid var(--colors-primary-500);
    outline-offset: 2px;
}

.edit-account-modal-close:active {
    transform: scale(0.96);
}

.edit-account-modal-body {
    padding: 32px;
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.form-group {
    margin-bottom: 24px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 16px;
    font-weight: 500;
    color: var(--khames-design-system-colors-gray-default);
    margin-bottom: 8px;
}

[dir="ltr"] .form-label {
    font-family: "Nunito", "IBM Plex Sans", Helvetica;
}

[dir="rtl"] .form-label {
    text-align: right;
}

[dir="ltr"] .form-label {
    text-align: left;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    padding: 16px;
    padding-right: 48px;
    border: 1px solid var(--khames-design-system-colors-gray-lighter);
    border-radius: 12px;
    font-family: "IBM Plex Sans", Helvetica;
    font-size: 16px;
    font-weight: 500;
    color: var(--khames-design-system-colors-gray-darkest);
    background-color: var(--khames-design-system-colors-gray-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

[dir="rtl"] .form-input {
    padding-right: 48px;
    padding-left: 16px;
    text-align: right;
}

[dir="ltr"] .form-input {
    padding-left: 48px;
    padding-right: 16px;
    text-align: left;
}

.form-input:focus {
    border-color: var(--colors-primary-500);
    box-shadow: 0 0 0 3px rgba(106, 93, 139, 0.1);
}

.edit-account-modal .aq-phone-outer-field {
    min-height: 56px;
    border-radius: 12px;
    outline-color: var(--khames-design-system-colors-gray-lighter);
    font-family: "IBM Plex Sans", Helvetica;
    font-size: 16px;
}

.edit-account-modal .aq-phone-outer-field:focus-within {
    outline: 2px rgba(106, 93, 139, 0.45) solid;
    outline-offset: -2px;
}

.edit-account-modal .create-account-pw-requirements {
    align-self: stretch;
    width: 100%;
    box-sizing: border-box;
    margin-top: 8px;
    padding: 10px 14px;
    background: #F7F6FA;
    border: 1px solid #E1DFE8;
    border-radius: 12px;
}

.edit-account-modal .create-account-pw-requirements .pw-req-title {
    font-size: 12px;
    font-weight: 600;
    color: #372A58;
    margin-bottom: 4px;
    font-family: "IBM Plex Sans Arabic", Helvetica;
}

[dir="ltr"] .edit-account-modal .create-account-pw-requirements .pw-req-title {
    font-family: "Nunito", "IBM Plex Sans", Helvetica;
}

.edit-account-modal .create-account-pw-requirements .pw-req-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 14px;
}

.edit-account-modal .create-account-pw-requirements .pw-req {
    font-size: 12px;
    color: #999999;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color .15s ease;
    font-family: "IBM Plex Sans Arabic", Helvetica;
}

[dir="ltr"] .edit-account-modal .create-account-pw-requirements .pw-req {
    font-family: "Nunito", "IBM Plex Sans", Helvetica;
}

.edit-account-modal .create-account-pw-requirements .pw-req .pw-req-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    border-radius: 50%;
    border: 1.5px solid #C9C5D6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    line-height: 1;
}

.edit-account-modal .create-account-pw-requirements .pw-req.met {
    color: #2E7D32;
}

.edit-account-modal .create-account-pw-requirements .pw-req.met .pw-req-icon {
    border-color: #2E7D32;
    background: #2E7D32;
    color: #fff;
}

.edit-account-modal .create-account-pw-requirements .pw-req.met .pw-req-icon::before {
    content: "\2713";
}

.contact-change-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 24px;
    padding: 12px 14px;
    border: 1px solid rgba(106, 93, 139, 0.18);
    border-radius: 12px;
    background: rgba(106, 93, 139, 0.08);
    color: var(--khames-design-system-colors-gray-darkest);
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
}

[dir="ltr"] .contact-change-note {
    font-family: "Nunito", "IBM Plex Sans", Helvetica;
}

.contact-change-note__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--colors-primary-500);
    color: var(--khames-design-system-colors-gray-white);
    font-family: "IBM Plex Sans", Helvetica;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    margin-top: 2px;
}

.contact-change-otp-modal-overlay {
    z-index: 100013; /* Above #mainHeader (99997) and the edit-account modal (100002) */
}

.contact-change-otp-modal .verify-login-container {
    gap: 20px;
}

.contact-change-otp-destination {
    min-height: 20px;
    color: var(--colors-primary-600);
    font-family: "IBM Plex Sans", Helvetica;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    direction: ltr;
    unicode-bidi: isolate;
}

.contact-change-otp-destination[hidden] {
    display: none;
}

.contact-change-otp-timer {
    min-height: 22px;
    color: var(--khames-design-system-colors-gray-dark, #666);
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
}

[dir="ltr"] .contact-change-otp-timer {
    font-family: "Nunito", "IBM Plex Sans", Helvetica;
}

.contact-change-otp-timer[hidden] {
    display: none;
}

.contact-change-otp-resend-wrap {
    margin-top: -4px;
    text-align: center;
}

.contact-change-otp-resend-wrap .verify-login-resend-btn:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.input-icon {
    position: absolute;
    width: 24px;
    height: 24px;
    pointer-events: none;
}

[dir="rtl"] .input-icon {
    right: 16px;
}

[dir="ltr"] .input-icon {
    left: 16px;
}

.edit-account-modal-footer {
    padding: 24px 32px 32px;
    border-top: 1px solid var(--khames-design-system-colors-gray-lighter);
    flex: 0 0 auto;
}

.save-changes-btn {
    width: 100%;
    padding: 16px;
    background-color: var(--colors-primary-500);
    border: none;
    border-radius: 16px;
    color: var(--khames-design-system-colors-gray-white);
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    text-align: center;
}

[dir="ltr"] .save-changes-btn {
    font-family: "Nunito", "IBM Plex Sans", Helvetica;
}

.save-changes-btn:hover {
    background-color: var(--colors-primary-600);
}

.save-changes-btn:active {
    transform: scale(0.98);
}

.save-changes-btn:focus {
    outline: 2px solid var(--colors-primary-500);
    outline-offset: 2px;
}

/* Responsive Modal Styles */
@media (max-width: 768px) {
    .edit-account-modal-dialog {
        width: 95%;
        margin: 10px;
    }

    .edit-account-modal-header {
        padding: 24px 20px 20px;
    }

    [dir="rtl"] .type-selector {
        right: 20px;
    }

    [dir="ltr"] .type-selector {
        left: 20px;
    }

    [dir="rtl"] .edit-account-modal-close {
        left: 20px;
    }

    [dir="ltr"] .edit-account-modal-close {
        right: 20px;
    }

    .edit-account-modal-title {
        font-size: 20px !important;
        padding-top: 40px;
    }

    .edit-account-modal-body {
        padding: 24px 20px;
    }

    .edit-account-modal-footer {
        padding: 20px;
    }

    .save-changes-btn {
        font-size: 18px;
        padding: 14px;
    }

    .contact-change-otp-modal .verify-login-input-box {
        width: 56px;
        height: 68px;
        border-radius: 14px;
    }

    .contact-change-otp-modal .verify-login-otp-input {
        font-size: 28px;
    }

    .edit-account-modal .create-account-pw-requirements .pw-req-list {
        grid-template-columns: 1fr;
    }
}

/* Verification Modal Styles */
.verification-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100010; /* Must be above #mainHeader (99997) */
    opacity: 0;
    transition: opacity 0.3s ease;
    justify-content: center;
    align-items: center;
}

.verification-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.verification-modal {
    background: var(--Colors-Gray-White, white);
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
}

.verification-modal-overlay.active .verification-modal {
    transform: scale(1);
}

.verification-modal-header {
    padding: 24px;
    border-bottom: 1px var(--Colors-Gray-Lighter, #E6E6E6) solid;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.verification-modal-title {
    font-size: 20px;
    font-family: IBM Plex Sans Arabic;
    font-weight: 700;
    color: var(--Colors-Gray-Darkest, #111111);
}

[dir="ltr"] .verification-modal-title {
    font-family: "Nunito", "IBM Plex Sans", Helvetica;
}

.verification-modal-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s ease;
    width: 40px;
    height: 40px;
}

.verification-modal-close:hover {
    background: var(--Colors-Gray-Lightest, #F4F4F4);
}

.verification-modal-close svg {
    width: 24px;
    height: 24px;
    stroke: var(--Colors-Gray-Dark, #666666);
}

.verification-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verification-modal-iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: none;
    background: transparent;
}

/* Desktop/web: modest modal height, no scrollbar on popup chrome */
@media (min-width: 1025px) {
    .verification-modal {
        max-height: 90vh;
    }

    .verification-modal-body {
        overflow: hidden;
    }

    .verification-modal-iframe {
        min-height: 450px;
        height: min(500px, calc(90vh - 100px));
    }
}

/* Responsive adjustments for modal */
@media (max-width: 1024px) {
    .verification-modal {
        width: 95%;
        max-width: none;
        max-height: 95vh;
        border-radius: 12px;
    }

    .verification-modal-header {
        padding: 16px;
    }

    .verification-modal-body {
        padding: 16px;
    }

    .verification-modal-iframe {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .verification-modal {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .verification-modal-iframe {
        min-height: calc(100vh - 120px);
    }
}

/* ──── My referral card — mirrors the .profile .info surface (no rate/commission wording) ──── */
.client-referral-card {
    width: 100%;
    margin: 10px 0 0;
    padding: 11px 16px;
    box-sizing: border-box;
    background-color: var(--khames-design-system-colors-gray-white, #ffffff);
    border: 1px solid var(--khames-design-system-colors-gray-lighter, #E1DFE8);
    border-radius: 12px;
}
.client-referral-card__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.client-referral-card__kicker {
    margin: 0;
    font-family: "IBM Plex Sans Arabic", Helvetica;
    font-size: 16px;
    font-weight: 500;
    color: var(--khames-design-system-colors-gray-default);
}
.client-referral-card__code-line { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.client-referral-card__code {
    font-family: "IBM Plex Sans", Helvetica;
    font-size: 16px;
    font-weight: 600;
    color: var(--khames-design-system-colors-gray-darkest);
}
.client-referral-card__copy {
    border: 1px solid #E1DFE8;
    background: #fff;
    border-radius: 6px;
    padding: 2px 9px;
    font-size: 12px;
    font-weight: 600;
    color: #6A5D8B;
    cursor: pointer;
}
.client-referral-card__copy:hover { background: #faf9fc; }
.client-referral-card__how { margin: 8px 0 0; font-size: 13px; color: var(--khames-design-system-colors-gray-default); }

/* Profile contact rows — dir lives on .profile (not html), so use .profile[dir="…"]. */
.profile[dir="ltr"] .mail,
.profile[dir="ltr"] .mobile {
    direction: ltr !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
}

.profile[dir="ltr"] .mail .info-label,
.profile[dir="ltr"] .mobile .info-label {
    order: 1 !important;
    flex: 0 0 auto !important;
    flex-grow: 0 !important;
    width: auto !important;
    max-width: none !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    gap: 8px !important;
}

.profile[dir="ltr"] .mail .info-value,
.profile[dir="ltr"] .mobile .info-value {
    order: 2 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    justify-content: flex-end !important;
}

.profile[dir="ltr"] .mail .info-label .text-wrapper-6,
.profile[dir="ltr"] .mobile .info-label .text-wrapper-6 {
    flex: 0 1 auto !important;
}

.profile[dir="ltr"] .mail .info-value .text-wrapper-5,
.profile[dir="ltr"] .mail .info-value .text-wrapper-7,
.profile[dir="ltr"] .mobile .info-value .text-wrapper-5,
.profile[dir="ltr"] .mobile .info-value .text-wrapper-7 {
    text-align: end !important;
    flex: 0 1 auto !important;
    width: auto !important;
}

@media (max-width: 1180px) {
    .profile[dir="ltr"] .mail,
    .profile[dir="ltr"] .mobile {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .profile[dir="ltr"] .mail .info-value,
    .profile[dir="ltr"] .mobile .info-value {
        justify-content: flex-start !important;
    }

    .profile[dir="ltr"] .mail .info-value .text-wrapper-5,
    .profile[dir="ltr"] .mail .info-value .text-wrapper-7,
    .profile[dir="ltr"] .mobile .info-value .text-wrapper-5,
    .profile[dir="ltr"] .mobile .info-value .text-wrapper-7 {
        text-align: start !important;
        width: 100% !important;
    }
}

.profile[dir="rtl"] .mail,
.profile[dir="rtl"] .mobile {
    direction: rtl !important;
    flex-direction: row !important;
}

.profile[dir="rtl"] .mail .info-label,
.profile[dir="rtl"] .mobile .info-label {
    justify-content: flex-start !important;
}

.profile[dir="rtl"] .mail .info-value,
.profile[dir="rtl"] .mobile .info-value {
    justify-content: flex-end !important;
}

/* ──── Profile dashboard (page card + hero + quick actions) ──── */
.profile.profile--dashboard {
    background: var(--khames-design-system-colors-gray-lightest, #f4f4f4);
}

.profile.profile--dashboard .content {
    background: transparent;
}

.profile.profile--dashboard .left {
    align-items: stretch;
    gap: 0;
}

.profile.profile--dashboard fieldset.cp-page-card {
    margin: 0;
    padding: 1.1rem 1.15rem 1.25rem;
    border: 1px solid #e1dfe8;
    border-radius: 14px;
    background: #fff;
    min-width: 0;
    width: 100%;
    box-shadow:
        0 1px 2px rgba(55, 42, 88, 0.04),
        0 8px 24px rgba(55, 42, 88, 0.08);
}

.profile.profile--dashboard fieldset.cp-page-card > legend.cp-page-card__title {
    width: auto;
    max-width: calc(100% - 1rem);
    float: none;
    margin: 0;
    margin-inline-start: 0.5rem;
    padding: 0 0.5rem;
    background: transparent;
    font-family: "IBM Plex Sans Arabic", Helvetica, Arial, sans-serif;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #372a58;
    text-align: start;
}

.profile.profile--dashboard .cp-page-card__body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 0.7rem;
    min-width: 0;
}

.profile.profile--dashboard .info.cp-hero {
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.profile.profile--dashboard .cp-hero__main {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.profile.profile--dashboard .cp-hero__identity {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile.profile--dashboard .cp-hero__identity .photo {
    flex: 0 0 auto;
    width: 96px;
    height: 96px;
    padding: 5px;
    background: var(--colors-primary-50);
}

.profile.profile--dashboard .cp-hero__identity .user-square,
.profile.profile--dashboard .cp-hero__identity .user-square.user-square--photo {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: cover;
}

.profile.profile--dashboard .cp-hero__identity .add-circle {
    width: 34px;
    height: 34px;
    inset-inline-start: 0;
    inset-inline-end: auto;
    bottom: 0;
    left: auto;
    right: auto;
    background: var(--colors-primary-500);
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(106, 93, 139, 0.28);
    display: grid;
    place-items: center;
    padding: 0;
    margin: 0;
    cursor: pointer;
    line-height: 0;
}

[dir="rtl"] .profile.profile--dashboard .cp-hero__identity .add-circle {
    inset-inline-start: 0;
    left: 0;
    right: auto;
}

[dir="ltr"] .profile.profile--dashboard .cp-hero__identity .add-circle {
    inset-inline-start: auto;
    inset-inline-end: 0;
    right: 0;
    left: auto;
}

.profile.profile--dashboard .cp-hero__identity .add-circle .elements {
    position: static;
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.profile.profile--dashboard .cp-hero__identity .add-circle .vector {
    filter: brightness(0) invert(1);
    width: 14px;
    height: 14px;
    position: static !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0;
    display: block;
    object-fit: contain;
}

.profile.profile--dashboard .cp-hero__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.profile.profile--dashboard .cp-hero__meta .text-wrapper-4 {
    align-self: auto;
    text-align: start !important;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem) !important;
    font-weight: 700 !important;
    line-height: 1.25;
    margin: 0;
    padding: 0;
}

.profile.profile--dashboard .cp-member-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--colors-primary-50);
    color: var(--colors-primary-500);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.profile.profile--dashboard .cp-contact-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}

.profile.profile--dashboard .cp-contact-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 12px;
    padding: 14px 16px !important;
    border: 1px solid #e1dfe8 !important;
    border-radius: 14px;
    background: #f8f7fb;
    width: 100%;
    min-width: 0;
    box-shadow: none;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.profile.profile--dashboard .cp-contact-row:first-child {
    border-inline-start: 1px solid #e1dfe8 !important;
}

.profile.profile--dashboard .cp-contact-row__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.profile.profile--dashboard .cp-contact-row .info-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0;
}

.profile.profile--dashboard .cp-contact-row__icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e1dfe8;
    color: #6a5d8b;
}

.profile.profile--dashboard .cp-contact-row__icon img,
.profile.profile--dashboard .cp-contact-row .info-label .img-2 {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex: 0 0 auto;
}

.profile.profile--dashboard .cp-contact-row .info-label .text-wrapper-6 {
    flex: 0 1 auto !important;
    color: #98a2b3;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
}

.profile.profile--dashboard .cp-contact-row .info-value {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start !important;
    gap: 8px 10px;
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0;
    padding-inline-start: 46px;
}

.profile.profile--dashboard .cp-contact-row .info-value .text-wrapper-5,
.profile.profile--dashboard .cp-contact-row .info-value .text-wrapper-7 {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    text-align: start !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #372a58;
    line-height: 1.35;
}

.profile.profile--dashboard .cp-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(73, 160, 120, 0.22);
    background: rgba(73, 160, 120, 0.1);
    color: #2f8f63;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1.2;
}

.profile.profile--dashboard .cp-verified svg {
    flex: 0 0 auto;
}

.profile.profile--dashboard fieldset.cp-actions-card {
    margin: 0;
    padding: 1.1rem 1.15rem 1.15rem;
    border: 1px solid #e1dfe8;
    border-radius: 14px;
    background: #fff;
    min-width: 0;
    box-shadow: none;
}

.profile.profile--dashboard fieldset.cp-actions-card > legend.cp-actions-card__title {
    width: auto;
    max-width: calc(100% - 1rem);
    float: none;
    margin: 0;
    margin-inline-start: 0.5rem;
    padding: 0 0.5rem;
    background: #fff;
    font-family: "IBM Plex Sans Arabic", Helvetica, Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: #372a58;
    text-align: start;
}

.profile.profile--dashboard .cp-actions-card__body {
    margin-top: 0.7rem;
    padding: 0;
}

.profile.profile--dashboard .cp-actions__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.profile.profile--dashboard .cp-action {
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    font: inherit;
    text-align: start;
    min-height: 96px;
    background: #fff;
    border: 1px solid #e1dfe8;
    box-shadow:
        0 1px 2px rgba(55, 42, 88, 0.04),
        0 4px 12px rgba(55, 42, 88, 0.05);
    overflow: hidden;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
}

.profile.profile--dashboard .cp-action:hover,
.profile.profile--dashboard .cp-action:focus-visible {
    transform: translateY(-2px);
    border-color: #d4d0de;
    box-shadow:
        0 1px 2px rgba(55, 42, 88, 0.04),
        0 8px 20px rgba(55, 42, 88, 0.08);
    background: #fff;
    outline: none;
}

.profile.profile--dashboard .cp-action__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f8f7fb;
    border: 1px solid #e1dfe8;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #6a5d8b;
    transition: transform 0.18s ease, background 0.18s ease;
}

.profile.profile--dashboard .cp-action:hover .cp-action__icon,
.profile.profile--dashboard .cp-action:focus-visible .cp-action__icon {
    transform: scale(1.03);
    background: #f1eff6;
}

.profile.profile--dashboard .cp-action__icon img,
.profile.profile--dashboard .cp-action__icon svg {
    width: 22px;
    height: 22px;
}

.profile.profile--dashboard .cp-action__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    min-width: 0;
    flex: 1 1 auto;
}

.profile.profile--dashboard .cp-action__text strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--khames-design-system-colors-gray-darkest);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.profile.profile--dashboard .cp-action__text small {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--khames-design-system-colors-gray-dark);
    line-height: 1.4;
}

.profile.profile--dashboard .cp-action__chevron {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-inline-start: 4px;
    border-block-end: 2px solid var(--khames-design-system-colors-gray-lighter, #d0d5dd);
    border-inline-end: 2px solid var(--khames-design-system-colors-gray-lighter, #d0d5dd);
    transform: rotate(-45deg);
    transition: border-color 0.18s ease, transform 0.18s ease;
}

[dir="rtl"] .profile.profile--dashboard .cp-action__chevron {
    transform: rotate(135deg);
}

.profile.profile--dashboard .cp-action:hover .cp-action__chevron,
.profile.profile--dashboard .cp-action:focus-visible .cp-action__chevron {
    border-color: #6a5d8b;
}

[dir="ltr"] .profile.profile--dashboard .cp-action:hover .cp-action__chevron,
[dir="ltr"] .profile.profile--dashboard .cp-action:focus-visible .cp-action__chevron {
    transform: rotate(-45deg) translate(1px, 1px);
}

[dir="rtl"] .profile.profile--dashboard .cp-action:hover .cp-action__chevron,
[dir="rtl"] .profile.profile--dashboard .cp-action:focus-visible .cp-action__chevron {
    transform: rotate(135deg) translate(1px, 1px);
}

@media (max-width: 1100px) {
    .profile.profile--dashboard .info.cp-hero {
        padding: 0;
    }

    .profile.profile--dashboard fieldset.cp-page-card > legend.cp-page-card__title {
        font-size: 1.65rem;
    }

    .profile.profile--dashboard fieldset.cp-actions-card > legend.cp-actions-card__title {
        font-size: 1.35rem;
    }
}

@media (max-width: 720px) {
    .profile.profile--dashboard .cp-contact-panel {
        grid-template-columns: 1fr;
    }

    .profile.profile--dashboard .cp-contact-row {
        border-inline-start: 1px solid #e1dfe8 !important;
        border-top: 1px solid #e1dfe8 !important;
    }

    .profile.profile--dashboard .cp-contact-row:first-child {
        border-top: 1px solid #e1dfe8 !important;
    }

    .profile.profile--dashboard .cp-actions__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .profile.profile--dashboard .cp-hero__identity {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile.profile--dashboard .cp-contact-row .info-value {
        padding-inline-start: 0;
    }

    .profile.profile--dashboard .cp-contact-row .info-value .text-wrapper-5,
    .profile.profile--dashboard .cp-contact-row .info-value .text-wrapper-7 {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .profile.profile--dashboard fieldset.cp-page-card > legend.cp-page-card__title {
        font-size: 1.45rem;
    }

    .profile.profile--dashboard fieldset.cp-actions-card > legend.cp-actions-card__title {
        font-size: 1.2rem;
    }
}
