/* Unverified listing UI — DoctorBookly medical theme */
.db-unverified-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    white-space: nowrap;
}

.db-unverified-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 4px 0 6px;
    min-height: 22px;
}

.db-unverified-card-actions--spacer {
    visibility: hidden;
    pointer-events: none;
}

.db-unverified-link {
    background: none;
    border: none;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    color: #0d9488;
    cursor: pointer;
    text-decoration: underline;
}

.db-unverified-dot {
    color: #cbd5e1;
    font-size: 12px;
}

.db-unverified-banner {
    margin: 0 0 16px;
    border-radius: 12px;
    border: 1px solid #fcd34d;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.08);
}

.db-unverified-banner__inner {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    align-items: flex-start;
}

.db-unverified-banner__icon {
    color: #d97706;
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.db-unverified-banner__text strong {
    display: block;
    color: #92400e;
    font-size: 15px;
    margin-bottom: 6px;
}

.db-unverified-banner__text p {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.55;
    color: #78350f;
}

.db-unverified-banner__entity {
    font-weight: 600;
}

.db-unverified-banner__source,
.db-listing-source-link {
    font-size: 13px;
}

.db-unverified-banner__source-link,
.db-listing-source-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0f766e;
    font-weight: 600;
    text-decoration: none;
}

.db-unverified-banner__source-link:hover,
.db-listing-source-link:hover {
    color: #0d9488;
    text-decoration: underline;
}

.db-unverified-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.db-unverified-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.db-unverified-btn--claim {
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #fff;
}

.db-unverified-btn--remove {
    background: #fff;
    color: #b45309;
    border: 1px solid #fcd34d;
}

.db-unverified-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.db-listing-modal[hidden] {
    display: none !important;
}

.db-listing-modal {
    position: fixed;
    inset: 0;
    z-index: 10090;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.db-listing-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.db-listing-modal__panel {
    position: relative;
    width: min(480px, 100%);
    max-height: 90vh;
    overflow: auto;
    background: #fff;
    border-radius: 14px;
    padding: 22px 20px 20px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}

.db-listing-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    font-size: 22px;
    cursor: pointer;
}

.db-listing-modal h2 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    color: #0f172a;
}

.db-listing-modal__lead {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 14px;
}

.db-listing-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 10px;
}

.db-listing-form input,
.db-listing-form select,
.db-listing-form textarea {
    display: block;
    width: 100%;
    margin-top: 4px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}

.db-listing-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

.db-listing-modal__note {
    font-size: 11px;
    color: #64748b;
    line-height: 1.45;
    margin: 4px 0 12px;
}

.db-listing-modal__submit {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.db-listing-modal__submit--danger {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.db-listing-form-status {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
}

.db-listing-form-status.is-ok { color: #0d9488; }
.db-listing-form-status.is-err { color: #dc2626; }

/* View Profile button for unverified — same look; opens preview + pending notice */
.btn-pending-review,
.btn-pending-review-hospital {
    width: 100%;
    padding: 10px 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #2E9E80 0%, #1A5C7E 100%);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(26, 92, 126, 0.3);
    font-family: inherit;
}

.btn-pending-review:hover,
.btn-pending-review-hospital:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 92, 126, 0.4);
}

.doctor-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;
    display: block;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.doctor-card-photo.is-loaded {
    opacity: 1;
    transform: scale(1);
}

.doctor-card-photo-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.doctor-card-photo-wrap.is-fallback {
    display: none;
}

.doctor-card-photo-skeleton {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(255,255,255,0.06) 8%, rgba(255,255,255,0.22) 18%, rgba(255,255,255,0.06) 33%);
    background-size: 200% 100%;
    animation: doctor-photo-shimmer 1.35s ease-in-out infinite;
}

.doctor-card-photo-wrap.is-loaded .doctor-card-photo-skeleton {
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.doctor-card-photo-fallback {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.32);
    font-size: 64px;
    pointer-events: none;
}

.doctor-card-photo-fallback.is-visible,
.doctor-card-photo-wrap.is-fallback + .doctor-card-photo-fallback {
    display: flex;
}

.doctor-card--reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--card-reveal-delay, 0s);
}

.doctor-card--reveal.doctor-card--visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes doctor-photo-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .doctor-card--reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .doctor-card-photo {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .doctor-card-photo-skeleton {
        animation: none;
        display: none;
    }
}

.doctor-image-clickable {
    background: linear-gradient(135deg, #2E9E80 0%, #1A5C7E 100%) !important;
}

/* Doctor card grid — aligned View Profile, less crowded */
.doctor-card-pro-style .doctor-content {
    background: #fff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.doctor-card-fixed-size .doctor-card-name-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
    min-height: calc(1.35em * 2);
}

.doctor-card-fixed-size .doctor-card-name-row .doctor-card-title {
    flex: 1;
    min-width: 0;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.doctor-card-fixed-size .gender-badge--card {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    flex-shrink: 0;
    border: 1px solid transparent;
}

.doctor-card-fixed-size .gender-badge--card i {
    font-size: 9px;
}

.doctor-card-fixed-size .gender-badge--male {
    background: #DBEAFE;
    color: #1E40AF;
    border-color: rgba(30, 64, 175, 0.2);
}

.doctor-card-fixed-size .gender-badge--female {
    background: #FCE7F3;
    color: #BE185D;
    border-color: rgba(190, 24, 93, 0.2);
}

.doctor-card-fixed-size .doctor-specialty-line {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
    font-size: 13px;
    color: #64748b;
    overflow: hidden;
    min-height: 20px;
}

.doctor-card-fixed-size .doctor-specialty-inline {
    color: #0d9488;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.doctor-card-fixed-size .doctor-location-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.doctor-card-fixed-size .doctor-location-dot {
    color: #cbd5e1;
    font-weight: 700;
    flex-shrink: 0;
}

.doctor-card-fixed-size .doctor-location-inline i {
    font-size: 10px;
    color: #94a3b8;
    flex-shrink: 0;
}

.doctor-card-about-zone {
    min-height: calc(1.5em * 3 + 2px);
    flex-shrink: 0;
}

.doctor-card-exp-row {
    min-height: 26px;
    margin: 2px 0 4px;
    display: flex;
    align-items: center;
}

.doctor-card-exp-row--empty {
    visibility: hidden;
    pointer-events: none;
}

.doctor-card-fixed-size .doctor-exp-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.08));
    color: #059669;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(5, 150, 105, 0.18);
}

.doctor-card-fixed-size .doctor-exp-badge i {
    font-size: 9px;
}

.doctor-card-services-zone {
    min-height: 44px;
    flex-shrink: 0;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.doctor-listing-snippet {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    font-size: 12px;
    line-height: 1.5;
    color: #475569;
    position: relative;
    height: 100%;
}

.doctor-listing-snippet__text {
    margin: 0;
    font-weight: 400;
    color: #475569;
}

.doctor-listing-snippet--clamped {
    max-height: calc(1.5em * 3);
    overflow: hidden;
}

.doctor-listing-snippet--clamped .doctor-listing-snippet__text {
    padding-right: 0;
}

.doctor-listing-snippet__more {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0 0 0 3.25rem;
    border: none;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, #fff 38%);
    color: #0d9488;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    white-space: nowrap;
}

.doctor-listing-snippet__more:hover {
    color: #0f766e;
    text-decoration: underline;
}

/* Services — one badge row, "+N More" on line below */
.doctor-card-fixed-size .doctor-services-section {
    margin: 0;
    padding: 0;
}

.doctor-card-fixed-size .doctor-rating {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    min-height: calc(1.5em * 3);
    line-height: 1.5;
}

.doctor-card-fixed-size .doctor-rating-stars {
    color: #fbbf24;
}

.doctor-card-fixed-size .reviews-zero {
    color: #94a3b8;
    font-style: italic;
}

.doctor-card-fixed-size .doctor-services-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
}

.doctor-card-fixed-size .doctor-services-row::-webkit-scrollbar {
    display: none;
}

.doctor-card-fixed-size .service-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    background: #eef7f7;
    color: #1A5C7E;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 600;
    border: 1px solid rgba(26, 92, 126, 0.15);
    white-space: nowrap;
    flex: 0 0 auto;
}

.doctor-card-fixed-size .service-badge i {
    font-size: 8px;
    color: #2E9E80;
    flex-shrink: 0;
}

.doctor-card-fixed-size .doctor-services-more,
.doctor-card-fixed-size .btn-show-more-services.doctor-services-more {
    display: inline-flex;
    align-items: center;
    min-height: 16px;
    margin: 4px 0 0;
    padding: 0;
    border: none;
    background: none;
    color: #0d9488;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.3;
}

.doctor-card-fixed-size .doctor-services-more--spacer {
    display: block;
    min-height: 16px;
    margin-top: 4px;
    visibility: hidden;
    pointer-events: none;
}

.doctor-card-fixed-size .doctor-services-more:hover {
    color: #0f766e;
    text-decoration: underline;
}

.doctor-card-fixed-size .db-unverified-card-actions {
    margin: 4px 0 6px !important;
}

.doctor-card-fixed-size .doctor-social-actions {
    gap: 6px !important;
}

.doctor-card-fixed-size .btn-view-profile,
.doctor-card-fixed-size .btn-pending-review {
    min-height: 40px;
}

.db-doctor-about-modal__panel {
    max-width: 480px;
}

.db-doctor-about-modal__name {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

.db-doctor-about-modal__body {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
    max-height: min(60vh, 420px);
    overflow-y: auto;
}

.db-doctor-about-modal__close {
    width: 100%;
    margin-top: 4px;
}

.doctor-listing-snippet__line1 {
    margin: 0 0 4px;
    font-weight: 600;
    color: #334155;
}

.doctor-listing-snippet__line2 {
    margin: 0;
    color: #64748b;
}

.doctor-preview-modal__pending {
    display: none;
    margin: 12px 0 0;
    padding: 12px 14px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fcd34d;
    border-radius: 10px;
    text-align: left;
}

.doctor-preview-modal__pending.is-visible {
    display: block;
}

.doctor-preview-modal__pending strong {
    display: block;
    color: #92400e;
    font-size: 13px;
    margin-bottom: 4px;
}

.doctor-preview-modal__pending p {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    color: #78350f;
}

.doctor-preview-modal-image-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 10%;
}

.doctor-preview-modal__desc {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.55;
    color: #475569;
}

.doctor-preview-modal__desc-line1 {
    font-weight: 700;
    color: #0f766e;
}

.doctor-preview-modal__claim-row {
    display: none;
    margin-top: 12px;
}

.doctor-preview-modal__claim-row.is-visible {
    display: block;
}

.db-pending-modal__panel { text-align: center; }
.db-pending-modal__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.db-pending-modal__entity {
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    margin: 0 0 14px;
}
.db-pending-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.db-pending-modal__dismiss {
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

@media (max-width: 640px) {
    .db-unverified-banner__inner { flex-direction: column; }
    .db-unverified-banner__actions { flex-direction: column; }
    .db-unverified-btn { width: 100%; justify-content: center; }
    .db-pending-modal__actions { flex-direction: column; }
    .db-pending-modal__actions .db-unverified-btn,
    .db-pending-modal__dismiss { width: 100%; justify-content: center; }
}
