/* ── KarmaCare Therapist Profile Card ──────────────────────────────── */

.kc-therapist-card-wrap {
    display: none;
    margin: 20px 0 28px;
    animation: kc-fadein 0.35s ease;
}

.kc-therapist-card-wrap.kc-visible {
    display: flex;
}

@keyframes kc-fadein {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.kc-card {
    display: flex;
    gap: 22px;
    background: #fff;
    border: 1px solid #e4f4fb;
    border-left: 4px solid #00a6d8;
    border-radius: 12px;
    padding: 22px 24px;
    width: 100%;
    box-shadow: 0 4px 18px rgba(0, 166, 216, 0.10);
    box-sizing: border-box;
}

/* Photo */
.kc-card__photo {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e4f4fb;
}

.kc-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.kc-card__photo--placeholder {
    background: linear-gradient(135deg, #00a6d8 0%, #7b4fa6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    font-family: inherit;
}

/* Body */
.kc-card__body {
    flex: 1;
    min-width: 0;
}

.kc-card__header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.kc-card__name {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.3;
}

.kc-card__pronouns {
    font-size: 12px;
    color: #00a6d8;
    background: #e8f7fd;
    border-radius: 20px;
    padding: 2px 10px;
    white-space: nowrap;
    font-weight: 500;
}

.kc-card__designation {
    font-size: 13px;
    color: #555;
    margin: 0 0 12px;
    line-height: 1.4;
}

.kc-card__meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.kc-card__meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #444;
    white-space: nowrap;
}

.kc-card__meta-item svg {
    flex-shrink: 0;
    color: #00a6d8;
}

/* Tags */
.kc-card__tags-label {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.kc-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.kc-card__tag {
    font-size: 11.5px;
    background: #f0f9fd;
    color: #007ea8;
    border: 1px solid #c8ebf7;
    border-radius: 20px;
    padding: 3px 10px;
    line-height: 1.5;
}

/* Availability schedule */
.kc-availability {
    margin-bottom: 14px;
}

.kc-avail__label {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

.kc-avail__table {
    border-collapse: collapse;
    width: 100%;
    font-size: 12.5px;
}

.kc-avail__table td {
    padding: 2px 8px 2px 0;
    color: #444;
    vertical-align: top;
    line-height: 1.5;
}

.kc-avail__day {
    font-weight: 600;
    color: #1a1a2e;
    white-space: nowrap;
    min-width: 90px;
    padding-right: 14px !important;
}

.kc-off-day {
    color: #c0392b;
    font-style: italic;
}

.kc-tbd {
    color: #aaa;
    font-style: italic;
}

/* CTA */
.kc-card__footer {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.kc-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #00a6d8;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: background 0.2s;
    line-height: 1;
}

.kc-card__btn:hover {
    background: #0090be;
    color: #fff !important;
}

.kc-card__btn svg {
    transition: transform 0.2s;
}

.kc-card__btn:hover svg {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 600px) {
    .kc-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 18px 16px;
    }

    .kc-card__header {
        justify-content: center;
    }

    .kc-card__meta {
        justify-content: center;
    }

    .kc-card__tags {
        justify-content: center;
    }

    .kc-card__footer {
        justify-content: center;
    }
}
