/* auth-modal.css */
.auth-modal-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.4); z-index: 9999; display: flex; align-items: center; justify-content: center;
}
.auth-modal {
  background: #fff; color: #222; border-radius: 10px; padding: 2rem 1.5rem; width: 100%; max-width: 350px; box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  position: relative;
}
.auth-modal-close {
  position: absolute; top: 10px; right: 10px; background: none; border: none; font-size: 1.5rem; color: #888; cursor: pointer;
}
.auth-modal-tabs {
  display: flex; justify-content: center; margin-bottom: 1rem;
}*
.auth-modal-tabs button {
  background: none; border: none; padding: 0.5rem 1.5rem; font-size: 1rem; cursor: pointer; color: #888; border-bottom: 2px solid transparent;
}
.auth-modal-tabs button.active {
  color: #0074d9; border-bottom: 2px solid #0074d9; font-weight: bold;
}
.auth-modal-form { margin-bottom: 0.5rem; }
.auth-modal-form input {
  width: 100%; padding: 0.7rem; margin-bottom: 0.7rem; border: 1px solid #ccc; border-radius: 5px; background: #f7f7f7;
}
.auth-btn {
  width: 100%; background: #0074d9; color: #fff; border: none; padding: 0.7rem; border-radius: 5px; font-weight: bold; cursor: pointer;
  transition: background 0.2s;
}
.auth-btn:hover { background: #005fa3; }
.auth-modal-links { 
  text-align: right; 
  margin-bottom: 2.5rem; 
  margin-top: 1.5rem; /* Adds white space above "Forgot password?" */
}
.auth-modal-links a { color: #888; font-size: 0.95em; text-decoration: underline; }
.auth-modal-error { color: #e74c3c; font-size: 0.95em; min-height: 1.2em; margin-bottom: 0.5em; }
.auth-modal-logo {
  display: block;
  margin: 0 auto 1.2rem auto;
  max-width: 15px;   /* Reduce this value for smaller size */
  max-height: 15px;  /* Reduce this value for smaller size */
}

/* Password toggle styles */
.password-wrapper {
  position: relative;
}
.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
  padding-right: 40px;
}
.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.toggle-password i {
  font-size: 1.1em;
}
.toggle-password:hover {
  color: #0074d9;
}

/* New notification styles */
.auth-notification {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.95); /* Ensure full white background */
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.auth-notification-content {
  text-align: center;
  padding: 1.5rem;
  width: 90%;
}

.auth-notification-content.success {
  color: #2ecc71;
}

.auth-notification-content.error {
  color: #e74c3c;
}

.auth-notification-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.auth-notification-btn {
  background: #0074d9;
  color: #fff;
  border: none;
  padding: 0.7rem 2rem;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.auth-notification-btn:hover {
  background: #005fa3;
}

@media (max-width: 500px) {
  .auth-modal { max-width: 95vw; padding: 1.2rem 0.5rem; }
}