/*
 * Critical public shell styles.
 * Keep this small: login/recover/create/blocked pages should not need the
 * full authenticated dashboard stylesheet just to render the first screen.
 */
:root {
  --azul-escuro: 10, 38, 71;
  --azul-claro: 166, 193, 224;
  --ui-text-primary: rgb(var(--azul-escuro));
}

html,
body {
  min-height: 100%;
}

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

body {
  margin: 0;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ui-text-primary);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

h1,
h2,
p {
  margin-top: 0;
}

hr {
  border: 0;
  border-top: 1px solid rgba(var(--azul-escuro), 0.12);
  margin: 1rem 0;
}

.h4 {
  font-size: 1.5rem;
  line-height: 1.2;
}

.h-100 {
  min-height: 100%;
}

.bg-gradient-dark {
  background-color: rgb(var(--azul-escuro));
  background-image: none;
}

.bg-image {
  background-image: none;
}

.bg-glass,
.modal-backdrop {
  background: rgba(var(--azul-escuro), 0.6);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.logo {
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}

.row > * {
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.justify-content-center {
  justify-content: center;
}

.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background-color: #fff;
  background-clip: border-box;
}

.card-body {
  flex: 1 1 auto;
}

.border-0 {
  border: 0 !important;
}

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(10, 38, 71, 0.18) !important;
}

.text-center {
  text-align: center;
}

.w-100 {
  width: 100% !important;
}

.p-0 {
  padding: 0 !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.p-5 {
  padding: 2rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.my-4 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.my-5 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}

.mx-1 {
  margin-right: 0.25rem !important;
  margin-left: 0.25rem !important;
}

.mx-2 {
  margin-right: 0.5rem !important;
  margin-left: 0.5rem !important;
}

.form-group {
  margin-bottom: 1rem;
}

.form-control {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: #0a2647;
  background-color: #fff;
  border: 1px solid #d8e0ee;
  border-radius: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
  border-color: #0a2647;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(10, 38, 71, 0.12);
}

.form-floating {
  position: relative;
}

.form-floating > .form-control {
  height: 56px;
  padding: 1.55rem 0.9rem 0.45rem;
}

.form-floating > label {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  max-width: 100%;
  padding: 0.55rem 0.9rem;
  overflow: hidden;
  color: #4b5f7d;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  transform: scale(0.86);
  transform-origin: 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.btn-primary {
  color: #fff;
  background-color: #0a2647;
}

.btn-lg {
  min-height: 48px;
  padding: 0.75rem 1rem;
}

.form-check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.form-check-input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
  flex: 0 0 auto;
}

.form-check-label {
  color: #4b5f7d;
}

.fa-solid,
.fa-regular {
  min-width: 18px;
  text-align: center;
}

.loader-container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  z-index: 999999999;
}

.loader {
  width: 48px;
  height: 48px;
  border: 3px solid rgb(var(--azul-claro));
  border-radius: 50%;
  margin-top: calc(50vh - 24px);
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

.loader::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-bottom-color: #f8fbff;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader {
    animation: none;
  }
}

@media (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }

  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media (min-width: 992px) {
  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-right: 0.85rem;
    padding-left: 0.85rem;
  }

  .p-5 {
    padding: 1.5rem !important;
  }
}
