:root{
  --background-color: rgba(0, 128, 255, 0.7);
  --text-color: #fff9f9;
  --button-color: rgb(16, 146, 16);
  --button-color-dark: rgb(42, 154, 42);
  --bg-footer: linear-gradient(to bottom, #53a8fd, #0066cc);
  --heading-font-style : 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;

}

.auth-container {
  width: 400px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  margin: 80px 0px 20px 35%;
}

.auth-card {
  position: relative;
  width: 100%;
  padding: 20px 30px;
}

.auth-forms .form {
  display: none;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.3s ease;
}

.auth-forms .form.active {
  display: block;
  opacity: 1;
  transform: scale(1);
}

/* Form Titles */
h2 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

/* Labels and Inputs */
label {
  font-size: 14px;
  color: #555;
  margin-bottom: 5px;
  display: block;
}

input {
  width: 100%;
  padding: 10px;
  margin: 10px 0 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box;
}

input:focus {
  border-color: #5a6ff0;
  box-shadow: 0 0 5px rgba(90, 111, 240, 0.5);
}

/* Password Wrapper */
.password-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
  font-size: 16px;
}

/* Buttons */
button {
  width: 100%;
  padding: 10px 0;
  background: var(--background-color);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  /* background: rgb(250, 253, 255); */
  /* color: var(--background-color); */
  font-weight: bold;
}

/* Footer Links */
.login-footer,
.register-footer {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

.login-footer a,
.register-footer span {
  color: #5a6ff0;
  cursor: pointer;
  text-decoration: none;
}

.login-footer a:hover,
.register-footer span:hover {
  text-decoration: underline;
}

/* Error Messages */
.error {
  color: red;
  font-size: 12px;
  margin-top: -10px;
  margin-bottom: 10px;
}