/* /Components/CreditBadge.razor.rz.scp.css */
.credit-badge[b-85m5cp0nnz] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: transform 0.15s, box-shadow 0.15s;
    user-select: none;
}

.credit-badge:hover[b-85m5cp0nnz] {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

.credit-icon[b-85m5cp0nnz] {
    font-size: 0.9rem;
}

.credit-count[b-85m5cp0nnz] {
    font-weight: 700;
}

.credit-label[b-85m5cp0nnz] {
    opacity: 0.85;
    font-weight: 400;
}

/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-o3winmmq9j] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-o3winmmq9j] {
    flex: 1;
}

.sidebar[b-o3winmmq9j] {
    background-color: #111113; /* dark neutral */
}

.top-row[b-o3winmmq9j] {
    background-color: #fafafa; /* light neutral */
    border-bottom: 1px solid #e6e6e6;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-o3winmmq9j]  a, .top-row[b-o3winmmq9j]  .btn-link {
        white-space: nowrap;
        margin-left: 1.25rem;
        text-decoration: none;
    }

    .top-row[b-o3winmmq9j]  a:hover, .top-row[b-o3winmmq9j]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-o3winmmq9j]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-o3winmmq9j] {
        justify-content: space-between;
    }

    .top-row[b-o3winmmq9j]  a, .top-row[b-o3winmmq9j]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-o3winmmq9j] {
        flex-direction: row;
    }

    .sidebar[b-o3winmmq9j] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-o3winmmq9j] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-o3winmmq9j]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-o3winmmq9j], article[b-o3winmmq9j] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-j0ewyf996c] {
    background-color: rgba(255, 255, 255, 0.08);
}

.top-row[b-j0ewyf996c] {
    min-height: 3.5rem;
    background-color: #0f0f10; /* dark header */
}

.navbar-brand[b-j0ewyf996c] {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* Remove emoji-specific styling */
[b-j0ewyf996c] .emoji { display: none; }

.nav-item[b-j0ewyf996c] {
    font-size: 0.95rem;
    padding-bottom: 0.25rem;
}

    .nav-item:first-of-type[b-j0ewyf996c] {
        padding-top: 0.75rem;
    }

    .nav-item:last-of-type[b-j0ewyf996c] {
        padding-bottom: 0.75rem;
    }

    .nav-item[b-j0ewyf996c]  a {
        color: #b7b7bb;
        border-radius: 6px;
        height: 2.5rem;
        display: flex;
        align-items: center;
        line-height: 2.5rem;
        padding: 0 0.5rem;
        transition: background-color 150ms ease, color 150ms ease;
    }

.nav-item[b-j0ewyf996c]  a.active {
    background-color: #1a1a1c;
    color: #ffffff;
}

.nav-item[b-j0ewyf996c]  a:hover {
    background-color: rgba(255,255,255,0.06);
    color: #ffffff;
}

@media (min-width: 641px) {
    .navbar-toggler[b-j0ewyf996c] {
        display: none;
    }

    .collapse[b-j0ewyf996c] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-j0ewyf996c] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Credits.razor.rz.scp.css */
.credits-page[b-1e9byaarbv] {
    max-width: 720px;
    margin: 0 auto;
    padding: 1.5rem;
}

.page-title[b-1e9byaarbv] {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

/* Balance Card */
.balance-card[b-1e9byaarbv] {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.25rem;
}

.balance-icon[b-1e9byaarbv] {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.balance-amount[b-1e9byaarbv] {
    font-size: 2.5rem;
    font-weight: 800;
}

.balance-subtitle[b-1e9byaarbv] {
    font-size: 0.9rem;
    opacity: 0.85;
}

.balance-stats[b-1e9byaarbv] {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    opacity: 0.7;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.balance-loading[b-1e9byaarbv],
.balance-error[b-1e9byaarbv] {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Banners */
.banner[b-1e9byaarbv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.banner-success[b-1e9byaarbv] {
    background: #dcfce7;
    color: #166534;
}

.banner-info[b-1e9byaarbv] {
    background: #dbeafe;
    color: #1e40af;
}

.banner-error[b-1e9byaarbv] {
    background: #fee2e2;
    color: #991b1b;
}

.banner-close[b-1e9byaarbv] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.6;
    padding: 0 0.25rem;
}

.banner-close:hover[b-1e9byaarbv] {
    opacity: 1;
}

/* Info Card */
.info-card[b-1e9byaarbv] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.info-card h3[b-1e9byaarbv] {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.info-grid[b-1e9byaarbv] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.info-item[b-1e9byaarbv] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #475569;
}

.info-cost[b-1e9byaarbv] {
    background: #6366f1;
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    min-width: 2rem;
    text-align: center;
}

/* Section Title */
.section-title[b-1e9byaarbv] {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.loading-text[b-1e9byaarbv] {
    text-align: center;
    padding: 2rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Pack Cards Grid */
.packs-grid[b-1e9byaarbv] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.pack-card[b-1e9byaarbv] {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-align: center;
    position: relative;
    transition: box-shadow 0.15s;
}

.pack-card:hover[b-1e9byaarbv] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pack-featured[b-1e9byaarbv] {
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}

.pack-badge[b-1e9byaarbv] {
    position: absolute;
    top: -0.6rem;
    left: 50%;
    transform: translateX(-50%);
    background: #6366f1;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    white-space: nowrap;
}

.pack-badge-value[b-1e9byaarbv] {
    background: #059669;
}

.pack-name[b-1e9byaarbv] {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    margin-top: 0.5rem;
}

.pack-credits[b-1e9byaarbv] {
    font-size: 1.3rem;
    font-weight: 800;
    color: #6366f1;
}

.pack-price[b-1e9byaarbv] {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem 0 0.15rem;
}

.pack-unit[b-1e9byaarbv] {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.pack-buy-btn[b-1e9byaarbv] {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #6366f1;
    background: white;
    color: #6366f1;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.pack-buy-btn:hover:not(:disabled)[b-1e9byaarbv] {
    background: #6366f1;
    color: white;
}

.pack-buy-btn:disabled[b-1e9byaarbv] {
    opacity: 0.5;
    cursor: not-allowed;
}

.pack-buy-featured[b-1e9byaarbv] {
    background: #6366f1;
    color: white;
}

.pack-buy-featured:hover:not(:disabled)[b-1e9byaarbv] {
    background: #4f46e5;
}

