:root {
    --primary: #FDD204;
    --primary-dark: #d6ad00;
    --neon-yellow: #FDD204;
    --neon-glow: rgba(253, 210, 4, 0.48);
    --dark: #111114;
    --bg: #f6f7fb;
    --card: #ffffff;
    --text: #171717;
    --muted: #777;
    --border: #ececec;
    --success: #10b981;
    --danger: #ef4444;
    --info: #3b82f6;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: #e9e9e9;
    color: var(--text);
}

a {
    text-decoration: none;
    color: inherit;
}

.app {
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--bg);
    position: relative;
    overflow-x: hidden;
}

.auth-hero {
    background: linear-gradient(145deg, #111, #2d2800);
    color: white;
    padding: 34px 22px 46px;
    border-radius: 0 0 34px 34px;
}

.logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-box {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--neon-yellow);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 22px;
    box-shadow: 0 0 18px var(--neon-glow);
    text-transform: uppercase;
}

.brand-title {
    font-size: 22px;
    font-weight: 900;
}

.auth-hero p {
    color: #ddd;
    font-size: 14px;
    line-height: 1.6;
    margin: 16px 0 0;
}

.card {
    background: var(--card);
    border-radius: 24px;
    padding: 18px;
    margin: 16px;
    box-shadow: 0 12px 32px rgba(0,0,0,.07);
}

.input-group {
    margin-bottom: 14px;
}

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 7px;
}

.input {
    width: 100%;
    border: 1px solid var(--border);
    background: #fafafa;
    border-radius: 16px;
    padding: 15px;
    font-size: 15px;
    outline: none;
}

.input:focus {
    border-color: var(--primary);
    background: #fff;
}

.btn {
    width: 100%;
    border: none;
    border-radius: 17px;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary), #ffb800);
    color: #111;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
}

.btn-dark {
    background: #111;
    color: #fff;
}

.auth-link {
    text-align: center;
    font-size: 14px;
    color: var(--muted);
    margin-top: 15px;
}

.auth-link a {
    font-weight: 900;
    color: #111;
}

.topbar {
    height: 72px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 20;
}

.back-btn,
.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(0,0,0,.06);
}

.page-title {
    flex: 1;
}

.page-title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
}

.page-title small {
    color: var(--muted);
    font-size: 12px;
}

.member-card {
    margin: 16px;
    border-radius: 30px;
    padding: 22px;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(253,210,4,.35), transparent 35%),
        linear-gradient(145deg, #111, #2c2700);
    box-shadow: 0 18px 40px rgba(0,0,0,.22);
}

.member-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.member-card small {
    color: #ddd;
}

.member-card h2 {
    margin: 6px 0 0;
    font-size: 22px;
}

.points-large {
    color: var(--primary);
    font-size: 38px;
    font-weight: 950;
    margin-top: 18px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 16px;
}

.stat-card {
    background: #fff;
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
}

.stat-card i {
    font-size: 22px;
}

.stat-card h3 {
    margin: 10px 0 3px;
    font-size: 22px;
}

.stat-card small {
    color: var(--muted);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 16px;
}

.menu-card {
    background: #fff;
    border-radius: 22px;
    padding: 16px 8px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
    min-height: 96px;
}

.menu-card i {
    display: block;
    font-size: 24px;
    margin-bottom: 10px;
}

.menu-card span {
    font-size: 12px;
    font-weight: 900;
}

.section-title {
    margin: 24px 16px 10px;
    font-size: 18px;
    font-weight: 950;
}

.list-card {
    margin: 16px;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
}

.list-row {
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.list-row:last-child {
    border-bottom: 0;
}

.row-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: rgba(253, 210, 4, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
}

.row-content {
    flex: 1;
}

.row-content b {
    display: block;
    font-size: 14px;
}

.row-content small {
    color: var(--muted);
}

.row-right {
    font-weight: 900;
    font-size: 14px;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
    height: fit-content;
}

.badge-success {
    background: #dcfce7;
    color: #15803d;
}

.badge-warning {
    background: #fff7cc;
    color: #9a7400;
}

.voucher-card {
    display: block;
    margin: 16px;
    width: calc(100% - 32px);
    background: #fff;
    border-radius: 26px;
    padding: 16px;
    box-shadow: 0 12px 32px rgba(0,0,0,.07);
    position: relative;
    overflow: hidden;
}

.voucher-card:before,
.voucher-card:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 24px;
    height: 24px;
    background: var(--bg);
    border-radius: 50%;
    transform: translateY(-50%);
}

.voucher-card:before {
    left: -12px;
}

.voucher-card:after {
    right: -12px;
}

.voucher-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.voucher-top > div {
    flex: 1;
    min-width: 0;
}

.voucher-value {
    font-size: 26px;
    font-weight: 950;
}

.voucher-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.qr-wrap {
    margin: 20px auto;
    width: 230px;
    height: 230px;
    background: white;
    border-radius: 28px;
    padding: 18px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, .1);

    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.fake-qr {
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg,#111 12px,transparent 12px) 0 0/24px 24px,
        linear-gradient(#111 12px,transparent 12px) 0 0/24px 24px,
        #fff;
    border-radius: 16px;
}

.center {
    text-align: center;
}

.bottom-nav-space {
    height: 22px;
}

/* POS2U neon yellow icon theme */
.menu-card i,
.stat-card i,
.row-icon i,
.icon-btn i,
.back-btn i,
.member-card i,
.neon-icon {
    color: var(--neon-yellow) !important;
    text-shadow: 0 0 1px var(--neon-glow);
}
.error-message {
    color: red;
    font-size: 13px;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}
.pagination-wrap {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
}

.pagination li a,
.pagination li span {
    padding: 10px 15px;
    border-radius: 12px;
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    text-decoration: none;
    font-weight: 600;
}

.pagination li a:hover,
.pagination li.active span {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.pagination li.disabled span {
    background: #f3f4f6;
    color: #999;
}
.site-footer {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 0 15px;
    font-size: 13px;
    color: var(--muted);
    z-index: 10;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.site-footer strong {
    font-weight: 600;
    color: rgb(253, 210, 4);
}

@media (max-width: 576px) {
    .site-footer {
        font-size: 12px;
        bottom: 15px;
        line-height: 1.5;
    }
}

.phone-row {
    display: flex;
    gap: 10px;
}

.country-select {
    width: 115px;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 12px;
    background: #fff;
    font-size: 14px;
}

.phone-input {
    flex: 1;
}

.error {
    color: #dc2626;
    font-size: 12px;
    margin-top: 6px;
    display: block;
}

.success-box {
    background: #ecfdf3;
    color: #027a48;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.error-box {
    background: #fef3f2;
    color: #b42318;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}