html,
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

body,
button,
input,
select,
textarea {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif !important;
}

body {
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/*#region sweet-modal*/
.sweet-modal-title {
  color: white !important;
}

.sweet-modal-title-wrap {
  background: #232378;
}

.sweet-modal-close a.sweet-modal-close-link {
  background-color: #232378 !important;
}

.sweet-modal-close a.sweet-modal-close-link:hover {
  background-color: #232378 !important;
}

/*#endregion*/
/*#region spinner*/
#loader-wrapper {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#loader-wrapper.is-hidden {
  display: none;
}

#loader {
  position: relative;
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#loader-logo {
  width: 54px;
  height: 54px;
  background: url(../../../../images/logo_F_blue.png) no-repeat center;
  background-size: contain;
}

.loader-underline {
  width: 54px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(35, 35, 120, 0.15);
  overflow: hidden;
  position: relative;
}

.loader-underline span {
  position: absolute;
  height: 100%;
  width: 30%;
  background: #232378;
  border-radius: 999px;
  animation: underlineLoading 1.2s ease-in-out infinite;
}

@keyframes underlineLoading {
  0% {
    left: -30%;
    width: 30%;
  }
  50% {
    left: 35%;
    width: 40%;
  }
  100% {
    left: 100%;
    width: 30%;
  }
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  8% {
    transform: scale(1.03);
  }
  16% {
    transform: scale(1.08);
  }
  24% {
    transform: scale(1.14);
  }
  32% {
    transform: scale(1.2);
  }
  40% {
    transform: scale(1.16);
  }
  48% {
    transform: scale(1.12);
  }
  56% {
    transform: scale(1.08);
  }
  64% {
    transform: scale(1.04);
  }
  72% {
    transform: scale(1.01);
  }
  80% {
    transform: scale(0.99);
  }
  90% {
    transform: scale(1.01);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes indeterminate {
  0% {
    transform: translateX(-120%);
    width: 30%;
    opacity: 0.9;
  }
  50% {
    transform: translateX(60%);
    width: 55%;
    opacity: 1;
  }
  100% {
    transform: translateX(220%);
    width: 30%;
    opacity: 0.9;
  }
}
@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(0deg);
    /* IE 9 */
    transform: rotate(0deg);
    /* Firefox 16+, IE 10+, Opera */
  }
  100% {
    -webkit-transform: rotate(360deg);
    /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(360deg);
    /* IE 9 */
    transform: rotate(360deg);
    /* Firefox 16+, IE 10+, Opera */
  }
}
#loader-wrapper .loader-section {
  position: fixed;
  top: 0;
  width: 51%;
  height: 100%;
  background: #222222;
  z-index: 1000;
  transform: translateX(0);
}

#loader-wrapper .loader-section.section-left {
  left: 0;
}

#loader-wrapper .loader-section.section-right {
  right: 0;
}

/* loaded */
.loaded #loader-wrapper .loader-section.section-left {
  transform: translateX(-100%);
  transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.loaded #loader-wrapper .loader-section.section-right {
  transform: translateX(100%);
  transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.loaded #loader {
  opacity: 0;
  transition: all 0.3s ease-out;
}

.loaded #loader-wrapper {
  visibility: hidden;
  transform: translateY(-100%);
  transition: all 0.3s 1s ease-out;
}

.no-js #loader-wrapper {
  display: none;
}

.progress {
  background-color: rgba(255, 64, 129, 0.22);
}

/*#endregion*/
/*#region select picker*/
.filter-option-inner-inner {
  color: black;
  font-weight: normal;
}

.btn-light .dropdown-toggle {
  background-color: red !important;
}

.bootstrap-select .btn {
  box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0.16), 0 2px 0px 0 rgba(0, 0, 0, 0.12);
}
.bootstrap-select .filter-option {
  border: 0;
  border-radius: 0;
}
.bootstrap-select .form-control {
  border: 0;
  border-bottom: 1px solid #ccc;
}
.bootstrap-select .form-control:focus {
  box-shadow: 0 2px 0px 0rem rgba(0, 123, 255, 0.25);
}
.bootstrap-select .dropdown-toggle:focus {
  outline: 0px auto -webkit-focus-ring-color !important;
}
.bootstrap-select .bs-searchbox {
  color: #b9b9b9;
}
.bootstrap-select .btn-light {
  background: transparent !important;
}
.bootstrap-select .btn-light:hover {
  background: transparent !important;
}
.bootstrap-select .btn-light:not([disabled]):not(.disabled).active, .bootstrap-select .btn-light:not([disabled]):not(.disabled):active, .bootstrap-select .show > .btn-light.dropdown-toggle {
  background-color: transparent !important;
}
.bootstrap-select .btn-light.dropdown-toggle:focus, .bootstrap-select .btn-light.dropdown-toggle:hover {
  background-color: transparent !important;
}
.bootstrap-select .dropdown-item {
  padding: 5px 0px 0px 9px;
}

.dropdown-toggle::after {
  color: black;
}

.btn-light:not([disabled]):not(.disabled).active, .btn-light:not([disabled]):not(.disabled):active, .show > .btn-light.dropdown-toggle {
  background-color: transparent !important;
}

.btn-default {
  background-color: rgb(24, 67, 118) !important;
}
.btn-default:hover {
  background-color: rgb(24, 67, 118) !important;
}
.btn-default:focus {
  background-color: rgb(24, 67, 118) !important;
}

.btn-default:not([disabled]):not(.disabled).active, .btn-default:not([disabled]):not(.disabled):active, .show > .btn-default.dropdown-toggle {
  background-color: rgb(24, 67, 118) !important;
}

.dropdown-item {
  font-weight: bold !important;
  font-size: 10pt !important;
}

/*#endregion*/
/*#region buttons*/
.btn {
  white-space: nowrap !important;
  padding: 10px !important;
  margin: 0 !important;
  width: 100%;
}
@media only screen and (max-width: 768px) {
  .btn {
    /*width: 100%;*/
  }
}

.btn .btn-default {
  background-color: rgb(24, 67, 118) !important;
}
.btn .btn-default:hover {
  background-color: rgb(24, 67, 118) !important;
}
.btn .btn-default:focus {
  background-color: rgb(24, 67, 118) !important;
}

.btn .btn-default:not([disabled]):not(.disabled).active, .btn-default:not([disabled]):not(.disabled):active, .show > .btn-default.dropdown-toggle {
  background-color: rgb(24, 67, 118) !important;
}

/*#endregion*/
/*#region col*/
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
  padding-left: 4px;
  padding-right: 4px;
}

.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
  padding-left: 4px;
  padding-right: 4px;
}

.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
  padding-left: 4px;
  padding-right: 4px;
}

/*#endregion*/
/*#region row*/
.row {
  margin: 0 !important;
}

/*#endregion*/
/*#region floating button*/
.fab {
  width: 70px;
  height: 70px;
  background-color: indigo;
  border-radius: 50%;
  box-shadow: 0 6px 10px 0 #666;
  transition: all 0.1s ease-in-out;
  font-size: 40px;
  color: white;
  text-align: center;
  line-height: 70px;
  position: fixed;
  right: 50px;
  bottom: 50px;
}

.fab:hover {
  box-shadow: 0 6px 14px 0 #666;
  transform: scale(1.05);
}

.fab-button {
  width: 55px;
  height: 55px;
  background-color: indigo;
  border-radius: 50%;
  box-shadow: 0 6px 10px 0 #666;
  transition: all 0.1s ease-in-out;
  font-size: 25px;
  color: white;
  text-align: center;
  line-height: 57px;
  right: 50px;
  cursor: pointer;
}

.fab-button:hover {
  box-shadow: 0 6px 14px 0 #666;
  transform: scale(1.05);
}

/*#endregion*/
body {
  font-size: 10pt !important;
  padding: 4px !important;
}

.navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
}

.btn {
  text-transform: initial !important;
}

label {
  transition: 0.2s ease-out;
  cursor: text;
  color: #757575;
  font-size: 1rem;
}

.bootstrap-select .btn-light {
  background: transparent !important;
}

.btn-light.dropdown-toggle {
  background: #fff !important;
}

.sweet-modal-overlay {
  z-index: 1080 !important;
}

/* Se ainda existir o menu-slide antigo, esconda-o */
#menu-slide {
  display: none;
}

/* Wrapper principal cresce com flex, sem width: 100% */
.wrapper {
  display: flex;
  flex: 1 1 auto;
  overflow: hidden;
}

#content {
  flex: 1 1 auto;
  min-width: 0;
  overflow-y: auto;
  padding: 0px 20px;
}

.profile-top {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 16px;
  position: sticky;
  top: 0;
  z-index: 2100;
  background: transparent;
}

.profile-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  color: #fff;
  max-height: 70px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.profile-chip:hover {
  border-color: #232378;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.profile-chip #profile-name {
  font-size: 12px;
  font-weight: 500;
}

#perfilPec {
  position: relative;
}

.gcard {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 420px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
  padding: 18px 18px 14px 18px;
  z-index: 3000;
  display: none;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #111827;
  border: 1px solid rgba(15, 23, 42, 0.06);
  cursor: default;
}

.gcard.is-open {
  display: block;
}

.gcard * {
  box-sizing: border-box !important;
}

.gcard-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none !important;
  background: transparent !important;
  color: #374151 !important;
  font-size: 18px;
  line-height: 32px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gcard-close:hover {
  background: rgba(0, 0, 0, 0.06) !important;
}

.gcard-top {
  text-align: center;
  padding-top: 2px;
  padding-bottom: 10px;
}

.gcard-email {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.gcard-managed {
  margin-top: 2px;
  font-size: 12px;
  color: rgba(17, 24, 39, 0.72);
}

.gcard-avatar-wrap {
  display: flex;
  justify-content: center;
  padding: 8px 0 10px 0;
}

.gcard-avatar {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  overflow: hidden;
  background: #dbe5f6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 2px solid #232378;
}

.gcard-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gcard-avatar-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.gcard-avatar-badge .material-icons {
  font-size: 16px;
  color: rgba(17, 24, 39, 0.7);
}

.gcard-hello {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  margin: 2px 0 12px 0;
  color: #111827;
}

.gcard-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.gcard-action {
  height: 40px;
  width: 100%;
  border-radius: 12px;
  background-color: #fff;
  border: 1px solid rgba(17, 24, 39, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  color: #111827;
  text-decoration: none !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
  padding: 6px;
}

.gcard-action:hover {
  background-color: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--ui-primary);
  cursor: pointer;
}

.gcard-action-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gcard-action-icon .material-icons {
  font-size: 16px;
  color: rgba(17, 24, 39, 0.72);
}

.gplus {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  color: rgba(17, 24, 39, 0.72);
  font-weight: 700;
  transform: translateY(-1px);
}

/* Footer */
.gcard-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(17, 24, 39, 0.6);
  padding-top: 2px;
}

.gcard-footer a {
  color: rgba(17, 24, 39, 0.6) !important;
  text-decoration: none !important;
}

.gcard-footer a:hover {
  text-decoration: underline !important;
}

.gcard-footer .dot {
  opacity: 0.6;
}

body.pagina-perfil .profile-top {
  display: none !important;
}

@media (min-width: 1001px) {
  body.has-sidebar .wrapper {
    margin-left: var(--sidebar-expanded);
    transition: margin-left 0.2s ease;
  }
  body.has-sidebar.sidebar-collapsed .wrapper,
  body.hover-collapsible-on .wrapper {
    margin-left: var(--sidebar-collapsed);
  }
  body.hover-collapsible-on.sidebar-hovering .wrapper {
    margin-left: var(--sidebar-expanded);
  }
}
@media (prefers-reduced-motion: reduce) {
  body.has-sidebar .wrapper {
    transition: none;
  }
}
