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

.hp-doctors-layout {
    display: grid;
    grid-template-columns: 204px 1fr;
    gap: 16px;
    margin-top: 6px;
    padding-bottom: 6px;
    align-items: start;
}

.hp-filter-toggle {
    display: none;
    grid-column: 1 / -1;
}

.hp-btn-blue {
    background: linear-gradient(180deg, #1a5cc0, #0f3f94);
    color: #fff;
    box-shadow: 0 4px 10px rgba(15, 63, 148, 0.3);
}

/* ---------- ফিল্টার ---------- */
.hp-filter {
    padding-bottom: 12px;
    background: #fff;
    border: 1px solid #dce9f5;
    border-radius: 10px;
    box-shadow: 0 5px 16px rgba(24, 66, 130, 0.12);
    overflow: hidden;
}

.hp-filter-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: linear-gradient(180deg, #1a5cc0, #0f3f94);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
}

.hp-filter-group {
    padding: 8px 12px 4px;
}

.hp-filter-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    color: var(--hp-navy);
    font-size: 17px;
    font-weight: 800;
}

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

.hp-check {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 2px;
    padding: 3px 6px;
    border-radius: 5px;
    color: #1d2b45;
    font-size: 14.5px;
    font-weight: 500;
    cursor: pointer;
}

.hp-check input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--hp-green);
}

.hp-check.hp-check-on {
    background: #dff2d9;
    font-weight: 700;
}

.hp-check-extra {
    display: none;
}

.hp-filter.hp-show-all .hp-check-extra {
    display: flex;
}

.hp-filter-more {
    display: block;
    margin: 4px 0 0 30px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--hp-green);
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
}

.hp-filter .hp-btn-block {
    width: calc(100% - 24px);
    margin: 10px 12px 0;
    height: 40px;
    padding: 0 8px;
    gap: 6px;
    font-size: 14px;
    white-space: nowrap;
}

/* ---------- ডানের অংশ ---------- */
.hp-doctors-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.hp-doctors-total {
    padding: 4px 16px;
    border: 1px solid var(--hp-green-light);
    border-radius: 18px;
    background: #f0fbee;
    color: var(--hp-navy);
    font-size: 14.5px;
    font-weight: 800;
    white-space: nowrap;
}

.hp-doctors-tools {
    display: grid;
    grid-template-columns: 1fr 210px;
    gap: 16px;
    margin-bottom: 12px;
}

.hp-search-box,
.hp-sort-box {
    position: relative;
    display: block;
}

.hp-search-box > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--hp-green);
    font-size: 18px;
}

.hp-search-box input,
.hp-sort-box select {
    width: 100%;
    height: 40px;
    border: 1px solid #cfdcea;
    border-radius: 6px;
    background: #fff;
    color: var(--hp-navy);
    font-family: inherit;
    font-size: 15px;
}

.hp-search-box input {
    padding: 0 14px 0 44px;
    box-shadow: 0 2px 6px rgba(24, 66, 130, 0.08);
}

.hp-sort-box select {
    padding: 0 34px 0 14px;
    font-weight: 700;
    appearance: none;
    -webkit-appearance: none;
}

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

.hp-doctors-empty {
    padding: 30px 10px;
    color: #4a5a73;
    font-size: 16px;
    text-align: center;
}

/* ---------- ডাক্তারের কার্ড ---------- */
.hp-doctor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 12px;
}

.hp-doctor-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 6px 6px 10px;
    background: linear-gradient(180deg, #ffffff, #f2f8fd);
    border: 1px solid #dce9f5;
    border-radius: 12px;
    box-shadow: 0 5px 14px rgba(24, 66, 130, 0.10);
}

.hp-doctor-top {
    display: flex;
    gap: 8px;
    min-height: 130px;
}

.hp-doctor-photo {
    flex: 0 0 88px;
}

.hp-doctor-photo img {
    width: 88px;
    height: 130px;
    object-fit: cover;
    object-position: top center;
    border-radius: 8px;
    background: #e8f1f9;
}

.hp-doctor-info {
    flex: 1;
    min-width: 0;
}

.hp-doctor-name {
    color: #123d8e;
    font-size: 16.5px;
    font-weight: 800;
    line-height: 1.3;
}

.hp-doctor-name a:hover {
    color: var(--hp-green);
}

.hp-doctor-degree,
.hp-doctor-designation {
    color: #3a4a64;
    font-size: 12.5px;
    line-height: 1.45;
}

.hp-doctor-designation {
    font-weight: 700;
}

.hp-doctor-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    margin-top: 5px;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.3;
}

.hp-doctor-pill img {
    width: 22px;
    height: 20px;
    object-fit: contain;
}

.hp-pill-0 { background: #fde8f2; color: #b0236a; }
.hp-pill-1 { background: #e1f1fc; color: #12559e; }
.hp-pill-2 { background: #fde6e6; color: #b32424; }
.hp-pill-3 { background: #fff0dc; color: #a65a0d; }
.hp-pill-4 { background: #e7f6e5; color: #1b7a2f; }
.hp-pill-5 { background: #f0e8fd; color: #6a35b8; }

.hp-doctor-facts {
    margin: 8px 6px 8px;
    padding-top: 6px;
    border-top: 1px solid #e3ecf5;
}

.hp-doctor-facts li {
    margin-bottom: 3px;
    color: #1d2b45;
    font-size: 13px;
    line-height: 1.45;
}

.hp-doctor-facts i {
    width: 16px;
    margin-right: 3px;
    color: var(--hp-green);
}

.hp-doctor-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 4px;
}

.hp-doctor-actions .hp-btn {
    height: 34px;
    padding: 0 6px;
    border-radius: 6px;
    font-size: 13px;
}

.hp-btn-outline {
    background: #fff;
    border: 1.5px solid var(--hp-green-light);
    color: #0b7a34;
}

/* ---------- পেজ নম্বর ---------- */
.hp-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 8px;
}

.hp-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid #d5e2ef;
    border-radius: 6px;
    background: #fff;
    color: var(--hp-navy);
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(24, 66, 130, 0.08);
}

.hp-page-wide {
    padding: 0 14px;
    font-weight: 600;
}

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

.hp-page-off {
    color: #8a99ad;
    box-shadow: none;
}

a.hp-page:hover {
    border-color: var(--hp-green-light);
    color: var(--hp-green);
}

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

    .hp-filter-toggle {
        display: inline-flex;
        justify-self: start;
    }

    /* ফোনে ফিল্টার লুকানো থাকে; "ফিল্টার" বোতামে খোলে */
    .hp-filter {
        display: none;
    }

    .hp-filter.hp-open {
        display: block;
    }
}

@media (max-width: 760px) {
    .hp-doctor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .hp-doctor-grid {
        grid-template-columns: 1fr;
    }

    .hp-doctors-tools {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hp-doctors-head {
        flex-wrap: wrap;
    }
}
