
    :root {
      --sg-bg: #050607;
      --sg-panel: rgba(10, 12, 14, 0.78);
      --sg-panel-strong: rgba(12, 14, 17, 0.9);
      --sg-border: rgba(217, 164, 65, 0.58);
      --sg-border-soft: rgba(255, 255, 255, 0.1);
      --sg-gold: #d9a441;
      --sg-gold-light: #efc766;
      --sg-text: #f4f4f5;
      --sg-muted: #b8bcc3;
      --sg-field: rgba(21, 23, 27, 0.86);
      --sg-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      min-height: 100vh;
      font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--sg-text);
      background: var(--sg-bg);
      overflow-x: hidden;
    }

    .sg-login-page {
      min-height: 100vh;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 36px 24px;
      background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.72)),
        radial-gradient(circle at 16% 16%, rgba(217, 164, 65, 0.2), transparent 28%),
        radial-gradient(circle at 84% 36%, rgba(217, 164, 65, 0.14), transparent 30%),
        url("https://images.unsplash.com/photo-1514933651103-005eec06c04b?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
    }

    .sg-login-page::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.34);
      backdrop-filter: blur(3px);
    }

    .sg-login-page::after {
      content: "";
      position: absolute;
      inset: auto 0 0;
      height: 30%;
      background: linear-gradient(0deg, rgba(6, 6, 7, 0.9), transparent);
      pointer-events: none;
    }

    .sg-login-shell {
      position: relative;
      z-index: 1;
      width: min(100%, 640px);
      display: grid;
      gap: 20px;
      justify-items: center;
    }

    .sg-brand {
      display: flex;
      align-items: center;
      gap: 22px;
      margin-bottom: 2px;
    }

    .sg-brand-mark {
      width: 76px;
      height: 76px;
      border: 2px solid var(--sg-gold);
      border-radius: 12px;
      display: grid;
      place-items: center;
      color: var(--sg-gold);
      background: rgba(7, 9, 11, 0.58);
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    }

    .sg-brand-mark svg {
      width: 48px;
      height: 48px;
    }

    .sg-brand-text h1 {
      font-size: clamp(38px, 5vw, 54px);
      line-height: 0.95;
      letter-spacing: 1px;
      font-weight: 800;
    }

    .sg-brand-text h1 span {
      color: var(--sg-gold);
    }

    .sg-brand-text p {
      margin-top: 10px;
      font-size: 16px;
      color: #f2f2f2;
      letter-spacing: 0.2px;
    }

    .sg-login-card {
      width: 100%;
      padding: 30px 46px 28px;
      border: 1px solid var(--sg-border);
      border-radius: 16px;
      background: linear-gradient(180deg, rgba(15, 17, 20, 0.84), rgba(7, 8, 10, 0.82));
      box-shadow: var(--sg-shadow);
      backdrop-filter: blur(14px);
    }

    .sg-restaurant-logo {
      display: flex;
      justify-content: center;
      margin-bottom: 18px;
    }

    .sg-restaurant-logo img {
      width: 190px;
      max-width: 48%;
      height: auto;
      object-fit: contain;
      filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.35));
    }

    .sg-login-title {
      text-align: center;
      margin-bottom: 28px;
    }

    .sg-login-title h2 {
      font-size: 30px;
      line-height: 1.1;
      font-weight: 760;
      letter-spacing: 0.6px;
      margin-bottom: 10px;
    }

    .sg-login-title p {
      color: var(--sg-muted);
      font-size: 16px;
    }

    .sg-form {
      display: grid;
      gap: 21px;
    }

    .sg-field label {
      display: block;
      color: var(--sg-gold-light);
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .sg-input-wrap {
      height: 56px;
      display: grid;
      grid-template-columns: 56px 1fr 52px;
      align-items: center;
      border: 1px solid var(--sg-border-soft);
      border-radius: 6px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)), var(--sg-field);
      transition: 0.2s ease;
    }

    .sg-input-wrap:focus-within {
      border-color: rgba(217, 164, 65, 0.72);
      box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.1);
    }

    .sg-input-icon,
    .sg-password-eye {
      width: 52px;
      height: 56px;
      display: grid;
      place-items: center;
      color: #d8dbe0;
      background: transparent;
      border: 0;
      outline: none;
      padding: 0;
      cursor: pointer;
      appearance: none;
      -webkit-appearance: none;
    }

    .sg-password-eye:hover {
      color: var(--sg-gold);
    }

    .sg-input-icon svg,
    .sg-password-eye svg {
      width: 24px;
      height: 24px;
    }

    .sg-input-wrap input {
      width: 100%;
      height: 100%;
      border: 0;
      outline: none;
      background: transparent !important;
      color: var(--sg-text) !important;
      font-size: 16px;
      font-family: inherit;
      caret-color: var(--sg-gold);
      box-shadow: none !important;
      -webkit-text-fill-color: var(--sg-text) !important;
      transition: background-color 9999s ease-in-out 0s, color 0.2s ease;
    }

    .sg-input-wrap input:-webkit-autofill,
    .sg-input-wrap input:-webkit-autofill:hover,
    .sg-input-wrap input:-webkit-autofill:focus,
    .sg-input-wrap input:-webkit-autofill:active {
      -webkit-box-shadow: 0 0 0 1000px rgba(21, 23, 27, 0.96) inset !important;
      box-shadow: 0 0 0 1000px rgba(21, 23, 27, 0.96) inset !important;
      -webkit-text-fill-color: var(--sg-text) !important;
      caret-color: var(--sg-gold);
      border: 0 !important;
    }

    .sg-input-wrap input:focus,
    .sg-input-wrap input:not(:placeholder-shown) {
      background: transparent !important;
      color: var(--sg-text) !important;
      -webkit-text-fill-color: var(--sg-text) !important;
    }

    .sg-input-wrap input::placeholder {
      color: rgba(226, 229, 234, 0.76);
    }

    .sg-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      margin-top: -2px;
    }

    .sg-check {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: #efefef;
      font-size: 16px;
      cursor: pointer;
      user-select: none;
    }

    .sg-check input {
      width: 24px;
      height: 24px;
      appearance: none;
      border: 1px solid rgba(255, 255, 255, 0.24);
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.035);
      cursor: pointer;
      position: relative;
    }

    .sg-check input:checked {
      background: var(--sg-gold);
      border-color: var(--sg-gold);
    }

    .sg-check input:checked::after {
      content: "✓";
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      color: #111;
      font-size: 15px;
      font-weight: 800;
    }

    .sg-forgot {
      color: var(--sg-gold-light);
      text-decoration: none;
      font-size: 15px;
      font-weight: 500;
      white-space: nowrap;
    }

    .sg-signin {
      width: 100%;
      height: 58px;
      border: 0;
      border-radius: 6px;
      background: linear-gradient(135deg, #f0c768, #d9a441);
      color: #151515;
      font-size: 20px;
      font-weight: 760;
      font-family: inherit;
      cursor: pointer;
      box-shadow: 0 18px 36px rgba(217, 164, 65, 0.22);
      transition: 0.2s ease;
    }

    .sg-signin:hover {
      transform: translateY(-1px);
      box-shadow: 0 20px 42px rgba(217, 164, 65, 0.3);
    }

    .sg-authorized {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      color: #d6d8dc;
      font-size: 15px;
      padding: 3px 0 8px;
    }

    .sg-authorized svg {
      width: 22px;
      height: 22px;
      color: #d6d8dc;
    }

    .sg-divider {
      height: 1px;
      width: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
      margin: 4px 0 2px;
    }

    .sg-powered {
      text-align: center;
      color: #c7c9ce;
      font-size: 16px;
      padding-top: 5px;
    }

    .sg-powered strong {
      color: var(--sg-gold);
      font-weight: 800;
    }

    @media (max-width: 720px) {
      .sg-login-page {
        padding: 24px 16px;
      }

      .sg-brand {
        gap: 14px;
      }

      .sg-brand-mark {
        width: 62px;
        height: 62px;
      }

      .sg-brand-mark svg {
        width: 40px;
        height: 40px;
      }

      .sg-brand-text h1 {
        font-size: 38px;
      }

      .sg-brand-text p {
        font-size: 13px;
      }

      .sg-login-card {
        padding: 26px 22px;
      }

      .sg-restaurant-logo img {
        width: 160px;
      }

      .sg-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
      }
    }


    .sg-login-errors {
      background: rgba(239, 68, 68, 0.12);
      border: 1px solid rgba(239, 68, 68, 0.3);
      border-radius: 8px;
      padding: 10px 14px;
      margin-bottom: 12px;
      color: #ef4444;
      font-size: 13px;
      display: grid;
      gap: 4px;
    }

    .sg-field-error {
      display: block;
      margin-top: 8px;
      color: #f87171;
      font-size: 13px;
    }

    .sg-forgot-link {
      color: var(--sg-gold-light);
      text-decoration: none;
      font-size: 14px;
      font-weight: 600;
    }

    .sg-forgot-link:hover {
      color: var(--sg-gold);
    }

    .sg-auth-link-center {
      text-align: center;
      display: block;
      margin-top: 4px;
    }

    .sg-login-brand-image {
      width: 48px;
      height: 48px;
      object-fit: contain;
      display: block;
    }

    .sg-auth-summary {
      margin-bottom: 18px;
      padding: 14px 16px;
      border: 1px solid var(--sg-border-soft);
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.03);
      display: grid;
      gap: 6px;
      text-align: left;
    }

    .sg-auth-summary strong {
      color: var(--sg-gold-light);
      font-size: 14px;
      font-weight: 700;
    }

    .sg-auth-summary p {
      color: var(--sg-muted);
      font-size: 13px;
      line-height: 1.6;
    }

    .sg-auth-code {
      display: grid;
      place-items: center;
      min-height: 64px;
      border: 1px dashed rgba(255, 255, 255, 0.16);
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.02);
      color: var(--sg-gold-light);
      font-size: 26px;
      letter-spacing: 0.28em;
      font-weight: 800;
      text-align: center;
      user-select: all;
    }

    .sg-password-reqs {
      margin-top: 10px;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid var(--sg-border-soft);
      border-radius: 12px;
      padding: 14px 16px;
      font-size: 13px;
      text-align: left;
    }

    .sg-password-reqs h4 {
      margin: 0 0 8px;
      color: var(--sg-gold-light);
      font-size: 14px;
      font-weight: 600;
    }

    .sg-password-reqs ul {
      list-style: none;
      padding-left: 0;
      margin: 0;
      display: grid;
      gap: 6px;
    }

    .sg-password-reqs li {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--sg-muted);
    }

    .sg-password-reqs li.valid {
      color: #4ade80;
    }

    .sg-password-reqs li.invalid {
      color: #f87171;
    }
