.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fadeIn 0.5s ease;
}

.form-row {
  display: flex;
  gap: 10px;
}

.auth-form input {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #d4af37;
  padding: 12px;
  color: #f5e6c8;
  font-family: 'Cinzel', serif;
  border-radius: 4px;
  outline: none;
  transition: 0.3s;
}

.auth-form input:focus {
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  background: rgba(20, 20, 20, 0.8);
  
}

.back-link {
  text-align: center;
  color: #d4af37;
  font-size: 0.8rem;
  cursor: pointer;
  margin-top: 10px;
  opacity: 0.7;
  transition: 0.3s;
}

.back-link:hover {
  opacity: 1;
  text-shadow: 0 0 5px #d4af37;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .form-row {
    flex-direction: column;
  }
  .portal-box {
    padding: 25px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.auth-error {
  color: #ff6b6b;
  margin-top: 8px;
  font-size: 13px;
}

.auth-loading {
  color: #ffd27d;
  margin-top: 8px;
  font-size: 13px;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

input:disabled {
  opacity: 0.7;
}
