/* Halaman Masuk / Daftar / Dashboard (dipakai bersama home.css) */
body.home .auth-wrap { max-width: 440px; margin: 0 auto; padding: 96px 16px 48px; position: relative; z-index: 1; }
body.home .dash-wrap { max-width: 760px; margin: 0 auto; padding: 96px 16px 48px; position: relative; z-index: 1; }
.auth-card, .dash-card { background: #232326; border: 1px solid rgba(255,255,255,.08); border-radius: 24px; padding: 24px 20px; }
.auth-title { font-size: 1.5rem; font-weight: 800; margin: 0 0 4px; }
.auth-sub { color: var(--text-secondary); font-size: .88rem; margin: 0 0 18px; line-height: 1.5; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #1c1c1e; padding: 5px; border-radius: 999px; margin-bottom: 20px; }
.auth-tabs button { border: 0; background: transparent; color: var(--text-secondary); font-weight: 700; font-size: .92rem; padding: 11px 0; border-radius: 999px; cursor: pointer; }
.auth-tabs button.on { background: var(--gradient-brand); color: #fff; }
.auth-field { margin-bottom: 14px; }
.auth-field label { display: block; font-size: .8rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.auth-field input { width: 100%; height: 48px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); background: #1c1c1e; color: #fff; padding: 0 16px; font-size: 1rem; outline: none; font-family: inherit; }
.auth-field input:focus { border-color: var(--orange); }
.otp-input { text-align: center; letter-spacing: 12px; font-size: 1.6rem !important; font-weight: 800; padding-left: 12px !important; }
.auth-btn { width: 100%; height: 50px; border: 0; border-radius: 999px; background: var(--gradient-brand); color: #fff; font-weight: 800; font-size: 1rem; cursor: pointer; font-family: inherit; transition: .2s; }
.auth-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249,115,22,.35); }
.auth-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.auth-btn.wa { background: #25d366; }
.auth-links { display: flex; justify-content: space-between; margin-top: 14px; }
.auth-links button { background: none; border: 0; color: var(--orange); font-weight: 600; font-size: .85rem; cursor: pointer; font-family: inherit; padding: 4px 0; }
.auth-links button:disabled { color: var(--text-muted); cursor: default; }
.auth-msg { margin-top: 14px; font-size: .85rem; border-radius: 12px; padding: 10px 14px; display: none; line-height: 1.5; }
.auth-msg.err { display: block; background: rgba(239,68,68,.12); color: #fca5a5; }
.auth-msg.ok { display: block; background: rgba(34,197,94,.12); color: #86efac; }
.auth-note { color: var(--text-muted); font-size: .76rem; margin-top: 16px; line-height: 1.6; text-align: center; }
.role-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.role-chip { background: #1c1c1e; border-radius: 14px; padding: 10px 6px; text-align: center; font-size: .72rem; color: var(--text-secondary); }
.role-chip b { display: block; font-size: .85rem; color: #fff; margin: 2px 0; }

/* dashboard */
.dash-head { display: flex; align-items: center; gap: 16px; }
.dash-avatar { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; font-weight: 800; color: #fff; flex-shrink: 0; }
.dash-name { font-size: 1.25rem; font-weight: 800; }
.dash-phone { color: var(--text-secondary); font-size: .85rem; margin-top: 2px; }
.role-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800; color: #1c1c1e; margin-top: 8px; }
.dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.dash-stat { background: #1c1c1e; border-radius: 16px; padding: 14px; }
.dash-stat span { display: block; color: var(--text-muted); font-size: .75rem; }
.dash-stat b { font-size: 1.1rem; }
.prog { margin-top: 6px; }
.prog-bar { height: 10px; background: #1c1c1e; border-radius: 999px; overflow: hidden; }
.prog-bar i { display: block; height: 100%; background: var(--gradient-brand); border-radius: 999px; }
.prog-txt { font-size: .78rem; color: var(--text-secondary); margin-top: 8px; }
.dash-sec { margin-top: 24px; }
.dash-sec h3 { font-size: 1rem; margin: 0 0 12px; }
.tx { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #1c1c1e; border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; text-decoration: none; color: inherit; }
.tx-main { min-width: 0; }
.tx-main b { display: block; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-main span { font-size: .72rem; color: var(--text-muted); }
.tx-right { text-align: right; flex-shrink: 0; }
.tx-right b { display: block; font-size: .85rem; color: var(--orange); }
.st { font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; display: inline-block; margin-top: 3px; }
.st.success { background: rgba(34,197,94,.15); color: #86efac; }
.st.pending, .st.processing { background: rgba(250,204,21,.15); color: #fde047; }
.st.failed, .st.expired, .st.cancelled { background: rgba(239,68,68,.15); color: #fca5a5; }
.dash-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.dash-actions button, .dash-actions a { flex: 1; min-width: 130px; text-align: center; height: 44px; line-height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); background: transparent; color: #fff; font-weight: 700; font-size: .88rem; cursor: pointer; text-decoration: none; font-family: inherit; padding: 0; }
.dash-actions .danger { color: #fca5a5; border-color: rgba(239,68,68,.4); }
.empty { text-align: center; color: var(--text-muted); font-size: .85rem; padding: 18px 0; }
.nav-avatar { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: .85rem; }
