/* Referência: PWA JGV resources/css/theme.css e docs/frontend-theme.md. */
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('ibm-plex-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600 700; font-display: swap; src: url('ibm-plex-sans-latin-600-normal.woff2') format('woff2'); }
:root { --page: #f4f4f4; --surface: #fff; --text: #161616; --muted: #525252; --border: #c6c6c6; --action: #0f62fe; --action-hover: #0043ce; }
body { font-family: 'IBM Plex Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.5; color: var(--text); background: var(--page) radial-gradient(rgba(22,22,22,.045) 1px, transparent 1px); background-size: 20px 20px; }
.shell-nav { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 3%; background: repeating-linear-gradient(135deg,rgba(22,22,22,.03) 0 1px,transparent 1px 6px),var(--page); border-bottom: 1px solid var(--border); }
.shell-nav a { color: var(--text); text-decoration: none; }
.shell-nav a:hover { text-decoration: underline; }
.shell-nav img { width: 180px; height: 64px; object-fit: contain; }
.page-heading { background: var(--surface); border-bottom: 1px solid var(--border); padding: 24px 3%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
h1, .page-heading h1 { font-size: 28px; font-weight: 400; margin: 0 0 8px; }
.page-heading p { color: var(--muted); margin: 0; }
#upload > .container, main.container-fluid { width: 94%; max-width: none; margin-inline: auto; padding: 24px 0; }
.form-surface, .card { background: var(--surface); border: 1px solid var(--border); border-radius: 2px; box-shadow: none; }
.form-surface { padding: 24px; }
.form-label { display: flex; align-items: center; font-size: 16px; color: var(--text); margin-bottom: 8px; }
.required { color: #da1e28; margin-left: 4px; }
.num-circle { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; margin-right: 10px; border: 1px solid var(--border); border-radius: 50%; background: var(--page); color: var(--text); font-size: 14px; font-weight: 600; }
.form-control, .form-select { background-color: var(--page); color: var(--text); border: 0; border-bottom: 1px solid #8d8d8d; border-radius: 0; min-height: 44px; font-size: 16px; }
.form-control:focus, .form-select:focus { background-color: var(--page); border-color: var(--action); outline: 2px solid var(--action); outline-offset: -2px; box-shadow: none; }
.btn { border-radius: 2px; min-height: 44px; padding: 10px 16px; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.btn-primary { background: var(--action); border-color: var(--action); }
.btn-primary:hover { background: var(--action-hover); border-color: var(--action-hover); }
.btn-success { background: #198038; border-color: #198038; }
.btn-danger { background: #da1e28; border-color: #da1e28; }
.btn-secondary, .btn-outline-secondary { background: #393939; border-color: #393939; color: white; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }
.form-text, .text-muted { color: var(--muted) !important; }
.form-check { padding-block: 6px; }
.table { background: var(--surface); font-size: 14px; }
.table th { background: #e0e0e0; font-weight: 600; white-space: normal; }
.table td, .table th { padding: 16px; border-color: var(--border); }
.table-striped > tbody > tr:nth-of-type(odd) { --bs-table-accent-bg: #f4f4f4; }
.table-hover > tbody > tr:hover { --bs-table-accent-bg: #e8e8e8; }
.alert { border-radius: 2px; }
@media (max-width: 767px) {
  #upload > .container, main.container-fluid { width: 96%; }
  .page-heading, .shell-nav { padding-inline: 4%; }
  .form-surface { padding: 16px; }
  h1, .page-heading h1 { font-size: 24px; }
}
.table td:first-child { white-space: nowrap; }
