/* ============================================================
   Rnova Doctor Scheduler - Styles
   All selectors scoped inside .rsh-root to prevent CSS leakage
   ============================================================ */

.rsh-root {
    --rsh-accent: #0e7490;
    --rsh-accent-hover: #085a70;
    --rsh-accent-soft: #e6f4f7;
    --rsh-ink: #1c2733;
    --rsh-muted: #64748b;
    --rsh-line: #e2e8f0;
    --rsh-bg: #ffffff;
    --rsh-bg-card: #f8fafc;
    --rsh-radius: 12px;
    --rsh-error: #ef4444;
    --rsh-success: #10b981;

    font-family: inherit;
    color: var(--rsh-ink);
    width: 100%;
    max-width: var(--rsh-max-width, 100%);
    margin: 0 auto;
    padding: 24px;
    background: var(--rsh-bg);
    border: 1px solid var(--rsh-line);
    border-radius: var(--rsh-radius);
    box-shadow: 0 4px 20px -2px rgba(0,0,0,0.05);
    box-sizing: border-box;
    position: relative;
}

.rsh-root *, .rsh-root *::before, .rsh-root *::after {
    box-sizing: border-box;
}

/* --- Progress Steps Bar --- */
.rsh-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    position: relative;
}

.rsh-progress::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--rsh-line);
    z-index: 1;
}

.rsh-step-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    font-family: inherit;
}

.rsh-step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--rsh-line);
    color: var(--rsh-muted);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.rsh-step-item.is-active .rsh-step-num {
    border-color: var(--rsh-accent);
    background: var(--rsh-accent);
    color: #fff;
    box-shadow: 0 0 0 4px var(--rsh-accent-soft);
}

.rsh-step-item.is-completed .rsh-step-num {
    border-color: var(--rsh-accent);
    background: var(--rsh-accent-soft);
    color: var(--rsh-accent);
}

.rsh-step-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--rsh-muted);
    text-align: center;
    white-space: nowrap;
    transition: color 0.2s;
}

.rsh-step-item.is-active .rsh-step-title {
    color: var(--rsh-ink);
}

@media (max-width: 640px) {
    .rsh-step-title { display: none; }
    .rsh-root { padding: 16px; }
}

/* --- Step Header & Navigation --- */
.rsh-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rsh-line);
}

.rsh-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rsh-step-badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--rsh-muted);
    font-weight: 700;
}

.rsh-step-main-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: var(--rsh-ink);
}

.rsh-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid var(--rsh-line);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--rsh-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.rsh-btn-back:hover {
    background: var(--rsh-bg-card);
    color: var(--rsh-ink);
    border-color: #cbd5e1;
}

/* --- Search Input & Chips --- */
.rsh-search-wrap {
    position: relative;
    margin-bottom: 16px;
}

.rsh-search {
    width: 100%;
    padding: 12px 14px 12px 42px;
    font-size: 15px;
    color: var(--rsh-ink);
    border: 1px solid var(--rsh-line);
    border-radius: var(--rsh-radius);
    background: #fff;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

.rsh-search:focus {
    border-color: var(--rsh-accent);
    box-shadow: 0 0 0 3px var(--rsh-accent-soft);
}

.rsh-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--rsh-muted);
    pointer-events: none;
}

.rsh-popular {
    margin-bottom: 22px;
}

.rsh-popular:empty {
    display: none;
    margin-bottom: 0;
}

.rsh-popular-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--rsh-ink);
    margin: 0 0 10px 2px;
    letter-spacing: -0.01em;
}

.rsh-popular-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rsh-chip {
    border: 1px solid var(--rsh-line);
    background: #fff;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
    color: var(--rsh-ink);
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
    transition: all 0.15s ease;
}

.rsh-chip:hover, .rsh-chip.is-active {
    border-color: var(--rsh-accent);
    background: var(--rsh-accent-soft);
    color: var(--rsh-accent);
}

.rsh-chip:focus-visible {
    outline: 2px solid var(--rsh-accent);
    outline-offset: 2px;
}

.rsh-chip:active {
    transform: scale(0.98);
}

/* --- Branch Tabs (Шаг 1: Фильтр по филиалам) --- */
.rsh-branch-filter {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.rsh-branch-btn {
    border: 1.5px solid var(--rsh-line);
    background: #fff;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--rsh-ink);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rsh-branch-btn:hover {
    border-color: var(--rsh-accent);
    background: var(--rsh-accent-soft);
    color: var(--rsh-accent);
}

.rsh-branch-btn.is-active {
    border-color: var(--rsh-accent);
    background: var(--rsh-accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(14, 116, 144, 0.25);
}

/* --- Step 1: Direction / Specialty Cards --- */
.rsh-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.rsh-card-select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    background: var(--rsh-bg-card);
    border: 1px solid var(--rsh-line);
    border-radius: var(--rsh-radius);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    width: 100%;
}

.rsh-card-select:hover {
    border-color: var(--rsh-accent);
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transform: translateY(-1px);
}

.rsh-card-select.is-selected {
    border-color: var(--rsh-accent);
    background: var(--rsh-accent-soft);
    box-shadow: inset 0 0 0 1px var(--rsh-accent);
}

.rsh-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--rsh-ink);
}

.rsh-card-sub {
    font-size: 13px;
    color: var(--rsh-muted);
    margin-top: 2px;
}

.rsh-card-arrow {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--rsh-muted);
    transition: transform 0.2s;
}

.rsh-card-select:hover .rsh-card-arrow {
    color: var(--rsh-accent);
    transform: translateX(2px);
}

/* --- Step 3: Doctors Grid --- */
.rsh-doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.rsh-doctor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
    background: #fff;
    border: 1px solid var(--rsh-line);
    border-radius: var(--rsh-radius);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.rsh-doctor-card:hover {
    border-color: var(--rsh-accent);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.rsh-doctor-card.is-selected {
    border-color: var(--rsh-accent);
    background: var(--rsh-accent-soft);
    box-shadow: 0 0 0 2px var(--rsh-accent);
}

.rsh-doctor-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 3px solid #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.rsh-doctor-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--rsh-ink);
    margin-bottom: 4px;
    line-height: 1.3;
}

.rsh-doctor-spec {
    font-size: 13px;
    color: var(--rsh-accent);
    font-weight: 600;
    margin-bottom: 4px;
}

.rsh-doctor-edu-link {
    font-size: 12px;
    color: var(--rsh-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s;
}

.rsh-doctor-edu-link:hover {
    color: var(--rsh-accent-hover);
    text-decoration: none;
}

.rsh-doctor-meta {
    font-size: 12px;
    color: var(--rsh-muted);
    margin-bottom: 10px;
}

.rsh-doctor-price-tag {
    font-size: 12px;
    font-weight: 700;
    color: #065f46;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 4px 10px;
    border-radius: 999px;
    margin-top: auto;
}

/* --- Empty Doctors State with Help Box --- */
.rsh-empty-state-wrap {
    grid-column: 1 / -1;
    background: var(--rsh-bg-card);
    border: 1px dashed var(--rsh-line);
    border-radius: var(--rsh-radius);
    padding: 36px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 540px;
    margin: 20px auto;
}

.rsh-empty-state-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--rsh-ink);
    margin: 0;
}

.rsh-empty-state-desc {
    font-size: 14px;
    color: var(--rsh-muted);
    line-height: 1.5;
    margin: 0;
}

.rsh-empty-state-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.rsh-btn-phone {
    background: var(--rsh-accent);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s;
}

.rsh-btn-phone:hover {
    background: var(--rsh-accent-hover);
    color: #fff;
}

.rsh-btn-messenger {
    background: #25D366;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.15s;
}

.rsh-btn-messenger:hover {
    opacity: 0.9;
    color: #fff;
}

/* --- Step 3: Schedule Dates & Slots --- */
.rsh-schedule-wrap {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rsh-dates-carousel {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.rsh-dates-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px 2px;
    scrollbar-width: none;
}

.rsh-dates-scroll::-webkit-scrollbar {
    display: none;
}

.rsh-date-pill {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    min-width: 80px;
    background: #fff;
    border: 1.5px solid var(--rsh-line);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rsh-date-pill:hover {
    border-color: var(--rsh-accent);
}

.rsh-date-pill.is-active {
    border-color: var(--rsh-accent);
    background: var(--rsh-accent);
    color: #fff;
}

.rsh-date-pill.is-active .rsh-date-day,
.rsh-date-pill.is-active .rsh-date-num {
    color: #fff;
}

.rsh-date-day {
    font-size: 11px;
    font-weight: 600;
    color: var(--rsh-muted);
    text-transform: uppercase;
}

.rsh-date-num {
    font-size: 14px;
    font-weight: 700;
    color: var(--rsh-ink);
    margin-top: 2px;
}

.rsh-nav-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--rsh-line);
    background: #fff;
    color: var(--rsh-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
}

.rsh-nav-btn:hover {
    background: var(--rsh-bg-card);
    border-color: #cbd5e1;
}

.rsh-slots-section {
    background: var(--rsh-bg-card);
    border: 1px solid var(--rsh-line);
    border-radius: var(--rsh-radius);
    padding: 20px;
}

.rsh-slots-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--rsh-ink);
    margin-bottom: 14px;
}

.rsh-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
    gap: 8px;
}

.rsh-slot-btn {
    padding: 10px 4px;
    text-align: center;
    background: #fff;
    border: 1.5px solid var(--rsh-line);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--rsh-ink);
    cursor: pointer;
    transition: all 0.15s;
}

.rsh-slot-btn:hover:not(.is-disabled) {
    border-color: var(--rsh-accent);
    color: var(--rsh-accent);
    background: var(--rsh-accent-soft);
}

.rsh-slot-btn.is-selected {
    background: var(--rsh-accent);
    border-color: var(--rsh-accent);
    color: #fff;
}

.rsh-slot-btn.is-disabled {
    background: #f1f5f9;
    color: #94a3b8;
    border-color: #e2e8f0;
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: 0.7;
}

/* --- Step 5: Summary Info + Booking Form --- */
.rsh-step5-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .rsh-step5-wrap { grid-template-columns: 1fr; }
}

/* Summary Box */
.rsh-summary-box {
    background: var(--rsh-bg-card);
    border: 1px solid var(--rsh-line);
    border-radius: var(--rsh-radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rsh-summary-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--rsh-ink);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--rsh-line);
}

.rsh-summary-doctor {
    display: flex;
    align-items: center;
    gap: 14px;
}

.rsh-summary-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.rsh-summary-doc-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--rsh-ink);
}

.rsh-summary-doc-spec {
    font-size: 13px;
    color: var(--rsh-accent);
    font-weight: 600;
}

.rsh-summary-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13.5px;
}

.rsh-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.rsh-summary-label {
    color: var(--rsh-muted);
}

.rsh-summary-val {
    font-weight: 600;
    color: var(--rsh-ink);
    text-align: right;
}

.rsh-summary-price-box {
    margin-top: auto;
    padding: 14px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rsh-summary-price-label {
    font-size: 13px;
    font-weight: 600;
    color: #065f46;
}

.rsh-summary-price-val {
    font-size: 16px;
    font-weight: 800;
    color: #065f46;
}

/* Booking Form Fields */
.rsh-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rsh-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rsh-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.rsh-input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--rsh-line);
    border-radius: 8px;
    font-size: 14px;
    color: var(--rsh-ink);
    background: #fff;
    outline: none;
    transition: all 0.15s;
}

.rsh-input:focus {
    border-color: var(--rsh-accent);
    box-shadow: 0 0 0 3px var(--rsh-accent-soft);
}

.rsh-input.is-error {
    border-color: var(--rsh-error);
    background: #fef2f2;
}

.rsh-field-error {
    color: var(--rsh-error);
    font-size: 11px;
    font-weight: 600;
    margin-top: 2px;
}

.rsh-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 480px) {
    .rsh-form-row { grid-template-columns: 1fr; }
}

/* Honeypot Spam Protection Field (Strictly invisible to humans) */
.rsh-hp-field {
    display: none !important;
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

/* Consent Checkbox */
.rsh-consent-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 4px;
}

.rsh-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--rsh-accent);
}

.rsh-consent-text {
    font-size: 12.5px;
    color: var(--rsh-muted);
    line-height: 1.45;
}

.rsh-consent-text a {
    color: var(--rsh-accent);
    text-decoration: underline;
}

/* OTP (SMS) Box */
.rsh-otp-box {
    background: #f0fdfa;
    border: 1px solid #10b981;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.rsh-otp-msg {
    font-size: 13px;
    font-weight: 600;
    color: #065f46;
}

.rsh-otp-input {
    width: 140px;
    height: 48px;
    font-size: 22px;
    letter-spacing: 6px;
    text-align: center;
    font-weight: 800;
    border: 2px solid var(--rsh-accent);
    border-radius: 8px;
    background: #fff;
}

.rsh-otp-timer {
    font-size: 13px;
    color: var(--rsh-muted);
    margin-top: 4px;
}

.rsh-btn-resend-otp {
    background: transparent;
    border: none;
    color: var(--rsh-accent);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 6px 10px;
    margin-top: 4px;
    transition: opacity 0.2s;
}

.rsh-btn-resend-otp:hover {
    opacity: 0.8;
}

/* Submit Button */
.rsh-btn-submit {
    background: var(--rsh-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rsh-btn-submit:hover:not(:disabled) {
    background: var(--rsh-accent-hover);
    box-shadow: 0 4px 12px rgba(14, 116, 144, 0.25);
}

.rsh-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.rsh-global-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: var(--rsh-error);
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

/* --- Step 6: Success Confirmation Screen --- */
.rsh-success-wrap {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.rsh-success-icon {
    width: 64px;
    height: 64px;
    background: #ecfdf5;
    border: 2px solid var(--rsh-success);
    color: var(--rsh-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 6px;
}

.rsh-success-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--rsh-ink);
    margin: 0;
}

.rsh-success-desc {
    font-size: 15px;
    color: var(--rsh-muted);
    max-width: 480px;
    line-height: 1.5;
    margin: 0;
}

.rsh-success-card {
    background: var(--rsh-bg-card);
    border: 1px solid var(--rsh-line);
    border-radius: var(--rsh-radius);
    padding: 18px 24px;
    width: 100%;
    max-width: 460px;
    margin-top: 10px;
    text-align: left;
}

/* --- Skeleton & Loading Animations --- */
.rsh-skeleton-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 560px) { .rsh-skeleton-grid { grid-template-columns: 1fr; } }

.rsh-skeleton-item {
    height: 52px;
    border-radius: var(--rsh-radius);
    background: linear-gradient(90deg, #f1f5f9 25%, #e8edf3 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: rsh-shimmer 1.2s infinite linear;
}

@keyframes rsh-shimmer {
    to { background-position: -200% 0; }
}

.rsh-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: rsh-spin 0.8s ease-in-out infinite;
}

@keyframes rsh-spin {
    to { transform: rotate(360deg); }
}

/* --- Search Doctors Results on Step 1 --- */
.rsh-search-group-title {
    grid-column: 1 / -1;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--rsh-ink);
}

.rsh-search-doctors-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.rsh-search-doctor-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #fff;
    border: 1.5px solid var(--rsh-line);
    border-radius: var(--rsh-radius);
    cursor: pointer;
    transition: all 0.2s ease;
}

.rsh-search-doctor-card:hover {
    border-color: var(--rsh-accent);
    background: var(--rsh-accent-soft);
    transform: translateY(-1px);
}

.rsh-search-doc-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1.5px solid var(--rsh-line);
}

.rsh-search-doc-info {
    flex: 1;
    min-width: 0;
}

.rsh-search-doc-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--rsh-ink);
    line-height: 1.25;
}

.rsh-search-doc-spec {
    font-size: 12px;
    color: var(--rsh-muted);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rsh-search-doc-price {
    font-size: 12px;
    font-weight: 600;
    color: var(--rsh-accent);
    margin-top: 3px;
}

.rsh-btn-search-book {
    flex-shrink: 0;
    padding: 7px 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
    background: var(--rsh-accent);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.15s;
}

.rsh-btn-search-book:hover {
    opacity: 0.9;
}

/* --- Slots Indicator on Date Pill --- */
.rsh-date-pill.has-slots::after {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    background: var(--rsh-accent);
    border-radius: 50%;
    margin-top: 3px;
}

.rsh-date-pill.is-active.has-slots::after {
    background: #fff;
}

/* --- Retry Button --- */
.rsh-btn-retry {
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    background: var(--rsh-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.15s;
}

.rsh-btn-retry:hover {
    opacity: 0.9;
}

