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

:root{
  --primary:#1e40af;   /* Biru utama */
  --accent:#06b6d4;    /* Cyan */
  --glass:rgba(255,255,255,.78);
  --text:#0f172a;
}

body{
    margin:0;
  min-height:100vh;
  background:
    linear-gradient(120deg,rgba(15,23,42,.55),rgba(15,23,42,.2)),
    url("bg.jpg") center/cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Wrapper supaya rapi di HP */
.wrapper{width:100%;max-width:420px;padding:20px}


.login-card{
  background:var(--glass);
  border-radius:22px;
  padding:24px;
  box-shadow:0 40px 90px rgba(0,0,0,.35);
  backdrop-filter:blur(18px);
  margin-top:-8px;
}

/* =========================
   LOGO USAHA (ATAS)
========================= */
.logo{
text-align:center;
margin-bottom:10px;
margin-top:-10px;
}
.logo img{
  max-width:200px;
  
  filter:drop-shadow(0 10px 22px rgba(0,0,0,.4));
}

/* INFO */
#infologin{
    background:#f0fbff;
    color:#2e3a8c;
    border:1px solid #cdeef5;
    border-radius:9px;
    padding:9px;
    text-align:center;
    font-size:14px;
    margin-bottom:18px;
}

/* FORM */
.custom-fields{
    display:flex;
    flex-direction:column;
}
.custom-fields input{
    width:100%;
    padding:13px;
    margin-bottom:16px;
    font-size:18px;
    border-radius:14px;
    border:1px solid #cfd8dc;
    text-align:center;          /* ← TEKS DI TENGAH */
}
.custom-fields input:focus{
    border-color:#00bcd4;
    outline:none;
}

.custom-fields input::placeholder{
    text-align:center;color:#475569;
}

/* BUTTON */
.btn-submit{
    width:100%;
    padding:10px;
    font-size:16px;
    font-weight:700;
    border:none;
    border-radius:12px;
    cursor:pointer;
    color:#fff;
    background:linear-gradient(135deg,#2e3a8c,#00bcd4);
}
.btn-submit:hover{opacity:.9}

/* MEMBER BUTTON */
.btn-member{
    width:100%;
    margin-top:12px;
    padding:10px;
    border-radius:12px;
    border:none;
    cursor:pointer;
    font-size:16px;
    font-weight:700;
    color:#fff;
    background:linear-gradient(135deg,#2e3a8c,#00bcd4);
}
.btn-member:hover{
    opacity:.9;
}

/* ERROR */
.notice{
    margin-top:-13px;
    margin-bottom:5px;
    background:#fff1f2;
    color:#b91c1c;
    padding:10px;
    border-radius:10px;
    font-size:14px;
    text-align:center;
}

/* SUPPORT */
.support{
    margin-top:26px;
    text-align:center;
    font-size:13px;
    color:#2e3a8c;
}

.support-box{
    margin-top:10px;
    padding:14px;
    border-radius:14px;
    background:linear-gradient(135deg,#2e3a8c,#00bcd4);
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.support-box img{
    max-width:160px;
}

/* MODAL */
.modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:99;
}
.modal-content{
    background:#fff;
    padding:24px;
    width:90%;
    max-width:360px;
    border-radius:18px;
    box-shadow:0 15px 40px rgba(0,0,0,.25);
}
.modal h3{
    text-align:center;
    margin-bottom:16px;
    color:#2e3a8c;
}
.modal input{
    width:100%;
    padding:12px;
    margin-bottom:12px;
    border-radius:10px;
    border:1px solid #cfd8dc;
}
.modal .btn-submit{margin-top:5px}
.modal .close{
    text-align:center;
    margin-top:12px;
    font-size:14px;
    cursor:pointer;
    color:#888;
}

/* INPUT LOGIN MEMBER (MODAL) */
.modal input{
    width:100%;
    padding:16px;
    margin-bottom:16px;
    font-size:18px;          /* ← SAMA DENGAN FORM UTAMA */
    border-radius:12px;
    border:1px solid #cfd8dc;
    text-align:center;       /* ← TENGAH */
}

.modal input:focus{
    border-color:#00bcd4;
    outline:none;
}

/* PLACEHOLDER DI TENGAH */
.modal input::placeholder{
    text-align:center;
}

.marquee{
    width:100%;
    overflow:hidden;
    white-space:nowrap;
    position:relative;
}

.marquee span{
    display:inline-block;
    padding-left:100%;
    animation:scrollText 14s linear infinite;
    font-weight:600;
}

@keyframes scrollText{
    0%{transform:translateX(0)}
    100%{transform:translateX(-100%)}
}

/* TOMBOL TUTUP / BATAL MODAL */
.modal .close{
    display:block;
    margin-top:14px;
    padding:12px;
    border-radius:12px;
    text-align:center;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    background:#f1f5f9;      /* abu terang */
    color:#2e3a8c;           /* biru tema */
    border:1px solid #cfd8dc;
}

.modal .close:hover{
    background:#e2e8f0;
}

/* ===== FOOTER ===== */
.footer{
  margin-top:6px;
  margin-bottom:-19px;
  text-align:center;
  font-size:11px;
  opacity:.65;
}

/* ===== BOX COPY LINK VOUCHER ===== */
.copy-box{
  margin-top:16px;
  padding:14px;
  border-radius:14px;
  background:#f8fafc;
  border:1px dashed #94a3b8;
  text-align:center;
}

.copy-box input{
  width:100%;
  padding:12px;
  border-radius:10px;
  border:1px solid #cfd8dc;
  text-align:center;
  font-size:14px;
  margin-bottom:10px;
}

.copy-box button{
  width:100%;
  padding:10px;
  border:none;
  border-radius:12px;
  cursor:pointer;
  font-size:15px;
  font-weight:700;
  color:#fff;
  background:linear-gradient(135deg,#2e3a8c,#00bcd4);
}
.copy-box button:active{
  opacity:.85;
}

/* ===== VIDEO VOUCHER ===== */
.video-box{
  max-width:220px;   /* UBAH ANGKA INI */
  margin:0 auto 14px;
}

.video-box video{
  width:80%;
  height:auto;
  border-radius:12px;
}


/* Semua input & select dibuat sama */
.form-control {
    width: 100%;
    height: 35px;
    padding: 10px;
    margin-top: 8px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
    box-sizing: border-box;
}