:root {
  /* --color-primary: #A1131B;
	--color-primary-rgb: 161,19,27;
	--color-primary-contrast: #ffffff;
	--color-primary-contrast-rgb: 255,255,255;
	--color-primary-shade: #8e1118;
	--color-primary-tint: #aa2b32; */

  /* --color-secondary: #fed530;
	--color-secondary-rgb: 161,19,27;
	--color-secondary-contrast: #ffffff;
	--color-secondary-contrast-rgb: 255,255,255;
	--color-secondary-shade: #8e1118;
	--color-secondary-tint: #aa2b32; */
}

.min-h-100vh {
  min-height: 100vh !important;
}

.invalid-form,
.invalid-image {
  border: 1px solid #ff0000;
}

.bg-filtrando {
  background-color: rgba(28, 200, 138, .4);
  /* background-color: #FFF; */
  background-image: linear-gradient(180deg, rgba(28, 200, 138, .3) 10%, rgba(19, 133, 92, .3) 100%);
  background-size: cover;
}

.nav-tabs {
  border-bottom: 0px;
}

#pager {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  gap: 4px;
}
#pager .stepper-before,
#pager .stepper-next,
#pager .stepper {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 0.25rem 0.5rem;
  font-size: .875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  cursor: pointer;
}
#pager .stepper-before:hover,
#pager .stepper-next:hover,
#pager .stepper:hover,
#pager .stepper-active {
  color: var(--color-primary-contrast);
  background-color: var(--color-primary);
}

/* Login — rebranding (restrito/start) */
:root {
  --login-brand: #1b53b0;
  --login-brand-deep: #0f2d6b;
  --login-brand-glow: rgba(37, 99, 235, 0.35);
  --login-surface: rgba(255, 255, 255, 0.97);
  --login-text-muted: #64748b;
}

.login-page {
  position: relative;
  min-height: 100vh;
  margin: 0;
  font-family: Nunito, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #0f172a;
  background: var(--login-brand-deep);
  overflow-x: hidden;
}

.login-page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(37, 99, 235, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 75%, rgba(27, 83, 176, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(15, 45, 107, 0.9) 0%, transparent 55%),
    linear-gradient(165deg, #0a1628 0%, #0f2d6b 42%, #152f73 100%);
}

.login-page-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.login-page-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.login-container {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.login-page--single .login-container .row {
  width: 100%;
}

.login-row {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.login-brand-col {
  padding-right: 2rem;
}

.login-brand-panel {
  height: 100%;
  min-height: 420px;
  padding: 2.5rem 2rem 2.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #f1f5f9;
}

.login-brand-logo {
  max-width: 220px;
  height: auto;
  margin-bottom: 1.75rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}

.login-brand-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(241, 245, 249, 0.65);
  margin-bottom: 0.5rem;
}

.login-brand-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  color: #fff;
}

.login-brand-lead {
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(241, 245, 249, 0.82);
  margin-bottom: 1.5rem;
  max-width: 28rem;
}

.login-brand-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(241, 245, 249, 0.88);
}

.login-brand-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.login-brand-list i {
  margin-top: 0.2rem;
  color: #93c5fd;
  width: 1.1rem;
  flex-shrink: 0;
}

.login-form-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card-wrap {
  width: 100%;
  max-width: 440px;
}

.login-card {
  border-radius: 1.25rem !important;
  background: var(--login-surface) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 24px 48px -12px rgba(15, 23, 42, 0.18) !important;
}

.login-card-body {
  padding: 2.25rem 2rem 2rem;
}

@media (min-width: 576px) {
  .login-card-body {
    padding: 2.5rem 2.25rem 2.25rem;
  }
}

.login-logo-mobile {
  max-width: 180px;
  height: auto;
}

.login-card-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.login-card-sub {
  font-size: 0.9375rem;
  color: var(--login-text-muted);
  line-height: 1.5;
}

.login-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.4rem;
}

.login-input.form-control {
  height: calc(1.5em + 1rem + 2px);
  padding: 0.625rem 1rem;
  font-size: 0.9375rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background-color: #f8fafc;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.login-input.form-control:focus {
  border-color: var(--login-brand);
  background-color: #fff;
  box-shadow: 0 0 0 3px var(--login-brand-glow);
}

.login-form .password-field-wrap {
  position: relative;
}

.login-form .password-field-wrap .login-input {
  padding-right: 3rem;
}

.login-toggle-password {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.login-toggle-password:hover {
  background-color: rgba(15, 23, 42, 0.06);
}

.login-toggle-password img {
  width: 22px;
  height: auto;
  pointer-events: none;
}

.btn-login-submit {
  border-radius: 0.75rem !important;
  padding: 0.75rem 1.25rem !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  letter-spacing: 0.02em;
  border: none !important;
  background: linear-gradient(135deg, var(--login-brand) 0%, #2563eb 100%) !important;
  box-shadow: 0 10px 24px -8px rgba(27, 83, 176, 0.65) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.btn-login-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -8px rgba(27, 83, 176, 0.75) !important;
}

.btn-login-submit:active {
  transform: translateY(0);
}

.btn-login-icon {
  font-size: 0.85em;
  vertical-align: middle;
}

.login-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
  margin: 1.5rem 0 1.25rem;
}

.login-link-muted {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--login-brand);
  text-decoration: none;
}

.login-link-muted:hover {
  color: var(--login-brand-deep);
  text-decoration: underline;
}

.login-footer-mobile .login-footer-copy {
  font-size: 0.8125rem;
  color: rgba(241, 245, 249, 0.65);
}

.footer-login {
  padding: 1rem 0 1.5rem;
}

.footer-login p {
  color: rgba(241, 245, 249, 0.55);
  font-size: 0.8125rem;
}

.login-modal-mfa {
  border-radius: 1rem !important;
  border: none !important;
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.2) !important;
}

.login-modal-mfa-icon {
  color: var(--login-brand) !important;
}

/* Legacy / outras telas restrito */
.bg-login-image {
  background-image: url('/img/alphacode_quadrado.jpg');
}
.bg-password-image {
  background-image: url('/img/alphacode_quadrado.jpg');
}

.bg-gradient-primary.login-legacy,
body.bg-gradient-primary .login-card {
  max-width: 520px;
  margin: 0 auto;
}

@media (max-width: 575.98px) {
  body.bg-gradient-primary .login-card {
    margin: 1.5rem auto;
  }
}

::-webkit-calendar-picker-indicator {
  border-radius: 50%;
  margin-left: 0.1rem;
  width: 14px;
  height: 14px;
  cursor: pointer;
}

::-webkit-calendar-picker-indicator:hover {
  -webkit-box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.04);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.04);
}

/* usuarios START */

.img-avatar {
  position: relative;
  top: 0;
  left: 10px;
  width: 180px !important;
  height: 180px !important;
  border-radius: 50%;
  margin: 0px !important;
  cursor: pointer;
  object-fit: cover;
  margin-bottom: 30px !important;
}

/* usuarios END */

/* pay START */

#boxBoleto{
  display: flex;
  justify-content: center;
}

#cardName {
  text-transform: uppercase;
}

/* pay END */
