/* AUTH PAGE STYLES – nutzt Navbar & Header aus style.css */

/* Container füllt den Bereich unter Header+Navbar */
.page-content {
  min-height: calc(100vh - 90px - 50px); /* Header + Navbar grob */
  display: flex;
  flex-direction: column;
}

/* AUTH CONTAINER */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 200px);
  padding: 40px 20px;
  background: linear-gradient(135deg, #0f0b13 0%, var(--bg) 100%);
}

/* AUTH CARD */
.auth-card {
  background: var(--panel);
  border: 2px solid var(--accent1);
  border-radius: 12px;
  padding: 40px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.auth-card h2 {
  color: var(--accent1);
  text-align: center;
  margin: 0 0 25px 0;
  font-size: 24px;
  letter-spacing: 0.5px;
}

/* TABS */
.auth-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  background: rgba(138, 43, 226, 0.15);
  padding: 5px;
  border-radius: 8px;
}

.auth-tab-btn {
  flex: 1;
  padding: 12px 15px;
  border: none;
  background: transparent;
  color: var(--accent2);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auth-tab-btn:hover {
  background: rgba(50, 205, 50, 0.1);
  color: var(--accent1);
}

.auth-tab-btn.active {
  background: var(--accent1);
  color: white;
  box-shadow: 0 4px 12px rgba(138, 43, 226, 0.4);
}

/* FORMS */
.auth-form {
  display: none;
  animation: fadeIn 0.25s ease;
}

.auth-form.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-form label {
  color: var(--accent1);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auth-form input,
.auth-form select {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid rgba(138, 43, 226, 0.4);
  border-radius: 6px;
  background: #1f1a30;
  color: var(--text);
  font-size: 14px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.auth-form input:focus,
.auth-form select:focus {
  outline: none;
  border-color: var(--accent1);
  background: #262039;
  box-shadow: 0 0 8px rgba(138, 43, 226, 0.4);
}

.auth-form input::placeholder {
  color: rgba(244, 244, 244, 0.5);
}

/* PASSWORD STRENGTH */
.password-strength {
  font-size: 12px;
  margin-top: -12px;
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.strength-weak {
  color: #ff4444;
}

.strength-medium {
  color: #ffaa00;
}

.strength-strong {
  color: var(--accent2);
}

/* BUTTON */
.auth-btn {
  width: 100%;
  padding: 14px;
  background: var(--accent1);
  border: none;
  border-radius: 6px;
  color: white;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 10px;
}

.auth-btn:hover {
  background: var(--accent2);
  color: black;
  box-shadow: 0 6px 18px rgba(50, 205, 50, 0.4);
  transform: translateY(-2px);
}

.auth-btn:active {
  transform: translateY(0);
}

/* MESSAGES */
.auth-message {
  background: rgba(50, 205, 50, 0.15);
  border: 1px solid #32cd32;
  color: #32cd32;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
}

.error-message {
  background: rgba(255, 68, 68, 0.15);
  border: 1px solid #ff4444;
  color: #ff6666;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 480px) {
  .auth-card {
    padding: 25px;
  }

  .auth-card h2 {
    font-size: 20px;
  }

  .auth-form input,
  .auth-form select,
  .auth-btn {
    font-size: 16px;
  }
}
