/* .section-card → base.css (ortak component) */

/* ── Doctor profile header ─────────────────────── */
.doctor-profile-card {
    background: linear-gradient(135deg, #ffffff 0%, #f6faff 100%);
    border: 1px solid rgba(13, 110, 253, 0.08);
}

.doctor-profile-card .flex-grow-1 {
    min-width: 0;
}

.profile-content {
    width: 120px;
    height: 120px;
    min-width: 120px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid #eaecef;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f2ff 0%, #f0f7ff 100%);
    color: #0d6efd;
    font-size: 3rem;
}

.doctor-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1d21;
    margin: 0;
    line-height: 1.2;
}

.doctor-specialty {
    color: #0a58ca;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* ── Info chips (phone, location) ──────────────── */
.info-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 6px;
    background: #ffffff;
    border: 1px solid #eef0f3;
    border-radius: 22px;
    font-size: 0.85rem;
    color: #374151;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.3;
}

.info-chip > span:last-child,
.info-chip-text {
    min-width: 0;
    overflow-wrap: anywhere;
}

.info-chip-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ── Section heading icon circle ───────────────── */
.section-heading-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
}

/* ── Appointment template cards ────────────────── */
.template-card {
    border: 1px solid #eef0f3;
    border-radius: 0.75rem;
    background: #ffffff;
    padding: 14px 16px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.template-card:hover {
    border-color: #c7dcfb;
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.08);
    transform: translateY(-1px);
}

.template-card .template-desc {
    color: #64748b;
    font-size: 0.85rem;
    margin: 0;
}

.template-cta {
    border-radius: 0.625rem;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1.1rem;
    white-space: nowrap;
}

.template-cta i {
    transition: transform 0.15s ease;
}

.template-cta:hover i {
    transform: translateX(3px);
}

/* ── Reviews subtitle ──────────────────────────── */
.reviews-subtitle {
    color: #64748b;
    font-size: 0.85rem;
    margin: 0 0 0.75rem 0;
}

/* ── Pagination buttons ────────────────────────── */
#reviewsPage:empty + .overflow-x-auto {
    display: none !important;
}

.comment-p {
    word-break: break-word;
}

@media (max-width: 575.98px) {
    .profile-content {
        width: 96px;
        height: 96px;
        min-width: 96px;
        min-height: 96px;
    }

    .doctor-name {
        font-size: 1.25rem;
    }
}
