/* /Components/Layout/PortalLayout.razor.rz.scp.css */
.portal-container[b-45hl3amby8] {
    display: flex;
    min-height: 100vh;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1e293b;
    background: #f1f5f9;
}

/* --- Sidebar --- */
.portal-sidebar[b-45hl3amby8] {
    width: 260px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.sidebar-brand[b-45hl3amby8] {
    padding: 24px 24px 20px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sidebar-nav[b-45hl3amby8] {
    list-style: none;
    padding: 12px 0;
    margin: 0;
    flex: 1;
}

.sidebar-nav li a[b-45hl3amby8] {
    display: flex;
    align-items: center;
    padding: 11px 24px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: all 0.15s;
    border-left: 3px solid transparent;
}

.sidebar-nav li a:hover[b-45hl3amby8] {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-left-color: #3b82f6;
}

/* --- Topbar --- */
.portal-main[b-45hl3amby8] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.portal-topbar[b-45hl3amby8] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    padding: 16px 32px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.875rem;
    color: #475569;
    font-weight: 500;
}

.btn-logout[b-45hl3amby8] {
    background: none;
    border: 1px solid #e2e8f0;
    padding: 7px 16px;
    border-radius: 8px;
    cursor: pointer;
    color: #64748b;
    font-size: 0.8125rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: all 0.15s;
}

.btn-logout:hover[b-45hl3amby8] {
    background: #f8fafc;
    color: #1e293b;
    border-color: #cbd5e1;
}

/* --- Content area --- */
.portal-content[b-45hl3amby8] {
    padding: 32px;
    flex: 1;
    max-width: 1200px;
}

/* --- Sidebar version --- */
.sidebar-version[b-45hl3amby8] {
    padding: 16px 20px;
    font-size: .75rem;
    color: #64748b;
    margin-top: auto;
}

/* --- Public (not logged in) --- */
.portal-public[b-45hl3amby8] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    background: #f1f5f9;
}

/* --- Mobile header (hamburger) --- */
.mobile-header[b-45hl3amby8] {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #0f172a;
    color: white;
}

.hamburger[b-45hl3amby8] {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px 8px;
}

.mobile-brand[b-45hl3amby8] {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.sidebar-overlay[b-45hl3amby8] {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99;
}

/* --- Responsive: mobile (<768px) --- */
@media (max-width: 768px) {
    .portal-container[b-45hl3amby8] {
        flex-direction: column;
    }

    .mobile-header[b-45hl3amby8] {
        display: flex;
        position: sticky;
        top: 0;
        z-index: 50;
    }

    .portal-sidebar[b-45hl3amby8] {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 100;
        width: 260px;
        box-shadow: 4px 0 24px rgba(0,0,0,0.3);
        overflow-y: auto;
    }

    .sidebar-overlay[b-45hl3amby8] {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 99;
    }

    .portal-topbar[b-45hl3amby8] {
        padding: 12px 16px;
    }

    .portal-content[b-45hl3amby8] {
        padding: 16px;
    }
}
/* /Components/Pages/BalanceChecker.razor.rz.scp.css */
.balance-page[b-42z0ucq0gq] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 16px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.balance-card[b-42z0ucq0gq] {
    background: white;
    border-radius: 16px;
    padding: 40px 32px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    text-align: center;
}

.balance-logo[b-42z0ucq0gq] {
    max-height: 48px;
    max-width: 200px;
    margin-bottom: 16px;
}

.balance-card h1[b-42z0ucq0gq] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.balance-subtitle[b-42z0ucq0gq] {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0 0 28px;
}

.balance-form[b-42z0ucq0gq] {
    text-align: left;
}

.balance-form-group[b-42z0ucq0gq] {
    margin-bottom: 16px;
}

.balance-form-group label[b-42z0ucq0gq] {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 6px;
}

.balance-input[b-42z0ucq0gq] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.balance-input:focus[b-42z0ucq0gq] {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.balance-btn[b-42z0ucq0gq] {
    width: 100%;
    padding: 13px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s;
}

.balance-btn:hover:not(:disabled)[b-42z0ucq0gq] {
    background: #2563eb;
}

.balance-btn:disabled[b-42z0ucq0gq] {
    opacity: 0.5;
    cursor: not-allowed;
}

.balance-btn-secondary[b-42z0ucq0gq] {
    margin-top: 24px;
    padding: 10px 24px;
    background: none;
    color: #64748b;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.875rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
}

.balance-btn-secondary:hover[b-42z0ucq0gq] {
    background: #f8fafc;
    color: #1e293b;
}

.balance-result[b-42z0ucq0gq] {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.balance-amount[b-42z0ucq0gq] {
    font-size: 2rem;
    font-weight: 700;
    color: #16a34a;
}

.balance-detail[b-42z0ucq0gq] {
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 4px;
}

.balance-inactive[b-42z0ucq0gq] {
    color: #dc2626;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-top: 8px;
}

.balance-error[b-42z0ucq0gq] {
    background: #fef2f2;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.balance-transactions[b-42z0ucq0gq] {
    text-align: left;
    margin-top: 12px;
}

.balance-card h3[b-42z0ucq0gq] {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e293b;
    margin: 24px 0 8px;
    text-align: left;
}

.balance-tx-row[b-42z0ucq0gq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.8125rem;
}

.balance-tx-date[b-42z0ucq0gq] {
    color: #64748b;
    min-width: 80px;
}

.balance-tx-type[b-42z0ucq0gq] {
    color: #475569;
    flex: 1;
    text-align: center;
}

.balance-tx-points[b-42z0ucq0gq] {
    font-weight: 600;
    min-width: 60px;
    text-align: right;
}

.balance-tx-points.positive[b-42z0ucq0gq] { color: #16a34a; }
.balance-tx-points.negative[b-42z0ucq0gq] { color: #dc2626; }

.loading-text[b-42z0ucq0gq] {
    color: #64748b;
    font-size: 0.9rem;
}

/* Reward cards */
.reward-grid[b-42z0ucq0gq] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    text-align: left;
}

.reward-card[b-42z0ucq0gq] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    position: relative;
}

.reward-locked[b-42z0ucq0gq] {
    opacity: 0.4;
}

.reward-image[b-42z0ucq0gq] {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.reward-info[b-42z0ucq0gq] {
    flex: 1;
    min-width: 0;
}

.reward-name[b-42z0ucq0gq] {
    font-weight: 600;
    font-size: 0.875rem;
    color: #1e293b;
}

.reward-points[b-42z0ucq0gq] {
    font-size: 0.8125rem;
    color: #64748b;
}

.reward-badge-available[b-42z0ucq0gq] {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #16a34a;
    background: #f0fdf4;
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .balance-card[b-42z0ucq0gq] {
        padding: 28px 20px;
    }
}
