/* =====================================================================
   ডাক্তারের প্রোফাইল পাতার স্টাইল (ব্যানার/শিরোনাম/ফুটার: hospital-inner.css)
   ===================================================================== */

html {
    scroll-behavior: smooth;
}

.hp-banner-short {
    min-height: 122px;
}

.hp-banner-short .hp-banner-inner {
    padding-top: 26px;
    padding-bottom: 34px;
}

.hp-banner-short .hp-banner-title {
    margin-bottom: 6px;
    font-size: 40px;
}

/* ---------- উপরের অংশ ---------- */
.hp-profile-top {
    display: grid;
    grid-template-columns: 238px 1fr 340px;
    gap: 18px;
    margin-top: 6px;
    align-items: start;
}

.hp-profile-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: top center;
    border-radius: 12px;
    background: #e8f1f9;
    box-shadow: 0 5px 16px rgba(24, 66, 130, 0.15);
}

.hp-profile-tools {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 6px;
    margin-top: 10px;
}

.hp-tool-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #d5e2ef;
    border-radius: 6px;
    background: #fff;
    color: var(--hp-navy);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(24, 66, 130, 0.08);
}

.hp-tool-btn i {
    color: #d12a2a;
}

.hp-tool-btn:nth-child(n + 2) i {
    color: var(--hp-green);
}

.hp-tool-btn.hp-favorite-on {
    border-color: #d12a2a;
    background: #fdeaea;
}

.hp-tool-btn.hp-favorite-on i {
    font-weight: 900;
}

.hp-profile-name {
    margin-bottom: 4px;
    color: #123d8e;
    font-size: 31px;
    font-weight: 800;
    line-height: 1.3;
}

.hp-verified {
    color: var(--hp-green-light);
    font-size: 24px;
    vertical-align: 2px;
}

.hp-profile-degree {
    margin-bottom: 8px;
    color: #1d2b45;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
}

.hp-profile-special {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 16px;
    border: 1px solid #bcd9f1;
    border-radius: 8px;
    background: #e3f1fc;
    color: #12559e;
    font-size: 16.5px;
    font-weight: 800;
}

.hp-profile-facts li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 7px;
    color: #1d2b45;
    font-size: 15px;
    line-height: 1.5;
}

.hp-profile-facts li > i {
    flex: 0 0 26px;
    margin-top: 2px;
    color: var(--hp-green);
    font-size: 20px;
    text-align: center;
}

.hp-profile-facts small {
    display: block;
    color: #3a4a64;
    font-size: 13.5px;
}

.hp-profile-rating {
    font-weight: 700;
}

.hp-profile-rating > i {
    color: #f5a623 !important;
    font-size: 24px !important;
}

.hp-profile-rating b {
    color: #0b7a34;
    font-size: 19px;
}

/* ---------- অ্যাপয়েন্টমেন্ট বুক ---------- */
.hp-book {
    overflow: hidden;
    border: 1px solid #bfe0c8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(24, 66, 130, 0.14);
}

.hp-book-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: linear-gradient(180deg, var(--hp-green-light), var(--hp-green-dark));
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.hp-book-body {
    padding: 12px 14px 14px;
}

.hp-book-field {
    position: relative;
    display: block;
    margin-bottom: 8px;
}

.hp-book-field > i:first-child {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--hp-navy);
    font-size: 18px;
    pointer-events: none;
}

.hp-book-caret {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--hp-navy);
    pointer-events: none;
}

.hp-book-field select,
.hp-book-field input {
    width: 100%;
    height: 40px;
    padding: 0 34px 0 42px;
    border: 1px solid #c6d7ea;
    border-radius: 8px;
    background: #fff;
    color: var(--hp-navy);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    appearance: none;
    -webkit-appearance: none;
}

.hp-book-field select:disabled {
    opacity: 1;
    -webkit-text-fill-color: var(--hp-navy);
}

.hp-book-body .hp-btn-block {
    height: 44px;
    margin-top: 4px;
    font-size: 16.5px;
}

.hp-book-note {
    margin-top: 10px;
    color: #0b7a34;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

/* ---------- ট্যাব ---------- */
.hp-tabs {
    display: grid;
    grid-template-columns: repeat(7, auto);
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    padding: 6px 8px;
    background: #fff;
    border: 1px solid #dce9f5;
    border-radius: 10px;
    box-shadow: 0 5px 16px rgba(24, 66, 130, 0.10);
}

.hp-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    color: var(--hp-navy);
    font-size: 15.5px;
    font-weight: 800;
    white-space: nowrap;
}

.hp-tab i {
    font-size: 18px;
}

.hp-tab:hover {
    color: var(--hp-green);
}

.hp-tab.hp-tab-active {
    background: linear-gradient(180deg, var(--hp-green-top), var(--hp-green-bottom));
    color: #fff;
}

/* ---------- নিচের দুই কলাম ---------- */
.hp-profile-body {
    display: grid;
    grid-template-columns: 1fr 445px;
    gap: 28px;
    margin-top: 16px;
    padding-bottom: 36px;
    align-items: start;
}

.hp-profile-section {
    margin-bottom: 14px;
    scroll-margin-top: 16px;
}

.hp-profile-card {
    padding: 8px 16px 14px;
    background: #fff;
    border: 1px solid #e0ebf4;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(24, 66, 130, 0.08);
}

.hp-profile-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #123d8e;
    font-size: 21px;
    font-weight: 800;
}

.hp-profile-title > i {
    color: var(--hp-green);
    font-size: 24px;
}

.hp-profile-text {
    color: #1d2b45;
    font-size: 15px;
    line-height: 1.7;
}

.hp-profile-empty {
    color: #4a5a73;
    font-size: 14.5px;
}

.hp-profile-list li {
    padding: 4px 2px;
    color: #1d2b45;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.hp-profile-card .hp-profile-list li {
    border-bottom: 1px solid #edf2f8;
}

.hp-profile-card .hp-profile-list li:last-child {
    border-bottom: 0;
}

.hp-profile-list i {
    margin-right: 8px;
    color: var(--hp-green);
}

.hp-profile-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
}

.hp-profile-list-grid li {
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #e0ebf4;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(24, 66, 130, 0.06);
}

/* ---------- চেম্বার ---------- */
.hp-chamber-box {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
    padding: 10px 16px;
    background: linear-gradient(180deg, #ffffff, #eef6fd);
    border: 1px solid #dce9f5;
    border-radius: 10px;
}

.hp-chamber-box > i {
    flex: 0 0 30px;
    color: var(--hp-green);
    font-size: 28px;
    text-align: center;
}

.hp-chamber-box strong {
    display: block;
    color: #123d8e;
    font-size: 18px;
    line-height: 1.4;
}

.hp-chamber-box span {
    display: block;
    color: #1d2b45;
    font-size: 14.5px;
    line-height: 1.5;
}

.hp-chamber-box .hp-closed-day {
    color: #d12a2a;
    font-weight: 800;
}

.hp-next-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 8px;
    color: #123d8e;
    font-size: 18px;
    font-weight: 800;
}

.hp-next-title i {
    color: var(--hp-green);
    font-size: 21px;
}

.hp-next-days {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.hp-next-day {
    padding: 6px 4px;
    border: 1px solid #cfe7d6;
    border-radius: 8px;
    text-align: center;
}

.hp-next-day strong,
.hp-next-day span {
    display: block;
    line-height: 1.4;
}

.hp-next-day strong {
    color: var(--hp-navy);
    font-size: 15.5px;
}

.hp-next-day span {
    font-size: 14.5px;
    font-weight: 800;
}

.hp-next-open {
    background: linear-gradient(180deg, #f1fbf3, #e0f4e4);
}

.hp-next-open span {
    color: #0b7a34;
}

.hp-next-full {
    border-color: #f1c9c9;
    background: linear-gradient(180deg, #fff3f3, #fde4e4);
}

.hp-next-full span {
    color: #d12a2a;
}

.hp-next-closed {
    border-color: #dde3ea;
    background: #f3f5f8;
}

.hp-next-closed span {
    color: #6a7a90;
}

/* ---------- রোগীর মতামত ---------- */
.hp-review-slider {
    position: relative;
    padding: 0 34px;
}

.hp-review {
    display: none;
    padding: 12px 16px;
    background: linear-gradient(180deg, #ffffff, #f2f8fd);
    border: 1px solid #dce9f5;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(24, 66, 130, 0.08);
}

.hp-review.hp-review-on {
    display: block;
}

.hp-review-who {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.hp-review-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #dcecfa;
    color: #12559e;
    font-size: 18px;
}

.hp-review-who strong {
    display: block;
    color: #123d8e;
    font-size: 16px;
}

.hp-review-stars {
    color: #f5a623;
    font-size: 14px;
}

.hp-review-who small {
    margin-left: 8px;
    color: #4a5a73;
    font-size: 12.5px;
}

.hp-review-text {
    color: #1d2b45;
    font-size: 14.5px;
    line-height: 1.6;
}

.hp-review-arrow {
    position: absolute;
    top: 50%;
    width: 32px;
    height: 32px;
    margin-top: -16px;
    border: 1px solid #d5e2ef;
    border-radius: 50%;
    background: #fff;
    color: var(--hp-navy);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(24, 66, 130, 0.12);
}

.hp-review-prev {
    left: 0;
}

.hp-review-next {
    right: 0;
}

/* ---------- অনলাইন পরামর্শ ---------- */
.hp-online {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 118px;
    padding: 12px 160px 12px 16px;
    overflow: hidden;
    background: linear-gradient(90deg, #eaf6fd, #f6fbfe);
    border: 1px solid #dce9f5;
    border-radius: 12px;
    box-shadow: 0 5px 16px rgba(24, 66, 130, 0.10);
}

.hp-online-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(180deg, #1aa650, var(--hp-green-dark));
    color: #fff;
    font-size: 24px;
}

.hp-online-title {
    color: #123d8e;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
}

.hp-online-text {
    margin-bottom: 8px;
    color: #1d2b45;
    font-size: 14.5px;
}

.hp-online-content .hp-btn {
    height: 36px;
    font-size: 14.5px;
    white-space: nowrap;
}

.hp-online-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 150px;
    height: 100%;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px);
    mask-image: linear-gradient(90deg, transparent 0, #000 40px);
}

/* ---------- রেসপন্সিভ ---------- */
@media (max-width: 992px) {
    .hp-profile-top {
        grid-template-columns: 220px 1fr;
    }

    .hp-book {
        grid-column: 1 / -1;
    }

    .hp-profile-body {
        grid-template-columns: 1fr;
    }

    .hp-tabs {
        display: flex;
        justify-content: flex-start;
        overflow-x: auto;
    }
}

@media (max-width: 640px) {
    .hp-profile-top {
        grid-template-columns: 1fr;
    }

    .hp-profile-photo {
        height: 320px;
    }

    .hp-profile-name {
        font-size: 26px;
    }

    .hp-profile-list-grid {
        grid-template-columns: 1fr;
    }

    .hp-next-days {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-online {
        padding-right: 16px;
    }

    .hp-online-image {
        display: none;
    }
}

/* ---------- প্রিন্ট: শুধু প্রোফাইলের তথ্য ---------- */
@media print {
    .hp-topbar,
    .hp-header,
    .hp-nav,
    .hp-footer,
    .hp-banner,
    .hp-book,
    .hp-tabs,
    .hp-profile-tools,
    .hp-online,
    .hp-review-arrow {
        display: none !important;
    }

    .hp-profile-top,
    .hp-profile-body {
        grid-template-columns: 1fr;
    }
}
