:root {
  --header-bg-color: #03a688;
  --header-text-color: #ffffff;
  --main-bg-color: linear-gradient(to right, #03588c, #027368);
  --main-text-color: #ffffff;
  --scrollbar-thumb-color: #03588c;
  --scroolbar-track-color: #027368;
  --footer-bg-color: #03a688;
  --footer-text-color: #ffffff;

  --btn-quero-participar-bg-color: #ffcc7a;
  --btn-quero-participar-text-color: #700706;

  --btn-template-bg-color: #8a100e;
  --btn-template-text-color: #ffffff;

  --btn-template-2-bg-color: #000000;
  --btn-template-2-text-color: #ffffff;

  --bg-light: #03a688;
  --text-light: #ffffff;
  --overlay-color: rgba(39, 6, 6, 0.5);
}

body {
  background: var(--main-bg-color);
  color: var(--main-text-color);
}

a {
  text-decoration: none;
}

small {
  font-size: 14px;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: var(--main-bg-color);
  color: var(--main-text-color);
  display: flex;
  flex-direction: column;
  font-family: Onest;
  font-size: 14px;
  font-weight: 400;
  min-height: 100vh;
  line-height: 1.5;
  overflow: hidden;
  position: relative;
}

.btn {
  border-radius: 15px;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 70px);
  margin-top: 70px;
  overflow-y: auto;
  scrollbar-color: var(--scrollbar-thumb-color) var(--scroolbar-track-color);
  scrollbar-width: thin;
}

.topbar {
  background-color: var(--header-bg-color);
  color: var(--header-text-color);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
}

.topbar .container-fluid {
  margin: 0 16.66666667%;
}

.topbar .navbar-brand {
  align-items: center;
  display: flex;
  height: 70px;
}

.topbar .navbar-brand > img {
  max-height: 50px;
}

.topbar .top-navbar {
  min-height: 70px;
  padding: 0;
}

.topbar .top-navbar #navbarNav {
  flex-direction: row-reverse;
  padding-bottom: 15px;
  padding-top: 15px;
}

.topbar .top-navbar .navbar-nav {
  align-items: center;
  gap: 10px;
}

.topbar .top-navbar .nav-item {
  align-items: center;
  display: flex;
  height: 40px;
  padding: 0 8px;
  border-radius: 20px;
}

.topbar .top-navbar .nav-item:hover:not(:has(.btn-quero-participar)) {
  background: var(--header-text-color);
  transition: all 1s ease;
}

.topbar .top-navbar .nav-link {
  color: var(--header-text-color);
  font-size: 1rem;
  padding: 10px 8px;
}

.topbar .top-navbar .nav-item:hover:not(:has(.btn-quero-participar)) .nav-link {
  color: var(--header-bg-color);
}

.topbar .top-navbar .nav-link.active {
  font-weight: 700;
  letter-spacing: -0.2px;
}

.content {
  align-items: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 80px;
  justify-content: center;
  width: 100%;
}

.content section {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
}

.content section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 0;
}

.footer {
  align-items: center;
  background-color: var(--footer-bg-color);
  color: var(--footer-text-color);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  font-size: 20px;
  min-height: 150px;
}

.modal .modal-header {
  background: var(--header-bg-color);
  color: var(--header-text-color);
}

.card .card-header {
  background: var(--header-bg-color);
  color: var(--header-text-color);
}

.modal .modal-footer,
.card .card-footer {
  background-color: #ffffff;
  border: 0;
}

.card {
  border-radius: 15px;
  border: 0;
}

.card-header:first-child {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.card-footer:last-child {
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.table thead td,
.table thead th {
  background-color: var(--header-bg-color) !important;
  color: var(--header-text-color) !important;
}

.btn-quero-participar {
  background-color: var(--btn-quero-participar-bg-color);
  border-color: var(--btn-quero-participar-bg-color);
  color: var(--btn-quero-participar-text-color);
  font-weight: 600;
  padding: 8px 40px;
}

.btn-quero-participar:hover {
  background-color: var(--btn-quero-participar-text-color);
  color: var(--btn-quero-participar-bg-color);
}

.btn-custom1 {
  background: var(--btn-template-bg-color);
  border-color: var(--btn-template-text-color);
  color: var(--btn-template-text-color);
  font-weight: 600;
  padding: 8px 40px;
}

.btn-custom1:hover {
  background: var(--btn-template-text-color);
  border-color: var(--btn-template-bg-color);
  color: var(--btn-template-bg-color);
}

.btn-custom2 {
  background: var(--btn-template-2-bg-color);
  border-color: var(--btn-template-2-text-color);
  color: var(--btn-template-2-text-color);
  font-weight: 600;
  padding: 8px 40px;
}

.btn-custom2:hover {
  background: var(--btn-template-2-text-color);
  border-color: var(--btn-template-2-bg-color);
  color: var(--btn-template-2-bg-color);
}

.navbar-light .navbar-toggler {
  border: 1px solid rgba(0, 0, 0, 1);
}

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-dark .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 1);
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.section-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
  width: 100%;
}

.section-item {
  display: grid;
  width: calc(100% / sibling-count());
}

.section-link {
  align-items: center;
  display: flex;
  justify-content: center;
}

.section-banner .container-fluid {
  padding: 0;
  width: 100%;
}

.section-etapas .container-fluid {
  padding: 0;
  width: 100%;
}

.section-participar .section-link {
  font-size: 20px;
  padding: 12px 20px;
}

.card-assistente-virtual {
  padding: 32px;
}

.card-assistente-virtual .card-body .card-text {
  font-size: 20px;
}

.card-assistente-virtual .card-footer .btn {
  font-weight: 300;
  padding: 8px 40px;
}

.section-assistente-virtual .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-color);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.alert-campanha-nao-iniciada {
  font-size: 36px;
  font-weight: 700;
}

.overlay img {
  height: auto;
  margin-top: -70px;
  max-width: 200vh;
  width: 100%;
  zoom: 80%;
}

.card.card-single .card-body,
.card.card-single .card-footer {
  background-color: #eeeeee;
  color: #000000;
}

.card.card-single {
  margin: 20px 0;
  width: 100%;
}

.number-display {
  font-family: monospace;
  font-variant-numeric: tabular-nums;
}

.no-gap {
  gap: 0 !important;
}

@media only screen and (max-width: 1199px) {
  .topbar .container-fluid {
    margin: 0;
  }
}

@media (max-width: 768px) {
  .content
    section.section-assistente-virtual
    .card-assistente-virtual
    .card-header
    h2 {
    font-size: 32px;
  }

  .content
    section.section-assistente-virtual
    .card-assistente-virtual
    .card-body
    .card-text {
    font-size: 20px;
  }

  content section.section-patrocinadores small {
    font-size: 10px;
  }

  .footer {
    flex-direction: column;
  }

  .card-container {
    flex-direction: column;
  }

  .card {
    height: auto;
  }

  .input-desktop-date {
    display: none;
  }

  .section-row {
    flex-wrap: wrap;
  }

  .section-item {
    width: 100%;
  }
}

@media (min-width: 769px) {
  .content section.section-etapas h2 {
    font-size: 48px;
  }

  .card-container > .col-md-4 {
    flex: 0 0 auto;
    width: calc(33.33333333% - (2 * 20px / 3));
  }
  .input-mobile-text {
    display: none;
  }
}

.dataTable {
  border-collapse: separate; /* Important for border-radius to work */
  border-spacing: 0; /* Removes space between cells for a continuous border */
  border-radius: 10px; /* Adjust the value for desired roundness */
  overflow: hidden; /* Ensures content within cells respects the rounded corners */
}

.section-usuario .card.card-single .card-body,
.card.card-single .card-footer {
  background-color: #ffffff;
}

ul.nav-tabs {
  border-bottom: 0;
  border-top: 0;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.tab-content {
  background-color: #eeeeee;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

ul.nav-tabs .nav-link {
  display: flex;
  flex-direction: row;
  align-items: center;as
  justify-content: center;
  gap: 10px;
}

ul.nav-tabs .nav-link:not(.active) {
  background-color: var(--header-text-color);
  border: 1px solid #dee2e6;
  color: var(--header-bg-color);
}

ul.nav-tabs .nav-link.active {
  background: var(--header-bg-color);
  color: var(--header-text-color);
}

ul.nav-tabs .nav-link img {
  height: 20px;
}

ul.nav-tabs .nav-link:not(.active):hover img,
ul.nav-tabs .nav-link.active img {
  filter: invert(100%);
}
