@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Montserrat:wght@500;700&display=swap");

html,
body {
  font-family: "Montserrat" !important;
  height: 100%;
  margin: 0;
  padding: 1rem;
  background-color: #6a8b76 !important;
}

.form-signin {
  max-width: 500px;
  padding: 2rem;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

#email {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

#password {
  margin-bottom: 10px;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

#passwordToggleBtn {
  border: none;
  background: transparent;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
}

.btn {
  background-color: #293134 !important;
  color: white !important;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

.alert-slide-in {
  animation: slideInRight 0.4s ease-out forwards;
}

.alert-slide-out {
  animation: slideOutRight 0.4s ease-in forwards;
}

.alert-timer-bar {
  height: 4px;
  background-color: black;
  animation: shrinkBar linear forwards;
}

.btn-close.small {
  width: 0.75rem;
  height: 0.75rem;
  padding: 0.25rem;
  background-size: 0.75em;
}

@keyframes shrinkBar {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

.confirmation-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1055;
}

.confirm-box {
  min-width: 300px;
  max-width: 90%;
  animation: slideInRight 0.4s ease-out;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
