/* CSS Variables from the original design system */
:root {
    --manrope-font: "Manrope", sans-serif;
    --font-large: 18px;
    --font-regular: 16px;
    --font-small: 14px;
    --font-xs: 12px;
    --font-20: 20px;
    --text-color: #564B43;
    --typo-primary: #0E9493;
    --typo-secondary: #0A2540;
    --color-primary: #EF7310;
    --light-gray: #F1F5F9;
    --border-color: #E6E6E6;
    --border-plight: #FCE3CF;
    --border-clight: #CBD5E1;
    --h-color: #2F2B27;
    --color-white: #ffffff;
}

.back-button {
    padding: 0 0 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.back-button .back-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

.back-button .back-link:hover {
    color: var(--color-primary);
    opacity: 0.8;
}

.page-title {
    margin: 0 0 37px;
}

.page-title h2 {
    font-size: var(--font-large);
    line-height: 30px;
    font-weight: 700;
    margin: 0;
    color: var(--h-color);
}

.customer-profile {
    padding-top: 64px;
    position: sticky;
    top: 30px;
}

.profile-edit-block {
    text-align: center;
    position: relative;
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 71px 30px 12px;
}

.profile-edit-block .profile-img {
    margin: 0 auto;
    width: 122px;
    height: 122px;
    background-color: var(--color-white);
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-primary);
    position: absolute;
    top: -64px;
    left: 50%;
    transform: translate(-50%, 0);
}

.profile-edit-block .profile-img .profile-update-img {
    border-radius: 50%;
    max-width: 100px;
    height: 100px;
    object-fit: cover;
}

.profile-edit-block h5 {
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: var(--font-20);
    font-weight: 600;
}

.profile-reviews {
    font-size: var(--font-xs);
    color: var(--typo-secondary);
    line-height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 16px;
}

.customer-position {
    font-size: var(--font-regular);
    line-height: normal;
    font-weight: 500;
    margin: 16px 0 0;
    color: var(--text-color);
}

.divider {
    border-bottom: 1px solid var(--border-clight);
    margin: 16px 0;
}

ul.fc-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.fc-contact .fc-text {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text-color);
    font-weight: 500;
    font-size: var(--font-small);
    line-height: normal;
    text-decoration: none;
}

ul.fc-contact .fc-text:hover {
    color: var(--color-primary);
}

.fc-text .icon {
    min-width: 16px;
    height: 16px;
    width: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-about {
    margin-top: 64px;
    padding: 30px;
    border-radius: 8px;
    border: solid 1px var(--border-plight);
    background-color: var(--color-white);
}

.profile-about h3 {
    font-size: var(--font-20);
    line-height: 30px;
    max-width: 700px;
    margin: 0 0 10px;
    font-weight: 700;
    color: var(--h-color);
}

.profile-about p {
    font-size: var(--font-regular);
    line-height: 24px;
    color: var(--text-color);
    margin-bottom: 30px;
}

.bio-editor {
    margin-bottom: 30px;
}

.bio-editor .text-content {
    font-size: var(--font-regular);
    line-height: 24px;
    color: var(--text-color);
    padding: 0;
    border: none;
    background: transparent;
}

.bio-editor .text-content:hover {
    background-color: rgba(252, 227, 207, 0.05);
    border-radius: 6px;
    /* padding: 12px; */
}

.about-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.demo-toggle {
    background: var(--typo-primary);
    color: var(--color-white);
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: var(--font-xs);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.demo-toggle:hover {
    background: rgba(14, 148, 147, 0.8);
    transform: translateY(-1px);
}

.work-exp-outer .work-exp-card:not(:last-child) {
    margin-bottom: 20px;
}

.work-exp-card {
    padding: 20px;
    border-radius: 8px;
    border: solid 1px var(--border-plight);
    background-color: var(--color-white);
}

.work-exp-card h4 {
    font-size: var(--font-large);
    line-height: normal;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--typo-secondary);
}

.work-location {
    font-size: 10px;
    line-height: normal;
    font-weight: 700;
    color: var(--typo-primary);
    margin: 0 0 10px;
}

.work-dis {
    margin-bottom: 10px;
}

.work-dis p {
    font-size: var(--font-small);
    line-height: normal;
    color: var(--text-color);
    margin-bottom: 10px;
}

.doc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.doc-card {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-plight);
    border-radius: 10px;
    padding: 8px;
    padding-right: 15px;
    justify-content: space-between;
    transition: 0.2s ease;
    cursor: pointer;
}

.doc-card:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.doc-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: #ffe5db;
}

.img .icon-box {
    background: #FCE3CF;
}

.icon-box img {
    width: 24px;
}

.doc-text {
    display: flex;
    flex-direction: column;
    font-size: var(--font-small);
    font-weight: 600;
    line-height: normal;
    color: var(--text-color);
}

.doc-text .filename {
    font-size: var(--font-small);
    font-weight: 600;
    color: var(--text-color);
}

.doc-text .size {
    font-size: 12px;
    font-weight: 400;
    color: #787676;
}

.download-arrow {
    color: #f58220;
    font-size: 18px;
    cursor: pointer;
}

/* Font family for all elements */
* {
    font-family: var(--manrope-font), sans-serif;
}

/* Responsive styles */
@media (max-width: 768px) {
    .customer-profile {
        padding-top: 30px;
        position: static;
    }
    
    .profile-about {
        margin-top: 30px;
        padding: 15px;
    }
    
    .doc-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title h2 {
        font-size: var(--font-regular);
    }
    
    .work-exp-card {
        padding: 15px;
    }

    .bio-editor{
        margin-bottom: 0;
    }
}