
/* =========================================
   ORCHIDA THERAPIST PROFILES
   ========================================= */

.orchida-tp {
    width: calc(100% - 32px);
    max-width: 960px;
    margin: 32px auto;
    padding: 32px;
    background: #fff;
    border: 1px solid #eee6f5;
    border-radius: 22px;
    color: #2f2145;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.8;
    box-shadow: 0 8px 28px rgba(47, 33, 69, .06);
    direction: rtl;
}

.orchida-tp *,
.orchida-tp *::before,
.orchida-tp *::after {
    box-sizing: border-box;
}

/* =========================================
   HEADER
   ========================================= */

.orchida-tp .otp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 0 0 28px;
}

.orchida-tp .otp-header h2 {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.5;
    font-weight: 800;
    color: #2f2145;
}

.orchida-tp .otp-header p,
.orchida-tp .otp-muted {
    margin: 0;
    color: #766b83;
    font-size: 13px;
    line-height: 1.8;
}

/* =========================================
   STATUS
   ========================================= */

.orchida-tp .otp-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    white-space: nowrap;
    border-radius: 30px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 700;
    background: #f0e9f8;
    color: #5c3f84;
}

.orchida-tp .otp-pending {
    background: #fff4dc;
    color: #946200;
}

.orchida-tp .otp-revision {
    background: #fff0ed;
    color: #b84c32;
}

.orchida-tp .otp-publish {
    background: #e9f8ef;
    color: #187744;
}

.orchida-tp .otp-draft {
    background: #f1f1f1;
    color: #555;
}

/* =========================================
   NOTICES
   ========================================= */

.orchida-tp .otp-notice {
    padding: 14px 16px;
    margin: 0 0 22px;
    border-radius: 12px;
    background: #fff7e8;
    border: 1px solid #f1d7a5;
    color: #76551a;
    font-size: 13px;
    line-height: 1.9;
}

/* =========================================
   FORM LAYOUT
   ========================================= */

.orchida-tp .otp-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
    width: 100%;
    margin: 0;
}

.orchida-tp .otp-form label,
.orchida-tp .otp-review-form label {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 7px !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    color: #453064;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
}

.orchida-tp .otp-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    align-items: start;
}

.orchida-tp .otp-grid label {
    min-width: 0;
}

/* =========================================
   INPUTS
   ========================================= */

.orchida-tp .otp-form input[type="text"],
.orchida-tp .otp-form textarea,
.orchida-tp .otp-form input[type="file"],
.orchida-tp .otp-review-form textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    border: 1px solid #ded6e7 !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: #2f2145 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
    box-shadow: none !important;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.orchida-tp .otp-form input[type="text"] {
    height: 46px !important;
    min-height: 46px !important;
}

.orchida-tp .otp-form textarea,
.orchida-tp .otp-review-form textarea {
    height: auto !important;
    min-height: 110px !important;
    resize: vertical;
}

.orchida-tp .otp-form textarea[name="bio"] {
    min-height: 130px !important;
}

.orchida-tp .otp-form textarea[name="specialties"],
.orchida-tp .otp-form textarea[name="approach"] {
    min-height: 100px !important;
}

.orchida-tp .otp-form input[type="file"] {
    min-height: 48px !important;
    padding: 8px 12px !important;
    cursor: pointer;
}

.orchida-tp .otp-form input:focus,
.orchida-tp .otp-form textarea:focus,
.orchida-tp .otp-review-form textarea:focus {
    border-color: #8e6cbe !important;
    box-shadow: 0 0 0 3px rgba(142, 108, 190, .12) !important;
}

.orchida-tp .otp-form input::placeholder,
.orchida-tp .otp-form textarea::placeholder {
    color: #a69bad;
    opacity: 1;
}

/* =========================================
   PROFILE PHOTO
   ========================================= */

.orchida-tp .otp-current-photo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: -8px 0 0;
}

.orchida-tp .otp-current-photo img {
    display: block;
    width: 104px;
    height: 104px;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
    border: 2px solid #eee6f5;
    margin: 0;
}

/* =========================================
   BUTTONS
   ========================================= */

.orchida-tp .otp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 46px;
    margin: 4px 0 0;
    padding: 11px 26px;
    border: 1px solid transparent;
    border-radius: 30px;
    background: #8e6cbe;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.orchida-tp .otp-button:hover {
    background: #5c3f84;
    color: #fff;
    transform: translateY(-1px);
}

.orchida-tp .otp-secondary {
    background: #fff0ed;
    color: #b84c32;
    border-color: #f4c9bd;
}

.orchida-tp .otp-secondary:hover {
    background: #fce0d8;
    color: #963d29;
}

/* =========================================
   REVIEW SECTION
   ========================================= */

.orchida-tp .otp-review-card {
    padding: 22px;
    margin: 20px 0;
    border: 1px solid #e9e0f0;
    border-radius: 16px;
    background: #fff;
}

.orchida-tp .otp-review-card h3 {
    margin: 0 0 14px;
    color: #2f2145;
    font-size: 18px;
}

.orchida-tp .otp-review-card p {
    margin: 0 0 12px;
    color: #51465d;
    font-size: 13px;
    line-height: 1.9;
}

.orchida-tp .otp-review-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #eee6f5;
}

.orchida-tp .otp-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* =========================================
   PUBLIC PROFILE
   ========================================= */

.orchida-tp.otp-public {
    max-width: 850px;
}

.orchida-tp .otp-public-card {
    padding: 18px;
}

.orchida-tp .otp-public-photo {
    display: block;
    width: 180px;
    height: 180px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 4px solid #e1d3ef;
}

.orchida-tp .otp-public-card > h1,
.orchida-tp .otp-public-title {
    text-align: center;
}

.orchida-tp .otp-public-card > h1 {
    font-size: 28px;
    line-height: 1.5;
    margin: 8px 0;
    color: #2f2145;
}

.orchida-tp .otp-public-title {
    color: #8e6cbe;
    margin: 0 0 26px;
    font-size: 16px;
}

.orchida-tp .otp-public-section {
    border-top: 1px solid #eee6f5;
    padding: 20px 0;
}

.orchida-tp .otp-public-section h2 {
    font-size: 17px;
    color: #5c3f84;
    margin: 0 0 9px;
}

.orchida-tp .otp-public-section p {
    line-height: 2;
    margin: 0;
    color: #51465d;
    white-space: normal;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 640px) {

    .orchida-tp {
        width: calc(100% - 20px);
        margin: 16px auto;
        padding: 19px;
        border-radius: 18px;
    }

    .orchida-tp .otp-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 22px;
    }

    .orchida-tp .otp-header h2 {
        font-size: 21px;
    }

    .orchida-tp .otp-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .orchida-tp .otp-form {
        gap: 18px !important;
    }

    .orchida-tp .otp-button {
        width: 100%;
    }

    .orchida-tp .otp-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .orchida-tp .otp-public-photo {
        width: 145px;
        height: 145px;
    }

    .orchida-tp .otp-public-card {
        padding: 8px;
    }
}
