.auth-container {
  display: flex;
  justify-content: center;  /* centers child horizontally */
  align-items: center;      /* optional: vertical centering */
  flex-direction: column;
  background-color: #ffffff;
  padding: 25px 30px;
  border-radius: 0;
  box-shadow: 0 0 15px 5px #545454;
  width: 90%;
  max-width: 400px;
  margin: 80px auto;
  text-align: center;
  font-family: 'Bellota Text', sans-serif;
}

.auth-container h2 {
  color: #545454;
  margin-bottom: 20px;
}

.auth-container form {
  display: flex;
  flex-direction: column;
}

.auth-container input {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 0;
  font-size: 16px;
}

.auth-container button {
  padding: 10px;
  background-color: #545454;
  color: #e9e7ed;
  border: none;
  border-radius: 0;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

.auth-container button:hover {
  background-color: #333;
}

.switch-auth {
  margin-top: 15px;
  font-size: 14px;
}

.switch-auth a {
  color: #007BFF;
  text-decoration: none;
}

#message {
  margin-top: 10px;
  color: red;
}
/* === Floating label fields (match site look) === */
.float-field{
  position: relative;
  width: 100%;
  margin-bottom: 15px;
  font-family: 'Bellota Text', sans-serif;
}
.float-field input{
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 0;
  font-size: 16px;
  background: #fff;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  height: 44px;
  line-height:1.2;
}
.float-field input:focus{
  border-color: #ed9ea5;                 /* your pink */
  box-shadow: 0 0 0 3px rgba(237,158,165,.35);
}
.float-field label{
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-56%);
  padding: 0 4px;
  background: #fff;
  color: #6b6b8a;                         /* muted indigo */
  font-size: 14px;
  pointer-events: none;
  transition: all .12s ease;
}

/* Raise the label when focused or when user typed something */
.float-field input:focus + label,
.float-field input:not(:placeholder-shown) + label{
  top: 0;
  transform: translateY(-60%) scale(.92);
  color: #353468;                         /* indigo */
}

/* === Password field: keep full width & put eye inside === */
.pw-field input{
  padding-right: 44px;                    /* space for the eye */
}
.pw-field .pw-toggle{
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-52%);
  height: 28px;
  width: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #6b6b8a;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.pw-field .pw-toggle:hover{ color: #6b6b8a; }
.pw-field .pw-toggle:focus{ outline: none; }

/* Keep overall sizing consistent with your existing form */
.auth-container input,
.auth-container button{
  border-radius: 0;
}
