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

/* ---------- সফল বার্তা ---------- */
.bk-done {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    padding: 14px 20px;
    border: 1px solid #b7e4c7;
    border-radius: 12px;
    background: #ecf9f0;
    color: #0d6b36;
}

.bk-done > i {
    font-size: 38px;
}

.bk-done strong {
    font-size: 19px;
}

.hp-body .bk-done p {
    margin: 2px 0 0;
    color: #1d2b45;
}

.bk-done-no {
    display: inline-block;
    min-width: 34px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--hp-green);
    color: #fff;
    font-size: 20px;
    text-align: center;
}

/* ---------- ৪ কলামের গ্রিড ---------- */
.bk-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 16px;
    align-items: start;
    margin-top: 6px;
    margin-bottom: 34px;
}

.bk-col {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.bk-photo {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 16px rgba(24, 66, 130, 0.15);
}

.bk-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce9f5;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(24, 66, 130, 0.10);
}

.hp-body .bk-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 10px 14px;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.35;
}

.bk-title-navy {
    background: linear-gradient(180deg, #123d8e, #0c2a67);
    color: #fff;
}

.bk-title-green {
    background: #eaf7ee;
    color: #0b6d2e;
}

.bk-card-title i {
    font-size: 24px;
}

/* ---------- নিয়মের তালিকা ---------- */
.hp-body .bk-step-list {
    margin: 0;
    padding: 4px 14px 12px;
    list-style: none;
}

.bk-step-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #e3edf6;
    color: #1d2b45;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.bk-step-list li:last-child {
    border-bottom: 0;
}

.bk-step-no {
    flex: 0 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--hp-green);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

/* ---------- ফর্ম ---------- */
.hp-body .bk-form-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 11px 16px;
    background: linear-gradient(180deg, #123d8e, #0c2a67);
    color: #fff;
    font-size: 21px;
    font-weight: 800;
}

.bk-form-head i {
    font-size: 24px;
}

.bk-form-body {
    padding: 14px 16px 18px;
}

.bk-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 10px;
}

.bk-field {
    display: block;
    min-width: 0;
}

.bk-field-full {
    margin-bottom: 14px;
}

.bk-label {
    display: block;
    margin-bottom: 4px;
    color: var(--hp-navy);
    font-size: 14.5px;
    font-weight: 800;
}

.bk-label em {
    color: #d12a2a;
    font-style: normal;
}

.bk-input {
    position: relative;
    display: block;
}

.bk-input > i {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--hp-green);
    font-size: 15px;
    pointer-events: none;
}

.bk-input input,
.bk-input select,
.bk-input textarea {
    width: 100%;
    height: 40px;
    padding: 0 10px 0 34px;
    border: 1px solid #cfe0ee;
    border-radius: 8px;
    background: #fff;
    color: #1d2b45;
    font-family: inherit;
    font-size: 14.5px;
}

.bk-input-area > i {
    top: 14px;
    transform: none;
}

.bk-input textarea {
    height: auto;
    min-height: 78px;
    padding: 9px 10px 9px 34px;
    resize: vertical;
}

.bk-input input:focus,
.bk-input select:focus,
.bk-input textarea:focus {
    outline: none;
    border-color: var(--hp-green);
    box-shadow: 0 0 0 3px rgba(11, 138, 58, 0.14);
}

.bk-submit {
    height: 46px;
    font-size: 17px;
}

.bk-errors {
    margin-bottom: 12px;
    padding: 10px 14px;
    border: 1px solid #f4c1c1;
    border-radius: 8px;
    background: #fdeeee;
    color: #a82626;
    font-size: 14.5px;
    font-weight: 700;
}

.hp-body .bk-errors p {
    margin: 2px 0;
}

/* রোবটের ফাঁদ: স্ক্রিনের বাইরে (display:none নয়, যাতে রোবট ভরে) */
.bk-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- কেন অনলাইনে ---------- */
.hp-body .bk-check-list {
    margin: 0;
    padding: 6px 14px 12px;
    list-style: none;
}

.bk-check-list li {
    display: flex;
    gap: 10px;
    padding: 6px 0;
    color: #1d2b45;
    font-size: 15px;
    line-height: 1.45;
}

.bk-check-list i {
    flex: 0 0 18px;
    margin-top: 4px;
    color: var(--hp-green-light);
    font-size: 15px;
}

/* ---------- চেম্বারের সময় ---------- */
.bk-hours {
    background: #eaf3fc;
}

.bk-hours .bk-card-title {
    background: transparent;
    color: #123d8e;
}

.hp-body .bk-hours-list {
    margin: 0;
    padding: 2px 14px 14px;
    list-style: none;
}

.bk-hours-list li {
    padding: 6px 0;
    color: #1d2b45;
    font-size: 15px;
    line-height: 1.5;
}

.bk-hours-list li i {
    margin-right: 8px;
    color: #123d8e;
}

.bk-hours-list strong {
    font-weight: 800;
}

/* ---------- আজকের ডাক্তারদের সিরিয়াল ---------- */
.bk-today-item {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #e3edf6;
}

.bk-today-item img {
    flex: 0 0 62px;
    width: 62px;
    height: 70px;
    object-fit: cover;
    object-position: top center;
    border-radius: 50% / 40%;
    background: #e8f1f9;
}

.bk-today-item strong {
    display: block;
    color: #123d8e;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.bk-today-item span {
    display: block;
    font-size: 13.5px;
    line-height: 1.5;
}

.bk-today-spec {
    color: #1d2b45;
}

.bk-today-count {
    color: #0b6d2e;
    font-weight: 700;
}

.bk-today-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    padding: 3px 14px;
    border: 1px solid var(--hp-green);
    border-radius: 8px;
    color: var(--hp-green);
    font-size: 14px;
    font-weight: 800;
}

.bk-today-btn:hover {
    background: var(--hp-green);
    color: #fff;
}

.hp-body .bk-today-empty {
    padding: 18px 14px;
    color: #51627a;
}

.bk-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    margin: 14px;
    border: 1px solid #cfe0ee;
    border-radius: 8px;
    color: #0b6d2e;
    font-size: 15px;
    font-weight: 800;
}

.bk-all-btn:hover {
    border-color: var(--hp-green);
}

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

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

    .bk-row {
        grid-template-columns: 1fr;
    }

    .bk-photo {
        height: 190px;
    }
}

@media print {
    .bk-grid {
        grid-template-columns: 1fr;
    }
}
