/* ============================================================
   NETSYS
   Sistema Integrado de Gestão Administrativa
   CPE / PMERJ

   Arquivo: assets/css/netsys.css

   Página:
   - ficha_de_vtr.html

   IMPORTANTE:
   - O cabeçalho institucional continua em style.css
   - O rodapé institucional continua em style.css
   - Este arquivo controla SOMENTE o ambiente NETSYS
============================================================ */


/* ============================================================
   01. VARIÁVEIS DO SISTEMA
============================================================ */

:root {

  --netsys-primary: #0877c9;
  --netsys-primary-dark: #075fa0;
  --netsys-primary-deep: #064f87;
  --netsys-primary-light: #eaf7ff;
  --netsys-primary-soft: #f3faff;

  --netsys-success: #08a73b;
  --netsys-success-dark: #07862f;

  --netsys-info: #0797e5;
  --netsys-info-dark: #0876bd;

  --netsys-pdf: #086ab1;
  --netsys-pdf-dark: #07578f;

  --netsys-danger: #d63333;

  --netsys-text: #162a3d;
  --netsys-text-dark: #071a2d;
  --netsys-text-soft: #62798e;
  --netsys-muted: #8093a5;

  --netsys-border: #d9e5ee;
  --netsys-border-light: #e9f0f5;

  --netsys-bg: #f5fbff;
  --netsys-bg-soft: #eef8fd;
  --netsys-white: #ffffff;

  --netsys-sidebar-width: 235px;
  --netsys-topbar-height: 64px;

  --netsys-radius-sm: 5px;
  --netsys-radius: 8px;
  --netsys-radius-lg: 12px;

  --netsys-shadow:
    0 5px 20px rgba(22, 70, 105, 0.08);

  --netsys-shadow-card:
    0 3px 12px rgba(22, 70, 105, 0.07);

  --netsys-transition:
    0.25s ease;
}


/* ============================================================
   02. RESET INTERNO
============================================================ */

.netsys,
.netsys *,
.netsys *::before,
.netsys *::after {
  box-sizing: border-box;
}

.netsys {
  width: 100%;
  position: relative;
  background: var(--netsys-bg);
  color: var(--netsys-text);
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  line-height: 1.4;
}

.netsys button,
.netsys input,
.netsys select,
.netsys textarea {
  font: inherit;
}

.netsys button,
.netsys a {
  -webkit-tap-highlight-color: transparent;
}

.netsys a {
  text-decoration: none;
}

.netsys button {
  border: 0;
}


/* ============================================================
   03. PÁGINA INTERNA
============================================================ */

.internal-system-page {
  background: #ffffff;
}

.netsys-shell {
  width: 100%;
  min-height: 760px;
  background:
    linear-gradient(
      180deg,
      #f7fcff 0%,
      #eef8fd 100%
    );
}


/* ============================================================
   04. BARRA SUPERIOR NETSYS
============================================================ */

.netsys-topbar {
  position: relative;
  z-index: 40;

  width: 100%;
  min-height: var(--netsys-topbar-height);

  display: flex;
  align-items: center;

  background:
    linear-gradient(
      90deg,
      #ffffff 0%,
      #f8fdff 55%,
      #eef9ff 100%
    );

  border-bottom: 1px solid #dceaf3;

  box-shadow:
    0 2px 9px rgba(30, 82, 117, 0.06);
}


/* ============================================================
   05. BOTÃO MENU LATERAL
============================================================ */

.netsys-sidebar-toggle {
  width: 58px;
  min-width: 58px;
  height: var(--netsys-topbar-height);

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  background: transparent;
  color: var(--netsys-primary);

  font-size: 20px;

  transition:
    color var(--netsys-transition),
    background var(--netsys-transition);
}

.netsys-sidebar-toggle:hover {
  color: var(--netsys-primary-dark);
  background: #eef8ff;
}

.netsys-sidebar-toggle:focus-visible {
  outline: 2px solid var(--netsys-primary);
  outline-offset: -3px;
}


/* ============================================================
   06. MARCA NETSYS
============================================================ */

.netsys-brand {
  display: flex;
  align-items: center;
  gap: 11px;

  min-width: 0;

  color: var(--netsys-primary-dark);
}

.netsys-brand-symbol {
  width: 46px;
  height: 46px;

  flex: 0 0 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--netsys-primary);
  font-size: 26px;

  transform: rotate(-8deg);
}

.netsys-brand-copy {
  display: flex;
  flex-direction: column;

  min-width: 0;
}

.netsys-brand-copy strong {
  color: #095b9a;

  font-size: 23px;
  font-weight: 800;

  line-height: 1;
  letter-spacing: 0.5px;
}

.netsys-brand-copy span {
  margin-top: 4px;

  color: #7591a8;

  font-size: 10px;
  font-weight: 500;

  white-space: nowrap;
}


/* ============================================================
   07. AÇÕES DA BARRA SUPERIOR
============================================================ */

.netsys-topbar-actions {
  margin-left: auto;
  padding: 0 22px;

  display: flex;
  align-items: center;
  gap: 17px;
}

.netsys-status {
  display: flex;
  align-items: center;
  gap: 7px;

  color: #668096;

  font-size: 12px;
  font-weight: 600;
}

.netsys-status i {
  color: #18b35c;
  font-size: 7px;
}

.netsys-notification-button {
  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  cursor: pointer;

  background: transparent;
  color: #507088;

  font-size: 16px;

  transition:
    background var(--netsys-transition),
    color var(--netsys-transition);
}

.netsys-notification-button:hover {
  background: #e8f5fc;
  color: var(--netsys-primary);
}


/* ============================================================
   08. LAYOUT PRINCIPAL
============================================================ */

.netsys-layout {
  width: 100%;

  display: grid;

  grid-template-columns:
    var(--netsys-sidebar-width)
    minmax(0, 1fr);

  align-items: stretch;
}


/* ============================================================
   09. SIDEBAR
============================================================ */

.netsys-sidebar {
  position: relative;
  z-index: 30;

  width: var(--netsys-sidebar-width);

  background: #ffffff;

  border-right: 1px solid #dce9f2;

  box-shadow:
    3px 0 14px rgba(33, 83, 116, 0.05);

  transition:
    width var(--netsys-transition),
    transform var(--netsys-transition);
}

.netsys-sidebar-nav {
  width: 100%;

  padding:
    18px
    10px
    25px;
}


/* ============================================================
   10. TÍTULOS DO MENU
============================================================ */

.netsys-menu-label {
  display: block;

  padding:
    0
    11px
    9px;

  color: #8198aa;

  font-size: 11px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.netsys-system-label {
  margin-top: 24px;
}


/* ============================================================
   11. ITENS DO MENU
============================================================ */

.netsys-menu-item {
  position: relative;

  width: 100%;
  min-height: 36px;

  padding:
    8px
    10px;

  margin-bottom: 2px;

  display: flex;
  align-items: center;
  gap: 12px;

  border-radius: 5px;

  background: transparent;
  color: #1765a1;

  cursor: pointer;

  font-size: 13px;
  font-weight: 500;

  text-align: left;

  transition:
    background var(--netsys-transition),
    color var(--netsys-transition),
    transform var(--netsys-transition);
}

.netsys-menu-item i {
  width: 20px;

  flex: 0 0 20px;

  text-align: center;

  color: #0865a8;

  font-size: 15px;

  transition:
    color var(--netsys-transition);
}

.netsys-menu-item span {
  min-width: 0;
}

.netsys-menu-item:hover {
  background: #f0f9ff;
  color: var(--netsys-primary-dark);

  transform: translateX(2px);
}

.netsys-menu-item.active {
  background:
    linear-gradient(
      90deg,
      #e3f4ff 0%,
      #d8effd 100%
    );

  color: #0069ae;

  font-weight: 700;
}

.netsys-menu-item.active::before {
  content: "";

  position: absolute;

  top: 6px;
  bottom: 6px;
  left: -10px;

  width: 3px;

  border-radius:
    0
    3px
    3px
    0;

  background: var(--netsys-primary);
}

.netsys-menu-item.active i {
  color: var(--netsys-primary);
}

.netsys-logout {
  appearance: none;
}


/* ============================================================
   12. WORKSPACE
============================================================ */

.netsys-workspace {
  min-width: 0;

  padding:
    16px
    20px
    22px;

  background:
    radial-gradient(
      circle at top right,
      rgba(207, 239, 255, 0.35),
      transparent 32%
    ),
    #f6fbfe;
}


/* ============================================================
   13. BREADCRUMB
============================================================ */

.netsys-breadcrumb {
  min-height: 30px;

  margin-bottom: 10px;

  display: flex;
  align-items: center;
  gap: 10px;

  color: #587a93;

  font-size: 11px;
  font-weight: 500;
}

.netsys-breadcrumb a {
  color: var(--netsys-primary);

  transition: color var(--netsys-transition);
}

.netsys-breadcrumb a:hover {
  color: var(--netsys-primary-dark);
}

.netsys-breadcrumb i {
  color: #8aa2b4;
  font-size: 8px;
}

.netsys-breadcrumb span {
  color: #405e74;
}


/* ============================================================
   14. CABEÇALHO DA PÁGINA DA VTR
============================================================ */

.vtr-page-header {
  min-height: 68px;

  margin-bottom: 10px;
  padding:
    10px
    14px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  background: rgba(255, 255, 255, 0.78);

  border:
    1px solid
    #e1edf4;

  border-radius: 8px;
}


/* ============================================================
   15. TÍTULO DA PÁGINA
============================================================ */

.vtr-page-title {
  display: flex;
  align-items: center;
  gap: 13px;

  min-width: 0;
}

.vtr-page-title-icon {
  width: 46px;
  height: 46px;

  flex: 0 0 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #e2f4ff;
  color: var(--netsys-primary);

  font-size: 20px;
}

.vtr-page-title h2 {
  margin: 0;

  color: #0a467c;

  font-size: 23px;
  font-weight: 700;

  line-height: 1.15;
}

.vtr-page-title p {
  margin:
    3px
    0
    0;

  color: #7990a3;

  font-size: 11px;
}


/* ============================================================
   16. DATA/HORA
============================================================ */

.vtr-current-date {
  min-width: 225px;

  padding:
    8px
    12px;

  display: grid;

  grid-template-columns:
    25px
    1fr
    auto;

  align-items: center;
  gap: 8px;

  border:
    1px solid
    #d8ebf7;

  border-radius: 7px;

  background: #f6fcff;
}

.vtr-current-date > i {
  color: var(--netsys-primary);
  font-size: 17px;
}

.vtr-current-date div {
  display: flex;
  flex-direction: column;
}

.vtr-current-date span {
  color: #7e94a6;

  font-size: 9px;
}

.vtr-current-date strong {
  margin-top: 1px;

  color: #24587e;

  font-size: 10px;
}

.vtr-current-date time {
  padding:
    4px
    9px;

  border-radius: 20px;

  background: #dcf8e8;
  color: #158346;

  font-size: 10px;
  font-weight: 700;
}


/* ============================================================
   17. FORMULÁRIO
============================================================ */

.vtr-form {
  width: 100%;
}


/* ============================================================
   18. DOCUMENTO
============================================================ */

.vtr-document {
  width: 100%;

  overflow: hidden;

  background: #ffffff;

  border:
    1px solid
    #cbd7df;

  box-shadow: var(--netsys-shadow-card);
}


/* ============================================================
   19. CABEÇALHO DO DOCUMENTO
============================================================ */

.vtr-document-header {
  min-height: 90px;

  display: grid;

  grid-template-columns:
    minmax(340px, 1.1fr)
    minmax(310px, 1.7fr)
    210px;

  border-bottom:
    1px solid
    #4e5a63;
}

.vtr-document-institution {
  min-width: 0;

  padding:
    8px
    10px;

  display: flex;
  align-items: center;
  gap: 9px;
}

.vtr-document-logo {
  width: 72px;
  height: 72px;

  object-fit: contain;
}

.vtr-document-institution > div {
  min-width: 0;

  display: flex;
  flex-direction: column;
}

.vtr-document-institution strong {
  color: #20272c;

  font-size: 10px;
  font-weight: 700;

  line-height: 1.25;
}

.vtr-document-institution span {
  color: #28323a;

  font-size: 9px;

  line-height: 1.35;
}

.vtr-document-institution b {
  font-weight: 500;
}


/* ============================================================
   20. TÍTULO DA FICHA
============================================================ */

.vtr-document-main-title {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 10px;
}

.vtr-document-main-title h1 {
  margin: 0;

  color: #11181d;

  font-size: 17px;
  font-weight: 800;

  text-align: center;

  line-height: 1.2;
}


/* ============================================================
   21. Nº / OPM
============================================================ */

.vtr-document-identification {
  display: grid;

  grid-template-columns:
    1fr
    1fr;

  align-self: center;

  margin-right: 10px;
}

.vtr-document-identification label {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.vtr-document-identification label + label {
  border-left:
    1px solid
    #7e8991;
}

.vtr-document-identification span {
  min-height: 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #1c252b;

  font-size: 9px;
  font-weight: 700;

  text-transform: uppercase;
}

.vtr-document-identification input {
  width: 100%;
  height: 32px;

  padding: 4px;

  border:
    1px solid
    #8a949c;

  border-radius: 0;

  outline: 0;

  background: #ffffff;

  color: #15212a;

  font-size: 12px;
  font-weight: 700;

  text-align: center;
}


/* ============================================================
   22. CAMPOS GERAIS
============================================================ */

.vtr-field {
  min-width: 0;

  padding:
    6px
    7px;

  display: flex;
  flex-direction: column;

  background: #ffffff;
}

.vtr-field > span {
  margin-bottom: 4px;

  color: #1e2931;

  font-size: 9px;
  font-weight: 700;

  text-transform: uppercase;
}

.vtr-field input,
.vtr-field select,
.vtr-field textarea {
  width: 100%;
  min-width: 0;
  height: 30px;

  padding:
    4px
    8px;

  border:
    1px solid
    #aebbc4;

  border-radius: 2px;

  outline: 0;

  background: #ffffff;
  color: #17232b;

  font-size: 11px;

  transition:
    border-color var(--netsys-transition),
    box-shadow var(--netsys-transition),
    background var(--netsys-transition);
}

.vtr-field select {
  cursor: pointer;
}

.vtr-field input:hover,
.vtr-field select:hover,
.vtr-field textarea:hover {
  border-color: #7899af;
}

.vtr-field input:focus,
.vtr-field select:focus,
.vtr-field textarea:focus {
  border-color: var(--netsys-primary);

  box-shadow:
    0 0 0 2px
    rgba(8, 119, 201, 0.10);

  background: #fbfeff;
}

.vtr-field input::placeholder,
.vtr-field textarea::placeholder {
  color: #a2afb8;
}


/* ============================================================
   23. PRIMEIRA LINHA
============================================================ */

.vtr-form-row {
  width: 100%;
}

.vtr-row-primary {
  display: grid;

  grid-template-columns:
    145px
    115px
    160px
    120px
    160px
    minmax(240px, 1fr);

  border-bottom:
    1px solid
    #67737b;
}

.vtr-row-primary .vtr-field {
  border-right:
    1px solid
    #c0c9cf;
}

.vtr-row-primary .vtr-field:last-child {
  border-right: 0;
}


/* ============================================================
   24. LINHA SERVIÇO / USUÁRIO
============================================================ */

.vtr-operational-row {
  width: 100%;

  display: grid;

  grid-template-columns:
    1.45fr
    1.38fr
    1fr;

  border-bottom:
    1px solid
    #68747c;
}


/* ============================================================
   25. FIELDSETS
============================================================ */

.vtr-fieldset {
  min-width: 0;

  margin: 0;
  padding:
    3px
    5px
    6px;

  border: 0;
  border-right:
    1px solid
    #69757d;
}

.vtr-fieldset legend {
  width: 100%;

  padding:
    5px
    3px
    0;

  color: #1a242b;

  font-size: 9px;
  font-weight: 800;

  text-transform: uppercase;
}


/* ============================================================
   26. SERVIÇO
============================================================ */

.vtr-service-fieldset {
  display: grid;

  grid-template-columns:
    1fr
    1.35fr
    90px;
}

.vtr-service-fieldset legend {
  grid-column:
    1 / -1;
}


/* ============================================================
   27. USUÁRIO
============================================================ */

.vtr-user-fieldset {
  display: grid;

  grid-template-columns:
    0.9fr
    1fr
    1fr;
}

.vtr-user-fieldset legend {
  grid-column:
    1 / -1;
}


/* ============================================================
   28. LIBERAÇÃO
============================================================ */

.vtr-release-location {
  justify-content: flex-end;
}


/* ============================================================
   29. MANUTENÇÃO
============================================================ */

.vtr-maintenance-row {
  min-height: 85px;

  display: grid;

  grid-template-columns:
    165px
    220px
    minmax(400px, 1fr);

  border-bottom:
    1px solid
    #68747c;
}


/* ============================================================
   30. TIPO DO MOTORISTA
============================================================ */

.vtr-driver-type {
  margin: 0;
  padding:
    7px
    12px;

  border: 0;
  border-right:
    1px solid
    #aeb8bf;
}

.vtr-driver-type legend {
  width: 100%;

  padding-top: 5px;

  color: #1b252c;

  font-size: 9px;
  font-weight: 800;

  text-transform: uppercase;
}

.vtr-driver-type label {
  margin:
    15px
    10px
    0
    0;

  display: inline-flex;
  align-items: center;
  gap: 5px;

  color: #27333b;

  font-size: 9px;
}

.vtr-driver-type input {
  width: 15px;
  height: 15px;

  accent-color: var(--netsys-primary);
}


/* ============================================================
   31. DATA MANUTENÇÃO
============================================================ */

.vtr-maintenance-date {
  border-right:
    1px solid
    #aeb8bf;
}


/* ============================================================
   32. OPÇÕES MANUTENÇÃO
============================================================ */

.vtr-maintenance-options {
  margin: 0;
  padding:
    6px
    12px;

  border: 0;
}

.vtr-maintenance-options legend {
  width: 100%;

  padding-top: 4px;

  color: #1b252c;

  font-size: 9px;
  font-weight: 800;

  text-transform: uppercase;
}

.vtr-maintenance-option {
  min-height: 19px;

  display: grid;

  grid-template-columns:
    150px
    75px
    75px;

  align-items: center;

  color: #28343c;

  font-size: 9px;
}

.vtr-maintenance-option > span {
  font-weight: 600;

  text-transform: uppercase;
}

.vtr-maintenance-option label {
  display: flex;
  align-items: center;
  gap: 5px;
}

.vtr-maintenance-option input {
  width: 14px;
  height: 14px;

  accent-color: var(--netsys-primary);
}


/* ============================================================
   33. ASSINATURAS
============================================================ */

.vtr-signatures {
  min-height: 78px;

  display: grid;

  grid-template-columns:
    repeat(3, 1fr);
}

.vtr-signature-box {
  min-width: 0;

  padding:
    5px
    10px
    8px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.vtr-signature-box + .vtr-signature-box {
  border-left:
    1px solid
    #aeb8bf;
}

.vtr-signature-box strong {
  color: #252f36;

  font-size: 8px;
  font-weight: 700;

  text-align: center;
}

.signature-line {
  width: 90%;
  height: 1px;

  margin-top: auto;
  margin-bottom: 7px;

  display: block;

  background: #707a81;
}


/* ============================================================
   34. RODAPÉ INTERNO DO DOCUMENTO
============================================================ */

.vtr-document-footer {
  min-height: 20px;

  padding:
    3px
    8px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  border-top:
    1px solid
    #a9b4bb;

  color: #4c5961;

  font-size: 7px;
}


/* ============================================================
   35. AUTENTICAÇÃO
============================================================ */

.vtr-authentication {
  width: 100%;

  min-height: 66px;

  margin-top: 10px;

  padding:
    9px
    13px;

  display: grid;

  grid-template-columns:
    44px
    minmax(250px, 1fr)
    minmax(280px, 420px);

  align-items: center;
  gap: 12px;

  border:
    1px solid
    #cceafb;

  border-radius: 7px;

  background:
    linear-gradient(
      90deg,
      #e3f6ff 0%,
      #effaff 50%,
      #e7f7ff 100%
    );
}

.vtr-authentication-icon {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #cdefff;
  color: var(--netsys-primary);

  font-size: 17px;
}

.vtr-authentication-copy strong {
  display: block;

  margin-bottom: 3px;

  color: #1673b4;

  font-size: 11px;
  font-weight: 700;
}

.vtr-authentication-copy p {
  margin: 0;

  color: #7891a5;

  font-size: 9px;
}

.vtr-authentication-code {
  position: relative;

  min-height: 45px;

  padding:
    6px
    42px
    6px
    10px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border:
    1px solid
    #c9e6f6;

  border-radius: 5px;

  background: rgba(255, 255, 255, 0.7);
}

.vtr-authentication-code > span {
  color: #7491a7;

  font-size: 8px;

  text-align: center;
}

.vtr-authentication-code strong {
  margin-top: 3px;

  color: #166aab;

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.2px;
}

.vtr-authentication-code button {
  position: absolute;

  top: 50%;
  right: 10px;

  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  transform: translateY(-50%);

  border-radius: 4px;

  cursor: pointer;

  background: transparent;
  color: var(--netsys-primary);

  transition:
    background var(--netsys-transition),
    color var(--netsys-transition);
}

.vtr-authentication-code button:hover {
  background: #e0f3fd;
  color: var(--netsys-primary-dark);
}


/* ============================================================
   36. ÁREA DOS BOTÕES
============================================================ */

.vtr-actions {
  width: 100%;

  margin-top: 9px;

  display: grid;

  grid-template-columns:
    1.1fr
    1fr
    1.1fr
    0.8fr;

  gap: 9px;
}


/* ============================================================
   37. BOTÕES
============================================================ */

.vtr-action-button {
  min-height: 51px;

  padding:
    7px
    13px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  border-radius: 5px;

  cursor: pointer;

  font-weight: 600;

  transition:
    transform var(--netsys-transition),
    box-shadow var(--netsys-transition),
    filter var(--netsys-transition),
    border-color var(--netsys-transition),
    background var(--netsys-transition);
}

.vtr-action-button > i {
  flex: 0 0 auto;

  font-size: 20px;
}

.vtr-action-button > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.vtr-action-button strong {
  font-size: 11px;
  font-weight: 700;
}

.vtr-action-button small {
  margin-top: 1px;

  font-size: 8px;
  font-weight: 400;

  opacity: 0.8;
}

.vtr-action-button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 5px 12px
    rgba(19, 67, 101, 0.16);
}

.vtr-action-button:active {
  transform: translateY(0);
}


/* ============================================================
   38. BOTÃO ENVIAR
============================================================ */

.vtr-action-send {
  background:
    linear-gradient(
      135deg,
      #0aaa43,
      #079334
    );

  color: #ffffff;
}

.vtr-action-send:hover {
  filter: brightness(1.05);
}


/* ============================================================
   39. BOTÃO IMPRIMIR
============================================================ */

.vtr-action-print {
  background:
    linear-gradient(
      135deg,
      #0c9ee9,
      #0785d1
    );

  color: #ffffff;
}

.vtr-action-print:hover {
  filter: brightness(1.05);
}


/* ============================================================
   40. BOTÃO PDF
============================================================ */

.vtr-action-pdf {
  background:
    linear-gradient(
      135deg,
      #0879c7,
      #0764a7
    );

  color: #ffffff;
}

.vtr-action-pdf:hover {
  filter: brightness(1.05);
}


/* ============================================================
   41. BOTÃO LIMPAR
============================================================ */

.vtr-action-clear {
  border:
    1px solid
    #94c9e8;

  background: #f8fdff;
  color: #226c9e;
}

.vtr-action-clear:hover {
  border-color: var(--netsys-primary);

  background: #edf9ff;
}


/* ============================================================
   42. USUÁRIO LOGADO NO CABEÇALHO INSTITUCIONAL
============================================================ */

.internal-user-area {
  position: relative;
}

.logged-user-button {
  min-width: 205px;

  padding:
    6px
    10px;

  display: flex;
  align-items: center;
  gap: 9px;

  border:
    1px solid
    rgba(255, 255, 255, 0.12);

  cursor: pointer;

  background: transparent;

  color: #ffffff;

  text-align: left;

  transition:
    background var(--netsys-transition),
    border-color var(--netsys-transition);
}

.logged-user-button:hover {
  background: rgba(255, 255, 255, 0.06);

  border-color: rgba(255, 255, 255, 0.22);
}

.logged-user-avatar {
  width: 38px;
  height: 38px;

  flex: 0 0 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background:
    linear-gradient(
      145deg,
      #9fb7c8,
      #69879c
    );

  color: #ffffff;

  font-size: 17px;
}

.logged-user-data {
  min-width: 0;

  display: flex;
  flex-direction: column;
}

.logged-user-data strong {
  overflow: hidden;

  color: #ffffff;

  font-size: 11px;
  font-weight: 700;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.logged-user-data small {
  margin-top: 2px;

  overflow: hidden;

  color: rgba(255, 255, 255, 0.68);

  font-size: 9px;

  text-overflow: ellipsis;
  white-space: nowrap;
}


/* ============================================================
   43. DROPDOWN DO USUÁRIO
============================================================ */

.logged-user-menu {
  position: absolute;

  top: calc(100% + 8px);
  right: 0;

  z-index: 1000;

  width: 205px;

  overflow: hidden;

  border:
    1px solid
    #d7e5ee;

  border-radius: 7px;

  background: #ffffff;

  box-shadow:
    0 12px 30px
    rgba(0, 0, 0, 0.16);
}

.logged-user-menu[hidden] {
  display: none;
}

.logged-user-menu a,
.logged-user-menu button {
  width: 100%;
  min-height: 39px;

  padding:
    8px
    12px;

  display: flex;
  align-items: center;
  gap: 9px;

  border: 0;

  background: #ffffff;
  color: #244a65;

  cursor: pointer;

  font-size: 11px;

  text-align: left;

  transition:
    background var(--netsys-transition),
    color var(--netsys-transition);
}

.logged-user-menu a:hover,
.logged-user-menu button:hover {
  background: #eff8fd;
  color: var(--netsys-primary);
}

.logged-user-menu i {
  width: 17px;

  text-align: center;
}


/* ============================================================
   44. ESTADOS DOS CAMPOS
============================================================ */

.vtr-field input:disabled,
.vtr-field select:disabled,
.vtr-field textarea:disabled {
  cursor: not-allowed;

  background: #edf2f5;
  color: #8a989f;
}

.vtr-field input:invalid:not(:placeholder-shown) {
  border-color: #d7a0a0;
}


/* ============================================================
   45. SCROLLBAR DO SISTEMA
============================================================ */

.netsys-sidebar::-webkit-scrollbar {
  width: 5px;
}

.netsys-sidebar::-webkit-scrollbar-track {
  background: #f1f7fa;
}

.netsys-sidebar::-webkit-scrollbar-thumb {
  border-radius: 10px;

  background: #b5d1e1;
}


/* ============================================================
   46. TELAS MUITO GRANDES
============================================================ */

@media (min-width: 1600px) {

  :root {
    --netsys-sidebar-width: 245px;
  }

  .netsys-workspace {
    padding:
      18px
      26px
      25px;
  }

  .vtr-document {
    max-width: 1450px;

    margin:
      0
      auto;
  }

  .vtr-authentication,
  .vtr-actions {
    max-width: 1450px;

    margin-left: auto;
    margin-right: auto;
  }

}


/* ============================================================
   47. NOTEBOOKS / DESKTOP MENOR
============================================================ */

@media (max-width: 1350px) {

  :root {
    --netsys-sidebar-width: 215px;
  }

  .netsys-workspace {
    padding:
      14px
      14px
      20px;
  }

  .vtr-row-primary {
    grid-template-columns:
      125px
      100px
      135px
      105px
      135px
      minmax(190px, 1fr);
  }

  .vtr-document-header {
    grid-template-columns:
      minmax(300px, 1.15fr)
      minmax(270px, 1.5fr)
      180px;
  }

  .vtr-document-main-title h1 {
    font-size: 15px;
  }

}


/* ============================================================
   48. TABLET HORIZONTAL
============================================================ */

@media (max-width: 1100px) {

  :root {
    --netsys-sidebar-width: 195px;
  }

  .netsys-brand-copy span {
    display: none;
  }

  .netsys-status {
    display: none;
  }

  .netsys-workspace {
    overflow-x: auto;
  }

  .vtr-document,
  .vtr-authentication,
  .vtr-actions {
    min-width: 900px;
  }

  .vtr-page-header {
    min-width: 900px;
  }

}


/* ============================================================
   49. TABLET VERTICAL
============================================================ */

@media (max-width: 900px) {

  .netsys-layout {
    display: block;
  }

  .netsys-sidebar {
    position: fixed;

    top: 0;
    bottom: 0;
    left: 0;

    z-index: 2000;

    width: 250px;

    overflow-y: auto;

    transform: translateX(-100%);

    box-shadow:
      8px 0 25px
      rgba(0, 0, 0, 0.16);
  }

  .netsys-sidebar.is-open {
    transform: translateX(0);
  }

  .netsys-workspace {
    width: 100%;
  }

  .netsys-topbar {
    position: sticky;
    top: 0;
  }

  .netsys-brand-copy strong {
    font-size: 20px;
  }

  .netsys-topbar-actions {
    padding-right: 12px;
  }

}


/* ============================================================
   50. SMARTPHONE
============================================================ */

@media (max-width: 700px) {

  .netsys-topbar {
    min-height: 56px;
  }

  .netsys-sidebar-toggle {
    width: 48px;
    min-width: 48px;
    height: 56px;
  }

  .netsys-brand-symbol {
    width: 36px;
    height: 36px;

    flex-basis: 36px;

    font-size: 21px;
  }

  .netsys-brand-copy strong {
    font-size: 17px;
  }

  .netsys-topbar-actions {
    gap: 5px;
  }

  .netsys-workspace {
    padding:
      10px
      8px
      16px;
  }

  .netsys-breadcrumb {
    font-size: 10px;
  }

  .vtr-page-header {
    min-width: 0;

    padding: 10px;

    flex-direction: column;
    align-items: stretch;
  }

  .vtr-page-title h2 {
    font-size: 19px;
  }

  .vtr-page-title p {
    font-size: 10px;
  }

  .vtr-current-date {
    min-width: 0;
    width: 100%;
  }

  .vtr-document {
    min-width: 880px;
  }

  .vtr-authentication,
  .vtr-actions {
    min-width: 880px;
  }

  .logged-user-button {
    min-width: 0;

    padding: 5px;
  }

  .logged-user-data {
    display: none;
  }

  .logged-user-avatar {
    width: 34px;
    height: 34px;

    flex-basis: 34px;
  }

}


/* ============================================================
   51. SMARTPHONE PEQUENO
============================================================ */

@media (max-width: 480px) {

  .netsys-brand-symbol {
    display: none;
  }

  .netsys-brand {
    gap: 0;
  }

  .netsys-brand-copy strong {
    font-size: 16px;
  }

  .netsys-notification-button {
    width: 32px;
    height: 32px;
  }

  .vtr-page-title-icon {
    width: 40px;
    height: 40px;

    flex-basis: 40px;

    font-size: 17px;
  }

  .vtr-page-title h2 {
    font-size: 17px;
  }

}


/* ============================================================
   52. SIDEBAR RECOLHIDA EM DESKTOP
   O JAVASCRIPT PODERÁ ADICIONAR .sidebar-collapsed
   EM .netsys
============================================================ */

@media (min-width: 901px) {

  .netsys.sidebar-collapsed .netsys-layout {
    grid-template-columns:
      64px
      minmax(0, 1fr);
  }

  .netsys.sidebar-collapsed .netsys-sidebar {
    width: 64px;
  }

  .netsys.sidebar-collapsed .netsys-menu-label {
    display: none;
  }

  .netsys.sidebar-collapsed .netsys-menu-item {
    justify-content: center;

    padding:
      9px
      5px;
  }

  .netsys.sidebar-collapsed .netsys-menu-item span {
    display: none;
  }

  .netsys.sidebar-collapsed .netsys-menu-item i {
    width: auto;

    flex-basis: auto;

    font-size: 17px;
  }

  .netsys.sidebar-collapsed
  .netsys-menu-item.active::before {
    left: -10px;
  }

}


/* ============================================================
   53. ACESSIBILIDADE
============================================================ */

.netsys button:focus-visible,
.netsys a:focus-visible,
.netsys input:focus-visible,
.netsys select:focus-visible,
.netsys textarea:focus-visible {
  outline:
    2px solid
    var(--netsys-primary);

  outline-offset: 2px;
}


/* ============================================================
   54. REDUÇÃO DE MOVIMENTO
============================================================ */

@media (prefers-reduced-motion: reduce) {

  .netsys *,
  .netsys *::before,
  .netsys *::after {
    scroll-behavior: auto !important;

    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

}


/* ============================================================
   55. IMPRESSÃO

   Na impressão:
   - cabeçalho institucional desaparece
   - menu NETSYS desaparece
   - barra superior desaparece
   - breadcrumb desaparece
   - título externo desaparece
   - autenticação desaparece
   - botões desaparecem
   - rodapé do SITE desaparece
   - somente a FICHA é impressa
============================================================ */

@media print {

  @page {
    size: A4 landscape;
    margin: 8mm;
  }

  html,
  body {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;
  }

  .site-header,
  .site-footer,
  .back-to-top,
  .netsys-topbar,
  .netsys-sidebar,
  .netsys-breadcrumb,
  .vtr-page-header,
  .vtr-authentication,
  .vtr-actions {
    display: none !important;
  }

  .netsys,
  .netsys-shell,
  .netsys-layout,
  .netsys-workspace,
  .vtr-form {
    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    display: block !important;

    overflow: visible !important;

    background: #ffffff !important;

    box-shadow: none !important;
  }

  .vtr-document {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;

    border:
      1px solid
      #000000 !important;

    box-shadow: none !important;

    page-break-inside: avoid;
  }

  .vtr-document *,
  .vtr-document *::before,
  .vtr-document *::after {
    box-shadow: none !important;

    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .vtr-document-header {
    grid-template-columns:
      1.25fr
      1.7fr
      190px;
  }

  .vtr-document-logo {
    width: 62px;
    height: 62px;
  }

  .vtr-document-main-title h1 {
    font-size: 15px;
  }

  .vtr-row-primary {
    grid-template-columns:
      120px
      90px
      125px
      100px
      125px
      minmax(190px, 1fr);
  }

  .vtr-field input,
  .vtr-field select,
  .vtr-field textarea,
  .vtr-document-identification input {
    border-color: #555555 !important;

    background: #ffffff !important;
    color: #000000 !important;
  }

  .vtr-field input,
  .vtr-field select {
    height: 27px;
  }

  .vtr-maintenance-row {
    min-height: 70px;

    grid-template-columns:
      150px
      190px
      1fr;
  }

  .vtr-signatures {
    min-height: 68px;
  }

}


/* ============================================================
   56. FIM
============================================================ */

/* ============================================================
   57. AJUSTE FINAL — LOGO OFICIAL SIGA NA BARRA SUPERIOR
============================================================ */

.netsys-topbar {
  height: var(--netsys-topbar-height);
  min-height: var(--netsys-topbar-height);
  max-height: var(--netsys-topbar-height);
  overflow: hidden;
}

.netsys-brand {
  height: 100%;
  max-height: var(--netsys-topbar-height);
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}

.netsys-brand img,
.netsys-brand-logo,
.netsys-logo,
.siga-logo,
img.netsys-brand-image {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 255px !important;
  max-height: 50px !important;
  object-fit: contain;
  object-position: left center;
  flex: 0 1 auto;
}

.netsys-brand:has(img) .netsys-brand-symbol,
.netsys-brand:has(img) .netsys-brand-copy {
  display: none;
}

.netsys-topbar .netsys-brand img {
  position: static !important;
  inset: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

@media (max-width: 1100px) {
  .netsys-brand img,
  .netsys-brand-logo,
  .netsys-logo,
  .siga-logo,
  img.netsys-brand-image {
    max-width: 225px !important;
    max-height: 46px !important;
  }
}

@media (max-width: 900px) {
  .netsys-brand img,
  .netsys-brand-logo,
  .netsys-logo,
  .siga-logo,
  img.netsys-brand-image {
    max-width: 210px !important;
    max-height: 44px !important;
  }
}

@media (max-width: 700px) {
  :root {
    --netsys-topbar-height: 56px;
  }

  .netsys-topbar {
    height: 56px;
    min-height: 56px;
    max-height: 56px;
  }

  .netsys-brand img,
  .netsys-brand-logo,
  .netsys-logo,
  .siga-logo,
  img.netsys-brand-image {
    max-width: 185px !important;
    max-height: 40px !important;
  }
}

@media (max-width: 480px) {
  .netsys-brand img,
  .netsys-brand-logo,
  .netsys-logo,
  .siga-logo,
  img.netsys-brand-image {
    max-width: 155px !important;
    max-height: 36px !important;
  }

  .netsys-sidebar-toggle {
    width: 44px;
    min-width: 44px;
  }
}

