.visa-history-table-wrap{overflow-x:auto;margin:20px 0;border:1px solid var(--line);border-radius:8px;background:#fff}
.visa-history-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}
.visa-history-table th{padding:13px 15px;background:var(--navy);color:#fff;font-size:10px;letter-spacing:.06em;text-transform:uppercase}
.visa-history-table td{padding:14px 15px;border-top:1px solid var(--line);color:var(--ink);vertical-align:middle}
.visa-history-table tbody tr:nth-child(even){background:#f8faf9}
.visa-history-table tbody tr:hover{background:#fff7f2}
.visa-history-name{font-weight:800;color:var(--navy)}
.visa-history-status{display:inline-flex;padding:6px 9px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}
.visa-history-status-accepted{background:#e5f3ec;color:#17633f}
.visa-history-status-pending{background:#fff2d9;color:#8c5a00}
.visa-history-status-refused{background:#fbe8e5;color:#943e35}
.visa-history-back{margin-top:24px}
@media(max-width:640px){
  .visa-history-table-wrap{overflow:visible;border:0;background:transparent}
  .visa-history-table,.visa-history-table tbody{display:block;width:100%}
  .visa-history-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .visa-history-table tbody tr{display:grid;gap:0;margin-bottom:12px;padding:8px 13px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 5px 16px rgba(16,38,56,.045)}
  .visa-history-table tbody tr:nth-child(even){background:#fff}
  .visa-history-table td{display:grid;grid-template-columns:minmax(105px, .85fr) 1.2fr;gap:12px;padding:9px 2px;border-top:1px solid #edf0ef;overflow-wrap:anywhere}
  .visa-history-table td:first-child{border-top:0}
  .visa-history-table td::before{content:attr(data-label);color:#647781;font-size:10px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}
}

