/* Geral */
body {
  background-color: var(--neutral-7);
  height: calc(100% - 67px);
}

.bg {
  background-image: url("../../img/background.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.header {
  font-weight: bold;
}

a.button-link {
  text-decoration:none !important;
}

.cursor-pointer{
  cursor: pointer;
}

.line{
  width: 100%;
  border: 0;
  background-color: var(--neutral-6);
  height: 1px;
}

/* Scroll */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #d6dee1;
  border-radius: 20px;
  border: 6px solid transparent;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #a8bbbf;
}

/* Btn Simulacoes */
.btn-sim {
  cursor: pointer;
  line-height: 1.5;
  font-weight: 700;
  font-variant: 1.2rem;
  padding: 1em 2em;
  letter-spacing: 0.05rem;
  height: 115px;
  background: none;
  border: none;
  box-shadow: inset 0 0 0 4px var(--main-3);
  color: var(--main-3);
  position: relative;
}

.service-filter-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 6px 0 14px;
}

.service-filter-chip {
  border: 1px solid #c7dfd2;
  background-color: #ffffff;
  color: #2f6450;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.service-filter-chip:hover {
  border-color: #58b18a;
  color: #1e4e3c;
}

.service-filter-chip.active {
  background-color: #2f9a6f;
  border-color: #2f9a6f;
  color: #ffffff;
}

.service-group {
  margin-bottom: 12px;
}

.service-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 8px 12px;
}

.service-group-title {
  font-size: 13px;
  font-weight: 700;
}

.service-group-count {
  font-size: 11px;
  font-weight: 600;
}

.service-group-header--assinaturas {
  background: #ebf8f1;
  color: #1f7a52;
}

.service-group-header--gerais {
  background: #e8f5f6;
  color: #1f6c75;
}

.service-group-header--patrimonio {
  background: #fff4e8;
  color: #a35c16;
}

.service-group-header--familia {
  background: #f7ecf2;
  color: #87406a;
}

.service-group-header--outros {
  background: #f0f5f2;
  color: #4f6357;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 112px;
  height: 112px;
  border-radius: 8px;
  box-shadow: none;
  border: 2px solid #d7e6de;
  background-color: #ffffff;
  color: #2f5f4b;
  padding: 12px 14px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
  background-color: var(--service-accent, var(--main-2));
  border-color: var(--service-accent, var(--main-2));
  color: #ffffff;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 8px 8px 0 0;
  opacity: 0.92;
  transition: opacity 0.22s ease, filter 0.22s ease, height 0.22s ease;
}

.service-card:hover::after {
  opacity: 1;
  filter: brightness(1.16);
  height: 7px;
}

.service-card-icon {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-title {
  line-height: 1.35;
  color: inherit;
}

.service-card--assinaturas::after {
  background: linear-gradient(90deg, #27b37b 0%, #2f9a6f 55%, #26825d 100%);
}

.service-card--assinaturas {
  --service-accent: #2f9a6f;
  border-color: #2f9a6f !important;
  color: #1a5c3a;
}

.service-card--gerais::after {
  background: linear-gradient(90deg, #35a9b4 0%, #2b8f99 55%, #226f77 100%);
}

.service-card--gerais {
  --service-accent: #2b8f99;
  border-color: #2b8f99 !important;
  color: #1a5260;
}

.service-card--patrimonio::after {
  background: linear-gradient(90deg, #f39d43 0%, #e08c38 55%, #bc6f24 100%);
}

.service-card--patrimonio {
  --service-accent: #e08c38;
  border-color: #e08c38 !important;
  color: #7a4710;
}

.service-card--familia::after {
  background: linear-gradient(90deg, #c876a7 0%, #b06292 55%, #944b78 100%);
}

.service-card--familia {
  --service-accent: #b06292;
  border-color: #b06292 !important;
  color: #6a2d54;
}

.service-card--outros::after {
  background: linear-gradient(90deg, #85998c 0%, #6e8376 55%, #58685e 100%);
}

.service-card--outros {
  --service-accent: #6e8376;
  border-color: #6e8376 !important;
  color: #3a4d40;
}

@media (max-width: 768px) {
  .service-group-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .service-card {
    min-height: 96px;
    height: auto;
  }
}

.btn-sim:not(.service-card)::before,
.btn-sim:not(.service-card)::after {
  border: 0 solid transparent;
  box-sizing: border-box;
  content: '';
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  bottom: 0;
  right: 0;
}

.btn-sim:not(.service-card)::before {
  border-bottom-width: 4px;
  border-left-width: 4px;
}

.btn-sim:not(.service-card)::after {
  border-top-width: 4px;
  border-right-width: 4px;
}

.btn-sim:not(.service-card):hover {
  color: var(--neutral-2);
  background-color: var(--main-2);
}

.btn-sim:not(.service-card):hover::before,
.btn-sim:not(.service-card):hover::after {
  border-color: var(--main-2);
  transition: border-color 0s, width 0.25s, height 0.25s;
  width: 100%;
  height: 100%;
}

.btn-sim:not(.service-card):hover::before {
  transition-delay: 0s, 0s, 0.25s;
}

.btn-sim:not(.service-card):hover::after {
  transition-delay: 0s, 0.25s, 0s;
}

/* Btn Calcular */
.btn-calc {
  height: 40px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  outline: none;
  background-color: var(--success-1);
  color: var(--neutral-2);
  border: none;
  border-radius: 5px;
}

.btn-calc:hover {
  background-color: var(--success-2);
}

.doacao-grupo-header {
  background-color: #d6d7db;
  border: 1px solid #c5c7cc;
  border-radius: 4px;
  color: #2f343b;
  margin: 0;
  padding: 10px 12px;
  position: static;
  text-align: center;
  width: 100%;
  z-index: auto;
}

/* Alert */
#alerta .alert{
  position: fixed;
  left: 0;
  right: 0;
  z-index: 99999;
  width: auto;
  margin: 1em;
  text-align: center
}

/* Margin */
.my-6{
  margin-top: .70rem !important;
  margin-bottom: 4.6rem !important;
}

.mt-35{
  margin-top: 35px
}

/* Navbar */
.name-navbar{
  position: fixed;
  top: 0;
  right: 0;
}

.sessao-info{
  font-weight: 600;
  position: fixed;
  top: 2.3em;
  right: 1em;
}

/* Footer */
.footer{
  position: fixed;
  width: 100%;
  bottom: 0
}

/* Impressão */
@media print {
  .no-print,
  .no-print * {
      display: none !important;
  }
}

/* Loading */
:root {
  --animation-speed: 2s;
  --primary-color: var(--neutral-2);
  --secondary-color: var(--neutral-5);
  --background-color: var(--neutral-4);
  --text-color: var(--neutral-2);
  --font: sans-serif;

  --spinner-size: 10;
  --line-color: var(--main-2);
  --line-alpha: 0.73;
  --ring-color: var(--neutral-1);
  --ring-alpha: 0.5;
  --ring-size: 4;
}

.spinner {
  font-size: calc(var(--spinner-size) * 1em);
  width: 1em;
  height: 1em;
  border-radius: 50%;
}

.spinner .line {
  fill: none;
  stroke: var(--line-color);
  stroke-width: var(--ring-size);
  opacity: var(--line-alpha);
  stroke-linecap: round;
  transform-origin: 50% 50%;
  transform: rotate3d(0, 0, 1, 0deg);
  animation: 2156ms spinner-arc ease-in-out infinite,
      1829ms spinner-rotate linear infinite;
}

.spinner .ring {
  fill: none;
  stroke: var(--ring-color);
  stroke-width: var(--ring-size);
  opacity: var(--ring-alpha);
}

@keyframes spinner-rotate {
  to {
      transform: rotate3d(0, 0, 1, 360deg);
  }
}

@keyframes spinner-arc {
  from {
      stroke-dasharray: 0 150;
      stroke-dashoffset: 0;
  }

  to {
      stroke-dasharray: 100 150;
      stroke-dashoffset: -140;
  }
}

.situacao-status{
  height: 10px;
  width: 10px;
  border-radius: 10px;
  cursor: pointer;
}

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