/* DR Bangladesh modular stylesheet. */

/* Source module: inc/reviews/doctor-reviews.php */
.drb-reviews{font-family:"Open Sans","Noto Serif Bengali","Tiro Bangla",Arial,sans-serif;color:var(--drb-text)}
      .drb-reviews .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

      .drb-reviews .box-head{
        background:#e0efff;border:1px solid #c9def5;border-bottom:1px solid #c9def5;border-radius:6px 6px 0 0;
        padding:13px 15px;margin:0;text-align:left;color:#111;font-weight:700;font-size:18px;line-height:1.35;
      }
      .drb-reviews .card{
        background:#fff;border:1px solid #d5d5d5;border-top:0;
        border-radius:0 0 6px 6px;padding:0 15px;
      }

      .drb-reviews .inline-rating{display:inline-flex;align-items:center;gap:8px}
      .drb-reviews .inline-rating .ir-score{display:none}
      /* No letter-spacing: CSS only inserts it BETWEEN characters, not after
       * the last one, so with it the 5th star would be narrower than the
       * other 4 and the rating-width-N% clip would land off-center on
       * fractional ratings. Without it all 5 glyphs share one identical
       * advance width, so any width% divides into exactly 5 equal 20%
       * segments and a value like 3.5/5 (70%) cuts precisely through the
       * middle of star 4. */
      .drb-reviews .inline-rating .ir-stars{position:relative;display:inline-block;line-height:1;white-space:nowrap}
      .drb-reviews .inline-rating .ir-stars-bg{color:#e5e7eb}
      .drb-reviews .inline-rating .ir-stars-fill{position:absolute;left:0;top:0;height:100%;overflow:hidden;white-space:nowrap;color:var(--drb-gold,#f5b301)}
      .drb-reviews .inline-rating.sm{font-size:14px}.drb-reviews .inline-rating.md{font-size:16px}.drb-reviews .inline-rating.lg{font-size:18px}

      .drb-reviews .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:8px 18px;border-radius:5px;font-weight:600;min-height:38px;border:1px solid var(--drb-border);cursor:pointer;background:#fff;color:#111827}
      .drb-reviews .btn--primary{background:#2a7fba;border:1px solid #2a6ea9;color:#fff}
      .drb-reviews .btn--primary:hover{background:#1f6ba0}
      .drb-reviews .btn:disabled{opacity:.6;cursor:not-allowed}

      .drb-reviews .count{display:none}
      .drb-reviews .count.count--above{display:none}
      .drb-reviews .card > .inline-rating,.drb-reviews .card > .muted{display:none}
      .drb-reviews .muted{color:#111827;font-size:16px;margin-top:6px}

      .drb-reviews .list{display:block;margin-top:0}
      .drb-reviews .item{border:0;border-bottom:1px solid #d9d9d9;border-radius:0;padding:17px 0 18px;background:transparent}
      .drb-reviews .item:last-child{border-bottom:0}
      /* Indent replies under their review. Written as a compound selector
       * (.item.review-depth-N, not the bare .review-depth-N class alone) so
       * it reliably outranks the plain .drb-reviews .item rule above on
       * specificity instead of depending on source order. */
      .drb-reviews .item.review-depth-1{margin-left:40px}
      .drb-reviews .item.review-depth-2{margin-left:80px}
      .drb-reviews .item.review-depth-3{margin-left:120px}
      .drb-reviews .item.review-depth-4{margin-left:160px}
      .drb-reviews .item-head{display:block}
      .drb-reviews .item-head > div:last-child{margin-top:7px}
      .drb-reviews .author{font-weight:700;color:#c0390b;font-size:16px}
      .drb-reviews .date{color:#111827;font-size:16px;margin-top:7px}
      .drb-reviews .reply-context{color:#1683c5;font-size:14px;margin-top:7px}
      .drb-reviews .c-body{color:#111827!important;margin-top:8px!important;line-height:1.75!important;font-size:16px}
      .drb-reviews .review-reply{text-align:right;margin-top:4px}
      .drb-reviews .review-reply a{color:#1683c5;text-decoration:none;font-size:16px}
      .drb-reviews .review-reply .comment-reply-link{color:#1683c5}
      .drb-reviews .drb-review-more-replies{padding:10px 0}
      .drb-reviews .drb-review-more-replies a{color:#1683c5;text-decoration:none;font-size:15px;font-weight:600}

      .drb-reviews .wizard{border:1px solid #d5d5d5;border-radius:6px;padding:0;margin-top:10px;background:#fff}
      .drb-reviews .wizard > .comment-reply-title{font-weight:700;margin:0;padding:13px 15px;background:#e0efff;border-bottom:1px solid #c9def5;border-radius:6px 6px 0 0;font-size:18px;line-height:1.35}
      .drb-reviews .wizard > .comment-reply-title small{font-size:16px;font-weight:400;margin-left:0}
      .drb-reviews .wizard > .comment-reply-title small a{color:#1683c5;text-decoration:none}
      .drb-reviews #respond{border:1px solid #d5d5d5;border-radius:6px;background:#fff;margin:0}
      .drb-reviews .wizard #respond{border:0;border-radius:0}
      .drb-reviews #respond #reply-title{font-weight:700;margin:0;padding:13px 15px;border-bottom:1px solid #ddd;font-size:18px;line-height:1.35}
      .drb-reviews #respond #reply-title small{font-size:16px;font-weight:400;margin-left:0}
      .drb-reviews #respond #reply-title a{color:#1683c5;text-decoration:none}
      .drb-reviews .drb-wp-form{padding:1px 15px 14px}
      .drb-reviews .field{margin:14px 0}
      .drb-reviews .field-label{font-weight:400;margin-bottom:7px;font-size:16px}
      .drb-reviews .required-mark{color:#e34b58}
      .drb-reviews .input,.drb-reviews textarea,.drb-reviews input[type="text"],.drb-reviews input[type="email"]{width:100%;min-height:37px;padding:8px 10px;border:1px solid #cfcfcf;border-radius:5px;box-sizing:border-box;font-size:16px}
      .drb-reviews textarea.input{min-height:101px;resize:vertical}
      .drb-reviews .stars-input{display:inline-flex;gap:0;padding:2px 0;border-radius:0;background:transparent;user-select:none}
      .drb-reviews .stars-input input{position:absolute;opacity:0;width:1px;height:1px}
      .drb-reviews .stars-input label{font-size:25px;line-height:1;padding:2px 1px;cursor:pointer;color:#cfd3d7}
      .drb-reviews .stars-input label.is-active{color:var(--drb-gold,#f5b301)}
      .drb-reviews .actions{display:flex;gap:8px;justify-content:flex-start;margin-top:10px}
      .drb-reviews .btn{padding:5px 10px;min-height:35px;border-radius:4px;font-size:16px}
      .drb-reviews .hidden{display:none !important}

      .drb-reviews .item.pending{background:#fafafe;border-bottom-color:#e0deff}
      .drb-reviews .badge{display:inline-block;font-size:11px;padding:3px 8px;border-radius:999px;background:#4f46e5;color:#fff;margin-left:8px}

      .drb-reviews #review{scroll-margin-top:84px}

      @media(max-width:640px){
        .drb-reviews .card{padding-left:15px;padding-right:15px}
        .drb-reviews .list{grid-template-columns:1fr}
      }

/* .hrb-reviews (the 5-aspect wizard form's wrapper class) removed — that
 * shortcode (hospital_reviews_legacy) was dead code, never actually
 * rendered on any page (single-hospital.php only ever calls the simpler
 * [hospital_reviews] "v2" form below, .hrb-v2). */

/* Source module: inc/reviews/z-hospital-reviews-v2.php */
.hrb-v2{font-family:"Open Sans","Noto Serif Bengali","Tiro Bangla",Arial,sans-serif;color:#071b38;border:1px solid #d5d5d5;border-radius:5px;background:#fff;overflow:hidden}
    .hrb-v2 .hrb-v2-success{padding:12px 14px;background:#ecfdf5;color:#166534;border-bottom:1px solid #bbf7d0}.hrb-v2 .hrb-v2-head{font-size:18px;font-weight:700;color:#111;padding:13px 14px;border-bottom:1px solid #ddd}
    .hrb-v2 .hrb-v2-empty{padding:18px 14px;color:#071b38;font-size:16px}
    .hrb-v2 .hrb-v2-item{padding:17px 14px 18px;border-bottom:1px solid #d9d9d9;position:relative}
    .hrb-v2 .hrb-v2-author{font-weight:700;color:#c0390b;font-size:16px}.hrb-v2-date{margin-top:8px;font-size:16px}.hrb-v2-parent{margin-top:7px;color:#1683c5;font-size:14px}.hrb-v2-stars{margin-top:9px}.hrb-v2-body{margin-top:10px;line-height:1.7;font-size:16px}.hrb-v2-reply{text-align:right;margin-top:5px}.hrb-v2-reply a{color:#1683c5;text-decoration:none}
    .hrb-v2 .hrb-v2-form{border-top:1px solid #d5d5d5;margin-top:0}.hrb-v2-form-title{font-weight:700;font-size:18px;padding:13px 14px;border-bottom:1px solid #ddd}.hrb-v2-comment-form{padding:0 14px 14px}.hrb-v2-comment-form p{margin:14px 0}.hrb-v2-comment-form label{display:block;margin-bottom:7px}.hrb-v2-comment-form label span{color:#e34b58}.hrb-v2-comment-form input[type=text],.hrb-v2-comment-form input[type=email],.hrb-v2-comment-form textarea{width:100%;box-sizing:border-box;border:1px solid #ccc;border-radius:5px;padding:9px;font-size:16px}.hrb-v2-comment-form textarea{min-height:100px}.hrb-v2-word-counter{display:block;margin-top:6px;color:#6b7280;font-size:13px}.hrb-v2-word-counter.is-full{color:#b91c1c;font-weight:700}.hrb-v2-picker{display:flex;gap:0}.hrb-v2-picker label{display:inline!important;color:#cbd0d5;font-size:25px;cursor:pointer;margin:0 2px}.hrb-v2-picker input{position:absolute;opacity:0}.hrb-v2-picker label:has(input:checked),.hrb-v2-picker label:has(~ label input:checked){color:#f5a400}.hrb-v2-comment-form button{background:#2a7fba;border:1px solid #246a9b;color:#fff;border-radius:4px;padding:7px 12px;font-size:16px;cursor:pointer}
    /* Precise star fill for .hrb-v2-stars (hrb_render_rating_inline() output)
     * — no letter-spacing, see the .drb-reviews .ir-stars comment earlier in
     * this file for why: it keeps all 5 glyphs the same width so the fill's
     * rating-width-N% clip lands exactly on fractional star boundaries. */
    .hrb-v2 .inline-rating{display:inline-flex;align-items:center;gap:6px}
    .hrb-v2 .inline-rating .ir-score{display:none}
    .hrb-v2 .inline-rating .ir-stars{position:relative;display:inline-block;line-height:1;white-space:nowrap;font-size:18px}
    .hrb-v2 .inline-rating .ir-stars-bg{color:#cfd3d7}
    .hrb-v2 .inline-rating .ir-stars-fill{position:absolute;left:0;top:0;height:100%;overflow:hidden;white-space:nowrap;color:#f5a400}
    /* Indent replies under their review. Compound selector
     * (.hrb-v2-item.review-depth-N) so it reliably outranks the plain
     * .hrb-v2 .hrb-v2-item rule above on specificity. */
    .hrb-v2 .hrb-v2-item.review-depth-1{margin-left:40px}
    .hrb-v2 .hrb-v2-item.review-depth-2{margin-left:80px}
    .hrb-v2 .hrb-v2-item.review-depth-3{margin-left:120px}
    .hrb-v2 .hrb-v2-item.review-depth-4{margin-left:160px}
    /* On narrow phones the desktop 40px-per-level indent would crush a
     * nested reply's content down to a sliver — shrink it, keeping just
     * enough offset to still read as nested. */
    @media (max-width:480px){
      .hrb-v2 .hrb-v2-item.review-depth-1{margin-left:14px}
      .hrb-v2 .hrb-v2-item.review-depth-2{margin-left:28px}
      .hrb-v2 .hrb-v2-item.review-depth-3{margin-left:42px}
      .hrb-v2 .hrb-v2-item.review-depth-4{margin-left:56px}
    }
    .hrb-v2 .hrb-v2-item.pending{background:#fafafe}
    .hrb-v2 .hrb-v2-badge{display:inline-block;font-size:11px;padding:3px 8px;border-radius:999px;background:#4f46e5;color:#fff;margin-left:8px}
    .hrb-v2 .hrb-v2-pending-note{margin-top:8px;color:#6b7280;font-size:13px}

/* Source module: inc/single-doctor/reviews-page.php */
.drb-doc-reviews-page{width:100%;max-width:860px;margin:16px auto;padding:0 14px;box-sizing:border-box;font-family:"Open Sans",Arial,Helvetica,sans-serif;color:#071b38}
    .drb-doc-reviews-page .dr-profile-card,.drb-doc-reviews-page .box{width:100%;box-sizing:border-box}
    .drb-doc-reviews-page .box-head{background:#e0efff;border-color:#c9def5}
    .drb-doc-reviews-page .dr-profile-card{text-align:center;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:18px 16px;margin-bottom:16px;box-shadow:0 1px 0 rgba(0,0,0,.03)}
    .drb-doc-reviews-page .dr-profile-thumb{width:120px;height:150px;border-radius:10px;object-fit:cover;border:1px solid #e5e7eb;background:#fafafa;display:block;margin:0 auto}
    .drb-doc-reviews-page .dr-profile-name{font-size:18px;line-height:1.3;color:#538ac6;margin:10px 0 6px}
    .drb-doc-reviews-page .drb-verified-name-badge{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-left:5px;padding:0;border:0;border-radius:50%;background:#1d76e8;color:#fff;font:700 13px/1 Arial,sans-serif;vertical-align:middle;cursor:pointer}
    .drb-doc-reviews-page .drb-inline-verification-details{width:100%;box-sizing:border-box;text-align:center;background:#fff;border:1px solid #d5d5d5;border-radius:6px;padding:8px 12px;margin:8px auto 16px;color:#5f3e32;font-size:13px}.drb-doc-reviews-page .drb-inline-verification-details p{margin:3px 0}
    .drb-doc-reviews-page .dr-profile-line{font-size:14px;color:#111;margin:2px 0}
    .drb-doc-reviews-page .dr-profile-specialty{font-size:14px;color:#ff1a00;font-weight:500;margin-top:4px}
    .drb-doc-reviews-page .dr-profile-rating{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:10px}
    .drb-doc-reviews-page .dr-profile-rating span.dr-reviews-stars{display:inline-block!important;font-family:Arial,Helvetica,sans-serif!important;font-size:18px!important;font-weight:400!important;letter-spacing:1px!important;line-height:1!important;white-space:nowrap!important;color:#f5b301!important}
    .drb-doc-reviews-page .dr-profile-rating span.dr-reviews-stars-filled{display:inline!important;font-size:18px!important;line-height:1!important;color:#f5b301!important}
.drb-doc-reviews-page .dr-profile-rating span.dr-reviews-stars-empty{display:inline!important;font-size:18px!important;line-height:1!important;color:#cfd3d7!important}
    .drb-doc-reviews-page .dr-profile-rating span{color:#4b5563;font-size:13px}
    .drb-doc-reviews-page .box{margin-top:16px;border:1px solid #d5d5d5;border-radius:5px;overflow:hidden;background:#fff}
    .drb-doc-reviews-page .box-head{display:block;background:#fff;border-bottom:1px solid #ddd;padding:11px 14px;color:#111}
    .drb-doc-reviews-page .box-title{font-size:18px;font-weight:700}
    .drb-doc-reviews-page .box-title small{display:none}
    .drb-doc-reviews-page .review-summary{display:none}
    .drb-doc-reviews-page .card{background:#fff;border:0;padding:0 14px}
    .drb-doc-reviews-page .list{display:block}
    .drb-doc-reviews-page .item{border:0;border-bottom:1px solid #d9d9d9;border-radius:0;padding:17px 14px 18px;margin:0 -14px;background:#fff;box-shadow:none}
    .drb-doc-reviews-page .item:last-child{border-bottom:0}
    /* Indent replies under their review, on top of the card's own -14px
     * left bleed above. Compound selector so it reliably outranks the
     * .drb-doc-reviews-page .item rule on specificity. */
    .drb-doc-reviews-page .item.review-page-depth-1{margin-left:28px}
    .drb-doc-reviews-page .item.review-page-depth-2{margin-left:70px}
    .drb-doc-reviews-page .item.review-page-depth-3{margin-left:112px}
    .drb-doc-reviews-page .item.review-page-depth-4{margin-left:154px}
    .drb-doc-reviews-page .item-head{display:block}
    .drb-doc-reviews-page .item-head > div:last-child{margin-top:8px}
    .drb-doc-reviews-page .author{font-weight:700;color:#c0390b;font-size:16px}
    .drb-doc-reviews-page .date{color:#071b38;font-size:16px;margin-top:9px}
    .drb-doc-reviews-page .reply-context{color:#1683c5;font-size:14px;margin-top:8px}
    .drb-doc-reviews-page .c-body{color:#071b38;margin-top:12px;line-height:1.7;font-size:16px}
    .drb-doc-reviews-page .item-head > div:last-child span.dr-reviews-stars{display:inline-block!important;font-family:Arial,Helvetica,sans-serif!important;font-size:18px!important;font-weight:400!important;letter-spacing:1px!important;line-height:1!important;color:#f5b301!important;white-space:nowrap!important}
    .drb-doc-reviews-page .item-head > div:last-child span.dr-reviews-stars-filled{font-size:18px!important;color:#f5b301!important}
.drb-doc-reviews-page .item-head > div:last-child span.dr-reviews-stars-empty{font-size:18px!important;color:#cfd3d7!important}
    .drb-doc-reviews-page .drb-empty{text-align:center;color:#6b7280}
    .drb-doc-reviews-page .drb-load-more-wrap{text-align:center;margin-top:14px}
    .drb-doc-reviews-page .btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:999px;font-weight:700;min-height:44px;border:1px solid #e5e7eb;cursor:pointer;background:#fff;color:#111827}
    .drb-doc-reviews-page .btn:disabled{opacity:.6;cursor:not-allowed}
    .drb-doc-reviews-page .drb-back-link{margin:16px 0}
    .drb-doc-reviews-page .drb-back-link a{color:#1683c5;text-decoration:none;font-weight:600}
    @media(max-width:640px){.drb-doc-reviews-page{padding:0 8px;margin-top:10px}.drb-doc-reviews-page .item{margin-left:0!important;padding:15px 0}}

/* Review State Utilities */
.drb-review-theme{--drb-border:#e5e7eb;--drb-text:#111827;--drb-muted:#6b7280;--drb-gold:#f5b301}
.drb-honeypot{display:none!important}
.drb-review-body{margin-top:8px;color:#374151;line-height:1.6}
.drb-review-empty{text-align:center;color:#6b7280}
.drb-review-pager{text-align:center;margin-top:14px}
.drb-review-note{margin-bottom:10px}
.drb-review-pending-note{margin-top:8px}
.drb-review-heading{margin:0 0 10px;text-align:center}
.drb-review-field-title{margin-bottom:4px;font-weight:700}
.drb-review-field-hint{margin-bottom:8px}
.drb-review-captcha-hint{margin-bottom:6px}
.drb-review-captcha-question{margin-bottom:8px;font-weight:700}
.is-hidden{display:none!important}
.step-fill.is-complete{width:100%}
.review-depth-0{margin-left:0}
.review-depth-1{margin-left:40px}
.review-depth-2{margin-left:80px}
.review-depth-3{margin-left:120px}
.review-depth-4{margin-left:160px}
.review-heat-1{background:#ef4444}
.review-heat-2{background:#f59e0b}
.review-heat-3{background:#facc15}
.review-heat-4{background:#84cc16}
.review-heat-5{background:#22c55e}
/* .rating-width-0 .. .rating-width-100 utility classes moved to
 * components.css (always enqueued) — drb_rating_markup_from_data() needs
 * them on pages (search, doctor/hospital directory listings) that don't
 * load this file. */
.review-page-depth-0{margin-left:0}
.review-page-depth-1{margin-left:42px}
.review-page-depth-2{margin-left:84px}
.review-page-depth-3{margin-left:126px}
.review-page-depth-4{margin-left:168px}

/* Review Submission Feedback */
.drb-review-word-counter{margin-top:6px;color:#6b7280;font-size:13px}
.drb-review-word-counter.is-full{color:#b91c1c;font-weight:700}
.drb-review-success{padding:12px 15px;margin-bottom:10px;background:#ecfdf5;color:#166534;border:1px solid #bbf7d0;border-radius:5px}
