/* EcoCupon Recycle - Scan UI + Wallet */
.recycle-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #fff;
    min-height: 100vh;
    margin: 0;
}

.recycle-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
}

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

.recycle-header h1 {
    font-size: 28px;
    margin: 0;
}

.recycle-wallet {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.wallet-balance {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
}

.wallet-recycled {
    font-size: 12px;
    color: #10b981;
}

.recycle-scan-area {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.qr-scanner {
    width: 100%;
    aspect-ratio: 1;
    max-width: 280px;
    margin: 16px auto;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    position: relative;
}

.qr-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
}

.qr-placeholder span {
    font-size: 64px;
}

.manual-input {
    margin-top: 16px;
}

.qr-input {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 16px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.scan-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.recycle-result {
    margin: 20px 0;
}

.result-card {
    padding: 24px;
    border-radius: 16px;
    text-align: center;
}

.result-card.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.result-card.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.result-card.pending {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.result-amount {
    font-size: 36px;
    font-weight: 800;
    margin: 12px 0;
}

/* Wallet Section */
.recycle-wallet-section {
    margin: 24px 0;
}

.recycle-wallet-section h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

.wallet-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.2));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
}

.wallet-balance-big {
    margin-bottom: 20px;
}

.wallet-amount {
    font-size: 48px;
    font-weight: 800;
    color: #f59e0b;
}

.wallet-currency {
    font-size: 20px;
    color: #d97706;
    margin-left: 8px;
}

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

.wallet-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.wallet-btn.primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
}

.wallet-btn.secondary {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Categories */
.recycle-categories {
    margin: 24px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.category-card {
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s;
}

.category-card:active {
    transform: scale(0.95);
}

.cat-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 8px;
}

.cat-name {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.cat-reward {
    display: block;
    color: #10b981;
    font-weight: 700;
}

.recycle-how {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 20px;
}

.recycle-how ol {
    padding-left: 20px;
}

.recycle-how li {
    margin: 12px 0;
    font-size: 16px;
}
