:root {
  --brand-blue: #102c54;
  --brand-orange: #f5a623;
  --brand-blue-light: #1a4b8c;
}

body {
  background-color: #f5f5f5;
  min-height: 100vh;
  padding-top: 3.25rem; /* Space for fixed navbar */
}

/* Auth Pages Specifics (Login, Register, etc) */
body.auth-page {
  padding-top: 0;
  background: url("../img/transporte.jpg") no-repeat center center fixed;
  background-size: cover;
  position: relative;
}

body.auth-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(16, 44, 84, 0.85); /* Overlay azul da marca */
  z-index: 0;
}

body.auth-page .container,
body.auth-page .login-box,
body.auth-page .columns {
  position: relative;
  z-index: 1;
}

/* Navbar Customization */
.navbar.is-link {
  background-color: var(--brand-blue) !important;
}

.navbar-brand strong {
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.logo-transporte {
  color: #ffffff;
}

.logo-universitario {
  color: var(--brand-orange);
}

/* Button Customization */
.button.is-primary {
  background-color: var(--brand-orange) !important;
  color: #fff !important;
  font-weight: bold;
  border-color: transparent;
}

.button.is-primary:hover {
  background-color: #e0961f !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button.is-link {
  background-color: var(--brand-blue) !important;
  color: white !important;
}

.button.is-link:hover {
  background-color: var(--brand-blue-light) !important;
}

/* Background Color Overrides for Brand Consistency */
.has-background-primary {
  background-color: var(--brand-orange) !important;
}

.has-background-link {
  background-color: var(--brand-blue) !important;
}

.has-background-info {
  background-color: var(--brand-blue-light) !important;
}

/* Card/Box Enhancements */
.box {
  border-top: 4px solid var(--brand-blue);
  margin-bottom: 20px;
  box-shadow:
    0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1),
    0 0px 0 1px rgba(10, 10, 10, 0.02);
}

.footer {
  padding: 3rem 1.5rem 3rem;
  background-color: #fafafa;
}

/* Landing Page Specifics */
.landing-hero {
  background:
    linear-gradient(rgba(16, 44, 84, 0.85), rgba(16, 44, 84, 0.7)),
    url("../img/transporte.jpg") no-repeat center center;
  background-size: cover;
  color: white;
}

.landing-hero .title {
  color: white !important;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.landing-hero .subtitle {
  color: #f5f5f5 !important;
}

.feature-box {
  height: 100%;
  padding: 2rem;
  border-radius: 8px;
  background: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  text-align: center;
  border-top: 3px solid var(--brand-orange);
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--brand-blue);
  margin-bottom: 1.5rem;
}

.step-circle {
  width: 50px;
  height: 50px;
  background-color: var(--brand-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.opacity-75 {
  opacity: 0.75;
}

#cartao_wrapper {
  position: relative;

  #cartao {
    position: static;

    .transporte_warning {
      display: none;
    }

    .img {
      position: relative;
      top: 0px;
      left: 0px;
      width: 18.42cm;
    }

    .column {
      z-index: 2;
      border-bottom: 0px hidden;
      position: absolute;
      border: 0px hidden;
      background: transparent;
    }

    p,
    .info_back,
    .info_sem {
      color: #0b0b61;
      font-size: 10px;
      line-height: 13px;
      font-family: Montserrat, Helvetica, Arial, sans-serif;
      margin: 0;
      padding: 0;
    }

    .info_front {
      width: 180px;
      top: 96px;
      left: 26px;
    }

    .info_back {
      width: 300px;
      top: 63px;
      left: 371px;
    }

    .info_sem {
      width: 141px;
      top: 19px;
      left: 534px;
      font-weight: bold;
      font-size: 31px;
      border: 1px solid;
      padding: 10px 11px;
      text-align: center;
      border-radius: 5px;
    }

    .info_emissao {
      width: 306px;
      top: 196px;
      left: 371px;
      font-size: 7px;
      .transporte_status {
        justify-content: flex-start;
      }
    }

    .info_qr {
      width: 96px;
      top: 111px;
      left: 586px;
      border-radius: 5px;

      img {
        width: 100%;
      }
    }

    .info_pcd {
      width: 113px;
      color: #df0000;
      font-size: 8px;
      top: 184px;
      left: 215px;
      line-height: 17px;
      font-family: Montserrat, Helvetica, Arial, sans-serif;
      margin: 0;
      padding: 0;
      font-weight: bold;
    }

    .info_pcd_cadeirante {
      width: 20px;
      top: 184px;
      left: 305px;
      margin: 0;
      padding: 0;
      font-weight: bold;

      img {
        width: 100%;
        color: red;
      }
    }

    p span,
    .info_back span {
      display: block;
      font-size: 13px;
      font-weight: bold;
    }

    .foto {
      width: 113px;
      font-size: 12px;
      top: 24px;
      left: 215px;
      line-height: 17px;
      border-radius: 10px;
      object-fit: cover;
      aspect-ratio: 3/4;
    }

    .cartao_manha,
    .cartao_tarde,
    .cartao_noite {
      margin: 0;
      height: 10px;

      div {
        width: 8px;
        display: inline-block;
        height: 8px;
        background: lightblue;
        margin: 0;
        border-radius: 50%;

        &.active {
          background: #0b0b61;
        }
      }
    }

    .cartao_turnos {
      margin-top: 10px;
      display: inline-grid;
    }

    .validade {
      display: inline-grid;
      font-size: 9px;
      width: 150px;
      margin-left: 5px;
      line-height: 12px;
      color: #f49724;
      font-weight: bold;
    }
  }
}
