/* ==========================================================================
   GMS — Tema Premium untuk halaman Login / Daftar / Lengkapi Akun
   Hanya tampilan. Semua selector di-scope ke body.gms-auth-page, jadi halaman
   lain yang memakai customer-app.css (booking, dashboard, dll) TIDAK terpengaruh.
   Rollback: hapus satu baris <link> file ini dari halaman terkait.
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&family=Noto+Serif+TC:wght@900&display=swap");

body.gms-auth-page{
  --g-bg:#050f0c; --g-bg2:#0c241b; --g-text:#ece7da; --g-muted:#a8b3ab;
  --g-gold:#e6c276; --g-gold2:#c5963f; --g-gold3:#f6dfa4; --g-line:rgba(230,194,118,.22);
  --gms-ink:#ece7da; --gms-muted:#a8b3ab; --gms-blue:#e6c276; --gms-blue-dark:#c5963f;
  color:var(--g-text);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  background:
    linear-gradient(180deg,rgba(5,15,12,.88),rgba(5,15,12,.96)),
    radial-gradient(60% 50% at 80% 20%,rgba(230,194,118,.16),transparent 70%),
    url("../images/mahjong-tiles.jpeg") center/cover fixed no-repeat,#050f0c;
}
body.gms-auth-page a{color:var(--g-gold3)}

/* Header */
body.gms-auth-page .gms-header{background:rgba(5,15,12,.82);border-bottom:1px solid var(--g-line)}
body.gms-auth-page .gms-brand{color:var(--g-text);gap:12px}
body.gms-auth-page .gms-brand-mark{font-size:0;width:42px;height:42px;background:linear-gradient(135deg,var(--g-gold3),var(--g-gold2));box-shadow:0 6px 18px rgba(197,150,63,.35),inset 0 -3px 0 rgba(0,0,0,.18)}
body.gms-auth-page .gms-brand-mark::after{content:"發";font-family:"Noto Serif TC","Noto Serif CJK TC","PingFang TC","Microsoft JhengHei",serif;font-weight:900;font-size:22px;line-height:1;color:#1b1306}
body.gms-auth-page .gms-brand b{font-family:"Playfair Display",Georgia,serif;font-size:26px;letter-spacing:.5px;background:linear-gradient(180deg,var(--g-gold3),var(--g-gold2));-webkit-background-clip:text;background-clip:text;color:transparent}
body.gms-auth-page .gms-brand small{font-size:0;margin-top:4px}
body.gms-auth-page .gms-brand small::after{content:"GOOD TABLES · GREAT MOMENTS";font-size:8.5px;font-weight:600;letter-spacing:1.6px;color:var(--g-muted)}
body.gms-auth-page .gms-header-inner>a:not(.gms-brand){color:var(--g-gold3)}

/* Latar & cahaya */
body.gms-auth-page .gms-glow.one{background:rgba(230,194,118,.10)}
body.gms-auth-page .gms-glow.two{background:rgba(46,160,110,.08)}

/* Teks sisi kiri */
body.gms-auth-page .gms-eyebrow{color:var(--g-gold);letter-spacing:3px}
body.gms-auth-page .gms-auth-copy h1{font-family:"Playfair Display",Georgia,serif;font-weight:700;color:#fff;letter-spacing:-.5px;line-height:1.1}
body.gms-auth-page .gms-auth-copy h1 strong{background:linear-gradient(180deg,#fbeab8,var(--g-gold) 55%,#a9782a);-webkit-background-clip:text;background-clip:text;color:transparent}
body.gms-auth-page .gms-auth-copy p{color:#d4d0c3}
body.gms-auth-page .gms-auth-note{color:var(--g-muted)}
body.gms-auth-page .gms-auth-note i{background:#2ea06e;box-shadow:0 0 0 4px rgba(46,160,110,.2)}
/* Tombol "Masuk ke Arena ID" (inline style di PHP tetap, hanya dipercantik) */
body.gms-auth-page .gms-arena-entry{border-color:rgba(124,196,255,.45)!important;background:linear-gradient(135deg,rgba(47,123,255,.22),rgba(10,29,74,.55))!important;color:#e8f0ff!important;box-shadow:0 10px 28px rgba(47,123,255,.2)}
body.gms-auth-page .gms-arena-entry i:first-child{color:#7cc4ff}

/* Kartu form */
body.gms-auth-page .gms-auth-card{background:linear-gradient(160deg,rgba(14,40,31,.92),rgba(6,18,14,.94));border:1px solid var(--g-line);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 30px 70px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.03) inset}
body.gms-auth-page .gms-auth-card-head h2{font-family:"Playfair Display",Georgia,serif;color:#fff;letter-spacing:0}
body.gms-auth-page .gms-auth-card-head p{color:var(--g-muted)}
body.gms-auth-page .gms-status-pill{background:rgba(230,194,118,.12);color:var(--g-gold3);border:1px solid var(--g-line)}
body.gms-auth-page .gms-auth-field label{color:#d9d4c6}
body.gms-auth-page .gms-auth-field small{color:var(--g-muted)}
body.gms-auth-page .gms-input{background:rgba(255,255,255,.05);border:1px solid rgba(230,194,118,.25);color:#fff;font-size:16px;box-shadow:none}
body.gms-auth-page .gms-input::placeholder{color:#7f8d85}
body.gms-auth-page .gms-input:focus{border-color:var(--g-gold);background:rgba(255,255,255,.08);box-shadow:0 0 0 4px rgba(230,194,118,.16)}
body.gms-auth-page .gms-input:-webkit-autofill{-webkit-text-fill-color:#fff;box-shadow:0 0 0 40px #12302a inset}

/* Tombol utama */
body.gms-auth-page .gms-button.primary{color:#1b1306;background:linear-gradient(135deg,var(--g-gold3),var(--g-gold) 45%,var(--g-gold2));box-shadow:0 10px 26px rgba(197,150,63,.3),inset 0 1px 0 rgba(255,255,255,.5);font-size:15px}
body.gms-auth-page .gms-button.primary:hover{color:#1b1306;background:linear-gradient(135deg,#fbeab8,var(--g-gold) 45%,var(--g-gold2));box-shadow:0 14px 34px rgba(197,150,63,.45),inset 0 1px 0 rgba(255,255,255,.5)}
body.gms-auth-page .gms-button.primary:disabled{opacity:.55;cursor:not-allowed;transform:none}
body.gms-auth-page .gms-auth-submit{height:52px}

/* Alert */
body.gms-auth-page .gms-alert.danger{background:rgba(220,53,69,.14);border-color:rgba(255,120,130,.4);color:#ffb3bb}
body.gms-auth-page .gms-alert.info{background:rgba(124,196,255,.1);border-color:rgba(124,196,255,.35);color:#bcdcff}
body.gms-auth-page .gms-alert.success,body.gms-auth-page .gms-alert.ok{background:rgba(46,160,110,.14);border-color:rgba(46,160,110,.45);color:#9cf0c8}

/* Teks inline di PHP (tautan daftar, pemisah Google) */
body.gms-auth-page .gms-auth-card p[style]{color:var(--g-muted)!important}
body.gms-auth-page .gms-auth-card a[style]{color:var(--g-gold3)}
body.gms-auth-page .gms-google-divider{color:var(--g-muted)!important}
body.gms-auth-page .gms-google-divider span{background:var(--g-line)!important}
body.gms-auth-page .gms-auth-back{color:var(--g-muted)}
body.gms-auth-page .gms-auth-back:hover{color:var(--g-gold3)}

/* Footer */
body.gms-auth-page .gms-footer{background:#030a08;border-top:1px solid var(--g-line);color:#7f8d85;font-size:12px}

/* HP */
@media(max-width:680px){
  body.gms-auth-page .gms-brand b{font-size:24px}
  body.gms-auth-page .gms-brand small::after{font-size:7.5px;letter-spacing:1.2px}
  body.gms-auth-page .gms-auth-card{padding:22px 18px}
  body.gms-auth-page .gms-arena-entry{width:100%}
}
@media(max-width:360px){body.gms-auth-page .gms-brand small{display:none}}

/* Cahaya dekoratif tidak boleh melebarkan halaman */
body.gms-auth-page .gms-auth-main{overflow:hidden}
body.gms-auth-page{overflow-x:hidden}


/* Customer registration: compact layout with readable controls */
body.gms-register-page .gms-auth-main{padding:24px 0 30px;min-height:calc(100dvh - 130px)}
body.gms-register-page .gms-auth-grid{width:min(100% - 32px,520px);display:block}
body.gms-register-page .gms-auth-card{padding:24px 26px;border-radius:20px}
body.gms-register-page .gms-auth-card-head{margin-bottom:16px}
body.gms-register-page .gms-auth-card-head h2{font-size:25px}
body.gms-register-page .gms-auth-card-head p{font-size:15px;line-height:1.4}
body.gms-register-page .gms-auth-field{margin-bottom:12px}
body.gms-register-page .gms-auth-field label,body.gms-register-page .gms-gender-field legend{font-size:15px;font-weight:750;margin-bottom:6px}
body.gms-register-page .gms-auth-field .gms-input{height:46px;font-size:16px;padding:0 12px}
body.gms-register-page .gms-auth-field small{font-size:13px;display:block;margin-top:4px}
body.gms-register-page .gms-optional{font-size:13px;font-weight:500;color:#a9b7ad}
body.gms-register-page .gms-gender-field{border:0;padding:0;margin:0 0 13px;min-width:0}
body.gms-register-page .gms-gender-field legend{padding:0;width:100%}
body.gms-register-page .gms-radio-label{display:inline-flex!important;align-items:center;gap:8px;margin:4px 22px 0 0!important;font-size:15px!important;font-weight:600!important}
body.gms-register-page .gms-radio-label input{width:17px;height:17px;accent-color:#e6c276}
body.gms-register-page .gms-show-password{display:flex!important;align-items:center;gap:8px;margin:8px 0 0!important;font-size:14px!important;font-weight:600!important;cursor:pointer}
body.gms-register-page .gms-show-password input{width:17px;height:17px;accent-color:#e6c276}
body.gms-register-page .gms-auth-submit{font-size:16px!important;margin-top:4px}
body.gms-register-page .gms-auth-card p[style]{font-size:14px!important;margin-top:13px!important}
@media(max-width:680px){body.gms-register-page .gms-auth-main{padding:18px 0 26px;min-height:auto}body.gms-register-page .gms-auth-grid{width:calc(100% - 24px)}body.gms-register-page .gms-auth-card{padding:20px 16px;border-radius:17px}body.gms-register-page .gms-auth-card-head h2{font-size:23px}body.gms-register-page .gms-auth-field{margin-bottom:11px}body.gms-register-page .gms-auth-field .gms-input{height:45px}body.gms-register-page .gms-auth-submit{height:49px}}
