/* Wie zuvor: kräftigerer Lila-Verlauf (abgestuft zu Layout-base) */
  body.page-login {
    background: linear-gradient(145deg, #7b87e8 0%, #8b7ec9 45%, #7d6ba8 100%) !important;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }

  .login-wrap {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
  }

  .login-brand {
    margin-bottom: 28px;
  }

  .login-logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
  }

  .login-logo-row img {
    height: 56px;
    width: auto;
    display: block;
    border-radius: 10px;
  }

  .login-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0 0 8px 0;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  }

  .login-subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    margin: 0;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
  }

  .login-form-block {
    margin-top: 28px;
    text-align: left;
  }

  .login-field {
    margin-bottom: 18px;
  }

  .login-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
  }

  .login-field input {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.9375rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.97);
    color: #1e293b;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
  }

  .login-field input::placeholder {
    color: #94a3b8;
  }

  .login-field input:hover {
    border-color: #94a3b8;
  }

  .login-field input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.25);
  }

  .login-alert {
    padding: 12px 14px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 0.875rem;
    line-height: 1.4;
    text-align: left;
  }

  .login-alert--error {
    background: rgba(254, 242, 242, 0.98);
    color: #991b1b;
    border: 1px solid #fecaca;
  }

  .login-alert--ok {
    background: rgba(240, 253, 244, 0.98);
    color: #166534;
    border: 1px solid #bbf7d0;
  }

  .login-submit {
    width: 100%;
    margin-top: 8px;
    padding: 12px 16px;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    background: #667eea;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.45);
    transition: background 0.15s ease, box-shadow 0.15s ease;
  }

  .login-submit:hover {
    background: #5568d3;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
  }

  .login-submit:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.45);
  }

  .login-google-wrap {
    margin-top: 8px;
  }

  .login-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 11px 16px;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    color: #1e293b;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    text-decoration: none;
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  }

  .login-google:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  }

  .login-google:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.25);
  }

  .login-google svg {
    flex-shrink: 0;
  }

  .login-footer-link {
    display: block;
    margin-top: 24px;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 500;
  }

  .login-footer-link a {
    color: #475569;
    text-decoration: none;
    border-bottom: 1px solid rgba(71, 85, 105, 0.35);
    transition: color 0.15s ease, border-color 0.15s ease;
  }

  .login-footer-link a:hover {
    color: #1e293b;
    border-bottom-color: rgba(30, 41, 59, 0.5);
  }

  .login-email-details {
    margin-top: 12px;
    text-align: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(148, 163, 184, 0.45);
    padding: 0 10px;
    padding-bottom: 0;
    transition: padding-bottom 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .login-email-details.is-open {
    padding-bottom: 12px;
  }

  .login-email-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .login-email-details.is-open .login-email-panel {
    grid-template-rows: 1fr;
  }

  .login-email-panel-inner {
    overflow: hidden;
    min-height: 0;
  }

  .login-email-details .login-form-block {
    margin-top: 4px;
  }

  .login-email-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 8px 0;
    min-height: 0;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    color: #334155;
    user-select: none;
    background: transparent;
    border: none;
    border-radius: 0;
    text-align: center;
  }

  .login-email-summary:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(102, 126, 234, 0.35);
    border-radius: 6px;
  }

  .login-email-summary:focus:not(:focus-visible) {
    box-shadow: none;
  }

  .login-email-summary:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(102, 126, 234, 0.45);
    border-radius: 6px;
  }

  .login-email-summary::after {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: rotate(45deg);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    margin-top: -4px;
  }

  .login-email-details.is-open .login-email-summary::after {
    transform: rotate(-135deg);
    margin-top: 2px;
  }

  .login-email-summary:hover {
    color: #1e293b;
  }

  @media (prefers-reduced-motion: reduce) {
    .login-email-details,
    .login-email-panel,
    .login-email-summary::after {
      transition-duration: 0.01ms !important;
    }
  }
