/* Load */
.load {
	position: fixed;
	display: none;
	top:    0;
	right:  0;
	left:   0;
   
	background-color: #000;
	color: #fff;
	text-align: center;
	width: 100%;
	height: 100%; 
	padding: 10px;
	filter:opacity(alpha=60);
	-moz-opacity:0.7;
	opacity:0.7;
}
.load i {
	position: absolute;
	top:50%;
	left: 50%;
	margin-top: auto;
	margin-left: auto; 
	text-align: center;
}

  .alert {
    top: 140px !important;
    font-size: 30px;
  }

#block {
  opacity: 0.8;
  background-color: #000;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 98;
  top: 0;
  left: 0;
  display: none;
}

.modal300 {
  width: 300px;
  height: 150px;
  left: 50%;
  top: 50%;
  margin: -150px 0 0 -150px;
  position: fixed;
  background-color: #fff;
  z-index: 99;
  display: none;
  border-radius: 5px;
  padding: 10px;
}

.btnInput {
  margin-top: 28px !important;
}

/* Load */
.btnsemload {
  margin: 0 1px;
  --bs-btn-padding-x: 0.75rem;
  --bs-btn-padding-y: 0.375rem;
  --bs-btn-font-family: ;
  --bs-btn-font-size: 1rem;
  --bs-btn-font-weight: 400;
  --bs-btn-line-height: 1.5;
  --bs-btn-color: #fff !important;
  --bs-btn-bg: transparent;
  --bs-btn-border-width: 1px;
  --bs-btn-border-color: transparent;
  --bs-btn-border-radius: 0.375rem;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
  --bs-btn-disabled-opacity: 0.65;
  --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
  display: inline-block;
  padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
  font-family: var(--bs-btn-font-family);
  font-size: var(--bs-btn-font-size);
  font-weight: var(--bs-btn-font-weight);
  line-height: var(--bs-btn-line-height);
  color: var(--bs-btn-color);
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
  border-radius: var(--bs-btn-border-radius);
  background-color: var(--bs-btn-bg);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}


.btnsimplessemload {
  margin: 0 1px;
  --bs-btn-padding-x: 3px;
  --bs-btn-padding-y: 1px;
  --bs-btn-font-family: ;
  --bs-btn-font-weight: 400;
  --bs-btn-line-height: 1.5;
  --bs-btn-color: #fff !important;
  --bs-btn-bg: transparent;
  --bs-btn-border-width: 1px;
  --bs-btn-border-color: transparent;
  --bs-btn-border-radius: 0.375rem;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
  --bs-btn-disabled-opacity: 0.65;
  --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
  display: inline-block;
  padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
  font-family: var(--bs-btn-font-family);
  font-size: var(--bs-btn-font-size);
  font-weight: var(--bs-btn-font-weight);
  line-height: var(--bs-btn-line-height);
  color: var(--bs-btn-color);
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
  border-radius: var(--bs-btn-border-radius);
  background-color: var(--bs-btn-bg);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

body {
  background-color:  #F7F7F7;
  margin-top: 145px;
}

th {
  font-size: 12px !important;
  background-color: #39DCFA !important;
}

.card-header {
  background-color: #39DCFA !important;
  text-align: center;
  font-weight: bold;
}

td {
  font-size: 12px !important;
  vertical-align: middle;
}

.titulo {
  border-radius: 5px;
  padding: 10px;
  font-size: 14px !important;
  font-weight: bold;
  white-space: nowrap;
}

.subtitulo {
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 12px !important;
  font-weight: bold;
  white-space: nowrap;
  margin: 5px 0;
}

label {
  font-size: 12px !important;
  font-weight: bold;
}

.col {
    margin-top: 30px;
}

.form-col {
    padding-top: 10px;
}

.form-label {
    margin-bottom: 0;
}

.form-control, .form-select {
  border-color: #666;
}
.menu {
  text-align: center;
}

.brand {
  text-align: center;
}

.customnav {
  padding-top: 5px;
  height: 125px;
  box-shadow: 10px 10px 5px #aaaaaa;
}

h5 {
  font-size: 14px;
  font-weight: bolder;
}

@media (min-width: 768px) {

  body {
    margin-top: 100px;
  }

  .customnav {
    padding-top: 15px;
    height: 85px;
  }

  .menu {
    text-align: right;
  }        

  .brand {
    text-align: left;
  }

  .alert {
    top: 100px !important;
  }

  #scrolly { min-height: 65px;}
  #scrolly::-webkit-scrollbar { height: 10px; background: transparent; } /* configurando scroll */
  #scrolly::-webkit-scrollbar-track { background: rgba(0,0,0,0.0); }
  #scrolly::-webkit-scrollbar-thumb { border-radius:10px; background: #FFF; }  

  #scroll { min-height: 50px;}
  #scroll::-webkit-scrollbar { height: 10px; background: transparent; } /* configurando scroll */
  #scroll::-webkit-scrollbar-track { background: rgba(0,0,0,0.0); }
  #scroll::-webkit-scrollbar-thumb { border-radius:10px; background: #8AC960; }  	        

}

#scrolly {
  min-height: 62px;
  overflow: auto;
  overflow-y: hidden;
  margin: 0 auto;
  white-space: nowrap;
}
          
#scroll {
    padding-top: 8px;
  width: 100%;
  overflow: auto;
  overflow-y: hidden;
  margin: 0 auto;
  white-space: nowrap;
  text-align: center;
  border: 1px solid #8AC960;
  background-color: #fff;
  border-radius: 5px;
}

/* ================================================================
   SISTEMARC CLEAN UI — identidade neutra com azul somente em destaque
   ================================================================ */

body.systemarc-app-page {
  --systemarc-background: #f6f8fb;
  --systemarc-surface: #ffffff;
  --systemarc-text: #1f2937;
  --systemarc-muted: #64748b;
  --systemarc-border: #dde4ed;
  --systemarc-blue: #2563eb;
  --systemarc-navy: #1f2937;
  --systemarc-shadow: 0 10px 30px rgba(15, 23, 42, .065);
  background: var(--systemarc-background);
  color: var(--systemarc-text);
}

.systemarc-app-page .customnav {
  height: 88px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(148, 163, 184, .24);
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .075);
  backdrop-filter: blur(16px);
}

.systemarc-app-page .customnav .navbar-brand img {
  max-height: 58px;
  filter: drop-shadow(0 4px 10px rgba(15, 23, 42, .12));
}

.systemarc-app-page .customnav #scrolly {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-height: 62px;
}

.systemarc-app-page .customnav .btn-primary,
.systemarc-app-page .customnav .btn-primary-tamanhoespecial {
  min-height: 54px;
  padding: .4rem .62rem;
  border: 1px solid #dbe3ec !important;
  border-radius: 12px;
  background: #fff !important;
  color: #1f2937 !important;
  font-size: clamp(9px, .78vw, 11px) !important;
  font-weight: 650;
  line-height: 1.14;
  box-shadow: none;
  transition: border-color .18s ease, background-color .18s ease,
    color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.systemarc-app-page .customnav .btn-primary i,
.systemarc-app-page .customnav .btn-primary-tamanhoespecial i {
  color: #2563eb;
  font-size: 18px !important;
}

.systemarc-app-page .customnav .btn-primary:hover,
.systemarc-app-page .customnav .btn-primary:focus-visible,
.systemarc-app-page .customnav .btn-primary-tamanhoespecial:hover,
.systemarc-app-page .customnav .btn-primary-tamanhoespecial:focus-visible {
  border-color: #2563eb !important;
  background: #f8fbff !important;
  color: #1d4ed8 !important;
  box-shadow: 0 7px 18px rgba(37, 99, 235, .10);
  transform: translateY(-1px);
}

.systemarc-app-page .customnav .dropdown-menu {
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .13);
}

.systemarc-app-page .customnav .dropdown-item {
  padding: 9px 11px;
  border-radius: 8px;
  color: #334155;
  font-size: 13px;
}

.systemarc-app-page .customnav .dropdown-item:hover {
  background: #f1f5f9;
  color: #1d4ed8;
}

.systemarc-app-page .bg1,
.systemarc-app-page .bg2,
.systemarc-app-page .bg3,
.systemarc-app-page .card-header,
.systemarc-app-page th {
  background: #f8fafc !important;
  color: #1f2937 !important;
}

.systemarc-app-page .titulo.bg1,
.systemarc-app-page .titulo.bg2,
.systemarc-app-page .titulo.bg3 {
  border-bottom: 1px solid #e2e8f0;
  background: #fff !important;
  color: #1f2937 !important;
}

.systemarc-app-page .card {
  border-color: #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .055);
}

.systemarc-app-page .card-header {
  border-bottom-color: #e2e8f0;
  font-weight: 700;
}

.systemarc-app-page .table > :not(caption) > * > * {
  border-bottom-color: #e8edf3;
}

.systemarc-app-page .table tbody tr:hover {
  background: #f8fafc;
}

.systemarc-app-page .form-control,
.systemarc-app-page .form-select {
  border-color: #d7e0ea;
  background-color: #fff;
  color: #1f2937;
  box-shadow: none;
}

.systemarc-app-page .form-control:focus,
.systemarc-app-page .form-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}

.systemarc-app-page .btn-primary:not(.customnav .btn-primary) {
  border-color: #2563eb !important;
  background: #2563eb !important;
  color: #fff !important;
  box-shadow: 0 5px 13px rgba(37, 99, 235, .16);
}

.systemarc-app-page .btn-primary:not(.customnav .btn-primary):hover {
  border-color: #1d4ed8 !important;
  background: #1d4ed8 !important;
}

.systemarc-dashboard-hero {
  border-color: #e2e8f0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .055);
}

.systemarc-dashboard-clock {
  border-color: #e2e8f0;
  background: #f8fafc;
}

body.systemarc-login-page {
  background:
    radial-gradient(circle at 10% 5%, rgba(37, 99, 235, .07), transparent 30%),
    linear-gradient(145deg, #f8fafc, #eef3f8);
  color: #1f2937;
}

.systemarc-login-status {
  border: 1px solid #e2e8f0;
  background: rgba(255,255,255,.78);
  color: #475569;
}

.systemarc-login-kicker {
  color: #2563eb;
}

.systemarc-login-footer {
  color: #64748b;
}

@media (max-width: 767px) {
  .systemarc-app-page .customnav {
    height: 122px;
    background: rgba(255, 255, 255, .98) !important;
  }

  .systemarc-app-page .customnav #scrolly {
    justify-content: flex-start;
  }
}

/* Compatibilidade visual para rotinas legadas que ainda abrem <body> sem classe. */
body:not(.systemarc-login-page):not(.systemarc-app-page) {
  background: #f6f8fb;
  color: #1f2937;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

body:not(.systemarc-login-page):not(.systemarc-app-page) .customnav {
  height: 88px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(148, 163, 184, .24);
  background: rgba(255,255,255,.96) !important;
  color: #1f2937;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .075);
}

body:not(.systemarc-login-page):not(.systemarc-app-page) .customnav .navbar-brand img {
  max-height: 58px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(15, 23, 42, .12));
}

body:not(.systemarc-login-page):not(.systemarc-app-page) .customnav .btn-primary {
  min-height: 54px;
  padding: .4rem .62rem;
  border: 1px solid #dbe3ec !important;
  border-radius: 12px;
  background: #fff !important;
  color: #1f2937 !important;
  font-size: clamp(9px, .78vw, 11px) !important;
  font-weight: 650;
  line-height: 1.14;
  box-shadow: none;
}

body:not(.systemarc-login-page):not(.systemarc-app-page) .customnav .btn-primary i {
  color: #2563eb;
  font-size: 18px !important;
}

body:not(.systemarc-login-page):not(.systemarc-app-page) .customnav .btn-primary:hover {
  border-color: #2563eb !important;
  background: #f8fbff !important;
  color: #1d4ed8 !important;
}

body:not(.systemarc-login-page):not(.systemarc-app-page) .bg1,
body:not(.systemarc-login-page):not(.systemarc-app-page) .bg2,
body:not(.systemarc-login-page):not(.systemarc-app-page) .bg3,
body:not(.systemarc-login-page):not(.systemarc-app-page) .card-header,
body:not(.systemarc-login-page):not(.systemarc-app-page) th {
  background: #f8fafc !important;
  color: #1f2937 !important;
}

body:not(.systemarc-login-page):not(.systemarc-app-page) .titulo.bg1,
body:not(.systemarc-login-page):not(.systemarc-app-page) .titulo.bg2,
body:not(.systemarc-login-page):not(.systemarc-app-page) .titulo.bg3 {
  border-bottom: 1px solid #e2e8f0;
  background: #fff !important;
  color: #1f2937 !important;
}

body:not(.systemarc-login-page):not(.systemarc-app-page) .card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .055);
}

body:not(.systemarc-login-page):not(.systemarc-app-page) .btn-primary {
  border-color: #2563eb !important;
  background: #2563eb !important;
  color: #fff !important;
}

body:not(.systemarc-login-page):not(.systemarc-app-page) .form-control,
body:not(.systemarc-login-page):not(.systemarc-app-page) .form-select {
  border-color: #d7e0ea;
  background-color: #fff;
  color: #1f2937;
}

/* SISTEMARC 2026 — camada visual compatível com as telas legadas */
:root {
  --systemarc-navy: #07264d;
  --systemarc-blue: #075fba;
  --systemarc-cyan: #28c7e8;
  --systemarc-surface: #ffffff;
  --systemarc-background: #f2f6fb;
  --systemarc-text: #15263c;
  --systemarc-muted: #64748b;
  --systemarc-border: #dce6f1;
  --systemarc-success: #15803d;
  --systemarc-danger: #c62828;
  --systemarc-shadow: 0 12px 35px rgba(7, 38, 77, .09);
}

body.systemarc-app-page {
  background: var(--systemarc-background);
  color: var(--systemarc-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

.systemarc-app-page .customnav {
  height: 92px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  background: linear-gradient(120deg, var(--systemarc-navy), #064781 62%, #057da5) !important;
  box-shadow: 0 8px 30px rgba(7, 38, 77, .22);
}

.systemarc-app-page .customnav .navbar-brand img {
  max-height: 55px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.22));
}

.systemarc-app-page .btn-primary {
  --bs-btn-bg: var(--systemarc-blue);
  --bs-btn-border-color: var(--systemarc-blue);
  --bs-btn-hover-bg: #064e98;
  --bs-btn-hover-border-color: #064e98;
  border-radius: 10px;
  font-weight: 650;
  box-shadow: 0 3px 10px rgba(7,95,186,.16);
}

.systemarc-app-page .customnav .btn-primary {
  --bs-btn-bg: rgba(255,255,255,.09);
  --bs-btn-border-color: rgba(255,255,255,.16);
  --bs-btn-hover-bg: rgba(255,255,255,.18);
  --bs-btn-hover-border-color: rgba(255,255,255,.30);
  min-height: 62px;
  color: #fff;
  box-shadow: none;
}

.systemarc-app-page .customnav .btn-primary-tamanhoespecial {
  min-height: 58px;
  padding: .36rem .52rem;
  font-size: 9px !important;
  line-height: 1.12;
  letter-spacing: -.01em;
}

.systemarc-app-page .customnav .btn-primary-tamanhoespecial .fa-2x {
  font-size: 1.75em;
}

.systemarc-app-page .card {
  border: 1px solid var(--systemarc-border);
  border-radius: 16px;
  background: var(--systemarc-surface);
  box-shadow: var(--systemarc-shadow);
  overflow: hidden;
}

.systemarc-app-page .card-header,
.systemarc-app-page th {
  background: #e8f6fb !important;
  color: var(--systemarc-navy);
}

.systemarc-app-page .card-header {
  min-height: 48px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--systemarc-border);
  font-size: 13px;
  letter-spacing: .035em;
}

.systemarc-app-page td,
.systemarc-app-page th,
.systemarc-app-page label {
  font-size: 13px !important;
}

.systemarc-app-page .table > :not(caption) > * > * {
  padding: .65rem .6rem;
  border-bottom-color: #e7edf4;
}

.systemarc-app-page .table tbody tr:hover {
  background: #f7fbff;
}

.systemarc-app-page .form-control,
.systemarc-app-page .form-select,
.systemarc-login-page .form-control {
  min-height: 42px;
  border-color: #cbd8e6;
  border-radius: 9px;
}

.systemarc-app-page .form-control:focus,
.systemarc-app-page .form-select:focus,
.systemarc-login-page .form-control:focus {
  border-color: var(--systemarc-blue);
  box-shadow: 0 0 0 .22rem rgba(7,95,186,.13);
}

.systemarc-app-page .alert {
  left: 50%;
  width: min(720px, calc(100% - 32px));
  transform: translateX(-50%);
  border: 0;
  border-radius: 14px;
  box-shadow: var(--systemarc-shadow);
  font-size: 15px !important;
}

.systemarc-dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 10px 0 24px;
  padding: 24px 28px;
  border: 1px solid rgba(7,95,186,.10);
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 10%, rgba(40,199,232,.16), transparent 34%),
    linear-gradient(120deg, #fff, #f7fbff);
  box-shadow: var(--systemarc-shadow);
}

.systemarc-dashboard-kicker {
  color: var(--systemarc-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.systemarc-dashboard-hero h1 {
  margin: 4px 0;
  color: var(--systemarc-navy);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.03em;
}

.systemarc-dashboard-hero p {
  margin: 0;
  color: var(--systemarc-muted);
}

.systemarc-dashboard-clock {
  min-width: 176px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0 10px;
  padding: 12px 16px;
  border: 1px solid var(--systemarc-border);
  border-radius: 13px;
  background: #fff;
  color: var(--systemarc-navy);
}

.systemarc-dashboard-clock i { grid-row: 1 / 3; color: var(--systemarc-blue); font-size: 20px; }
.systemarc-dashboard-clock span { font-weight: 800; }
.systemarc-dashboard-clock small { color: var(--systemarc-muted); }

/* O painel precisa permanecer em uma linha com zoom de 100%. */
.systemarc-dashboard-hero + .row .card-header {
  padding: 12px 14px;
  font-size: 12px;
}

.systemarc-dashboard-hero + .row .card-body {
  padding: 12px 14px;
}

.systemarc-dashboard-hero + .row .table > :not(caption) > * > * {
  padding: .62rem .45rem;
}

.systemarc-dashboard-hero + .row .table td {
  vertical-align: middle;
  font-size: 11px !important;
  line-height: 1.25;
  white-space: nowrap;
}

.systemarc-dashboard-hero + .row .table td:first-child {
  width: 100%;
}

.systemarc-dashboard-hero + .row .table td:last-child {
  width: 1%;
  min-width: 42px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .systemarc-dashboard-hero { align-items: flex-start; padding: 20px; }
  .systemarc-dashboard-clock { display: none; }
}

body.systemarc-login-page {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(40,199,232,.20), transparent 32%),
    radial-gradient(circle at 88% 85%, rgba(7,95,186,.22), transparent 33%),
    linear-gradient(135deg, #041a36, #073f72 58%, #075f78);
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

.systemarc-login-page main {
  min-height: calc(100vh - 54px);
  display: grid;
  place-items: center;
  padding: 32px;
}

.systemarc-login-shell {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  align-items: center;
  gap: clamp(32px, 7vw, 96px);
}

.systemarc-login-brand img {
  display: block;
  width: min(260px, 66%);
  max-height: 100px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 34px;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,.25));
}

.systemarc-login-kicker {
  display: block;
  margin-bottom: 10px;
  color: #7fe8f7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.systemarc-login-brand h1 {
  margin: 0 0 18px;
  max-width: 620px;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.systemarc-login-brand p {
  max-width: 560px;
  color: rgba(255,255,255,.76);
  font-size: 17px;
  line-height: 1.65;
}

.systemarc-login-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.88);
  font-size: 13px;
}

.systemarc-login-card {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 24px;
  background: rgba(255,255,255,.97);
  color: var(--systemarc-text);
  box-shadow: 0 28px 80px rgba(0,0,0,.27);
  backdrop-filter: blur(16px);
}

.systemarc-login-card h2 {
  margin: 0 0 6px;
  color: var(--systemarc-navy);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.025em;
}

.systemarc-login-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--systemarc-blue), var(--systemarc-cyan));
  color: #fff;
  font-size: 19px;
  box-shadow: 0 10px 24px rgba(7,95,186,.28);
}

.systemarc-login-form {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.systemarc-login-form label {
  color: #31455f;
  font-size: 13px !important;
}

.systemarc-login-form .input-group-text {
  min-width: 46px;
  justify-content: center;
  border-color: #cbd8e6;
  background: #f5f8fc;
  color: #55708e;
}

.systemarc-password-toggle {
  border: 1px solid #cbd8e6;
  background: #f5f8fc;
  color: #45627f;
}

.systemarc-login-submit {
  min-height: 48px;
  margin-top: 4px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(110deg, var(--systemarc-blue), #0685ae);
  font-weight: 750;
  box-shadow: 0 12px 26px rgba(7,95,186,.25);
}

.systemarc-login-submit i { margin-left: 8px; }

.systemarc-login-footer {
  height: 54px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.58);
  font-size: 12px;
}

@media (max-width: 850px) {
  .systemarc-login-shell { grid-template-columns: 1fr; max-width: 500px; }
  .systemarc-login-brand { text-align: center; }
  .systemarc-login-brand img { margin-inline: auto; object-position: center; }
  .systemarc-login-brand p { margin-inline: auto; }
  .systemarc-login-status { display: none; }
  .systemarc-login-page main { padding: 24px 16px; }
}

@media (max-width: 767px) {
  body.systemarc-app-page { margin-top: 134px; }
  .systemarc-app-page .customnav { height: 122px; }
  .systemarc-app-page .customnav .btn-primary { min-height: 58px; }
  .systemarc-app-page td,
  .systemarc-app-page th { font-size: 12.5px !important; }
}



.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

main {
  min-height: 90vh;
}

.c1 {
  color: #054a98 !important; 
}
                            
                            

.b0 {
  border: 0;
}


.b1 {
  border: 1px solid #054a98; 
  border-radius: 5px;
}

.bg2 {
  background-color: #054a98;
  color: #fff;
}

.bg3 {
  background-color: #39DCFA !important;
  color: #054a98;
}

.bg4 {
  background-color: #E9ECEF !important;
}

.bgcinza {
  background-color: #f5f5f5 !important;
}

.bg1 {
  color: #fff;
  background: linear-gradient(180deg, rgba(2,0,36,1) 0%, rgba(0,225,255,1) 0%, rgba(5,74,152,1) 100%);
  font-weight: bold;
}

.accordion-button {
  background-color: #054a98;
  color: #fff;
}

.accordion-button.collapsed {
  background-color: #054a98 !important;
  color: #fff;
}

.accordion-button.active {
  background-color: #054a98 !important;
  color: #fff;
}

.accordion-button.collapsed::after {
  background-color: #054a98 !important;
  color: #fff;
}

.btn-primary {
  background: #054a98 !important; /* rgb(5,74,152); */
}

.btn-primary-tamanhoespecial, .btn-warning-tamanhoespecial {
  font-size: 10px;
}



.btn {
  margin: 0 1px;
}

.btnsemload {
  margin: 0 1px;
  --bs-btn-padding-x: 0.75rem;
  --bs-btn-padding-y: 0.375rem;
  --bs-btn-font-family: ;
  --bs-btn-font-size: 1rem;
  --bs-btn-font-weight: 400;
  --bs-btn-line-height: 1.5;
  --bs-btn-color: #212529;
  --bs-btn-bg: transparent;
  --bs-btn-border-width: 1px;
  --bs-btn-border-color: transparent;
  --bs-btn-border-radius: 0.375rem;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
  --bs-btn-disabled-opacity: 0.65;
  --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
  display: inline-block;
  padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
  font-family: var(--bs-btn-font-family);
  font-size: var(--bs-btn-font-size);
  font-weight: var(--bs-btn-font-weight);
  line-height: var(--bs-btn-line-height);
  color: var(--bs-btn-color);
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
  border-radius: var(--bs-btn-border-radius);
  background-color: var(--bs-btn-bg);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}





.btn-w1 {
  width: 200px;
  margin: 5px;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.b-example-divider {
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 3.3 rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

/* Camada final: prevalece sobre as regras legadas acima. */
body.systemarc-app-page {
  --systemarc-background: #f6f8fb;
  --systemarc-surface: #fff;
  --systemarc-text: #1f2937;
  --systemarc-muted: #64748b;
  --systemarc-border: #dde4ed;
  --systemarc-blue: #2563eb;
  --systemarc-navy: #1f2937;
  --systemarc-shadow: 0 10px 30px rgba(15, 23, 42, .065);
  background: #f6f8fb;
  color: #1f2937;
}

.systemarc-app-page .btn-primary {
  border-color: #2563eb !important;
  background: #2563eb !important;
  color: #fff !important;
  box-shadow: 0 5px 13px rgba(37, 99, 235, .16);
}

.systemarc-app-page .btn-primary:hover,
.systemarc-app-page .btn-primary:focus-visible {
  border-color: #1d4ed8 !important;
  background: #1d4ed8 !important;
}

.systemarc-app-page .customnav {
  height: 88px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(148, 163, 184, .24);
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .075);
  backdrop-filter: blur(16px);
}

.systemarc-app-page .customnav .navbar-brand img {
  max-height: 58px;
  filter: drop-shadow(0 4px 10px rgba(15, 23, 42, .12));
}

.systemarc-app-page .customnav #scrolly {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-height: 62px;
}

.systemarc-app-page .customnav .btn-primary,
.systemarc-app-page .customnav .btn-primary-tamanhoespecial {
  min-height: 54px;
  padding: .4rem .62rem;
  border: 1px solid #dbe3ec !important;
  border-radius: 12px;
  background: #fff !important;
  color: #1f2937 !important;
  font-size: clamp(9px, .78vw, 11px) !important;
  font-weight: 650;
  line-height: 1.14;
  box-shadow: none;
  transition: border-color .18s ease, background-color .18s ease,
    color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.systemarc-app-page .customnav .btn-primary i,
.systemarc-app-page .customnav .btn-primary-tamanhoespecial i {
  color: #2563eb;
  font-size: 18px !important;
}

.systemarc-app-page .customnav .btn-primary:hover,
.systemarc-app-page .customnav .btn-primary:focus-visible,
.systemarc-app-page .customnav .btn-primary-tamanhoespecial:hover,
.systemarc-app-page .customnav .btn-primary-tamanhoespecial:focus-visible {
  border-color: #2563eb !important;
  background: #f8fbff !important;
  color: #1d4ed8 !important;
  box-shadow: 0 7px 18px rgba(37, 99, 235, .10);
  transform: translateY(-1px);
}

.systemarc-app-page .customnav .dropdown-menu {
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .13);
}

.systemarc-app-page .customnav .dropdown-item {
  padding: 9px 11px;
  border-radius: 8px;
  color: #334155;
  font-size: 13px;
}

.systemarc-app-page .customnav .dropdown-item:hover {
  background: #f1f5f9;
  color: #1d4ed8;
}

.systemarc-app-page .bg1,
.systemarc-app-page .bg2,
.systemarc-app-page .bg3,
.systemarc-app-page .card-header,
.systemarc-app-page th {
  background: #f8fafc !important;
  color: #1f2937 !important;
}

.systemarc-app-page .titulo.bg1,
.systemarc-app-page .titulo.bg2,
.systemarc-app-page .titulo.bg3 {
  border-bottom: 1px solid #e2e8f0;
  background: #fff !important;
  color: #1f2937 !important;
}

.systemarc-app-page .card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .055);
}

.systemarc-app-page .card-header {
  border-bottom-color: #e2e8f0;
  font-weight: 700;
}

.systemarc-app-page .table > :not(caption) > * > * {
  border-bottom-color: #e8edf3;
}

.systemarc-app-page .table tbody tr:hover {
  background: #f8fafc;
}

.systemarc-app-page .form-control,
.systemarc-app-page .form-select {
  border-color: #d7e0ea;
  background-color: #fff;
  color: #1f2937;
  box-shadow: none;
}

.systemarc-app-page .form-control:focus,
.systemarc-app-page .form-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}

.systemarc-app-page .accordion-button,
.systemarc-app-page .accordion-button.collapsed,
.systemarc-app-page .accordion-button.active {
  border-color: #e2e8f0;
  background: #fff !important;
  color: #1f2937 !important;
  box-shadow: none;
}

.systemarc-app-page .accordion-button:not(.collapsed) {
  background: #f8fafc !important;
  color: #1d4ed8 !important;
}

.systemarc-dashboard-hero {
  border-color: #e2e8f0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .055);
}

.systemarc-dashboard-clock {
  border-color: #e2e8f0;
  background: #f8fafc;
}

body.systemarc-login-page {
  background:
    radial-gradient(circle at 10% 5%, rgba(37, 99, 235, .07), transparent 30%),
    linear-gradient(145deg, #f8fafc, #eef3f8);
  color: #1f2937;
}

.systemarc-login-status {
  border: 1px solid #e2e8f0;
  background: rgba(255,255,255,.78);
  color: #475569;
}

.systemarc-login-kicker { color: #2563eb; }
.systemarc-login-brand p { color: #64748b; }
.systemarc-login-footer { color: #64748b; }

/* Rotinas antigas sem a classe systemarc-app-page. */
body:not(.systemarc-login-page):not(.systemarc-app-page) {
  background: #f6f8fb;
  color: #1f2937;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

body:not(.systemarc-login-page):not(.systemarc-app-page) .customnav {
  height: 88px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(148, 163, 184, .24);
  background: rgba(255,255,255,.96) !important;
  color: #1f2937;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .075);
}

body:not(.systemarc-login-page):not(.systemarc-app-page) .customnav .navbar-brand img {
  max-height: 58px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(15, 23, 42, .12));
}

body:not(.systemarc-login-page):not(.systemarc-app-page) .customnav .btn-primary {
  min-height: 54px;
  padding: .4rem .62rem;
  border: 1px solid #dbe3ec !important;
  border-radius: 12px;
  background: #fff !important;
  color: #1f2937 !important;
  font-size: clamp(9px, .78vw, 11px) !important;
  font-weight: 650;
  line-height: 1.14;
  box-shadow: none;
}

body:not(.systemarc-login-page):not(.systemarc-app-page) .customnav .btn-primary i {
  color: #2563eb;
  font-size: 18px !important;
}

body:not(.systemarc-login-page):not(.systemarc-app-page) .customnav .btn-primary:hover {
  border-color: #2563eb !important;
  background: #f8fbff !important;
  color: #1d4ed8 !important;
}

body:not(.systemarc-login-page):not(.systemarc-app-page) .bg1,
body:not(.systemarc-login-page):not(.systemarc-app-page) .bg2,
body:not(.systemarc-login-page):not(.systemarc-app-page) .bg3,
body:not(.systemarc-login-page):not(.systemarc-app-page) .card-header,
body:not(.systemarc-login-page):not(.systemarc-app-page) th {
  background: #f8fafc !important;
  color: #1f2937 !important;
}

body:not(.systemarc-login-page):not(.systemarc-app-page) .titulo.bg1,
body:not(.systemarc-login-page):not(.systemarc-app-page) .titulo.bg2,
body:not(.systemarc-login-page):not(.systemarc-app-page) .titulo.bg3 {
  border-bottom: 1px solid #e2e8f0;
  background: #fff !important;
  color: #1f2937 !important;
}

body:not(.systemarc-login-page):not(.systemarc-app-page) .card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .055);
}

body:not(.systemarc-login-page):not(.systemarc-app-page) .btn-primary {
  border-color: #2563eb !important;
  background: #2563eb !important;
  color: #fff !important;
}

body:not(.systemarc-login-page):not(.systemarc-app-page) .form-control,
body:not(.systemarc-login-page):not(.systemarc-app-page) .form-select {
  border-color: #d7e0ea;
  background-color: #fff;
  color: #1f2937;
}

@media (max-width: 767px) {
  .systemarc-app-page .customnav {
    height: 122px;
    background: rgba(255, 255, 255, .98) !important;
  }

  .systemarc-app-page .customnav #scrolly {
    justify-content: flex-start;
  }
}




