/* main {
  height: 100vh;
} */

body {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-height: 100vh;
}

:root {
  --backgroundColor: transparent !important;
}

.login-page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.457);
}

.login-card {
  width: min(500px, 100%);
  background-color: white;
  box-shadow: var(--lightBoxShadow);
  padding: 32px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-top: 5px solid var(--background-main);
}

@media (max-width: 768px) {
  .login-card {
    padding: 24px;
  }
}

main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  background: transparent !important;
  padding: 0;
}

h1 {
  font-weight: 500;
  margin: 0 0 24px;
  text-align: center;
  color: #333;
}

label {
  display: block;
  text-align: left;
  margin-bottom: 10px;
  margin-top: 12px;
}

label:first-of-type {
  margin-top: 0;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 2px solid #e9ecef;
  border-radius: 5px;
  box-sizing: border-box;
  background-color: #f8f9fa;
}

.btn {
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: center;
  display: inline-block;
  font-size: 16px;
  margin: 10px 0 0;
  cursor: pointer;
  border-radius: 5px;
  width: 100%;
  background-color: var(--background-main) !important;
  box-shadow: var(--lightBoxShadow);
}

.btn:hover {
    background-color: var(--background-main-accent) !important;
}

.alert {
  padding: 15px;
  background-color: #f44336;
  color: white;
  margin-bottom: 20px;
  border-radius: 4px;
}

.login-alert {
  margin-bottom: 16px;
  text-align: center;
}

.login-status {
  margin: 0 0 16px;
  text-align: center;
  font-size: 14px;
  color: #333;
}

.login-status a {
  color: var(--background-main);
  text-decoration: underline;
}

.password-reset-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1050;
}

.password-reset-modal {
  width: min(420px, 100%);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: var(--lightBoxShadow);
  overflow: hidden;
}

.password-reset-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e5e5;
}

.password-reset-modal__title {
  margin: 0;
  font-size: 18px;
  color: #000000;
}

.password-reset-modal__close {
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #555555;
}

.password-reset-modal__close:focus,
.password-reset-modal__close:hover {
  color: var(--background-main);
}

.password-reset-modal__body {
  padding: 24px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.password-reset-modal__body p {
  margin: 0;
  color: #333333;
  font-size: 16px;
}

.password-reset-modal__action {
  width: 100%;
}

.is-hidden {
  display: none !important;
}