:root {
  --cor-primaria: #87b549;
  --cor-secundaria: #a0c043;
  --cor-fundo-pagina: #F0F4EC;
  --bs-primary: var(--cor-primaria);
  --bs-primary-rgb: 135, 181, 73;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url('../assets/img/background-home.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100vw;
  padding: 2rem 0;
}

.registration-card {
  width: 95%;
  max-width: 550px;
  border: none;
  border-radius: 0.75rem;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

@media (min-width: 992px) {
  .registration-card {
    width: 40%;
    max-width: 700px;
  }
}

.profile-selector .nav-link {
  color: var(--bs-secondary-color);
}

.profile-selector .nav-link.active {
  background-color: var(--cor-primaria);
  color: white;
}

.form-control:focus {
  border-color: var(--cor-primaria);
  box-shadow: 0 0 0 0.25rem rgba(135, 181, 73, 0.25);
}

.btn-primary {
  font-weight: 500;
  background-color: var(--cor-primaria);
  border: none;
}

.btn-primary:hover {
  background-color: var(--cor-secundaria);
}

.back-to-home-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
  z-index: 10;
}

@media (min-width: 768px) {
  .back-to-home-link {
    top: 2rem;
    left: 2rem;
  }
}

.back-to-home-link:hover {
  color: white;
  opacity: 0.8;
}

.back-to-home-link .material-icons {
  margin-right: 0.5rem;
}

.separator {
  display: flex;
  align-items: center;
  text-align: center;
  color: #aaa;
  margin: 1.5rem 0;
}

.separator::before,
.separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #ddd;
}

.separator:not(:empty)::before {
  margin-right: .5em;
}

.separator:not(:empty)::after {
  margin-left: .5em;
}

.btn-google svg {
  width: 100%;
  height: 18px;
  margin-right: 12px;
  display: flex;
}