/* ==================== BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sf-bg: #0f1419;
    --sf-card: #1a1f2e;
    --sf-card-light: #252d3d;
    --sf-text: #ffffff;
    --sf-text-muted: #8b98a5;
    --sf-accent: #4ade80;
    --sf-accent-hover: #22c55e;
    --sf-orange: #f7931e;
    --sf-flame: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);

    --biz-bg: #f5f7fa;
    --biz-sidebar: #1a1f2e;
    --biz-card: #ffffff;
    --biz-text: #1a1f2e;
    --biz-text-muted: #6b7280;
    --biz-border: #e5e7eb;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--sf-bg);
    color: var(--sf-text);
    min-height: 100vh;
    overflow-x: hidden;
}

.screen {
    display: none;
    min-height: 100vh;
    animation: fadeIn 0.3s ease;
}

.screen.active {
    display: flex;
    flex-direction: column;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== ROLE SELECT ==================== */
#role-select {
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.role-container {
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.role-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.role-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.role-subtitle {
    color: var(--sf-text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.role-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.role-btn {
    background: var(--sf-card);
    border: 2px solid var(--sf-card-light);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    color: var(--sf-text);
}

.role-btn:hover {
    border-color: var(--sf-accent);
    transform: translateY(-2px);
}

.role-btn i {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.superfan-btn i { color: var(--sf-orange); }
.business-btn i { color: var(--sf-accent); }

.role-btn span {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.role-btn small {
    color: var(--sf-text-muted);
    font-size: 0.9rem;
}

.demo-offer-btn {
    background: transparent;
    border: 1px solid var(--sf-text-muted);
    color: var(--sf-text-muted);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.demo-offer-btn:hover {
    border-color: var(--sf-accent);
    color: var(--sf-accent);
}

/* ==================== SUPERFAN SCREENS ==================== */
.superfan-screen {
    background: var(--sf-bg);
    padding-bottom: 80px;
}

.sf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--sf-bg);
    position: sticky;
    top: 0;
    z-index: 10;
}

.sf-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.sf-settings {
    background: transparent;
    border: none;
    color: var(--sf-text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}

.sf-content {
    padding: 0 20px 20px;
    flex: 1;
    overflow-y: auto;
}

.back-btn {
    background: transparent;
    border: none;
    color: var(--sf-text);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
}

/* Tier Ring */
.tier-ring-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 20px auto;
}

.tier-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.tier-ring-bg {
    fill: none;
    stroke: var(--sf-card);
    stroke-width: 12;
}

.tier-ring-progress {
    fill: none;
    stroke: url(#flameGradient);
    stroke-width: 12;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease;
}

.tier-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.tier-name {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--sf-flame);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tier-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--sf-text);
    margin-bottom: 8px;
}

.tier-progress, .tier-conversions {
    display: block;
    font-size: 0.75rem;
    color: var(--sf-text-muted);
}

/* Balance Cards */
.balance-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.balance-card {
    flex: 1;
    background: var(--sf-card);
    border-radius: 12px;
    padding: 16px;
}

.balance-label {
    display: block;
    font-size: 0.8rem;
    color: var(--sf-text-muted);
    margin-bottom: 4px;
}

.balance-amount {
    font-size: 1.5rem;
    font-weight: 700;
}

.balance-amount.pending {
    color: var(--sf-text-muted);
}

/* Live Activity */
.live-activity {
    background: var(--sf-card);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.live-activity i {
    color: var(--sf-accent);
}

.live-activity span {
    flex: 1;
    font-size: 0.9rem;
}

.live-activity .time {
    color: var(--sf-text-muted);
    font-size: 0.8rem;
}

/* Section Headers */
.section-header {
    margin: 20px 0 12px;
}

.section-header span {
    display: block;
    font-size: 1rem;
    font-weight: 600;
}

.section-sub {
    font-size: 0.8rem !important;
    color: var(--sf-text-muted) !important;
    font-weight: 400 !important;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--sf-card);
    border-radius: 12px;
    padding: 12px;
}

.activity-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.activity-info {
    flex: 1;
}

.activity-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
}

.activity-sub {
    display: block;
    font-size: 0.75rem;
    color: var(--sf-text-muted);
}

.activity-amount {
    font-weight: 600;
}

.activity-amount.positive { color: var(--sf-accent); }

/* Rising Stars */
.rising-stars {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
}

.star-item {
    text-align: center;
}

.star-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 8px;
}

.star-item.highlight img {
    border: 3px solid var(--sf-orange);
}

.star-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
}

.star-amount {
    display: block;
    font-size: 0.8rem;
    color: var(--sf-accent);
}

.star-item.highlight .star-amount {
    color: var(--sf-orange);
}

/* Bottom Nav */
.sf-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--sf-card);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--sf-card-light);
}

.nav-item {
    background: transparent;
    border: none;
    color: var(--sf-text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    cursor: pointer;
    padding: 8px 16px;
    transition: color 0.2s;
}

.nav-item i {
    font-size: 1.2rem;
}

.nav-item.active {
    color: var(--sf-text);
}

.nav-fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--sf-accent);
    border: none;
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
    margin-top: -30px;
    box-shadow: 0 4px 20px rgba(74, 222, 128, 0.4);
    transition: transform 0.2s;
}

.nav-fab:hover {
    transform: scale(1.05);
}

/* ==================== CAMPAIGN MARKETPLACE ==================== */
.search-bar {
    display: flex;
    align-items: center;
    background: var(--sf-card);
    border-radius: 12px;
    padding: 12px 16px;
    gap: 12px;
    margin-bottom: 16px;
}

.search-bar i {
    color: var(--sf-text-muted);
}

.search-bar input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--sf-text);
    font-size: 1rem;
    outline: none;
}

.search-bar input::placeholder {
    color: var(--sf-text-muted);
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--sf-text-muted);
    font-size: 1.1rem;
    cursor: pointer;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
}

.filter-tab {
    background: var(--sf-card);
    border: 1px solid var(--sf-card-light);
    border-radius: 20px;
    padding: 8px 16px;
    color: var(--sf-text-muted);
    font-size: 0.85rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tab.active, .filter-tab:hover {
    background: var(--sf-card-light);
    color: var(--sf-text);
    border-color: var(--sf-text-muted);
}

.campaign-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.campaign-card {
    background: var(--sf-card);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.campaign-card:hover {
    transform: translateY(-2px);
}

.campaign-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.campaign-info {
    padding: 12px 16px;
}

.campaign-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.campaign-name {
    font-weight: 600;
    font-size: 1rem;
}

.verified {
    color: var(--sf-accent);
    font-size: 0.9rem;
    margin-left: 4px;
}

.join-btn {
    background: transparent;
    border: 1px solid var(--sf-accent);
    color: var(--sf-accent);
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.join-btn:hover, .join-btn-full {
    background: var(--sf-accent);
    color: #000;
}

.join-btn.joined {
    background: var(--sf-card-light);
    border-color: var(--sf-card-light);
    color: var(--sf-text-muted);
}

.campaign-commission {
    font-size: 0.85rem;
    color: var(--sf-text-muted);
}

/* ==================== SHARE SCREEN ==================== */
#superfan-share {
    background: var(--sf-bg);
}

.share-container {
    padding: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.share-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.share-header h2 {
    flex: 1;
    text-align: center;
    font-size: 1.2rem;
}

.share-subtitle {
    text-align: center;
    color: var(--sf-text-muted);
    margin-bottom: 24px;
}

.share-method-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.share-method {
    flex: 1;
    background: var(--sf-card);
    border: 2px solid var(--sf-card-light);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--sf-text);
}

.share-method.active {
    border-color: var(--sf-accent);
    background: var(--sf-card-light);
}

.share-method i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.share-method span {
    display: block;
    font-weight: 600;
}

.share-method small {
    color: var(--sf-text-muted);
    font-size: 0.75rem;
}

.share-content {
    animation: fadeIn 0.3s ease;
}

.qr-display {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.qr-code img {
    width: 200px;
    height: 200px;
    margin-bottom: 16px;
}

.qr-display h3 {
    color: #000;
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.qr-display p {
    color: #666;
    font-size: 1rem;
}

.qr-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    color: #999;
}

.qr-actions {
    display: flex;
    gap: 12px;
}

.qr-action-btn {
    flex: 1;
    background: var(--sf-card);
    border: 1px solid var(--sf-card-light);
    color: var(--sf-text);
    padding: 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.qr-action-btn.primary {
    background: var(--sf-accent);
    border-color: var(--sf-accent);
    color: #000;
}

.share-message-box {
    background: var(--sf-card);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.share-message-box p {
    color: var(--sf-text-muted);
    margin-bottom: 8px;
}

.share-link {
    color: var(--sf-accent) !important;
    font-weight: 600;
}

.share-apps {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.share-app {
    background: transparent;
    border: none;
    color: var(--sf-text);
    text-align: center;
    cursor: pointer;
}

.share-app-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.share-app-icon.messages { background: #34c759; }
.share-app-icon.whatsapp { background: #25d366; }
.share-app-icon.copy { background: var(--sf-card); }

.share-app span {
    font-size: 0.8rem;
}

/* ==================== WALLET / EARNINGS ==================== */
.earnings-summary {
    display: flex;
    background: var(--sf-card);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.earning-stat {
    flex: 1;
    text-align: center;
    border-right: 1px solid var(--sf-card-light);
}

.earning-stat:last-child {
    border-right: none;
}

.earning-label {
    display: block;
    font-size: 0.75rem;
    color: var(--sf-text-muted);
    margin-bottom: 4px;
}

.earning-value {
    font-size: 1.2rem;
    font-weight: 700;
}

.payout-btn {
    width: 100%;
    background: var(--sf-accent);
    border: none;
    color: #000;
    padding: 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 24px;
    transition: background 0.2s;
}

.payout-btn:hover {
    background: var(--sf-accent-hover);
}

.transaction-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--sf-card);
    border-radius: 12px;
    padding: 12px 16px;
}

.transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.transaction-icon.sale {
    background: rgba(74, 222, 128, 0.2);
    color: var(--sf-accent);
}

.transaction-icon.payout {
    background: rgba(139, 152, 165, 0.2);
    color: var(--sf-text-muted);
}

.transaction-info {
    flex: 1;
}

.transaction-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
}

.transaction-date {
    display: block;
    font-size: 0.75rem;
    color: var(--sf-text-muted);
}

.transaction-amount {
    font-weight: 600;
}

.transaction-amount.positive { color: var(--sf-accent); }
.transaction-amount.negative { color: var(--sf-text-muted); }

/* ==================== CASHOUT ==================== */
.cashout-content {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px);
}

.cashout-balance {
    background: var(--sf-card);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.cashout-label {
    display: block;
    font-size: 0.9rem;
    color: var(--sf-text-muted);
    margin-bottom: 8px;
}

.cashout-amount {
    font-size: 2.5rem;
    font-weight: 700;
}

.cashout-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.cashout-option {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--sf-card);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.cashout-option.selected {
    border-color: var(--sf-accent);
}

.cashout-option-icon {
    font-size: 1.5rem;
    color: var(--sf-text-muted);
}

.cashout-option-info {
    flex: 1;
}

.cashout-option-name {
    display: block;
    font-weight: 600;
}

.cashout-option-detail {
    display: block;
    font-size: 0.8rem;
    color: var(--sf-text-muted);
}

.cashout-check {
    font-size: 1.2rem;
    color: var(--sf-accent);
}

.confirm-cashout-btn {
    width: 100%;
    background: var(--sf-card);
    border: none;
    color: var(--sf-text-muted);
    padding: 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.confirm-cashout-btn:hover {
    background: var(--sf-accent);
    color: #000;
}

/* ==================== LEADERBOARD ==================== */
.your-rank-card {
    background: var(--sf-card);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.rank-icon {
    color: var(--sf-orange);
    font-size: 1.2rem;
}

.your-rank-card span {
    flex: 1;
    font-weight: 500;
}

.your-rank-card i:last-child {
    color: var(--sf-text-muted);
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--sf-card);
    border-radius: 12px;
    padding: 12px 16px;
}

.leaderboard-rank {
    font-size: 0.9rem;
    color: var(--sf-text-muted);
    width: 30px;
}

.leaderboard-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.leaderboard-info {
    flex: 1;
}

.leaderboard-name {
    display: block;
    font-weight: 500;
}

.leaderboard-label {
    display: block;
    font-size: 0.75rem;
    color: var(--sf-text-muted);
}

.leaderboard-amount {
    font-weight: 600;
    color: var(--sf-accent);
}

/* ==================== OFFER LANDING PAGE ==================== */
.offer-screen {
    background: linear-gradient(180deg, #1a1f2e 0%, #0f1419 100%);
}

.offer-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.offer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--sf-text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}

.offer-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 8px;
    padding-top: 20px;
}

.offer-business-logo, .offer-referrer-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.offer-x {
    color: var(--sf-text-muted);
    font-size: 1.2rem;
}

.offer-referrer-text {
    text-align: center;
    color: var(--sf-text-muted);
    margin-bottom: 20px;
}

.offer-product {
    position: relative;
    margin-bottom: 20px;
}

.offer-product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
}

.offer-badge {
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #f7931e 0%, #ff6b35 100%);
    color: #fff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.1;
    box-shadow: 0 4px 20px rgba(247, 147, 30, 0.4);
}

.offer-title {
    text-align: center;
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 12px;
}

.offer-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.offer-original {
    text-decoration: line-through;
    color: var(--sf-text-muted);
}

.offer-arrow {
    color: var(--sf-text-muted);
}

.offer-discounted {
    font-size: 1.2rem;
    font-weight: 700;
}

.offer-savings {
    color: var(--sf-accent);
    font-size: 0.9rem;
}

.offer-testimonial {
    background: var(--sf-card);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.offer-testimonial p {
    font-style: italic;
    color: var(--sf-text-muted);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.offer-testimonial-author {
    color: var(--sf-accent);
    font-size: 0.85rem;
}

.offer-email {
    width: 100%;
    background: var(--sf-card);
    border: 1px solid var(--sf-card-light);
    border-radius: 12px;
    padding: 16px;
    color: var(--sf-text);
    font-size: 1rem;
    margin-bottom: 12px;
}

.offer-email::placeholder {
    color: var(--sf-text-muted);
}

.offer-pay-btn {
    width: 100%;
    background: #000;
    border: none;
    color: #fff;
    padding: 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s;
}

.offer-pay-btn:hover {
    opacity: 0.9;
}

.offer-pay-btn i {
    font-size: 1.5rem;
}

.offer-powered {
    text-align: center;
    color: var(--sf-text-muted);
    font-size: 0.75rem;
    margin-top: 16px;
}

.offer-business-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--sf-primary);
    margin: 0 0 4px 0;
}

/* Superfan CTA on offer page */
.offer-superfan-cta {
    margin: 16px 0;
}

.superfan-offer-box {
    background: linear-gradient(135deg, #ff6b35 0%, #f72585 100%);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    color: #fff;
}

.superfan-offer-box h4 {
    margin: 0 0 8px 0;
    font-size: 1rem;
}

.superfan-offer-box p {
    margin: 0 0 12px 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.superfan-join-btn {
    background: #fff;
    color: #ff6b35;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.superfan-join-btn:hover {
    transform: scale(1.05);
}

.superfan-join-btn i {
    margin-right: 6px;
}

/* Share screen improvements */
.share-business-name {
    text-align: center;
    font-size: 1.2rem;
    color: var(--sf-primary);
    margin: 0 0 16px 0;
}

.share-link-text {
    word-break: break-all;
    font-family: monospace;
    background: var(--sf-surface);
    padding: 8px 12px;
    border-radius: 6px;
}

.qr-instruction {
    color: var(--sf-text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
}

/* My campaigns list */
.my-campaigns-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.my-campaign-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--sf-surface);
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
}

.my-campaign-card .campaign-icon {
    width: 44px;
    height: 44px;
    background: var(--sf-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.my-campaign-card .campaign-details {
    flex: 1;
}

.my-campaign-card .campaign-details h4 {
    margin: 0;
    font-size: 0.95rem;
}

.my-campaign-card .campaign-details p {
    margin: 4px 0 0 0;
    font-size: 0.8rem;
    color: var(--sf-text-muted);
}

.my-campaign-card .share-btn {
    background: var(--sf-primary);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
}

/* Transaction list */
.transaction-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.transaction-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--sf-surface);
    border-radius: 10px;
}

.transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.transaction-icon.sale {
    background: var(--sf-primary);
}

.transaction-icon.payout {
    background: #6366f1;
}

.transaction-info {
    flex: 1;
}

.transaction-name {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
}

.transaction-business {
    display: block;
    font-size: 0.8rem;
    color: var(--sf-text-muted);
}

.transaction-amount {
    font-weight: 600;
}

.transaction-amount.positive {
    color: var(--sf-primary);
}

.transaction-amount.negative {
    color: #ef4444;
}

.transaction-icon.other {
    background: #64748b;
}

.tx-verified {
    color: var(--sf-accent);
    font-size: 0.8rem;
    margin-left: 8px;
    opacity: 0.8;
}

.transaction-item {
    cursor: pointer;
    transition: background 0.2s;
}

.transaction-item:hover {
    background: var(--sf-card-light);
}

.campaign-discount {
    display: block;
    font-size: 0.75rem;
    color: var(--sf-primary);
    margin-top: 4px;
}

.no-data {
    text-align: center;
    color: var(--sf-text-muted);
    padding: 24px;
}

/* ==================== ENHANCED SUPERFAN UI ==================== */

/* Section Header with Action */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 16px 8px;
}

.section-action {
    background: transparent;
    border: 1px solid var(--sf-accent);
    color: var(--sf-accent);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    cursor: pointer;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 32px 16px;
    color: var(--sf-text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    margin-bottom: 16px;
}

.empty-state.small {
    padding: 24px 16px;
}

.empty-state.small i {
    font-size: 2rem;
}

.btn-primary {
    background: var(--sf-accent);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 24px;
    font-weight: 600;
    cursor: pointer;
}

/* Membership Cards */
.my-businesses-list {
    padding: 0 16px;
}

.membership-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--sf-card);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: transform 0.2s;
}

.membership-card:hover {
    transform: translateX(4px);
}

.membership-icon {
    width: 48px;
    height: 48px;
    background: var(--sf-flame);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.membership-info {
    flex: 1;
}

.membership-info h4 {
    margin: 0 0 4px 0;
    font-size: 1rem;
}

.membership-stats {
    display: flex;
    gap: 12px;
    align-items: center;
}

.membership-tier {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    background: var(--sf-card-light);
}

.membership-tier.tier-spark { background: #374151; }
.membership-tier.tier-flame { background: #f7931e; color: #000; }
.membership-tier.tier-blaze { background: #ef4444; }
.membership-tier.tier-inferno { background: #dc2626; }
.membership-tier.tier-legendary { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #000; }

.membership-earnings {
    font-size: 0.8rem;
    color: var(--sf-accent);
}

.membership-action {
    color: var(--sf-text-muted);
    font-size: 1.2rem;
}

/* Tier Progress Card */
.tier-progress-card {
    background: var(--sf-card);
    border-radius: 12px;
    padding: 16px;
    margin: 16px;
    cursor: pointer;
}

.tier-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tier-badge {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 16px;
    background: var(--sf-flame);
}

.tier-points {
    font-size: 0.85rem;
    color: var(--sf-text-muted);
}

.tier-progress-bar {
    height: 8px;
    background: var(--sf-card-light);
    border-radius: 4px;
    overflow: hidden;
}

.tier-progress-fill {
    height: 100%;
    background: var(--sf-flame);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.tier-progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--sf-text-muted);
}

/* Wallet Stats Row */
.wallet-stats-row {
    display: flex;
    justify-content: space-around;
    padding: 16px;
    background: var(--sf-card);
    border-radius: 12px;
    margin: 16px;
}

.wallet-stat {
    text-align: center;
}

.wallet-stat i {
    font-size: 1.5rem;
    color: var(--sf-accent);
    margin-bottom: 4px;
}

.wallet-stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
}

.wallet-stat-label {
    font-size: 0.75rem;
    color: var(--sf-text-muted);
}

/* Earnings Summary Enhancement */
.earnings-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
}

.earning-stat {
    flex: 1;
    min-width: 90px;
    background: var(--sf-card);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
}

.earning-stat.highlight {
    background: var(--sf-flame);
}

.earning-stat.highlight .earning-label,
.earning-stat.highlight .earning-value {
    color: #fff;
}

.earning-value.pending {
    color: #facc15;
}

.earning-note {
    display: block;
    font-size: 0.65rem;
    color: var(--sf-text-muted);
    margin-top: 2px;
}

.earning-label {
    display: block;
    font-size: 0.75rem;
    color: var(--sf-text-muted);
    margin-bottom: 4px;
}

.earning-value {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Activity Item Enhancement */
.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--sf-card);
    border-radius: 10px;
    margin: 0 16px 8px;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-icon.sale {
    background: var(--sf-accent);
    color: #000;
}

.activity-info {
    flex: 1;
}

.activity-name {
    display: block;
    font-weight: 500;
}

.activity-sub {
    display: block;
    font-size: 0.8rem;
    color: var(--sf-text-muted);
}

.activity-amount {
    font-weight: 600;
}

.activity-amount.positive {
    color: var(--sf-accent);
}

/* Live Activity Enhancement */
.live-activity {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--sf-accent);
    color: #000;
    padding: 12px 16px;
    margin: 16px;
    border-radius: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.live-activity i {
    font-size: 1.2rem;
}

.live-activity .time {
    margin-left: auto;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Payout Button */
.payout-btn {
    width: calc(100% - 32px);
    margin: 0 16px 16px;
    background: var(--sf-accent);
    color: #000;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

.payout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==================== BUSINESS SCREENS ==================== */
.business-screen {
    background: var(--biz-bg);
    color: var(--biz-text);
}

.biz-layout {
    display: flex;
    min-height: 100vh;
}

.biz-sidebar {
    width: 220px;
    background: var(--biz-sidebar);
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.biz-logo {
    margin-bottom: 40px;
}

.biz-logo span {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.biz-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.biz-nav-item {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.6);
    padding: 12px 16px;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.biz-nav-item:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.biz-nav-item.active {
    background: var(--sf-accent);
    color: #000;
}

.biz-main {
    flex: 1;
    padding: 24px 32px;
    overflow-y: auto;
}

.biz-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.biz-breadcrumb {
    font-size: 0.85rem;
    color: var(--biz-text-muted);
}

.biz-header h1 {
    font-size: 1.75rem;
    font-weight: 600;
}

.biz-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.biz-pulse {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--biz-text-muted);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--sf-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.biz-date-filter {
    background: var(--biz-card);
    border: 1px solid var(--biz-border);
    border-radius: 8px;
    padding: 8px 16px;
    color: var(--biz-text);
    cursor: pointer;
}

.biz-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.biz-stat-card {
    background: var(--biz-card);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--biz-text-muted);
    margin-bottom: 8px;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-value.highlight {
    color: var(--sf-accent);
}

.stat-change {
    font-size: 0.8rem;
    color: var(--biz-text-muted);
}

.stat-change.positive {
    color: var(--sf-accent);
}

.biz-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.biz-card {
    background: var(--biz-card);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.card-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

.see-all {
    color: var(--sf-accent);
    text-decoration: none;
    font-size: 0.85rem;
}

.chart-card {
    grid-column: 1 / -1;
}

.chart-card h3 {
    margin-bottom: 16px;
    font-size: 1rem;
    font-weight: 600;
}

.chart-placeholder {
    height: 150px;
    position: relative;
}

.revenue-chart {
    width: 100%;
    height: 100%;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--biz-text-muted);
}

.leaderboard-mini {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.leader-rank {
    width: 20px;
    font-weight: 500;
    color: var(--biz-text-muted);
}

.leader-row img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.leader-name {
    flex: 1;
    font-weight: 500;
}

.leader-earnings {
    color: var(--biz-text-muted);
}

.live-feed {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feed-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.feed-icon.sale { background: rgba(74, 222, 128, 0.2); color: var(--sf-accent); }
.feed-icon.scan { background: rgba(96, 165, 250, 0.2); color: #60a5fa; }
.feed-icon.new { background: rgba(251, 191, 36, 0.2); color: #fbbf24; }

.feed-info {
    flex: 1;
}

.feed-info strong {
    display: block;
    font-size: 0.85rem;
}

.feed-info span {
    font-size: 0.75rem;
    color: var(--biz-text-muted);
}

.feed-time {
    font-size: 0.75rem;
    color: var(--biz-text-muted);
}

.create-campaign-btn {
    background: var(--sf-accent);
    border: none;
    color: #000;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.create-campaign-btn:hover {
    background: var(--sf-accent-hover);
}

/* Data Tables */
.data-table {
    background: var(--biz-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--biz-border);
}

.data-table th {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--biz-text-muted);
    background: #f9fafb;
}

.data-table td {
    font-size: 0.9rem;
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-cell img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.active {
    background: rgba(74, 222, 128, 0.2);
    color: #16a34a;
}

.status-badge.completed {
    background: rgba(74, 222, 128, 0.2);
    color: #16a34a;
}

.action-btn {
    background: var(--biz-card);
    border: 1px solid var(--biz-border);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    margin-right: 8px;
    transition: all 0.2s;
}

.action-btn:hover {
    border-color: var(--sf-accent);
    color: var(--sf-accent);
}

.table-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--biz-text-muted);
}

.pagination-btns {
    display: flex;
    gap: 4px;
}

.pagination-btns button {
    background: var(--biz-card);
    border: 1px solid var(--biz-border);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.pagination-btns button.active {
    background: var(--sf-accent);
    border-color: var(--sf-accent);
    color: #000;
}

.pagination-btns button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Business Campaigns */
.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.campaign-card-biz {
    background: var(--biz-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    cursor: pointer;
}

.campaign-card-biz:hover {
    transform: translateY(-2px);
}

.campaign-card-biz img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.campaign-card-content {
    padding: 16px;
    position: relative;
}

.campaign-card-content h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.campaign-stats {
    color: var(--biz-text-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.campaign-metrics {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--biz-text-muted);
}

.campaign-metrics i {
    margin-right: 4px;
}

.campaign-status {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.campaign-status.live {
    background: rgba(74, 222, 128, 0.2);
    color: #16a34a;
}

.campaign-status.draft {
    background: rgba(139, 152, 165, 0.2);
    color: var(--biz-text-muted);
}

.new-campaign-card {
    background: var(--biz-card);
    border: 2px dashed var(--biz-border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    cursor: pointer;
    color: var(--biz-text-muted);
    transition: all 0.2s;
}

.new-campaign-card:hover {
    border-color: var(--sf-accent);
    color: var(--sf-accent);
}

.new-campaign-card i {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.create-btn {
    background: var(--sf-accent);
    border: none;
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-input {
    display: flex;
    align-items: center;
    background: var(--biz-card);
    border: 1px solid var(--biz-border);
    border-radius: 8px;
    padding: 8px 12px;
    gap: 8px;
}

.search-input i {
    color: var(--biz-text-muted);
}

.search-input input {
    border: none;
    background: transparent;
    outline: none;
    color: var(--biz-text);
}

.filter-button {
    background: var(--biz-card);
    border: 1px solid var(--biz-border);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==================== MODAL ==================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--biz-card);
    border-radius: 16px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--biz-border);
}

.modal-header h2 {
    font-size: 1.2rem;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: var(--biz-text-muted);
    cursor: pointer;
}

.wizard-progress {
    display: flex;
    padding: 16px 24px;
    border-bottom: 1px solid var(--biz-border);
    gap: 8px;
    overflow-x: auto;
}

.wizard-step {
    flex: 1;
    text-align: center;
    padding: 8px;
    font-size: 0.8rem;
    color: var(--biz-text-muted);
    position: relative;
    white-space: nowrap;
}

.wizard-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--biz-border);
    border-radius: 2px;
}

.wizard-step.active::before,
.wizard-step.completed::before {
    background: var(--sf-accent);
}

.wizard-step.active {
    color: var(--biz-text);
    font-weight: 500;
}

.wizard-content {
    display: none;
    padding: 24px;
}

.wizard-content.active {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    margin-top: 16px;
}

.form-group label:first-child {
    margin-top: 0;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--biz-border);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--biz-text);
}

.form-group textarea {
    resize: vertical;
}

.image-upload {
    border: 2px dashed var(--biz-border);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    color: var(--biz-text-muted);
}

.image-upload i {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.browse-btn {
    background: var(--sf-accent);
    border: none;
    color: #000;
    padding: 8px 16px;
    border-radius: 6px;
    margin-top: 12px;
    cursor: pointer;
}

.price-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--biz-border);
    border-radius: 8px;
    overflow: hidden;
}

.price-input span {
    padding: 12px;
    background: #f9fafb;
    color: var(--biz-text-muted);
}

.price-input input {
    border: none;
    padding: 12px;
    flex: 1;
}

.economics-label {
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.slider-group {
    margin-bottom: 24px;
}

.slider-group label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.slider-group input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--biz-border);
    outline: none;
    -webkit-appearance: none;
}

.slider-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--sf-accent);
    cursor: pointer;
}

.slider-result {
    display: block;
    text-align: right;
    font-size: 0.85rem;
    color: var(--biz-text-muted);
    margin-top: 8px;
}

.outcome-box {
    background: var(--sf-bg);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    color: #fff;
}

.outcome-box span:first-child {
    display: block;
    font-size: 0.85rem;
    color: var(--sf-text-muted);
    margin-bottom: 8px;
}

.outcome-value {
    font-size: 2.5rem;
    font-weight: 700;
}

.date-range {
    display: flex;
    align-items: center;
    gap: 12px;
}

.date-range input {
    flex: 1;
}

.landing-preview {
    border: 1px solid var(--biz-border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: center;
}

.preview-phone {
    width: 180px;
    height: 320px;
    background: linear-gradient(180deg, #1a1f2e 0%, #0f1419 100%);
    border-radius: 24px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.preview-content {
    text-align: center;
    color: #fff;
}

.preview-badge {
    background: var(--sf-flame);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin: 0 auto 12px;
}

.preview-badge.small {
    width: 40px;
    height: 40px;
    font-size: 0.6rem;
}

.preview-content h4 {
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.preview-content p {
    font-size: 0.65rem;
    color: var(--sf-text-muted);
}

.review-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.review-info h3 {
    font-size: 1rem;
    margin-bottom: 12px;
    margin-top: 20px;
}

.review-info h3:first-child {
    margin-top: 0;
}

.review-info p {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.review-preview {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.preview-phone.small {
    width: 120px;
    height: 200px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--biz-border);
}

.btn-back {
    background: var(--biz-card);
    border: 1px solid var(--biz-border);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.btn-next {
    background: var(--sf-accent);
    border: none;
    color: #000;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-launch {
    background: var(--sf-accent);
    border: none;
    color: #000;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* ==================== TOAST ==================== */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--sf-card);
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2000;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast.success {
    background: var(--sf-accent);
    color: #000;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .biz-sidebar {
        display: none;
    }

    .biz-main {
        padding: 16px;
    }

    .biz-grid {
        grid-template-columns: 1fr;
    }

    .biz-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .biz-header-right {
        flex-wrap: wrap;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }

    .data-table {
        overflow-x: auto;
    }

    .data-table table {
        min-width: 600px;
    }
}

/* ==================== LOGIN MODAL ==================== */
.login-modal-content {
    max-width: 400px;
    padding: 2rem;
}

.login-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #888;
}

.login-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.login-tab {
    flex: 1;
    padding: 0.75rem;
    border: none;
    background: #2a2a3e;
    color: #888;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.login-tab.active {
    background: linear-gradient(135deg, #f7931e, #ff6b35);
    color: white;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    color: #aaa;
}

.form-group input {
    padding: 0.75rem 1rem;
    border: 1px solid #3a3a4e;
    border-radius: 8px;
    background: #1a1a2e;
    color: white;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #f7931e;
}

.login-submit-btn {
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.login-submit-btn:hover {
    transform: translateY(-2px);
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
    font-size: 0.75rem;
}

/* ==================== API STATUS ==================== */
.api-status {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(26, 26, 46, 0.9);
    border-radius: 20px;
    font-size: 0.75rem;
    color: #888;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border: 1px solid #3a3a4e;
}

.api-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #888;
}

.api-status.connected .api-dot {
    background: #4ade80;
    box-shadow: 0 0 10px #4ade80;
}

.api-status.connected .api-text {
    color: #4ade80;
}

.api-status.error .api-dot {
    background: #ef4444;
}

.api-status.error .api-text {
    color: #ef4444;
}

/* ==================== ROLE BUTTONS - LOGIN ==================== */
.role-login-btn {
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    border: 1px solid #4ade80;
    background: transparent;
    color: #4ade80;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.role-login-btn:hover {
    background: #4ade80;
    color: #1a1a2e;
}

.user-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-top: 1rem;
}

.user-badge i {
    font-size: 0.75rem;
}

/* ==================== MODAL BASE ==================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #1a1a2e;
    border-radius: 16px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid #3a3a4e;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
}

.modal-close:hover {
    color: white;
}

/* ==================== IMAGE UPLOAD DRAG & DROP ==================== */
.image-upload {
    border: 2px dashed #3a3a4e;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-upload.drag-over {
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
}

.image-upload i {
    font-size: 2.5rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.image-upload span {
    color: #888;
    margin-bottom: 1rem;
}

.browse-btn {
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.browse-btn:hover {
    transform: translateY(-2px);
}

#image-preview {
    position: relative;
    width: 100%;
}

#image-preview img {
    max-width: 100%;
    max-height: 150px;
    border-radius: 8px;
    object-fit: cover;
}

.remove-image-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ef4444;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== WHOLE DOLLARS TOGGLE ==================== */
.whole-dollars-toggle {
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.toggle-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #4ade80;
}

.toggle-text {
    font-weight: 500;
    color: #fff;
}

.toggle-hint {
    color: #888;
    font-size: 0.875rem;
}

/* ==================== SLIDER IMPROVEMENTS ==================== */
.slider-group input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #3a3a4e;
    outline: none;
}

.slider-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7931e, #ff6b35);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(247, 147, 30, 0.4);
}

.slider-result {
    display: block;
    margin-top: 0.5rem;
    color: #4ade80;
    font-size: 1.1rem;
}

/* ==================== CAMPAIGN SAVE STATUS ==================== */
.save-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
}

.save-status.saving {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.save-status.saved {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

.save-status.error {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* ==================== LOGGED IN USER BADGE ==================== */
.logged-in-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 12px;
    margin-top: 1rem;
    color: #4ade80;
}

.logged-in-badge i {
    font-size: 1rem;
}

.logout-btn {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 0.25rem;
    margin-left: auto;
}

.logout-btn:hover {
    color: #ef4444;
}

/* ==================== BUSINESS SELECT SCREEN ==================== */
.business-select-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.business-select-container h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.business-select-container .subtitle {
    color: #888;
    margin-bottom: 2rem;
}

.back-btn-top {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: none;
    border: none;
    color: #888;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-btn-top:hover {
    color: white;
}

.businesses-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.business-select-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #2a2a3e;
    border: 1px solid #3a3a4e;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.business-select-card:hover {
    border-color: #4ade80;
    transform: translateY(-2px);
}

.business-select-card .biz-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f7931e, #ff6b35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.business-select-card .biz-info {
    flex: 1;
}

.business-select-card .biz-info h3 {
    color: white;
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
}

.business-select-card .biz-info p {
    color: #888;
    margin: 0;
    font-size: 0.875rem;
}

.business-select-card .biz-arrow {
    color: #4ade80;
}

.create-business-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem;
    background: transparent;
    border: 2px dashed #3a3a4e;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    color: #888;
}

.create-business-card:hover {
    border-color: #4ade80;
    color: #4ade80;
}

.create-business-card i {
    font-size: 2rem;
}

/* ==================== CREATE BUSINESS MODAL ==================== */
.create-business-modal-content {
    max-width: 500px;
    padding: 2rem;
}

.slug-input {
    display: flex;
    align-items: center;
    background: #1a1a2e;
    border: 1px solid #3a3a4e;
    border-radius: 8px;
    overflow: hidden;
}

.slug-input span {
    padding: 0.75rem;
    background: #2a2a3e;
    color: #888;
    font-size: 0.875rem;
}

.slug-input input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.75rem;
    color: white;
}

.slug-input input:focus {
    outline: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.create-biz-submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #f7931e, #ff6b35);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.create-biz-submit-btn:hover {
    transform: translateY(-2px);
}

/* ==================== BUSINESS HEADER IN DASHBOARD ==================== */
.biz-header-business-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #4ade80;
    margin-top: 0.25rem;
}

.biz-header-business-name i {
    font-size: 0.75rem;
}

.switch-business-btn {
    background: none;
    border: 1px solid #3a3a4e;
    color: #888;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    margin-left: 0.5rem;
}

.switch-business-btn:hover {
    border-color: #4ade80;
    color: #4ade80;
}

/* ==================== EMPTY STATES ==================== */
.no-businesses, .no-data {
    color: #888;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

/* ==================== FORM GROUP SELECT ==================== */
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #3a3a4e;
    border-radius: 8px;
    background: #1a1a2e;
    color: white;
    font-size: 1rem;
}

.form-group select:focus {
    outline: none;
    border-color: #f7931e;
}

.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #3a3a4e;
    border-radius: 8px;
    background: #1a1a2e;
    color: white;
    font-size: 1rem;
    resize: vertical;
}

.form-group textarea:focus {
    outline: none;
    border-color: #f7931e;
}

/* ==================== PRINT MATERIALS SCREEN ==================== */
.print-content {
    padding-bottom: 100px;
}

.print-hero {
    background: linear-gradient(135deg, #f7931e 0%, #ff6b35 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.print-hero-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.print-hero-icon i {
    font-size: 2.5rem;
    color: white;
}

.print-hero h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.print-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* QR Preview */
.print-qr-preview {
    background: var(--sf-card);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    border: 2px solid var(--sf-card-light);
}

.print-qr-code {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.print-qr-code img {
    width: 180px;
    height: 180px;
    display: block;
}

.print-qr-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.print-business-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
}

.print-code {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--sf-text-muted);
}

/* Template Selection */
.print-templates {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.print-template {
    background: var(--sf-card);
    border-radius: 12px;
    padding: 1rem 0.5rem;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.print-template:hover {
    background: var(--sf-card-light);
}

.print-template.active {
    border-color: var(--sf-orange);
    background: rgba(247, 147, 30, 0.1);
}

.template-preview {
    width: 50px;
    height: 50px;
    background: var(--sf-card-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
}

.template-preview i {
    font-size: 1.25rem;
    color: var(--sf-orange);
}

.print-template.active .template-preview {
    background: var(--sf-orange);
}

.print-template.active .template-preview i {
    color: white;
}

.template-name {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.template-size {
    display: block;
    font-size: 0.65rem;
    color: var(--sf-text-muted);
}

/* Print Actions */
.print-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.print-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--sf-card);
    color: white;
}

.print-action-btn:hover {
    background: var(--sf-card-light);
}

.print-action-btn.primary {
    background: var(--sf-orange);
    color: white;
}

.print-action-btn.primary:hover {
    background: #e6831a;
}

.print-action-btn i {
    font-size: 1.1rem;
}

/* POD Partners */
.pod-partners {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.pod-card {
    background: var(--sf-card);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    position: relative;
}

.pod-card:hover {
    background: var(--sf-card-light);
    border-color: var(--sf-card-light);
}

.pod-card.featured {
    border-color: var(--sf-orange);
    background: rgba(247, 147, 30, 0.05);
}

.pod-badge {
    position: absolute;
    top: -8px;
    right: 10px;
    background: var(--sf-orange);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    text-transform: uppercase;
}

.pod-icon {
    width: 48px;
    height: 48px;
    background: var(--sf-card-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pod-card.featured .pod-icon {
    background: var(--sf-orange);
}

.pod-icon i {
    font-size: 1.25rem;
    color: var(--sf-orange);
}

.pod-card.featured .pod-icon i {
    color: white;
}

.pod-info {
    flex: 1;
    min-width: 0;
}

.pod-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.pod-info p {
    font-size: 0.8rem;
    color: var(--sf-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pod-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sf-accent);
    white-space: nowrap;
}

/* Print Tips */
.print-tips {
    background: var(--sf-card);
    border-radius: 12px;
    padding: 1rem;
    border-left: 4px solid var(--sf-orange);
}

.print-tips h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--sf-orange);
    margin-bottom: 0.75rem;
}

.print-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.print-tips li {
    font-size: 0.85rem;
    color: var(--sf-text-muted);
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.print-tips li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--sf-orange);
}

/* POD Overlay */
.pod-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}

.pod-instructions {
    background: var(--sf-card);
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 400px;
    width: 100%;
    position: relative;
}

.pod-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    color: var(--sf-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.pod-instructions h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 1rem;
}

.pod-instructions h3 i {
    color: var(--sf-orange);
}

.pod-instructions ol {
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
}

.pod-instructions li {
    font-size: 0.9rem;
    color: var(--sf-text-muted);
    padding: 0.5rem 0;
}

.pod-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pod-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    border-radius: 10px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pod-btn.secondary {
    background: var(--sf-card-light);
    color: white;
}

.pod-btn.secondary:hover {
    background: #3a4458;
}

.pod-btn.primary {
    background: var(--sf-orange);
    color: white;
}

.pod-btn.primary:hover {
    background: #e6831a;
}

/* Print CTA on Share Screen */
.print-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(247, 147, 30, 0.2) 0%, rgba(255, 107, 53, 0.2) 100%);
    border: 2px solid var(--sf-orange);
    border-radius: 16px;
    padding: 1rem;
    margin-top: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.print-cta:hover {
    background: linear-gradient(135deg, rgba(247, 147, 30, 0.3) 0%, rgba(255, 107, 53, 0.3) 100%);
    transform: translateY(-2px);
}

.print-cta > i:first-child {
    font-size: 2rem;
    color: var(--sf-orange);
}

.print-cta-text {
    flex: 1;
}

.print-cta-text h4 {
    font-size: 0.95rem;
    color: white;
    margin-bottom: 0.25rem;
}

.print-cta-text p {
    font-size: 0.8rem;
    color: var(--sf-text-muted);
}

.print-cta > i:last-child {
    color: var(--sf-text-muted);
}

/* ==================== MY PAGE EDITOR ==================== */
.mypage-content {
    padding-bottom: 100px;
}

.preview-toggle {
    display: flex;
    background: var(--sf-card);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 1.5rem;
}

.toggle-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    background: transparent;
    color: var(--sf-text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.toggle-btn.active {
    background: var(--sf-orange);
    color: white;
}

.mypage-tab {
    animation: fadeIn 0.3s ease;
}

.mypage-toggle-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--sf-card);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.mypage-toggle {
    position: relative;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

.mypage-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--sf-card-light);
    border-radius: 28px;
    transition: 0.3s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.mypage-toggle input:checked + .toggle-slider {
    background: var(--sf-orange);
}

.mypage-toggle input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

.toggle-label {
    display: flex;
    flex-direction: column;
}

.toggle-label span {
    font-weight: 600;
    color: white;
}

.toggle-label small {
    font-size: 0.75rem;
    color: var(--sf-text-muted);
}

.mypage-section {
    margin-bottom: 1.25rem;
}

.section-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sf-text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mypage-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--sf-card);
    border: 2px solid transparent;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.mypage-input:focus {
    outline: none;
    border-color: var(--sf-orange);
}

.mypage-input::placeholder {
    color: var(--sf-text-muted);
}

textarea.mypage-input {
    resize: vertical;
    min-height: 80px;
}

.avatar-options, .theme-options {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.avatar-option, .theme-option {
    flex: 1;
    padding: 0.75rem;
    background: var(--sf-card);
    border: 2px solid transparent;
    border-radius: 10px;
    color: var(--sf-text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s ease;
}

.avatar-option i, .theme-option i {
    font-size: 1.25rem;
}

.avatar-option.active, .theme-option.active {
    border-color: var(--sf-orange);
    color: var(--sf-orange);
    background: rgba(247, 147, 30, 0.1);
}

.avatar-input {
    margin-top: 0.5rem;
}

.avatar-input small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--sf-text-muted);
}

.emoji-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.emoji-btn {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    background: var(--sf-card);
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.emoji-btn:hover, .emoji-btn.active {
    border-color: var(--sf-orange);
    background: rgba(247, 147, 30, 0.1);
}

.theme-preview {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-bottom: 0.25rem;
}

.theme-preview.default {
    background: linear-gradient(135deg, #1a1f2e 50%, #f7931e 50%);
}

.theme-preview.dark {
    background: linear-gradient(135deg, #000 50%, #333 50%);
}

.theme-preview.light {
    background: linear-gradient(135deg, #fff 50%, #f5f5f5 50%);
    border: 1px solid #ddd;
}

.theme-preview.fun {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 50%, #6bcb77 100%);
}

.mypage-save-btn {
    width: 100%;
    padding: 1rem;
    background: var(--sf-orange);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    transition: all 0.2s ease;
}

.mypage-save-btn:hover {
    background: #e6831a;
}

/* Preview Frame */
.preview-frame {
    background: var(--sf-card);
    border-radius: 16px;
    padding: 1rem;
    border: 2px dashed var(--sf-card-light);
}

/* ==================== PERSONAL LANDING PAGE (Customer View) ==================== */
.personal-landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

/* Themes */
.personal-landing.default {
    background: linear-gradient(135deg, #1a1f2e 0%, #0f1419 100%);
    color: white;
}

.personal-landing.dark {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    color: white;
}

.personal-landing.light {
    background: linear-gradient(135deg, #fff 0%, #f5f7fa 100%);
    color: #1a1f2e;
}

.personal-landing.fun {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
}

.pl-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 4px solid var(--sf-orange);
    background: var(--sf-card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pl-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pl-emoji {
    font-size: 4rem;
}

.pl-headline {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pl-message {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 400px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.pl-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.pl-cta {
    padding: 1rem 3rem;
    background: var(--sf-orange);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(247, 147, 30, 0.4);
}

.pl-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(247, 147, 30, 0.5);
}

.personal-landing.light .pl-cta {
    background: #1a1f2e;
}

.pl-badge {
    position: absolute;
    bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    opacity: 0.5;
}

.pl-badge img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

/* Personal landing view screen */
#personal-landing-view {
    position: relative;
}

#personal-landing-content {
    position: relative;
}

/* My Page Link on Share Screen */
.mypage-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--sf-card);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.mypage-link:hover {
    border-color: var(--sf-orange);
}

.mypage-link-icon {
    width: 44px;
    height: 44px;
    background: var(--sf-orange);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mypage-link-icon i {
    font-size: 1.25rem;
    color: white;
}

.mypage-link-text {
    flex: 1;
}

.mypage-link-text h4 {
    font-size: 0.95rem;
    color: white;
    margin-bottom: 0.25rem;
}

.mypage-link-text p {
    font-size: 0.8rem;
    color: var(--sf-text-muted);
}

.mypage-link > i:last-child {
    color: var(--sf-text-muted);
}

/* ==================== BUSINESS LANDING PAGE (Default/Fallback) ==================== */
.business-landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.business-landing.default {
    background: linear-gradient(135deg, #1a1f2e 0%, #0f1419 100%);
    color: white;
}

.business-landing.dark {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    color: white;
}

.business-landing.light {
    background: linear-gradient(135deg, #fff 0%, #f5f7fa 100%);
    color: #1a1f2e;
}

.business-landing.brand {
    background: linear-gradient(135deg, var(--brand-color, #f7931e) 0%, var(--brand-dark, #e6831a) 100%);
    color: white;
}

.bl-logo {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    background: white;
    padding: 0.5rem;
}

.bl-headline {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.bl-subheadline {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

/* Video Section */
.bl-video-section {
    width: 100%;
    max-width: 500px;
    margin-bottom: 2rem;
}

.bl-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.bl-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Story Section */
.bl-story-section {
    max-width: 500px;
    margin-bottom: 2rem;
}

.bl-story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    font-style: italic;
}

/* Testimonials Section */
.bl-testimonials-section {
    width: 100%;
    max-width: 500px;
    margin-bottom: 2rem;
}

.bl-testimonials-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bl-testimonial {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    text-align: left;
}

.business-landing.light .bl-testimonial {
    background: rgba(0, 0, 0, 0.05);
}

.bl-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.bl-testimonial-content {
    flex: 1;
}

.bl-testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.bl-testimonial-name {
    font-size: 0.85rem;
    opacity: 0.7;
    font-weight: 600;
}

/* Stats */
.bl-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

.bl-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bl-stats i {
    color: var(--sf-orange);
}

/* CTA */
.bl-cta {
    padding: 1rem 3rem;
    background: var(--sf-orange);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(247, 147, 30, 0.4);
}

.bl-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(247, 147, 30, 0.5);
}

.business-landing.light .bl-cta {
    background: #1a1f2e;
}

/* Badge */
.bl-badge {
    position: absolute;
    bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    opacity: 0.5;
}

.bl-badge img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}
