/* Product Recommendation Block Styles */
.prb-card { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; max-width: 100%; box-sizing: border-box; margin-bottom: 30px; }
.prb-card * { box-sizing: border-box; }
.prb-urgency-badge { position: absolute; top: 12px; right: 12px; padding: 6px 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; border-radius: 6px; z-index: 10; }
.prb-announcement-bar { padding: 12px 16px; border-radius: 6px; font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 10px; min-height: 44px; width: 100%; box-sizing: border-box; margin-bottom: 20px; }
.prb-ann-icon { font-size: 16px; }
.prb-ann-text { flex: 1; }
.prb-ann-button { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 6px; line-height: 1; white-space: nowrap; box-sizing: border-box; flex: 0 0 auto; vertical-align: middle; border-style: solid; border-width: 1px; border-radius: 4px; padding: 8px 16px; font-weight: 600; cursor: pointer; margin-left: 10px; transition: all 0.2s ease; }
.prb-body { display: flex; gap: 24px; align-items: flex-start; }
.prb-image { flex: 0 0 auto; width: 100%; }
.prb-image img { width: 100%; height: auto; border-radius: 8px; object-fit: contain; background: #f9fafb; }
.prb-content { flex: 1; minWidth: 0; }
.prb-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.prb-title { margin: 0; flex: 1; }
.prb-micro-badge { font-size: 11px; padding: 3px 8px; border-radius: 4px; background: #dcfce7; color: #166534; font-weight: 600; }
.prb-badge-editors { font-size: 11px; padding: 5px 12px; border-radius: 50px; font-weight: 700; text-transform: uppercase; }
.prb-stars { color: #d1d5db; font-size: 18px; letter-spacing: 2px; margin: 8px 0; }
.prb-star.filled { color: #FBBF24; }
.prb-desc { color: #4b5563; font-size: 14px; line-height: 1.6; margin: 0 0 16px 0; }
.prb-pros-cons-container { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; padding: 20px; background: #f9fafb; border-radius: 12px; border: 1px solid #e5e7eb; }
.prb-pros-title { color: #059669; margin: 0 0 12px 0; font-size: 15px; font-weight: 700; }
.prb-cons-title { color: #dc2626; margin: 0 0 12px 0; font-size: 15px; font-weight: 700; }
.prb-pros-list, .prb-cons-list { list-style: none; padding: 0; margin: 0; }
.prb-pro-item, .prb-con-item { padding: 6px 0; font-size: 14px; display: flex; align-items: flex-start; gap: 8px; }
.prb-pro-icon { color: #059669; font-weight: bold; width: 20px; text-align: center; }
.prb-con-icon { color: #dc2626; font-weight: bold; width: 20px; text-align: center; }
.prb-countdown { background: #fef3c7; border: 1px solid #fbbf24; border-radius: 8px; padding: 16px; margin: 20px 0; text-align: center; }
.prb-countdown-label { font-size: 14px; font-weight: 600; color: #92400e; margin-bottom: 12px; }
.prb-countdown-timer { display: flex; justify-content: center; gap: 16px; }
.prb-countdown-unit { display: flex; flex-direction: column; align-items: center; }
.prb-countdown-num { font-size: 24px; font-weight: 700; color: #92400e; font-family: 'Courier New', monospace; }
.prb-countdown-text { font-size: 11px; color: #a16207; text-transform: uppercase; margin-top: 4px; }
.prb-coupon-wrapper { margin: 20px 0; padding: 20px; border-radius: 8px; display: block; box-sizing: border-box; width: 100%; position: relative; clear: both; }
.prb-coupon-header { font-weight: bold; font-size: 16px; margin-bottom: 15px; }
.prb-coupon-code-display { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.prb-coupon-code { font-family: monospace; font-size: 20px; font-weight: 700; padding: 10px 16px; border-radius: 6px; background: rgba(255,255,255,0.9); color: #065f46; border: 2px solid #a7f3d0; flex: 1; text-align: center; }
.prb-coupon-copy-btn { background: #10b981; color: #fff; border: none; padding: 12px 18px; border-radius: 6px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 6px; line-height: 1; box-sizing: border-box; }
.prb-coupon-expired { color: #ef4444; font-weight: 700; padding: 10px 16px; background: #fee2e2; border-radius: 6px; }
.prb-buttons { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.prb-btn { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; text-decoration: none; font-weight: 600; font-size: 15px; box-sizing: border-box; border-radius: 8px; transition: all 0.2s ease; }
.prb-btn:hover { opacity: 0.9; }
.prb-price { font-weight: 700; }
.prb-faq { margin: 20px 0; }
.prb-faq-title { margin: 0 0 12px 0; font-size: 15px; font-weight: 700; }
.prb-faq-item { border: 1px solid #e5e7eb; border-radius: 6px; margin-bottom: 8px; }
.prb-faq-question { padding: 12px 16px; background: #f9fafb; font-weight: 600; cursor: pointer; }
.prb-faq-answer { padding: 12px 16px; }

/* Coupon Styles */
.prb-coupon-classic-dashed { background: #f0fdf4; border: 2px dashed #10b981; color: #065f46; }
.prb-coupon-modern-solid { background: #ffffff; border: 1px solid #e5e7eb; border-left: 5px solid #3b82f6; color: #1e3a8a; }
.prb-coupon-gradient-box { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border: none; color: #ffffff; }
.prb-coupon-ticket-style { background: #fff; border: 1px dashed #cbd5e1; color: #475569; }
.prb-coupon-minimalist-line { background: transparent; border: none; border-bottom: 2px solid #000; border-radius: 0; color: #000; padding: 10px 0; }
.prb-coupon-dark-mode { background: #1f2937; color: #f3f4f6; border: 1px solid #374151; }
.prb-coupon-neon-glow { background: #000; color: #0ff; border: 1px solid #0ff; box-shadow: 0 0 10px #0ff; }
.prb-coupon-heavy-rounded { background: #fef3c7; border: 4px solid #f59e0b; border-radius: 24px; color: #92400e; }
.prb-coupon-outline-only { background: transparent; border: 2px solid #ef4444; color: #ef4444; }
.prb-coupon-badge-compact { background: #e0e7ff; color: #3730a3; padding: 10px 20px; display: inline-block; border-radius: 50px; font-weight: bold; width: auto; }

/* Announcement Bar Styles */
.prb-ann-style-modern { background: #f8f9fa; border: 1px solid #e9ecef; color: #495057; }
.prb-ann-style-alert { background: #fff3cd; border-left: 4px solid #ffc107; color: #856404; }
.prb-ann-style-success { background: #d1e7dd; border-left: 4px solid #198754; color: #0f5132; }
.prb-ann-style-urgency { background: #f8d7da; border-left: 4px solid #dc3545; color: #842029; }
.prb-ann-style-dark { background: #212529; color: #f8f9fa; }

/* Coupon Button Styles */
.prb-coupon-btn-style-1 { background: #10b981; color: #fff; border-color: #10b981; }
.prb-coupon-btn-style-2 { background: transparent; color: #10b981; border-color: #10b981; }
.prb-coupon-btn-style-3 { background: linear-gradient(135deg, #10b981, #059669); color: #fff; border-color: transparent; }
.prb-coupon-btn-style-4 { background: rgba(16, 185, 129, 0.1); color: #10b981; border-color: rgba(16, 185, 129, 0.3); backdrop-filter: blur(10px); }
.prb-coupon-btn-style-5 { background: #f0fdf4; color: #10b981; border-color: #f0fdf4; box-shadow: 5px 5px 10px #d1d5db, -5px -5px 10px #ffffff; }
.prb-coupon-btn-style-6 { background: #10b981; color: #fff; border-color: #059669; box-shadow: 0 4px 0 #059669; transform: translateY(0); }
.prb-coupon-btn-style-6:active { transform: translateY(4px); box-shadow: 0 0 0 #059669; }
.prb-coupon-btn-style-7 { background: #000; color: #0ff; border-color: #0ff; box-shadow: 0 0 10px #0ff; }
.prb-coupon-btn-style-8 { background: #10b981; color: #fff; border: 4px solid #059669; font-family: 'Courier New', monospace; image-rendering: pixelated; }
.prb-coupon-btn-style-9 { border-radius: 50px; background: #10b981; color: #fff; border-color: #10b981; }
.prb-coupon-btn-style-10 { border-radius: 0; background: #10b981; color: #fff; border-color: #10b981; }
.prb-coupon-btn-style-11 { border-style: dashed; background: #10b981; color: #fff; border-color: #10b981; }
.prb-coupon-btn-style-12 { border-style: double; border-width: 4px; background: #10b981; color: #fff; border-color: #10b981; }
.prb-coupon-btn-style-13 { box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3); background: #10b981; color: #fff; border-color: #10b981; }
.prb-coupon-btn-style-14 { box-shadow: inset 0 2px 4px rgba(0,0,0,0.1); background: #10b981; color: #fff; border-color: #10b981; }
.prb-coupon-btn-style-15 { background: #fff; color: #10b981; border: 2px solid transparent; background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, #10b981, #059669); background-origin: border-box; background-clip: padding-box, border-box; }
.prb-coupon-btn-style-16 { background: linear-gradient(135deg, #e5e7eb, #ffffff, #e5e7eb); color: #374151; border-color: #9ca3af; }
.prb-coupon-btn-style-17 { background: #a7f3d0; color: #065f46; border-color: #6ee7b7; }
.prb-coupon-btn-style-18 { background: #1f2937; color: #f3f4f6; border-color: #374151; }
.prb-coupon-btn-style-19 { background: transparent; color: #10b981; border-color: transparent; text-decoration: underline; padding: 8px 0; }
.prb-coupon-btn-style-20 { border-radius: 50px; padding: 4px 12px; font-size: 11px; background: #10b981; color: #fff; border-color: #10b981; }
.prb-coupon-btn-style-21 { background: #10b981; color: #fff; border-color: #10b981; clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%, 0 50%); padding-left: 20px; }
.prb-coupon-btn-style-22 { background: #10b981; color: #fff; border: 3px double #fff; border-radius: 50%; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 10px; padding: 0; }
.prb-coupon-btn-style-23 { animation: prb-glow-pulse 2s infinite; background: #10b981; color: #fff; border-color: #10b981; }
@keyframes prb-glow-pulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.prb-coupon-btn-style-24 { background: #fff; color: #10b981; border: 2px solid #10b981; border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; }
.prb-coupon-btn-style-25 { background: #000; color: #0ff; border: 1px solid #0ff; box-shadow: 0 0 5px #0ff, inset 0 0 5px #0ff; font-family: 'Courier New', monospace; }
.prb-coupon-btn-style-26 { background: #f5f5dc; color: #8b4513; border: 1px solid #8b4513; font-family: Georgia, serif; }
.prb-coupon-btn-style-27 { background: #10b981; color: #fff; border: none; border-radius: 4px; }
.prb-coupon-btn-style-28 { background: #10b981; color: #fff; border: 1px solid #059669; box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.1); }
.prb-coupon-btn-style-29 { background: linear-gradient(45deg, #ff00cc, #3333ff, #00ffcc, #ff00cc); background-size: 400% 400%; animation: prb-holo 3s ease infinite; color: #fff; border-color: transparent; }
@keyframes prb-holo { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.prb-coupon-btn-style-30 { background: linear-gradient(90deg, #10b981, #059669, #10b981); background-size: 200% 100%; animation: prb-anim-grad 2s linear infinite; border-color: transparent; color: #fff; }
@keyframes prb-anim-grad { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }

/* Admin Styles */
.prb-dashboard { max-width: 1200px; margin: 0 auto; }
.prb-dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.prb-dash-title { font-size: 24px; font-weight: 700; color: #1f2937; }
.prb-dash-actions { display: flex; gap: 10px; }
.prb-select { padding: 8px 12px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 14px; }
.prb-export-btn { display: inline-flex; align-items: center; padding: 8px 16px; background: #fff; border: 1px solid #d1d5db; border-radius: 6px; text-decoration: none; color: #374151; font-size: 14px; font-weight: 500; }
.prb-export-btn:hover { background: #f9fafb; }
.prb-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 30px; }
.prb-stat-card { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 15px; }
.prb-stat-label { font-size: 13px; color: #6b7280; margin-bottom: 5px; }
.prb-stat-value { font-size: 24px; font-weight: 700; color: #1f2937; }
.prb-panel { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); margin-bottom: 20px; overflow: hidden; }
.prb-panel-full { grid-column: 1 / -1; }
.prb-panel-header { padding: 20px; border-bottom: 1px solid #f3f4f6; }
.prb-panel-title { font-size: 16px; font-weight: 600; color: #1f2937; margin: 0; }
.prb-panel-body { padding: 20px; }
.prb-no-pad { padding: 0; }
.prb-chart-container { position: relative; height: 300px; }
.prb-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.prb-device-row { margin-bottom: 15px; }
.prb-device-head { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 13px; }
.prb-device-name { font-weight: 500; color: #374151; }
.prb-device-meta { color: #6b7280; }
.prb-progress-track { height: 6px; background: #f3f4f6; border-radius: 3px; overflow: hidden; }
.prb-progress-fill { height: 100%; background: #3b82f6; border-radius: 3px; }
.prb-data-table { width: 100%; border-collapse: collapse; }
.prb-data-table th, .prb-data-table td { padding: 12px 20px; text-align: left; border-bottom: 1px solid #f3f4f6; font-size: 14px; }
.prb-data-table th { background: #f9fafb; font-weight: 600; color: #6b7280; }
.prb-event-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.badge-view { background: #dbeafe; color: #1e40af; }
.badge-click { background: #dcfce7; color: #166534; }
.prb-empty { padding: 20px; text-align: center; color: #6b7280; font-style: italic; }

@media (max-width: 768px) {
    .prb-body { flex-direction: column; }
    .prb-pros-cons-container { grid-template-columns: 1fr; }
    .prb-grid-3 { grid-template-columns: 1fr; }
    .prb-stats-grid { grid-template-columns: 1fr; }
}