/* ===== หน้าระบบติดตาม MHCI (checkin68) ===== */

#mhci-top {
    color: #e8730c;
}

/* กล่องดาวน์โหลด */
.mhci-download {
    display: flex;
    align-items: center;
    gap: 20px;
    border: 2px solid #e8730c;
    border-radius: 12px;
    padding: 20px 25px;
    background: #fff8f2;
    margin-bottom: 30px;
}

.mhci-download-icon {
    flex: 0 0 90px;
    height: 100px;
    border-radius: 10px;
    background: #e8730c;
    color: #fff;
    font-size: 1.4em;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
}

.mhci-download-body {
    flex: 1 1 auto;
}

.mhci-download-body h2 {
    margin: 0 0 8px;
    font-size: 1.4em;
    color: #333;
}

.mhci-download-body p {
    margin: 0 0 15px;
    color: #555;
}

/* ปุ่ม */
.mhci-btn {
    display: inline-block;
    background: #e8730c;
    color: #fff !important;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: bold;
    margin: 0 10px 8px 0;
    transition: background .2s ease;
}

.mhci-btn:hover {
    background: #c9610a;
}

.mhci-btn-line {
    background: #2b7de9;
}

.mhci-btn-line:hover {
    background: #1f63bd;
}

/* หัวข้อรอง */
.mhci-h2 {
    margin: 35px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #eee;
    font-size: 1.5em;
    color: #333;
}

/* ขั้นตอนการดำเนินงาน */
.mhci-steps {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.mhci-step {
    flex: 1 1 200px;
    border: 1px solid #eee;
    border-top: 4px solid #e8730c;
    border-radius: 10px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .05);
}

.mhci-step-no {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e8730c;
    color: #fff;
    font-weight: bold;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.mhci-step h3 {
    margin: 0 0 8px;
    font-size: 1.15em;
    color: #e8730c;
}

.mhci-step p {
    margin: 0;
    color: #555;
    font-size: .95em;
}

/* ตัวอย่าง PDF */
.mhci-preview {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.mhci-preview iframe {
    width: 100%;
    height: 650px;
    border: 0;
    display: block;
}

/* จอเล็ก */
@media (max-width: 767px) {
    .mhci-download {
        flex-direction: column;
        text-align: center;
    }

    .mhci-preview iframe {
        height: 450px;
    }
}
