/* ===== Login — extrahiert aus login.html <style> ===== */
  @import url('/shared/fonts/inter.css');
  * { margin: 0; padding: 0; box-sizing: border-box; }

  :root {
    --bg: linear-gradient(145deg, #eef2f7 0%, #e4ecf4 25%, #dfe8f0 50%, #e8eef5 75%, #f0f4f8 100%);
    --card-bg: rgba(255,255,255,0.45);
    --card-border: rgba(255,255,255,0.6);
    --text-primary: #1c1c1e;
    --text-secondary: #636366;
    --text-tertiary: #8e8e93;
    --input-bg: rgba(255,255,255,0.5);
    --input-border: rgba(0,0,0,0.08);
    --accent: #04b3d6;
    --error-bg: rgba(255,69,58,0.1);
    --error-color: #ff453a;
  }

  [data-theme="dark"] {
    --bg: linear-gradient(145deg, #0a0d13 0%, #0e1420 20%, #101826 40%, #0d141d 60%, #0b0f16 80%, #0d1318 100%);
    --card-bg: rgba(255,255,255,0.06);
    --card-border: rgba(255,255,255,0.1);
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-tertiary: #636366;
    --input-bg: rgba(255,255,255,0.08);
    --input-border: rgba(255,255,255,0.12);
    --accent: #2cc5e4;
    --error-bg: rgba(255,69,58,0.15);
    --error-color: #ff6b6b;
  }

  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    min-height: 100vh;
    background: var(--bg);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    -webkit-font-smoothing: antialiased;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  @keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  .login-card {
    width: 100%;
    max-width: 400px;
    background: var(--card-bg);
    backdrop-filter: blur(60px) saturate(180%);
    -webkit-backdrop-filter: blur(60px) saturate(180%);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
  }
  .login-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, transparent 100%);
    border-radius: 24px 24px 0 0;
    pointer-events: none;
  }
  [data-theme="dark"] .login-card::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 100%);
  }

  .login-header {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
  }

  .login-logo {
    height: 40px;
    margin-bottom: 16px;
  }
  [data-theme="dark"] .login-logo { filter: brightness(0) invert(1); }

  .login-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 6px;
  }
  .login-header p {
    font-size: 14px;
    color: var(--text-secondary);
  }

  .form-group {
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
  }

  .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
  }

  .form-group input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
  }
  .form-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(4,179,214,0.15);
  }
  .form-group input::placeholder {
    color: var(--text-tertiary);
  }

  .login-btn {
    width: 100%;
    padding: 13px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #04b3d6, #0090b0);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    z-index: 1;
    margin-top: 8px;
  }
  .login-btn:hover { opacity: 0.9; transform: translateY(-1px); }
  .login-btn:active { transform: translateY(0); }
  .login-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

  .error-msg {
    display: none;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--error-bg);
    color: var(--error-color);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
  }
  .error-msg.visible { display: block; }

  .footer {
    text-align: center;
    margin-top: 24px;
    font-size: 12px;
    color: var(--text-tertiary);
    position: relative;
    z-index: 1;
  }

  @media (max-width: 480px) {
    .login-card { padding: 32px 20px; }
  }
