.hatm-rs-container { max-width: 720px; margin: 0 auto; font-family: Arial, Helvetica, sans-serif; }

.hatm-rs-search-box { background: #f7f9fb; border: 1px solid #dde3e8; border-radius: 8px; padding: 25px; text-align: center; margin-bottom: 25px; }
.hatm-rs-search-box h3 { margin-top: 0; color: #123b6b; }
.hatm-rs-search-box form { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 14px; }
.hatm-rs-field { display: flex; flex-direction: column; text-align: left; }
.hatm-rs-field label { display: block; font-size: 13px; margin-bottom: 6px; color: #333; line-height: 1; }
.hatm-rs-field input { box-sizing: border-box; padding: 10px 12px; border: 1px solid #cbd3da; border-radius: 4px; min-width: 200px; height: 42px; font-size: 14px; }
.hatm-rs-search-box button { box-sizing: border-box; background: #123b6b; color: #fff; border: none; padding: 0 22px; height: 42px; border-radius: 4px; cursor: pointer; font-size: 14px; font-weight: bold; line-height: 1; }
.hatm-rs-search-box button:hover { background: #0d2c50; }
#hatm-rs-message { color: #b32d2e; margin-top: 12px; font-size: 14px; }

.hatm-result-card { border: 2px solid #123b6b; border-radius: 6px; overflow: hidden; margin-top: 10px; background: #fff; }
.rs-header { background: #123b6b; color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; }
.rs-header h2 { margin: 0; font-size: 20px; }
.rs-header-left { display: flex; align-items: center; }
.rs-logo { max-height: 42px; max-width: 160px; object-fit: contain; }
.rs-header-right { font-weight: bold; color: #000; font-size: 17px; }
.rs-subheader { text-align: center; background: #eef3f9; padding: 8px; font-weight: bold; letter-spacing: 1px; color: #123b6b; font-size: 15px; }

.rs-body { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; padding: 20px; border-bottom: 1px solid #eee; }
.rs-details p { margin: 6px 0; font-size: 14px; color: #000; }
.rs-details p strong { color: #000; font-weight: 700; }

.rs-status-wrap { flex-shrink: 0; }
.rs-badge { display: inline-block; padding: 10px 20px; border-radius: 30px; font-weight: bold; font-size: 14px; letter-spacing: 0.5px; color: #fff; text-align: center; }
.rs-badge-positive { background: #1a7a3c; }
.rs-badge-negative { background: #b32d2e; }
.rs-badge-neutral { background: #666; }

.rs-heading { text-align: center; font-size: 19px; font-weight: bold; color: #123b6b; padding: 20px 24px 0; }

.rs-message { padding: 14px 24px 26px; font-size: 14px; line-height: 1.7; color: #222; }
.rs-message p { margin: 0 0 12px; }
.rs-message ul, .rs-message ol { margin: 0 0 12px; padding-left: 22px; }
.rs-message li { margin-bottom: 6px; }
.rs-message strong, .rs-message b { color: #000; }
.rs-message h1, .rs-message h2, .rs-message h3, .rs-message h4 { color: #123b6b; margin: 16px 0 8px; }
.rs-message a { color: #123b6b; }

.hatm-rs-print-btn { display: block; margin: 15px auto 0; background: #1a7a3c; color: #fff; border: none; padding: 10px 25px; border-radius: 4px; cursor: pointer; }
.hatm-rs-print-btn:hover { background: #135f2d; }

@media (max-width: 600px) {
    .rs-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .rs-header-right { font-size: 15px; }
    .rs-body { flex-direction: column; align-items: flex-start; }
    .hatm-rs-search-box form { flex-direction: column; align-items: stretch; }
    .hatm-rs-field input { min-width: 100%; }
    .hatm-rs-search-box button { width: 100%; }
}

@media print {
    .hatm-rs-search-box, .hatm-rs-print-btn { display: none !important; }
}
