.df-profile-modern-shell {
    display: grid;
    gap: 14px;
}

.df-profile-workspace {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.df-profile-workspace > .df-profile-detail-panel:only-child {
    grid-column: 1 / -1;
}

.df-profile-setup-panel,
.df-profile-detail-panel {
    border: 1px solid rgba(45, 28, 15, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .74);
    box-shadow: 0 18px 48px rgba(43, 34, 27, .045);
    backdrop-filter: blur(14px);
}

.df-profile-setup-panel {
    position: sticky;
    top: 86px;
    padding: 14px;
}

.df-profile-card-head {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(45, 28, 15, .10);
    background: transparent;
}

.df-profile-card-head img {
    width: 78px;
    height: 78px;
    border: 4px solid rgba(255, 255, 255, .92);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 12px 28px rgba(43, 34, 27, .10);
}

.df-profile-card-head h2 {
    margin-bottom: 4px;
}

.df-profile-card-head p {
    width: fit-content;
    margin-top: 8px;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 900;
}

.df-account-statusbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    min-height: 74px;
    padding: 14px 16px;
    border: 1px solid rgba(45, 28, 15, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 16px 42px rgba(43, 34, 27, .045);
    backdrop-filter: blur(14px);
}

.df-account-statusbar span {
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.df-account-statusbar h2 {
    margin: 2px 0 0;
    font-family: var(--font-heading, Georgia, serif);
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: 0;
}

.df-account-statusbar p {
    margin: 5px 0 0;
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.df-account-statusbar-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    border-radius: 12px;
    background: #2d1c0f;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.df-account-statusbar-action:hover {
    background: #3b2819;
    color: #fff;
    box-shadow: 0 12px 26px rgba(45, 28, 15, .14);
    transform: translateY(-1px);
}

.df-profile-form {
    display: grid;
    gap: 0;
    padding: 0;
}

.df-profile-form label {
    color: var(--color-text);
}

.df-profile-phone-field {
    display: grid;
    grid-template-columns: minmax(150px, .85fr) minmax(0, 1.15fr);
    gap: 8px;
}

.df-profile-photo-field,
.df-profile-photo-control {
    display: grid;
    gap: 9px;
    width: fit-content;
    padding: 14px;
    border: 1px dashed rgba(45, 28, 15, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .38);
}

.df-profile-photo-control > span {
    color: var(--color-text);
    font-size: 13px;
    font-weight: 900;
}

.df-profile-photo-control-main {
    position: relative;
    width: 104px;
    height: 104px;
}

.df-profile-photo-control.is-avatar-only {
    padding: 0;
    border: 0;
    background: transparent;
}

.df-profile-card-head .df-profile-photo-control.is-avatar-only {
    overflow: visible;
}

.df-profile-card-head .df-profile-photo-control.is-avatar-only .df-profile-photo-control-main {
    width: 78px;
    height: 78px;
}

.df-profile-photo-control-main img {
    width: 104px;
    height: 104px;
    border: 2px solid rgba(255, 255, 255, .84);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.df-profile-card-head img.df-staff-user-avatar {
    width: 78px;
    height: 78px;
}

.df-profile-card-head .df-profile-photo-control.is-avatar-only .df-profile-photo-control-main img {
    width: 78px;
    height: 78px;
}

.df-profile-card-head .df-profile-photo-control.is-avatar-only .df-profile-photo-action {
    width: 30px;
    height: 30px;
    border-width: 3px;
    font-size: 20px;
}

.df-profile-photo-action {
    position: absolute;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, .92);
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    cursor: pointer;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    box-shadow: var(--shadow-soft);
}

.df-profile-photo-action input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.df-profile-photo-action.is-add {
    right: -3px;
    bottom: 5px;
}

.df-profile-photo-action.is-remove {
    right: -3px;
    top: 5px;
    background: #8b2f2f;
}

.df-profile-photo-action.is-selected {
    outline: 3px solid rgba(139, 47, 47, .22);
    transform: scale(1.04);
}

.df-profile-photo-action.is-disabled {
    opacity: .35;
    pointer-events: none;
}

.df-profile-form small {
    color: var(--color-muted);
    font-weight: 600;
    line-height: 1.45;
}

.df-profile-field-row strong,
.df-profile-form-readonly strong {
    color: var(--color-text);
    font-size: 13px;
}

.df-profile-field-row p,
.df-profile-form-readonly p {
    margin: 0;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 900;
}

.df-profile-document-field {
    padding: 12px;
    border: 1px dashed rgba(45, 28, 15, .16);
    border-radius: 8px;
    background: rgba(255, 255, 255, .46);
}

.df-profile-document-field > span {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.df-profile-document-field em {
    flex: 0 0 auto;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(45, 28, 15, .08);
    color: var(--color-muted);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.df-profile-document-field em.is-pending,
.df-profile-document-field em.is-under_review {
    background: rgba(195, 133, 77, .12);
    color: #8b5428;
}

.df-profile-document-field em.is-approved {
    background: rgba(43, 124, 75, .12);
    color: #2b7c4b;
}

.df-profile-document-field em.is-rejected {
    background: rgba(176, 54, 54, .12);
    color: #9b2f2f;
}

.df-profile-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.df-profile-form-wide {
    grid-column: 1 / -1;
}

.df-profile-field-row,
.df-profile-form-readonly {
    display: grid;
    grid-template-columns: minmax(140px, .42fr) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    min-height: 58px;
    padding: 14px 18px;
    border: 0;
    border-bottom: 1px solid rgba(45, 28, 15, .08);
    background: transparent;
}

.df-profile-field-row:last-child,
.df-profile-form-readonly:last-child {
    border-bottom: 0;
}

.df-profile-form button {
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    background: var(--color-primary);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
}

.df-profile-form button:hover {
    background: var(--color-primary-dark);
}

.df-profile-readiness-card {
    overflow: hidden;
    padding: 0;
}

.df-profile-user-readiness-card .df-profile-readiness-head {
    align-items: flex-start;
    margin: 0;
    padding: 14px 14px 10px;
    border-bottom: 1px solid rgba(45, 28, 15, .08);
}

.df-profile-user-readiness-card .df-profile-readiness-head h3 {
    font-size: 18px;
}

.df-profile-user-readiness-card .df-profile-readiness-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 6px 14px 12px;
}

.df-profile-user-readiness-card .df-profile-readiness-field {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    min-height: 36px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(45, 28, 15, .06);
    background: transparent;
    color: rgba(45, 28, 15, .82);
    font-size: 13px;
}

.df-profile-user-readiness-card .df-profile-readiness-field:last-child {
    border-bottom: 0;
}

.df-profile-user-readiness-card .df-profile-readiness-field::before {
    content: "";
    align-self: center;
    width: 9px;
    height: 9px;
    border: 1px solid rgba(45, 28, 15, .18);
    border-radius: 50%;
    background: rgba(255, 255, 255, .72);
}

.df-profile-user-readiness-card .df-profile-readiness-field.is-approved::before,
.df-profile-user-readiness-card .df-profile-readiness-field.is-provided::before {
    border-color: #497180;
    background: #497180;
    box-shadow: 0 0 0 4px rgba(73, 113, 128, .10);
}

.df-profile-user-readiness-card .df-profile-readiness-field.is-missing::before,
.df-profile-user-readiness-card .df-profile-readiness-field.is-rejected::before {
    border-color: #b8794e;
    background: #fff;
    box-shadow: inset 0 0 0 3px rgba(184, 121, 78, .18);
}

.df-profile-user-readiness-card .df-profile-readiness-field em {
    display: none;
}

@media (max-width: 860px) {
    .df-account-statusbar,
    .df-profile-card-head,
    .df-profile-workspace,
    .df-profile-field-row,
    .df-profile-form-readonly {
        grid-template-columns: 1fr;
    }

    .df-account-statusbar-action {
        width: 100%;
    }

    .df-profile-user-readiness-card .df-profile-readiness-fields {
        grid-template-columns: 1fr;
    }

    .df-profile-setup-panel {
        position: static;
    }
}
