/* Root variables for consistent styling and easy adjustments */
:root {
  --height: 56px;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1c1f26;
  margin: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
}
body.dialog-open {
  overflow: hidden;
}

a {
  text-decoration: none;
}

h2 {
  font-family: 'Mulish', sans-serif;
  font-size: 18px;
}

hr {
  border: 1px solid #d2dcf4;
  width: 100%;
}

button {
  height: var(--height);
  border: 1px solid #d2dcf4;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: white;
  font-size: 15px;
  font-weight: 600;
  width: 364px;
  border-radius: 8px;
  &.solid {
    background-color: #253965;
    border: none;
    color: white;
  }
  &.icon {
    height: 20px;
    width: 20px;
    background: none;
    border: none;
    border-radius: 50%;
  }
}

button:active {
  cursor: pointer;
  transform: translateY(2px);
}
button:hover {
  cursor: pointer;
  background-color: #f7f9fe;
}
button.solid:hover {
  background-color: #f7f9fe;
}
button.solid:active {
  background-color: #a4b3e7;
}
button:focus-visible {
  outline: none;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

form input:focus-visible {
  outline: none;
}

dialog {
  box-shadow: 0 2px 6px 0 #00000042;
  padding: 20px;
  border: none;
  &::backdrop {
    backdrop-filter: blur(10px);
  }
}

label {
  font-weight: 500;
  font-size: 15px;
}

input {
  width: 360px;
  height: 50px;
  border-radius: 2px 0 0 0;
  border: 1px solid #d2dcf4;
  padding: 10px;
  box-sizing: border-box;
}

.logo {
  margin-bottom:40px;
  width: 200px;
}

.page-content {
  /* padding-top: 60px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  justify-content: center;
  margin-bottom: 100px
}

.options-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px 0;
}

.login-options-panel {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 6px 0 #dde1f0;
}

.no-account {
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  width: 364px;
  height: 30px;
}

.section-title {
  font-weight: 600;
  text-align: center;
}

.no-border {
  border: none;
  background: none;
}

.dialog-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.login-form-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.input-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.password-input {
  display: flex;
}

#password {
  padding-right: 40px;
}

#eye {
  position: absolute;
  top: 20px;
  right: 10px;
}

.password-wrapper {
  position: relative;
}

.forgot-password-text {
  font-size: 13px;
  font-weight: 500;
  margin-left: auto;
}
.login-button {
  height: var(--height);
  width: 360px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 600;
  background-color: #1a4bff;
  color: #ffffff;
  border: none;
}

/* Mobile styles */
@media only screen and (max-width: 600px) {
  .page-content {
    padding-top: 30px;
    gap: 20px;
  }
  .login-options-panel {
    box-shadow: none;
  }
  dialog {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    margin: 0;
  }
  input,
  .password-input {
    max-width: 300px;
  }
  dialog button {
    width: 320px;
  }
  .login-form-title {
    margin-left: 30px;
  }
  .mobile-button {
    position: absolute;
    bottom: 0;
    margin-bottom: 10px;
  }
}
