/* membership.css: Styles für Mitgliedschaftsseite und Membership-Formulare */

/* Verifizierungs-Banner (E-Mail) */
.wsg-verification-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 16px 0;
  text-align: center;
  font-size: 1.1em;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.wsg-verify-success {
  background: #e7fbe7;
  color: #207520;
}
.wsg-verify-error {
  background: #ffeaea;
  color: #a80000;
}
@media (max-width: 600px) {
  .wsg-verification-banner {
    font-size: 1em;
  }
}

/* WSG Newsletter/Anmeldeformular */
.wsg-mitglied-hero {
  font-size: 2.1rem;
  font-weight: 900;
  color: #764ba2;
  margin-bottom: 0.5em;
  text-align: center;
}
.wsg-mitglied-desc {
  font-size: 1.1rem;
  color: #4a5568;
  text-align: center;
  margin-bottom: 1.2em;
}
.wsg-mitglied-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4em;
  margin: 1.2em 0 2em 0;
  padding: 0;
  list-style: none;
}
.wsg-mitglied-features li {
  background: #f6f8fa;
  border-radius: 12px;
  padding: 1em 1.8em;
  font-size: 1.05rem;
  color: #764ba2;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(118, 75, 162, 0.07);
  display: flex;
  align-items: center;
  gap: 0.7em;
}
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f8fb;
}
.auth-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(60, 80, 130, 0.1);
  padding: 2.5rem 2rem;
  min-width: 100%;
  max-width: 95vw;
}
.auth-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.auth-tabs .tab {
  background: none;
  border: none;
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  color: #555;
  border-bottom: 2px solid transparent;
  transition: border 0.2s;
}
.auth-tabs .tab.active {
  border-bottom: 2px solid #0076b6;
  color: #0076b6;
}
.auth-form .form-group {
  position: relative;
  margin-bottom: 1.5rem;
}
.auth-form input {
  width: 100%;
  padding: 1rem 2.5rem 1rem 1rem;
  border: 1px solid #e0e4ea;
  border-radius: 8px;
  background: #f9fafc;
  font-size: 1rem;
  outline: none;
  transition: border 0.2s;
}
.auth-form input:focus {
  border: 1.5px solid #0076b6;
  background: #fff;
}
.auth-form label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: #888;
  background: transparent;
  pointer-events: none;
  transition: 0.2s;
}
.auth-form input:focus + label,
.auth-form input:not(:placeholder-shown) + label {
  top: -0.7rem;
  left: 0.8rem;
  background: #fff;
  padding: 0 0.3rem;
  font-size: 0.9rem;
  color: #0076b6;
}
.auth-form .icon {
  position: absolute;
  right: 1rem;
  top: 1.1rem;
  color: #bbb;
  font-size: 1.1rem;
  cursor: pointer;
}
.primary-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(90deg, #0076b6, #33b1e0);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 118, 182, 0.08);
}
.primary-btn:hover {
  background: linear-gradient(90deg, #005b8f, #33b1e0);
}

#wsg-login-form {
  max-width: 430px;
  margin: 2em auto;
  padding: 2em 2.2em 1.2em 2.2em;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(102, 126, 234, 0.06);
}
#wsg-login-form label {
  display: block;
  margin-bottom: 0.25em;
  color: #764ba2;
  font-weight: 600;
}
#wsg-login-form input[type="email"],
#wsg-login-form input[type="password"] {
  width: 100%;
  margin-bottom: 1.1em;
  padding: 0.6em;
  border-radius: 5px;
  border: 1px solid #bbb;
  font-size: 1rem;
}
#wsg-login-form button {
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  padding: 0.75em 1.8em;
  border-radius: 5px;
  font-size: 1.06rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.12);
  transition: background 0.2s;
  margin-top: 0.5em;
}
#wsg-login-form button:hover {
  background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
}
#wsg-login-message .success {
  color: #27ae60;
}
#wsg-login-message .error {
  color: #c0392b;
}

@media (max-width: 600px) {
  .wsg-mitglied-features {
    flex-direction: column;
    gap: 0.7em;
  }
  #wsg-login-form {
    padding: 1.2em 0.7em;
  }
}

#wsg-login-form {
  max-width: 100%;
  margin: 2em auto;
  padding: 2em;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 8px;
}
#wsg-login-form label {
  display: block;
  margin-bottom: 0.25em;
}
#wsg-login-form input[type="email"],
#wsg-login-form input[type="password"] {
  width: 100%;
  margin-bottom: 1em;
  padding: 0.5em;
  border-radius: 4px;
  border: 1px solid #bbb;
}
#wsg-login-form button {
  background: #0073aa;
  color: #fff;
  border: none;
  padding: 0.75em 1.5em;
  border-radius: 4px;
  cursor: pointer;
}
.wsg-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  max-width: 480px;
  margin: 0em auto 1.5em auto;
  font-size: 1.18rem;
  font-weight: 600;
  text-align: center;
  border-radius: 18px;
  opacity: 0;
  transition:
    opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.2s;
  border: none;
  min-height: 58px;
}

.wsg-message.slideDown,
.wsg-message.show {
  opacity: 1;
}
.wsg-message .success {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: #155724;
  background: linear-gradient(90deg, #eafaf1 0%, #e0f7e9 100%);
  padding: 0.5em 1.2em;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: none;
}
.wsg-message .success::before {
  content: "\2714"; /* Häkchen-Emoji */
  font-size: 1.25em;
  color: #27ae60;
  margin-right: 0.3em;
}

.wsg-message .error {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: #721c24;
  background: linear-gradient(90deg, #fdeaea 0%, #fbeaea 100%);
  padding: 0.5em 1.2em;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: none;
}
.wsg-message .error::before {
  content: "\26A0"; /* Warn-Emoji */
  font-size: 1.25em;
  color: #c0392b;
  margin-right: 0.3em;
}

@media (max-width: 600px) {
  .wsg-message {
    font-size: 1rem;
    padding: 0.8em 0.6em;
    max-width: 98vw;
  }
}

.wsg-loader .spinner {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 4px solid #764ba2;
  border-top: 4px solid #e2e8f0;
  border-radius: 50%;
  animation: wsg-spin 1s linear infinite;
  margin: 0 auto;
}
@keyframes wsg-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
