/* Extracted verbatim from login.html — Batch 2c, 22 Aug 2026.
   Byte-identical to the <style> block(s) it replaces; the <link> sits at
   exactly the position the first block occupied, so the cascade is
   unchanged. Shared rules are hoisted to style.css in a separate pass. */
.login-page {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #f9f9f9;
      padding: 24px;
    }

    .login-card {
      background: white;
      border-radius: 16px;
      padding: 48px;
      max-width: 460px;
      width: 100%;
      box-shadow: 0 4px 24px rgba(0,0,0,0.08);
      border: 2px solid #0d3d2a;
      text-align: center;
    }

    .login-logo {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      margin-bottom: 32px;
    }

    .login-logo-icon { width: 40px; height: 40px; }

    .login-logo-text {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      line-height: 1;
    }

    .login-logo-text span:first-child {
      font-size: 11px;
      font-weight: 700;
      color: #f58220;
      letter-spacing: 2px;
      text-transform: uppercase;
    }

    .login-logo-text span:last-child {
      font-size: 22px;
      font-weight: 800;
      color: #1fb376;
      letter-spacing: -0.5px;
    }

    /* ── Invite banner ── */
    .invite-banner {
      display: none;
      background: #e8f8f2;
      border: 1px solid #1fb376;
      border-radius: 10px;
      padding: 14px 18px;
      font-size: 14px;
      color: #1a7a65;
      text-align: left;
      margin-bottom: 24px;
      line-height: 1.5;
    }

    .invite-banner strong { color: #1fb376; }

    /* ── Tabs ── */
    .login-tabs {
      display: flex;
      border-bottom: 2px solid #f0f0f0;
      margin-bottom: 32px;
    }

    .login-tab {
      flex: 1;
      padding: 10px 0;
      font-size: 15px;
      font-weight: 600;
      font-family: inherit;
      color: #999;
      background: none;
      border: none;
      border-bottom: 3px solid transparent;
      margin-bottom: -2px;
      cursor: pointer;
      transition: color 0.2s, border-color 0.2s;
    }

    .login-tab.active {
      color: #f58220;
      border-bottom-color: #f58220;
    }

    .login-tab:hover:not(.active) { color: #555; }

    /* ── Form elements ── */
    .login-heading {
      font-size: 22px;
      font-weight: 700;
      color: #333;
      margin-bottom: 8px;
    }

    .login-subheading {
      font-size: 14px;
      color: #666;
      margin-bottom: 24px;
      line-height: 1.6;
    }

    .login-form {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .login-input {
      width: 100%;
      padding: 14px 16px;
      border: 2px solid #e0e0e0;
      border-radius: 10px;
      font-size: 16px;
      font-family: inherit;
      color: #333;
      transition: border-color 0.2s;
      box-sizing: border-box;
    }

    .login-input:focus {
      outline: none;
      border-color: #f58220;
    }

    .login-btn {
      background: #f58220;
      color: white;
      border: none;
      border-radius: 10px;
      padding: 14px 24px;
      font-size: 16px;
      font-weight: 700;
      font-family: inherit;
      cursor: pointer;
      transition: background 0.2s, transform 0.1s;
      margin-top: 4px;
    }

    .login-btn:hover { background: #e07010; }
    .login-btn:active { transform: scale(0.98); }
    .login-btn:disabled { background: #ccc; cursor: not-allowed; transform: none; }

    .divider {
      display: flex;
      align-items: center;
      gap: 12px;
      color: #aaa;
      font-size: 13px;
    }

    .divider::before,
    .divider::after {
      content: '';
      flex: 1;
      height: 1px;
      background: #aaa;
    }

    .login-btn-secondary {
      background: #fff8f3;
      color: #f58220;
      border: 2px solid #f58220;
      border-radius: 10px;
      padding: 13px 24px;
      font-size: 15px;
      font-weight: 600;
      font-family: inherit;
      cursor: pointer;
      transition: background 0.2s;
    }

    .login-btn-secondary:hover { background: #fdeede; }
    .login-btn-secondary:disabled { opacity: 0.5; cursor: not-allowed; }

    .forgot-link {
      font-size: 13px;
      color: #f58220;
      background: none;
      border: none;
      font-family: inherit;
      cursor: pointer;
      padding: 0;
      text-align: right;
      align-self: flex-end;
    }

    .forgot-link:hover { text-decoration: underline; }

    /* ── Magic link info box ── */
    .magic-link-info {
      background: #fff8f3;
      border: 1px solid #fdd9b5;
      border-radius: 8px;
      padding: 12px 14px;
      font-size: 15px;
      color: #777;
      text-align: left;
      line-height: 1.5;
    }

    .magic-link-info strong { color: #555; }

    /* ── Alerts ── */
    .login-error {
      display: none;
      background: #fdecea;
      border: 1px solid #f5c6cb;
      border-radius: 8px;
      padding: 12px 16px;
      font-size: 14px;
      color: #c0392b;
      text-align: left;
      line-height: 1.5;
    }

    .login-info {
      display: none;
      background: #e8f8f2;
      border: 1px solid #1fb376;
      border-radius: 8px;
      padding: 12px 16px;
      font-size: 14px;
      color: #1a7a65;
      text-align: left;
      line-height: 1.5;
    }

    /* ── Success state ── */
    .login-success { display: none; }
    .login-success-icon { font-size: 48px; margin-bottom: 16px; }
    .login-success-heading { font-size: 22px; font-weight: 700; color: #1fb376; margin-bottom: 8px; }
    .login-success-text { font-size: 14px; color: #666; line-height: 1.6; }
    .login-success-email { font-weight: 700; color: #333; }

    .login-footer {
      margin-top: 28px;
      font-size: 13px;
      color: #bbb;
      line-height: 1.6;
    }
    @media (max-width: 640px) {
  .login-card {
    padding: 32px 24px !important;
  }
}
