/* auth.css */
:root {
  --primary: #008080;
  --primary-light: #e0f7f7;
  --bg: #f9f9f9;
  --text: #333;
  --error: #ff4d4f;
  --success: #4BB543;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
}

body::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background-image: url('../images/bg-light.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}




.auth-container {
  padding: 2rem 2.5rem;
  background: #ffffffb0;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
  position: absolute;
  z-index: 1;
}

h1,
h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

form input,
form select,
form button {
  display: block;
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

form button {
  background-color: var(--primary);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background-color: #006666;
}

.flash {
  padding: 0.75rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.95rem;
}

.flash.error {
  background-color: #ffe5e5;
  color: var(--error);
}

.flash.success {
  background-color: #e6ffed;
  color: var(--success);
}

label {
  color: var(--text);
}

p {
  text-align: center;
  margin-block: 1rem;
  font-size: 0.9rem;
  color: #464545;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


.auth-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}





/* Inline styles to position eye inside input */
.password-toggle {
  background-color: transparent;
}

.two-col {
  display: flex;
  align-items: center;
}

.password-group button {
  width: max-content;
}

.password-group input {
  width: 100%;
}


.password-toggle svg {
  display: block;
  color: #333;
}