:root {
  --error-color: yellow;
}



/* Base page styling */
body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f2f2f2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

/* Main container (login or register box) */
.login-box,
.register-box,
.index-box {
  width: 350px;
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  border: 2px solid #ddd;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Centered main header */
.login-box h1,
.register-box h1,
.index-box h1 {
  text-align: center;
  margin-top: 5px;
  margin-bottom: 10px;
}

/* Centered subtitle text */
.subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 20px;
  font-size: 14px;
}

/* Input fields */
input[type=text],
input[type=password] {
  width: 100%;
  padding: 12px 15px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  box-sizing: border-box;
}

input[type=text]:focus,
input[type=password]:focus {
  border-color: #04AA6D;
  outline: none;
}

/* Sign-in section under the register button */
.container.signin {
  margin-top: 20px;
  padding: 15px;
  background-color: #f9f9f9;
  border: 2px solid #ddd;
  border-radius: 6px;
  text-align: center;
}

/* Buttons */
button {
  width: 100%;
  background-color: #04AA6D;
  color: white;
  padding: 14px 20px;
  margin-top: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
}

button:hover {
  opacity: 0.9;
}

/* Forgot password link */
.q-text, .password {
  display: block;
  text-align: center;
  margin-top: 10px;
}

.password a {
  color: #04AA6D;
  text-decoration: none;
}

.password a:hover {
  text-decoration: underline;
}