:root {
  --cor-primaria: #87b549;
  --cor-secundaria: #a0c043;
  --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;
  height: 100vh;
  width: 100vw;
}

.back-to-home-link {
  position: absolute;
  top: 2rem;
  left: 2rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  z-index: 10;
}

.back-to-home-link:hover {
  color: white;
  opacity: 0.8;
}

.back-to-home-link .material-icons {
  margin-right: 0.5rem;
}

.login-card {
  max-width: 450px;
  width: 100%;
  border: none;
  border-radius: 0.75rem;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.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);
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  color: #444;
  border: 1px solid #ddd;
  font-weight: 500;
}

.btn-google:hover {
  background-color: #f7f7f7;
  border-color: #ccc;
}

.btn-google svg {
  width: 100%;
  height: 18px;
  margin-right: 12px;
  display: flex;
}

.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;
}