/* Base login layout */
body.login-page {
  margin: 0;
  height: 100vh;
  background: url("/images/bighorn-portal-1.png") no-repeat center center fixed;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
}

.login-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-box {
  width: 400px;
  max-width: 90vw;
  padding: 15px 35px 35px 35px;
  background: transparent;
  text-align: center;
  transform: translateY(5%);
}

.login-logo {
  width: 175px;
  height: auto;
  margin: 20px auto 0 auto;
  padding-left: 28px;
  display: block;
}

/* ERROR MESSAGE */
.login-error {
  color: #ffdf80;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  display: none;
}

/* INPUT FIELD WRAPPER */
.input-wrapper {
  position: relative;
  width: 72%;
  margin: 0 auto 14px auto;
  transform: translateX(-10px);
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

.input-wrapper input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border-radius: 13px;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  color: #222;
  font-size: 16px;
}

.input-wrapper input::placeholder {
  color: rgba(51, 50, 50, 0.5);
}

/* Forgot Password Button Image */
.forgot-password {
  position: relative;
  margin-top: 47px;
  /* Move it further down to prevent overlap with password field */
  text-align: left;
  /* Align it to the left */
}

/* Forgot Password Button */
.forgot-password-btn {
  position: absolute;
  bottom: 10px;
  /* Increase bottom value to move the button lower */
  left: 5px;
  /* Align it near the left of the input field */
  width: 24px;
  /* Set the size to match the screenshot */
  height: 24px;
  /* Set the size to match the screenshot */
  padding: 0;
  border: none;
  /* Remove border */
  background: transparent;
  /* Make the background transparent */
  cursor: pointer;
  /* Make it clickable */
}

.forgot-password-btn img {
  width: auto%;
  /* Make the image fill the button */
  height: auto%;
  /* Make the image fill the button */
}

/* GOLD EXPANDING LOGIN BUTTON */
.button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(20, 20, 20);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  margin: 10px auto 0 auto;
  transform: translateX(10px);

  transition: width 0.35s ease, border-radius 0.35s ease, background-color 0.35s ease;

  box-shadow: 0px 0px 0px 2px rgba(212, 190, 106, 0.18);
}

.svgIcon {
  width: 14px;
  pointer-events: none;
  transition: opacity 0.25s ease;
  transform: rotate(90deg);
}

.svgIcon path {
  fill: white;
}

.label {
  position: absolute;
  font-size: 0px;
  color: white;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.35s ease, font-size 0.35s ease;
}

.button:hover {
  width: 140px;
  border-radius: 50px;
  background-color: #d4be6a;
}

.button:hover .svgIcon {
  opacity: 0;
}

.button:hover .label {
  font-size: 14px;
  opacity: 1;
}

/* TEMP MOBILE TEST — REMOVE AFTER */
@media (max-width: 600px) {
  body {
    font-size: 14px;
  }

  .header-img {
    width: 70%;
    max-width: 280px;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  .login-container {
    width: 100%;
    padding: 16px;
    box-sizing: border-box;
  }

  input,
  button {
    width: 100%;
    font-size: 16px;
  }
}