/* Add this to your main CSS file or a dedicated auth.css */
body{
  background-color: #0a0a0a; /* Your desired dark background */
}

.auth-container {
  max-width: 450px; /* Or your preferred width for forms */
  margin: 80px auto; /* Centering with some space from navbar */
  padding: 40px;
  background: rgba(20, 20, 20, 0.95); /* Slightly different from navbar for depth */
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  color: #ccc;
  font-family: 'Vazirmatn', sans-serif;
}

.auth-container h2 {
  color: #D4AF37;
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
  font-weight: 500;
}

.auth-container p {
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: right; /* RTL */
  font-size: 0.95rem;
}

.auth-form .form-group {
  margin-bottom: 20px;
  text-align: right; /* RTL */
}

.auth-form label {
  display: block;
  color: #bbb;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  background: #0a0a0a;
  border: 1px solid #333; /* Darker border */
  border-radius: 4px;
  color: #fff;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1rem;
  box-sizing: border-box; /* Important for width 100% */
  transition: border-color 0.3s;
}

.auth-form input[type="text"]:focus,
.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus {
  border-color: #D4AF37;
  outline: none;
}

.auth-form .helptext {
  font-size: 0.8rem;
  color: #777;
  display: block;
  margin-top: 5px;
}

.auth-form .errorlist {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  color: #ff6b6b; /* A reddish error color */
  font-size: 0.85rem;
}
.auth-form .errorlist li {
  padding: 5px 0;
}


.auth-submit-btn {
  background: #D4AF37;
  color: #000;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Vazirmatn', sans-serif;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: block;
  width: 100%;
  margin-top: 25px;
}

.auth-submit-btn:hover {
  background: #e8c252; /* Lighter gold on hover */
}

.auth-links {
  text-align: center;
  margin-top: 25px;
}

.auth-links a {
  color: #D4AF37;
  text-decoration: none;
  font-size: 0.9rem;
  margin: 0 10px;
  transition: opacity 0.3s;
}

.auth-links a:hover {
  opacity: 0.8;
}

.auth-message {
    text-align: center;
    font-size: 1rem;
}