/* Rufe QR Codes — Public Dashboard CSS */
.rufe-qr-dashboard { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; max-width: 1100px; margin: 0 auto; color: #1e293b; }
.rufe-qr-dashboard * { box-sizing: border-box; }
.rufe-qr-notice { padding: 16px; background: #fef9c3; border: 1px solid #fde047; border-radius: 8px; margin-bottom: 20px; }
.rufe-dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.rufe-dash-header h2 { margin: 0; font-size: 22px; }
.rufe-dash-stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 14px; margin-bottom: 24px; }
.rufe-dash-stat { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 18px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.rufe-dash-stat .val { font-size: 26px; font-weight: 700; color: #6366f1; }
.rufe-dash-stat .lbl { font-size: 12px; color: #64748b; margin-top: 4px; }
.rufe-dash-qr-table { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; margin-bottom: 24px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.rufe-dash-qr-table h3 { margin: 0; padding: 14px 16px; border-bottom: 1px solid #e2e8f0; font-size: 15px; background: #f8fafc; }
.rufe-dash-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rufe-dash-table th { padding: 10px 12px; text-align: left; background: #f8fafc; font-weight: 600; border-bottom: 1px solid #e2e8f0; }
.rufe-dash-table td { padding: 10px 12px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.rufe-dash-table tr:last-child td { border-bottom: none; }
.rufe-dash-table tr:hover td { background: #f8fafc; }
.rufe-qr-slug-badge { display: inline-block; background: #ede9fe; color: #6366f1; padding: 1px 6px; border-radius: 4px; font-size: 11px; font-weight: 700; font-family: monospace; }
.rufe-dash-action-btn { display: inline-block; padding: 4px 10px; border-radius: 6px; text-decoration: none; font-size: 11px; font-weight: 600; border: 1.5px solid #e2e8f0; color: #475569; margin-right: 4px; cursor: pointer; background: #fff; }
.rufe-dash-action-btn:hover { border-color: #6366f1; color: #6366f1; }
.rufe-dash-action-btn.danger:hover { border-color: #dc2626; color: #dc2626; }
.rufe-dash-empty { text-align: center; padding: 40px 20px; color: #64748b; }
.rufe-dash-empty .icon { font-size: 40px; display: block; margin-bottom: 12px; }
.rufe-dash-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.rufe-dash-pagination a, .rufe-dash-pagination span { padding: 5px 12px; border: 1px solid #e2e8f0; border-radius: 6px; text-decoration: none; color: #1e293b; font-size: 13px; }
.rufe-dash-pagination span.current { background: #6366f1; color: #fff; border-color: #6366f1; }
.rufe-dash-create-panel { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 24px; margin-bottom: 24px; box-shadow: 0 1px 3px rgba(0,0,0,.06); display: none; }
.rufe-dash-create-panel.active { display: block; }
.rufe-dash-form-group { margin-bottom: 14px; }
.rufe-dash-form-group label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 5px; }
.rufe-dash-form-group input, .rufe-dash-form-group select, .rufe-dash-form-group textarea { width: 100%; padding: 8px 12px; border: 1.5px solid #e2e8f0; border-radius: 7px; font-size: 13px; }
.rufe-dash-form-group input:focus, .rufe-dash-form-group select:focus { border-color: #6366f1; outline: none; }
.rufe-btn-public { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; border: none; text-decoration: none; transition: opacity .15s; }
.rufe-btn-public.primary { background: #6366f1; color: #fff; }
.rufe-btn-public.outline { background: transparent; color: #6366f1; border: 1.5px solid #6366f1; }
.rufe-btn-public:hover { opacity: .85; }
.rufe-status-active   { color: #16a34a; font-weight: 600; }
.rufe-status-paused   { color: #d97706; font-weight: 600; }
.rufe-status-expired  { color: #dc2626; font-weight: 600; }
@media (max-width: 600px) { .rufe-dash-stats { grid-template-columns: repeat(2,1fr); } .rufe-dash-header { flex-direction: column; align-items: flex-start; } }
