/* Digilancer — Profile Details (Freeio, no Tailwind) */

.dl-profile-details {
    font-family: var(--title-font-family, "DM Sans", sans-serif);
    color: #222;
    background: #f8f9fd;
}

/* Freeio .wrapper.ovh breaks sticky sidebar */
body:has(.dl-profile-details) .wrapper.ovh {
    overflow: visible;
}

body:has(.dl-profile-details) .body_content {
    overflow: visible;
}

.dl-profile-details .dl-pf-breadcrumb {
    font-size: 14px;
    color: #6b7177;
    margin-bottom: 10px;
}

.dl-profile-details .dl-pf-breadcrumb a {
    color: #6b7177;
    text-decoration: none;
}

.dl-profile-details .dl-pf-breadcrumb a:hover {
    color: var(--main-color-one);
}

.dl-profile-details .dl-pf-breadcrumb .sep {
    margin: 0 8px;
    color: #c4c8ce;
}

/* ---- Layout ---- */
.dl-profile-details.pt30 {
    padding-top: 20px !important;
}

.dl-profile-details .dl-pf-main {
    min-width: 0;
    margin-top: 0;
    padding-top: 0;
}

.dl-profile-details > .container > .row {
    align-items: flex-start;
}

@media (min-width: 992px) {
    .dl-profile-details .dl-pf-sidebar-col {
        position: sticky;
        top: 100px;
        align-self: flex-start;
        margin-top: 0;
        padding-top: 0;
    }
}

.dl-profile-details .dl-pf-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 0;
}

/* ---- Section titles ---- */
.dl-profile-details .dl-pf-section {
    margin-bottom: 0;
    padding: 18px 0;
    border-bottom: 1px solid #eceef2;
}

.dl-profile-details .dl-pf-section:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.dl-profile-details .dl-pf-section-title {
    font-family: var(--title-font-family, "DM Sans", sans-serif);
    font-size: 18px;
    font-weight: 500;
    color: #222;
    margin: 0 0 10px;
    line-height: 1.3;
}

.dl-profile-details .dl-pf-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.dl-profile-details .dl-pf-section-head .dl-pf-section-title {
    margin-bottom: 0;
}

.dl-profile-details .dl-pf-muted {
    color: #6b7177;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

.dl-profile-details .dl-pf-empty {
    padding: 20px 16px;
    text-align: center;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 10px;
    color: #6b7177;
    font-size: 14px;
}

/* ---- Hero / profile header ---- */
.dl-profile-details .dl-pf-hero {
    margin: 0;
    padding: 0 0 18px;
    border-bottom: 1px solid #eceef2;
}

.dl-profile-details .dl-pf-hero-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dl-profile-details .dl-pf-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.dl-profile-details .dl-pf-avatar {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    min-width: 80px;
    min-height: 80px;
    border-radius: 50%;
    object-fit: cover !important;
    object-position: center center;
    display: block;
    background: #eef0f4;
}

.dl-profile-details .dl-pf-online-dot {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #22c55e;
    border: 3px solid #fff;
    z-index: 1;
}

.dl-profile-details .dl-pf-title-meta {
    font-size: 13px;
    color: #6b7177;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dl-profile-details .dl-pf-title-meta .fa-circle-check {
    color: var(--main-color-one);
    font-size: 12px;
}

.dl-profile-details .dl-pf-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.dl-profile-details .dl-pf-name {
    font-family: var(--title-font-family, "DM Sans", sans-serif);
    font-size: 24px;
    font-weight: 500;
    color: #222;
    margin: 0;
    line-height: 1.3;
}

.dl-profile-details .dl-pf-level-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--main-color-one);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.dl-profile-details .dl-pf-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    font-size: 14px;
    color: #6b7177;
}

.dl-profile-details .dl-pf-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    border-right: 1px solid #d1d5db;
}

.dl-profile-details .dl-pf-meta-item:first-child {
    padding-left: 0;
}

.dl-profile-details .dl-pf-meta-item:last-child {
    border-right: 0;
    padding-right: 0;
}

.dl-profile-details .dl-pf-meta-item .fa-star {
    color: #fbbf24;
}

.dl-profile-details .dl-pf-meta-mobile {
    display: none;
    margin-top: 12px;
}

@media (max-width: 575.98px) {
    .dl-profile-details .dl-pf-meta-desktop {
        display: none;
    }
    .dl-profile-details .dl-pf-meta-mobile {
        display: flex;
    }
    .dl-profile-details .dl-pf-name {
        font-size: 20px;
    }
}

.dl-profile-details .dl-pf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
}

.dl-profile-details .dl-pf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    min-height: 42px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
    font-family: inherit;
    line-height: 1.3;
}

.dl-profile-details .dl-pf-btn-primary,
.dl-profile-details .bg-primary {
    background: var(--main-color-one);
    border-color: var(--main-color-one);
    color: #fff;
}

.dl-profile-details .dl-pf-btn-primary:hover,
.dl-profile-details .bg-primary:hover {
    background: #222;
    border-color: #222;
    color: #fff;
}

.dl-profile-details .dl-pf-btn-outline,
.dl-profile-details .border-primary.text-primary {
    background: #fff;
    border-color: var(--main-color-one);
    color: var(--main-color-one);
}

.dl-profile-details .dl-pf-btn-outline:hover {
    background: var(--main-color-one);
    color: #fff;
}

.dl-profile-details .dl-pf-btn-ghost {
    background: transparent;
    border-color: #e9e9e9;
    color: var(--main-color-one);
}

.dl-profile-details .dl-pf-btn-ghost:hover {
    border-color: var(--main-color-one);
}

.dl-profile-details .dl-pf-btn:disabled,
.dl-profile-details .dl-pf-btn.is-disabled {
    opacity: .65;
    cursor: not-allowed;
}

.dl-profile-details .text-primary {
    color: var(--main-color-one);
}

.dl-profile-details .text-white {
    color: #fff;
}

.dl-profile-details .border-primary {
    border-color: var(--main-color-one);
}

.dl-profile-details .hidden {
    display: none !important;
}

/* ---- Skills ---- */
.dl-profile-details .dl-pf-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dl-profile-details .dl-pf-skill,
.dl-profile-details .choose_skill {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border: 1px solid #e4e6eb;
    border-radius: 6px;
    font-size: 13px;
    color: #6b7177;
    text-decoration: none;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.dl-profile-details .dl-pf-skill:hover,
.dl-profile-details .choose_skill:hover {
    border-color: var(--main-color-one);
    color: var(--main-color-one);
    background: color-mix(in srgb, var(--main-color-one) 6%, #fff);
}

.dl-profile-details .dl-pf-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--main-color-one);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
}

.dl-profile-details .dl-pf-link-btn:hover {
    color: #222;
}

.dl-profile-details .edit_skill_wrapper {
    margin-top: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 10px;
}

.dl-profile-details #skill_input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}

.dl-profile-details #skill_input:focus {
    outline: none;
    border-color: var(--main-color-one);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--main-color-one) 15%, transparent);
}

.dl-profile-details .dl-pf-skill-suggest {
    max-height: 160px;
    overflow-y: auto;
    margin-top: 12px;
}

.dl-profile-details .dl-pf-skill-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* ---- Education / experience cards ---- */
.dl-profile-details .dl-pf-info-card {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 10px;
}

.dl-profile-details .dl-pf-info-card:last-child {
    margin-bottom: 0;
}

.dl-profile-details .dl-pf-info-card h3 {
    font-size: 15px;
    font-weight: 500;
    color: #222;
    margin: 0 0 2px;
}

.dl-profile-details .dl-pf-info-card .dl-pf-org {
    font-size: 13px;
    color: #6b7177;
    margin: 0 0 10px;
}

.dl-profile-details .dl-pf-info-card hr {
    border: 0;
    border-top: 1px solid #f0f0f0;
    margin: 0 0 10px;
}

.dl-profile-details .dl-pf-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    margin-bottom: 8px;
}

.dl-profile-details .dl-pf-info-row:last-child {
    margin-bottom: 0;
}

.dl-profile-details .dl-pf-info-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6b7177;
}

.dl-profile-details .dl-pf-info-value {
    color: #222;
    text-align: right;
}

/* ---- Achievements ---- */
.dl-profile-details .dl-pf-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 10px;
    padding: 16px 18px;
}

.dl-profile-details .dl-pf-ach-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 140px;
}

.dl-profile-details .dl-pf-ach-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 14px;
}

.dl-profile-details .dl-pf-ach-icon.is-success {
    background: #e6f7f1;
    color: var(--main-color-one);
}

.dl-profile-details .dl-pf-ach-icon.is-warn {
    background: #fff7e4;
    color: var(--main-color-two, #f5a623);
}

.dl-profile-details .dl-pf-ach-label {
    font-size: 13px;
    color: #6b7177;
    margin: 0 0 2px;
}

.dl-profile-details .dl-pf-ach-value {
    font-size: 15px;
    font-weight: 500;
    color: #222;
    margin: 0;
}

/* ---- Sidebar cards ---- */
.dl-profile-details .dl-pf-side-card,
.dl-profile-details aside .border.rounded-2xl.p-6.bg-white {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 10px;
    padding: 18px;
    min-width: 0;
}

.dl-profile-details .dl-pf-side-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.dl-profile-details .dl-pf-side-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

.dl-profile-details .dl-pf-side-avatar {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    object-fit: cover !important;
    object-position: center center;
    display: block;
    background: #eef0f4;
}

.dl-profile-details .dl-pf-side-online {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--main-color-one);
    border: 1px solid #fff;
}

.dl-profile-details .dl-pf-side-name {
    font-size: 16px;
    font-weight: 500;
    color: #222;
    margin: 0 0 4px;
    overflow-wrap: break-word;
}

.dl-profile-details .dl-pf-side-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #6b7177;
}

.dl-profile-details .dl-pf-status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--main-color-one);
    margin-left: 4px;
}

.dl-profile-details .dl-pf-status-dot.is-off {
    background: #9ca3af;
}

.dl-profile-details .dl-pf-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: var(--main-color-one);
    border: 1px solid var(--main-color-one);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease;
}

.dl-profile-details .dl-pf-contact-btn:hover {
    background: #222;
    border-color: #222;
    color: #fff;
}

.dl-profile-details .dl-pf-contact-btn.opacity-75 {
    opacity: .75;
}

.dl-profile-details .dl-pf-response {
    font-size: 13px;
    color: #6b7177;
}

.dl-profile-details .dl-pf-side-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    font-weight: 500;
    color: #222;
    flex-wrap: wrap;
}

.dl-profile-details .dl-pf-side-heading {
    font-size: 14px;
    font-weight: 500;
    color: #222;
    margin: 0 0 6px;
}

.dl-profile-details .dl-pf-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dl-profile-details .dl-pf-toggle-row > span {
    font-size: 14px;
    font-weight: 500;
    color: #222;
}

/* Toggle switch */
.dl-profile-details .toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.dl-profile-details .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.dl-profile-details .toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #ccc;
    border-radius: 34px;
    transition: .2s;
}

.dl-profile-details .toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: .2s;
}

.dl-profile-details .toggle-switch input:checked + .toggle-slider {
    background: var(--main-color-one);
}

.dl-profile-details .toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

/* ---- Service cards ---- */
.dl-profile-details .project_wrapper_area {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dl-profile-details .card-animate {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 10px;
    padding: 12px;
    transition: border-color .2s ease;
}

.dl-profile-details .card-animate:hover {
    border-color: var(--main-color-one);
}

.dl-profile-details .dl-pf-service-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@media (min-width: 768px) {
    .dl-profile-details .dl-pf-service-inner {
        flex-direction: row;
        align-items: stretch;
    }
}

.dl-profile-details .dl-pf-service-media {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .dl-profile-details .dl-pf-service-media {
        width: 50%;
    }
}

.dl-profile-details .dl-pf-service-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.dl-profile-details .dl-pf-service-cat {
    font-size: 13px;
    color: #6b7177;
    margin-bottom: 6px;
}

.dl-profile-details .dl-pf-service-title {
    font-size: 18px;
    font-weight: 500;
    color: #222;
    margin: 0 0 10px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dl-profile-details .dl-pf-service-title a {
    color: inherit;
    text-decoration: none;
}

.dl-profile-details .card-animate:hover .dl-pf-service-title a {
    color: var(--main-color-one);
}

.dl-profile-details .dl-pf-service-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7177;
    margin-bottom: 14px;
}

.dl-profile-details .dl-pf-service-rating .fa-star {
    color: #fbbf24;
}

.dl-profile-details .dl-pf-service-rating strong {
    color: #222;
    font-weight: 500;
}

.dl-profile-details .dl-pf-service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.dl-profile-details .dl-pf-service-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #222;
}

.dl-profile-details .dl-pf-service-user img {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    border-radius: 50%;
    object-fit: cover !important;
    object-position: center center;
    display: block;
    flex-shrink: 0;
}

.dl-profile-details .dl-pf-service-price {
    font-size: 13px;
    color: #6b7177;
}

.dl-profile-details .dl-pf-service-price strong {
    font-size: 16px;
    font-weight: 500;
    color: #222;
}

.dl-profile-details .dl-pf-service-price s {
    color: #9ca3af;
    font-size: 13px;
    margin-left: 4px;
}

.dl-profile-details .dl-pf-service-actions,
.dl-profile-details .mt-2.pt-2.border-t {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

.dl-profile-details .dl-pf-service-action-btns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.dl-profile-details .dl-pf-mini-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid color-mix(in srgb, var(--main-color-one) 30%, transparent);
    color: var(--main-color-one);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.dl-profile-details .dl-pf-mini-btn:hover {
    background: var(--main-color-one);
    border-color: var(--main-color-one);
    color: #fff;
}

.dl-profile-details .dl-pf-mini-btn.is-danger {
    border-color: #fecaca;
    color: #dc2626;
}

.dl-profile-details .dl-pf-mini-btn.is-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

.dl-profile-details .dl-pf-mini-btn.is-success {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #16a34a;
    cursor: default;
}

.dl-profile-details .dl-pf-status-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.dl-profile-details .dl-pf-status-badge.is-inactive {
    background: #fee2e2;
    color: #991b1b;
}

.dl-profile-details .dl-pf-no-media {
    width: 100%;
    height: 243px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #9ca3af;
    font-size: 12px;
    flex-direction: column;
    gap: 8px;
}

.dl-profile-details .dl-pf-add-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--main-color-one);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.dl-profile-details .dl-pf-add-link:hover {
    color: #222;
}

.dl-profile-details .dl-pf-show-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 14px;
    border: 1px solid var(--main-color-one);
    border-radius: 8px;
    color: var(--main-color-one);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    background: #fff;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s ease, color .2s ease;
}

.dl-profile-details .dl-pf-show-all:hover {
    background: var(--main-color-one);
    color: #fff;
}

.dl-profile-details .dl-pf-show-all:hover i {
    color: #fff;
}

/* Bookmark placement inside media */
.dl-profile-details .dl-pf-bookmark,
.dl-profile-details .dl-pf-service-media .bookmark-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 20;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7177;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.dl-profile-details .dl-pf-bookmark svg,
.dl-profile-details .dl-pf-service-media .bookmark-btn svg {
    width: 18px;
    height: 18px;
}

.dl-profile-details .dl-pf-bookmark.text-red-500,
.dl-profile-details .bookmark-btn .text-red-500,
.dl-profile-details .text-red-500 {
    color: #ef4444;
}

.dl-profile-details .mt-2 { margin-top: 8px; }
.dl-profile-details .mt-3 { margin-top: 12px; }
.dl-profile-details .mb-1 { margin-bottom: 4px; }
.dl-profile-details .mb-3 { margin-bottom: 12px; }
.dl-profile-details .mb-4 { margin-bottom: 16px; }

/* More About toggle — sit tight between skills and next block */
.dl-profile-details #more-about-btn,
.dl-profile-details #hide-about-btn {
    margin: 12px 0 4px;
    min-height: 36px;
    padding: 6px 12px;
    font-size: 13px;
}

.dl-profile-details #hidden-sections {
    margin-top: 4px;
}

.dl-profile-details #hidden-sections > .dl-pf-section:first-child {
    padding-top: 14px;
}

/* About body polish */
.dl-profile-details .dl-pf-section > .dl-pf-muted {
    max-width: 62ch;
}

/* ---- Carousel (from new_design, scoped) ---- */
.dl-profile-details .carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 243px;
    min-height: 243px;
}

.dl-profile-details .carousel-track {
    display: flex;
    height: 100%;
    transition: transform .4s ease-in-out;
}

.dl-profile-details .carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    background: #000;
}

.dl-profile-details .carousel-slide img,
.dl-profile-details .carousel-slide video,
.dl-profile-details .project-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dl-profile-details .arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity .3s ease;
}

.dl-profile-details .carousel-container:hover .arrow-btn {
    opacity: 1;
}

.dl-profile-details .arrow-btn.left-arrow {
    left: 8px;
}

.dl-profile-details .arrow-btn.right-arrow {
    right: 8px;
}

.dl-profile-details .arrow-btn svg {
    width: 16px;
    height: 16px;
    color: #222;
}

.dl-profile-details .pagination-dots-container {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 15;
}

.dl-profile-details .pagination-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, .55);
    cursor: pointer;
    transition: all .3s ease;
}

.dl-profile-details .pagination-dot.active {
    width: 14px;
    background: var(--main-color-one) !important;
}

/* Video overlays */
.dl-profile-details .video-play-overlay-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .3);
    opacity: 1;
    transition: opacity .3s ease;
    z-index: 5;
    pointer-events: none;
}

.dl-profile-details .carousel-slide:hover .video-play-overlay-center,
.dl-profile-details .carousel-slide.video-playing .video-play-overlay-center {
    opacity: 0;
    visibility: hidden;
}

.dl-profile-details .play-button-circle-center {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, .9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}

.dl-profile-details .play-icon-center {
    width: 0;
    height: 0;
    border-left: 16px solid #000;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 4px;
}

.dl-profile-details .video-play-progress {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
    z-index: 6;
    opacity: 0;
    transition: opacity .3s ease;
}

.dl-profile-details .carousel-slide:hover .video-play-progress,
.dl-profile-details .carousel-slide.video-playing .video-play-progress {
    opacity: 1;
}

.dl-profile-details .progress-ring {
    transform: rotate(-90deg);
}

.dl-profile-details .progress-ring-circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, .3);
    stroke-width: 3;
}

.dl-profile-details .progress-ring-circle {
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset .1s linear;
}

.dl-profile-details .play-button-small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, .7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dl-profile-details .play-icon-small {
    width: 0;
    height: 0;
    border-left: 10px solid #fff;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    margin-left: 2px;
}

.dl-profile-details .video-duration {
    position: absolute;
    bottom: 12px;
    right: 56px;
    background: rgba(0, 0, 0, .8);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    z-index: 6;
}

.dl-profile-details .video-volume-control {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, .7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 7;
    opacity: 0;
    border: 0;
    padding: 0;
    transition: all .3s ease;
}

.dl-profile-details .carousel-slide:hover .video-volume-control,
.dl-profile-details .carousel-slide.video-playing .video-volume-control {
    opacity: 1;
}

.dl-profile-details .video-volume-control:hover {
    background: rgba(0, 0, 0, .9);
    transform: scale(1.1);
}

.dl-profile-details .video-volume-control svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.dl-profile-details .carousel-slide video::-webkit-media-controls,
.dl-profile-details .carousel-slide video::-webkit-media-controls-enclosure,
.dl-profile-details .carousel-slide video::-webkit-media-controls-panel {
    display: none !important;
}

/* ---- Portfolio ---- */
.dl-profile-details .dl-pf-portfolio {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 1200px) {
    .dl-profile-details .dl-pf-portfolio-row {
        display: flex;
        align-items: center;
        gap: 32px;
    }
}

.dl-profile-details .dl-pf-portfolio-main {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
}

@media (min-width: 1200px) {
    .dl-profile-details .dl-pf-portfolio-main {
        width: 384px;
        height: 277px;
        flex-shrink: 0;
    }
}

.dl-profile-details .dl-pf-portfolio-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 220px;
}

@media (min-width: 1200px) {
    .dl-profile-details .dl-pf-portfolio-main img {
        min-height: 0;
        height: 277px;
    }
}

.dl-profile-details .dl-pf-portfolio-body {
    flex: 1;
    min-width: 0;
}

.dl-profile-details .dl-pf-portfolio-date {
    font-size: 14px;
    color: #222;
    font-weight: 500;
}

.dl-profile-details .dl-pf-portfolio-title {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin: 12px 0 8px;
}

.dl-profile-details .dl-pf-portfolio-desc {
    font-size: 14px;
    color: #6b7177;
    line-height: 1.6;
    margin: 0 0 16px;
}

.dl-profile-details .dl-pf-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.dl-profile-details .dl-pf-thumbs.is-desktop {
    display: none;
}

@media (min-width: 1200px) {
    .dl-profile-details .dl-pf-thumbs.is-mobile {
        display: none;
    }
    .dl-profile-details .dl-pf-thumbs.is-desktop {
        display: flex;
    }
}

.dl-profile-details .portfolio-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9e9e9;
    cursor: pointer;
    transition: border-color .2s ease;
}

.dl-profile-details .portfolio-thumb.is-active,
.dl-profile-details .portfolio-thumb:hover {
    border-color: var(--main-color-one);
    border-width: 2px;
}

.dl-profile-details .portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dl-profile-details .dl-pf-thumb-more {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 1px solid #e9e9e9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    cursor: pointer;
    text-align: center;
    transition: border-color .2s ease;
}

.dl-profile-details .dl-pf-thumb-more:hover {
    border-color: var(--main-color-one);
}

.dl-profile-details .dl-pf-thumb-more strong {
    display: block;
    font-size: 14px;
    color: #222;
}

.dl-profile-details .dl-pf-thumb-more span {
    font-size: 12px;
    color: #6b7177;
}

/* ---- Reviews ---- */
.dl-profile-details .dl-pf-review {
    background: #fff;
    border: 1px solid #e4e6eb;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 10px;
}

.dl-profile-details .dl-pf-review:last-child {
    margin-bottom: 0;
}

.dl-profile-details .dl-pf-review-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.dl-profile-details .dl-pf-review-head img {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    border-radius: 50%;
    object-fit: cover !important;
    object-position: center center;
    flex-shrink: 0;
    display: block;
}

.dl-profile-details .dl-pf-review-head h3 {
    font-size: 15px;
    font-weight: 500;
    color: #222;
    margin: 0;
}

.dl-profile-details .dl-pf-review-head p {
    font-size: 13px;
    color: #6b7177;
    margin: 0;
}

.dl-profile-details .dl-pf-review-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 13px;
    color: #6b7177;
}

.dl-profile-details .dl-pf-review-meta .star-rating {
    display: flex;
    gap: 2px;
}

.dl-profile-details .dl-pf-review-meta .star-rating i {
    color: #fbbf24;
    font-size: 14px;
}

.dl-profile-details .dl-pf-review-meta .star-rating i.is-empty {
    color: #d1d5db;
}

.dl-profile-details .dl-pf-review-project {
    font-size: 15px;
    font-weight: 500;
    color: #222;
    margin: 8px 0 0;
}

.dl-profile-details .dl-pf-review-text {
    font-size: 14px;
    color: #6b7177;
    line-height: 1.6;
    margin: 8px 0 0;
}

.dl-profile-details .dl-pf-review-earn {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
    color: #6b7177;
}

.dl-profile-details .dl-pf-review-earn strong {
    color: #222;
    font-weight: 500;
    margin-left: 4px;
}

/* Client view banner (JS-injected) */
.dl-profile-details #clientViewBanner {
    background: color-mix(in srgb, var(--main-color-one) 8%, #fff);
    border: 1px solid color-mix(in srgb, var(--main-color-one) 22%, #e9e9e9);
    border-left: 4px solid var(--main-color-one);
    padding: 16px;
    margin-bottom: 24px;
    border-radius: 10px;
    font-family: var(--title-font-family, "DM Sans", sans-serif);
}

.dl-profile-details #clientViewBanner .dl-pf-client-banner-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.dl-profile-details #clientViewBanner .dl-pf-client-banner-copy {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.dl-profile-details #clientViewBanner .dl-pf-client-banner-copy > i {
    color: var(--main-color-one);
    font-size: 18px;
    margin-top: 2px;
}

.dl-profile-details #clientViewBanner .dl-pf-client-banner-title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin: 0;
}

.dl-profile-details #clientViewBanner .dl-pf-client-banner-text {
    font-size: 13px;
    color: #6b7177;
    margin: 2px 0 0;
}

/* ---- Portfolio / promotion popups (Freeio has no legacy popup CSS) ---- */
.popup-fixed {
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    margin-inline: auto;
    padding: 0 5px;
    transform: translateY(-50%) scale(.6);
    z-index: 9992;
    visibility: hidden;
    opacity: 0;
    transition: .4s;
    max-width: fit-content;
}

.popup-fixed.popup-active {
    visibility: visible;
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 9991;
    visibility: hidden;
    opacity: 0;
    transition: .4s;
}

.popup-overlay.popup-active {
    visibility: visible;
    opacity: 1;
}

.popup-contents {
    max-width: 600px;
    width: 100%;
    background: #fff;
    padding: 30px;
    margin: auto;
    border-radius: 10px;
    position: relative;
    max-height: calc(100vh - 50px);
    overflow-y: auto;
}

.popup-contents-close {
    position: absolute;
    right: 12px;
    top: 12px;
    cursor: pointer;
    font-size: 18px;
    color: #6b7177;
}

.popup-contents-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 8px;
    color: #222;
}

.popup-contents-btn {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.photo-uploaded {
    text-align: center;
}

.photo-uploaded-file {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.uploadImage {
    position: relative;
    border: 1px dashed #d1d5db;
    border-radius: 10px;
    padding: 24px;
    cursor: pointer;
}

.portfolio_photo_preview,
.edit_portfolio_photo_preview {
    max-width: 120px;
    max-height: 120px;
    border-radius: 8px;
    object-fit: cover;
}

.btn-profile {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-bg-1 {
    background: var(--main-color-one);
    color: #fff;
    border-color: var(--main-color-one);
}

.btn-outline-gray {
    background: #fff;
    border-color: #d1d5db;
    color: #4b5563;
}

.form--control,
.form-message {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}

.custom-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #222;
}

.custom-form .mb-0,
.custom-form > div {
    margin-bottom: 14px;
}

/* Portfolio details AJAX popup */
.dl-pf-portfolio-popup-thumb {
    border-radius: 10px;
    overflow: hidden;
    background: #f3f4f6;
}

.dl-pf-portfolio-popup-thumb img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.dl-pf-portfolio-popup-body {
    margin-top: 14px;
}

.dl-pf-portfolio-popup-title {
    font-size: 17px;
    font-weight: 500;
    color: #222;
    margin: 0 0 6px;
}

.dl-pf-portfolio-popup-title a {
    color: inherit;
    text-decoration: none;
}

.dl-pf-portfolio-popup-date {
    font-size: 13px;
    color: #6b7177;
    margin: 0 0 8px;
}

.dl-pf-portfolio-popup-desc {
    font-size: 14px;
    color: #6b7177;
    line-height: 1.6;
    margin: 0;
}

.edit_portfolio_photo_preview {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    display: inline-block;
}
