/* VenueOS — Auth styles */

    /* Staff auth screen — VenueOS neutral branding (no client affiliation pre-login) */
    .venue-os-auth-screen {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 10060;
      background:
        radial-gradient(ellipse 70% 55% at 50% 45%, rgba(60,75,140,.28) 0%, transparent 70%),
        linear-gradient(180deg, #090910 0%, #12121f 100%);
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    /* Card entrance animation */
    @keyframes venue-os-auth-rise {
      from { opacity: 0; transform: translateY(14px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .venue-os-auth-preview-banner {
      font-size: 0.8rem;
      line-height: 1.45;
      color: rgba(240,235,226,.92);
      background: rgba(212, 184, 114, 0.12);
      border: 1px solid rgba(212, 184, 114, 0.35);
      border-radius: 12px;
      padding: 12px 14px;
      margin: 0 0 20px;
    }
    .venue-os-auth-preview-banner strong { color: #e8d9a8; }
    a.venue-os-auth-preview-link {
      color: #d4b872;
      font-weight: 600;
      text-decoration: underline;
      text-underline-offset: 2px;
    }
    a.venue-os-auth-preview-link:hover { color: #e8d9a8; }

    .venue-os-auth-box {
      width: 100%;
      max-width: 380px;
      background: rgba(14,14,22,.78);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border-radius: 22px;
      padding: 40px 32px 32px;
      box-shadow:
        0 24px 80px rgba(0,0,0,.75),
        0 0 0 1px rgba(255,255,255,.09),
        inset 0 1px 0 rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.07);
      animation: venue-os-auth-rise 0.38s cubic-bezier(.22,.68,0,1.1) both;
    }

    /* VenueOS mark */
    .venue-os-auth-mark {
      display: block;
      width: 52px;
      height: 52px;
      margin: 0 auto 18px;
      opacity: 0.9;
      filter: drop-shadow(0 2px 8px rgba(136,153,204,.25));
    }

    .venue-os-auth-crest {
      width: 96px;
      height: auto;
      display: block;
      margin: 0 auto 20px;
      border-radius: 50%;
      opacity: 0.95;
    }
    .venue-os-auth-title {
      font-family: 'Syne', sans-serif;
      font-size: 2rem;
      font-weight: 700;
      background: linear-gradient(135deg, #f0ebe2 0%, #d4b872 60%, #f0ebe2 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      text-align: center;
      margin: 0 0 6px;
      letter-spacing: 0.04em;
    }
    .venue-os-auth-subtitle {
      font-size: 0.85rem;
      color: rgba(240,235,226,.4);
      text-align: center;
      margin: 0 0 28px;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }
    .venue-os-auth-tabs {
      display: flex;
      gap: 0;
      margin-bottom: 20px;
      border-bottom: 1px solid rgba(255,255,255,.09);
    }
    .venue-os-auth-tab {
      flex: 1;
      padding: 10px 16px;
      border: none;
      background: none;
      font-family: 'Inter', sans-serif;
      font-size: 0.95rem;
      font-weight: 500;
      color: rgba(240,235,226,.45);
      cursor: pointer;
      border-bottom: 2px solid transparent;
      margin-bottom: -1px;
      transition: color 0.2s, border-color 0.2s;
    }
    .venue-os-auth-tab:hover { color: #f0ebe2; }
    .venue-os-auth-tab.active {
      color: #8899cc;
      border-bottom-color: #8899cc;
    }
    .venue-os-auth-form label {
      display: block;
      font-size: 0.8rem;
      font-weight: 600;
      color: rgba(240,235,226,.65);
      margin-bottom: 6px;
    }
    .venue-os-auth-field-wrap { margin-bottom: 16px; }
    .venue-os-auth-form input {
      width: 100%;
      padding: 12px 14px;
      border: 1px solid rgba(255,255,255,.1);
      border-radius: 10px;
      font-size: 1rem;
      background: rgba(255,255,255,.04);
      color: #f0ebe2;
      transition: border-color 0.2s, box-shadow 0.2s;
      box-shadow: inset 0 1px 3px rgba(0,0,0,.35);
    }
    .venue-os-auth-form input::placeholder { color: rgba(240,235,226,.3); }
    .venue-os-auth-form input:focus {
      outline: none;
      border-color: rgba(136,153,204,.6);
      box-shadow: inset 0 1px 3px rgba(0,0,0,.35), 0 0 0 3px rgba(136,153,204,.18);
    }
    .venue-os-auth-error {
      font-size: 0.85rem;
      color: #b0413e;
      margin: 0 0 12px;
      min-height: 1.2em;
      white-space: pre-wrap;
      word-break: break-word;
    }
    .venue-os-auth-submit {
      width: 100%;
      padding: 14px;
      border: none;
      border-radius: 10px;
      background: linear-gradient(135deg, #3a4f8a 0%, #2a3a5e 100%);
      color: #fff;
      font-family: 'Inter', sans-serif;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
      box-shadow: 0 2px 12px rgba(60,80,160,.25);
    }
    .venue-os-auth-submit:hover {
      background: linear-gradient(135deg, #4a5f9a 0%, #3a4f8a 100%);
      box-shadow: 0 4px 20px rgba(136,153,204,.35);
      transform: translateY(-1px);
    }
    .venue-os-auth-submit:active { transform: translateY(0); }
    .venue-os-auth-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; box-shadow: none; }
    .venue-os-analytics-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border-radius: 8px;
      background: rgba(255,255,255,.15);
      color: #fff;
      text-decoration: none;
      font-size: 1.1rem;
      transition: background 0.2s;
    }
    .venue-os-analytics-link:hover { background: rgba(255,255,255,.25); }
    @media (max-width: 768px) {
      .venue-os-analytics-link { display: none !important; }
    }
    .venue-os-logout-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 36px;
      min-height: 36px;
      padding: 0 8px;
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,.4);
      background: transparent;
      color: #fff;
      font-size: 1.1rem;
      cursor: pointer;
      transition: background 0.2s, border-color 0.2s;
    }
    .venue-os-logout-btn:hover {
      background: rgba(255,255,255,.1);
      border-color: rgba(255,255,255,.6);
    }
    .venue-os-logout-btn .logout-text { display: none; }
    .venue-os-logout-btn .logout-emoji { display: inline; }
    @media (min-width: 769px) {
      .venue-os-logout-btn .logout-text { display: inline; }
      .venue-os-logout-btn .logout-emoji { display: none; }
      .venue-os-logout-btn { padding: 0 12px; font-size: 0.9rem; font-family: inherit; font-weight: 500; }
    }
    .venue-os-auth-forgot { margin: 14px 0 0; text-align: center; }
    .venue-os-auth-forgot-btn {
      background: none;
      border: none;
      color: rgba(136,153,204,.7);
      font-size: 0.875rem;
      cursor: pointer;
      padding: 0;
      text-decoration: underline;
      text-underline-offset: 2px;
    }
    .venue-os-auth-forgot-btn:hover { color: #8899cc; }
    .venue-os-auth-forgot-btn:disabled { opacity: 0.6; cursor: default; text-decoration: none; }

    .venue-os-auth-howto-toggle { margin: 16px 0 0; text-align: center; }
    .venue-os-auth-howto-btn {
      background: none;
      border: none;
      color: rgba(212,184,114,.8);
      font-size: 0.9rem;
      text-decoration: underline;
      cursor: pointer;
      padding: 0;
    }
    .venue-os-auth-howto-btn:hover { color: #d4b872; }
    .venue-os-auth-howto {
      display: none;
      margin-top: 16px;
      padding: 16px;
      background: rgba(255,255,255,.03);
      border-radius: 10px;
      border: 1px solid rgba(255,255,255,.07);
      font-size: 0.9rem;
      color: rgba(240,235,226,.7);
      text-align: left;
    }
    .venue-os-auth-howto p { margin: 0 0 12px; }
    .venue-os-auth-howto p:last-child { margin-bottom: 0; }
    .venue-os-auth-howto a { color: #d4b872; font-weight: 500; }
