/* Trang sinh viên gửi thời hạn tạm trú */
.tt-title { margin: 0 0 12px; font-size: 16px; }
.tt-section { margin-top: 16px; }
.tt-label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; }
.tt-types { display: flex; flex-wrap: wrap; gap: 8px; }
.tt-type { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: 13.5px; background: #fff; }
.tt-type:has(input:checked) { border-color: #1677d2; background: #e8f1fc; color: #0f4c8a; font-weight: 600; }
.tt-or { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: start; background: #f6f7fa; border-radius: 10px; padding: 14px; }
.tt-or-col { min-width: 0; display: flex; flex-direction: column; }
.tt-or-col input { width: 100%; }
.tt-or-sep { align-self: stretch; display: flex; align-items: center; justify-content: center; }
.tt-or-sep span { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.tt-photo-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.tt-photo-btns .btn { flex: 1; justify-content: center; min-width: 140px; padding: 10px 12px; }
.tt-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tt-photo { position: relative; width: 110px; height: 80px; border-radius: 6px; overflow: hidden; border: 1px solid var(--border); background: #e9ecf2; }
.tt-photo img { width: 100%; height: 100%; object-fit: cover; }
.tt-photo button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(15, 23, 42, .7); color: #fff; cursor: pointer; font-size: 12px; line-height: 22px; padding: 0; }
.tt-suggest { margin-top: 6px; font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tt-suggest:empty { display: none; }
.tt-chip { border: 1px solid #1677d2; background: #fff; color: #1677d2; border-radius: 999px; padding: 3px 10px; font: inherit; font-size: 12.5px; cursor: pointer; }
.tt-chip.best { background: #1677d2; color: #fff; }
.tt-submit { width: 100%; justify-content: center; padding: 12px; font-size: 15px; margin-top: 6px; }
.kbtt-tag.tt-expired { background: #fde2e2; color: #b91c1c; }
.tt-view { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.tt-view img { width: 100%; max-height: 65vh; object-fit: contain; background: #0f172a; border-radius: 8px; }
@media (max-width: 760px) {
  .tt-or { grid-template-columns: 1fr; }
  .tt-or-sep { padding: 2px 0; }
}
