﻿/* ARCHIVESYS — public portal */
* { box-sizing: border-box; }
body { margin: 0; background: #f3f5f9; color: #1c2434; font-family: Tajawal, "Segoe UI", Tahoma, sans-serif; font-size: 15.5px; line-height: 1.7; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.top { background: #0b1f3a; color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 12px; height: 60px; }
.top b { color: #ffd166; letter-spacing: .5px; }
.top span { opacity: .85; }
.top a { margin-right: auto; color: #fff; opacity: .8; font-size: 14px; text-decoration: none; }
.tabs { display: flex; gap: 8px; margin: 24px 0 14px; }
.tabs a { padding: 8px 18px; border-radius: 12px; background: #fff; border: 1.5px solid #e4e8ef; color: #6b7486; text-decoration: none; font-weight: 800; }
.tabs a.on { background: #0b1f3a; border-color: #0b1f3a; color: #fff; }
.card { background: #fff; border: 1px solid #e4e8ef; border-radius: 18px; padding: 22px; box-shadow: 0 1px 2px rgba(16,24,40,.04); margin-bottom: 16px; }
h1 { font-size: 21px; color: #0b1f3a; margin: 0 0 6px; }
.lead { color: #6b7486; margin: 0 0 16px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.grid label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; }
.grid .full { grid-column: 1 / -1; }
.opt { color: #6b7486; font-weight: 500; }
input[type=text], input[type=tel], select, textarea { font: inherit; font-weight: 500; height: 46px; padding: 0 12px; border: 1.5px solid #dfe3ea; border-radius: 12px; background: #f7f9fc; }
textarea { height: auto; padding: 10px 12px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #0047ab; background: #fff; box-shadow: 0 0 0 4px rgba(0,71,171,.12); }
.hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.cap b { direction: ltr; unicode-bidi: isolate; }
.agree { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0; font-size: 14px; }
.agree input { margin-top: 5px; }
.btn { border: 0; background: #b8143f; color: #fff; font: inherit; font-weight: 800; font-size: 16px; height: 50px; padding: 0 28px; border-radius: 14px; cursor: pointer; }
.btn:hover { background: #8f0f31; }
.msg { border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; font-weight: 600; }
.msg.ok { background: #e5f5ec; color: #145c3c; border: 1px solid #bfe5cf; }
.msg.bad { background: #fbe9ee; color: #8f0f31; border: 1px solid #f3c6d2; }
.msg.big .code { font-size: 24px; font-weight: 800; margin: 8px 0; color: #0b1f3a; }
.msg a { color: inherit; font-weight: 800; }
bdi { unicode-bidi: isolate; direction: ltr; }
.result .rs { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.result.st-ready .rs { color: #1e8a5a; } .result.st-rej .rs { color: #b8143f; } .result.st-wait .rs { color: #b38600; } .result.st-done .rs { color: #0b1f3a; }
.result dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; }
.result dt { color: #6b7486; } .result dd { margin: 0; font-weight: 700; }
.rep { margin-top: 12px; padding: 12px; background: #f3f6fb; border-radius: 12px; }
.foot { color: #6b7486; font-size: 13px; text-align: center; margin: 20px 0 40px; }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
