/* =====================================================================
   পরীক্ষার মূল্য তালিকা পাতা (ব্যানার/ফুটার: hospital-inner.css)
   নোট: hospital-home.css-এ `.hp-body h2/h3/p/ul { margin:0; padding:0 }` আছে,
   তাই মার্জিন/প্যাডিং দেওয়া নিয়মগুলো `.hp-body` দিয়ে শুরু।
   ===================================================================== */

/* ---------- মাঝের শিরোনাম (গাঢ় নীল ক্যাপসুল, দুই পাশে সবুজ রেখা) ---------- */
.tp-title-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 4px 0 16px;
}

.tp-title-wrap::before,
.tp-title-wrap::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 280px);
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--hp-green), #5ac45a);
}

.tp-title-wrap::before {
    left: 0;
}

.tp-title-wrap::after {
    right: 0;
    transform: scaleX(-1);
}

.hp-body .tp-title {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 8px 56px;
    border-radius: 40px;
    background: linear-gradient(180deg, #0f3f86, #082a5e);
    box-shadow: 0 6px 16px rgba(8, 42, 94, 0.30);
    color: #fff;
    text-align: center;
}

.tp-title i {
    font-size: 44px;
}

.tp-title span {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
}

.tp-title small {
    display: block;
    font-size: 22px;
    font-weight: 500;
}

.hp-body .tp-empty {
    padding: 50px 16px;
    color: #51627a;
    font-size: 18px;
    text-align: center;
}

/* ---------- ৪ কলাম ---------- */
.tp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: start;
    margin-bottom: 34px;
}

.tp-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

/* ---------- একটি কার্ড: রঙ আসে --tp-dark / --tp-light / --tp-head থেকে ---------- */
.tp-card {
    --tp-dark: #1565b5;
    --tp-head: #1565b5;
    --tp-light: #eaf3fc;
    --tp-line: #cfe0f3;

    overflow: hidden;
    background: var(--tp-light);
    border: 1px solid var(--tp-line);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(24, 66, 130, 0.12);
}

.tp-red    { --tp-head: #d81f4d; --tp-dark: #b8143c; --tp-light: #fdeef2; --tp-line: #f6c7d3; }
.tp-green  { --tp-head: #14902f; --tp-dark: #0b6d22; --tp-light: #ecf8ee; --tp-line: #c4e5cb; }
.tp-brown  { --tp-head: #b4651c; --tp-dark: #8a4a10; --tp-light: #fbf1e6; --tp-line: #efd3b3; }
.tp-blue   { --tp-head: #1c62c9; --tp-dark: #144a9e; --tp-light: #edf3fd; --tp-line: #c9daf5; }
.tp-purple { --tp-head: #7a2bb0; --tp-dark: #5e1f8a; --tp-light: #f5eefb; --tp-line: #dcc7ee; }
.tp-teal   { --tp-head: #0e8a97; --tp-dark: #0a6c77; --tp-light: #e9f6f8; --tp-line: #bde1e6; }
.tp-pink   { --tp-head: #d6246e; --tp-dark: #a8185a; --tp-light: #fdeef5; --tp-line: #f6c5da; }
.tp-navy   { --tp-head: #1f3f95; --tp-dark: #162e70; --tp-light: #edf0fb; --tp-line: #c5cef0; }
.tp-orange { --tp-head: #e8791a; --tp-dark: #b85b0c; --tp-light: #fef3e8; --tp-line: #f6d5b2; }

.hp-body .tp-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 7px 12px;
    background: linear-gradient(180deg, var(--tp-head), var(--tp-dark));
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
}

.tp-card-head i {
    flex: 0 0 24px;
    font-size: 21px;
    text-align: center;
}

.tp-table {
    width: 100%;
    border-collapse: collapse;
}

.tp-table th,
.tp-table td {
    padding: 2px 8px;
    border-bottom: 1px solid var(--tp-line);
    color: #1d2b45;
    font-size: 13.5px;
    line-height: 1.45;
    text-align: left;
}

.tp-table th {
    color: var(--tp-dark);
    font-size: 13px;
    font-weight: 800;
    text-align: left;
}

.tp-table th:first-child,
.tp-table td:first-child {
    width: 42px;
    text-align: center;
}

.tp-table th:last-child,
.tp-table td:last-child {
    width: 64px;
    text-align: right;
    white-space: nowrap;
}

.tp-table td:last-child {
    font-weight: 800;
}

.tp-table tbody tr:last-child td {
    border-bottom: 0;
}

.tp-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* ---------- বিশেষ নির্দেশনা ---------- */
.tp-note {
    overflow: hidden;
    border: 1px solid #bcd9f1;
    border-radius: 10px;
    background: #eaf4fd;
    box-shadow: 0 4px 12px rgba(24, 66, 130, 0.12);
}

.hp-body .tp-note-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 8px 14px 4px;
    color: #0f3f86;
    font-size: 21px;
    font-weight: 800;
}

.tp-note-head i {
    font-size: 24px;
}

.hp-body .tp-note-list {
    margin: 0;
    padding: 4px 14px 12px;
}

.tp-note-list li {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
    color: #1d2b45;
    font-size: 13.5px;
    line-height: 1.5;
}

.tp-note-list i {
    flex: 0 0 18px;
    margin-top: 3px;
    color: var(--hp-green-light);
    font-size: 16px;
}

/* ---------- রেসপন্সিভ ---------- */
@media (max-width: 1180px) {
    .tp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tp-title-wrap::before,
    .tp-title-wrap::after {
        display: none;
    }
}

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

    .hp-body .tp-title {
        gap: 12px;
        padding: 8px 24px;
    }

    .tp-title i {
        font-size: 30px;
    }

    .tp-title span {
        font-size: 26px;
    }

    .tp-title small {
        font-size: 16px;
    }

    .tp-table th,
    .tp-table td {
        font-size: 14.5px;
    }
}

/* ---------- প্রিন্ট ---------- */
@media print {
    .tp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tp-card,
    .tp-note {
        break-inside: avoid;
        box-shadow: none;
    }
}
