html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* Navbar Styles */
.navbar {
  padding: 0.25rem 1rem;
}

.navbar-brand {
  padding: 0;
  margin-right: 2rem;
  display: flex;
  align-items: center;
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

@media (max-width: 768px) {
  .navbar-brand img {
    height: 35px;
  }
}

/* Main Content */
body > .container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

main {
  padding-bottom: 3rem;
  flex: 1;
}

/* Footer Styles */
.footer {
  position: relative;
  width: 100%;
  margin-top: auto;
  padding: 1rem 0;
  background-color: #fff;
}

.footer .container {
  text-align: center;
  min-height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.footer img {
  transition: opacity 0.3s ease;
  height: 60px;
  width: auto;
  opacity: 0.85;
}

.footer img:hover {
  opacity: 1 !important;
}

@media (max-width: 576px) {
  .footer .container {
    font-size: 0.85rem;
  }
  .footer img {
    height: 45px !important;
  }
}

/* Links */
a {
  color: #0077cc;
}

/* Buttons */
.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Borders */
.border-top {
  border-top: 1px solid #e5e5e5;
}

.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

/* Shadows */
.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

.quadras-root {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    padding: 0 !important;
}
.quadras-root > div {
    width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
}

#root > div {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 16px !important;
    width: 100vw !important;
}
#root > div > div {
    flex: 0 0 20% !important;
    max-width: 20% !important;
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: center !important;
}

.quadras-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    justify-items: center;
    margin: 0 auto;
    max-width: 1200px;
    padding: 24px 0;
}

.quadra-card {
    width: 100%;
    max-width: 240px;
    min-width: 180px;
    box-sizing: border-box;
}

@media (max-width: 1100px) {
    .quadras-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 800px) {
    .quadras-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    .quadras-grid {
        grid-template-columns: 1fr;
    }
}