/**
 * BEATRIX Feedback System — Admin Dashboard Styles
 */

.feedback-admin { padding: 24px; max-width: 1400px; margin: 0 auto; }
.feedback-admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.feedback-admin-header h2 { margin: 0; color: white; font-size: 24px; }
.btn-refresh { padding: 10px 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2); background: transparent; color: white; cursor: pointer; }
.btn-refresh:hover { background: rgba(255,255,255,0.1); border-color: rgb(251,191,36); }

.feedback-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: rgba(255,255,255,0.05); border-radius: 12px; padding: 20px; text-align: center; border: 1px solid rgba(255,255,255,0.1); }
.stat-value { font-size: 36px; font-weight: 700; color: white; margin-bottom: 8px; }
.stat-label { font-size: 14px; color: #9CA3AF; text-transform: uppercase; }

.feedback-filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; padding: 16px; background: rgba(255,255,255,0.03); border-radius: 12px; }
.filter-select { padding: 10px 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); color: white; min-width: 160px; }
.filter-select option { background: #1a1f2e; }

.feedback-list { display: flex; flex-direction: column; gap: 16px; }
.feedback-loading, .feedback-empty { text-align: center; padding: 60px 20px; color: #9CA3AF; }

.feedback-card { background: rgba(255,255,255,0.05); border-radius: 12px; padding: 20px; border: 1px solid rgba(255,255,255,0.1); cursor: pointer; transition: all 0.2s; }
.feedback-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(251,191,36,0.3); transform: translateX(4px); }
.feedback-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.feedback-card-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; }
.feedback-card-message { color: white; font-size: 15px; line-height: 1.5; margin-bottom: 12px; }
.feedback-card-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: #6B7280; margin-bottom: 12px; }
.feedback-card-ai { background: rgba(139,92,246,0.1); border: 1px solid rgba(139,92,246,0.3); border-radius: 8px; padding: 10px 14px; font-size: 13px; color: #C4B5FD; margin-bottom: 12px; }
.feedback-card-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.1); }

.btn-small { padding: 6px 12px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.2); background: transparent; color: #D1D5DB; font-size: 12px; cursor: pointer; }
.btn-small:hover { background: rgba(255,255,255,0.1); }
.btn-approve:hover { border-color: #10B981; color: #10B981; }
.btn-reject:hover { border-color: #EF4444; color: #EF4444; }

.feedback-detail-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 10000; padding: 20px; }
.feedback-detail-content { background: #1a1f2e; border-radius: 16px; width: 100%; max-width: 800px; max-height: 90vh; overflow-y: auto; border: 1px solid rgba(255,255,255,0.1); }
.detail-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.1); position: sticky; top: 0; background: #1a1f2e; }
.detail-header h3 { margin: 0; color: white; }
.detail-close { background: none; border: none; color: #9CA3AF; font-size: 28px; cursor: pointer; }
.detail-body { padding: 24px; }
.detail-section { margin-bottom: 24px; }
.detail-section h4 { color: #9CA3AF; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 12px; }
.detail-message { color: white; background: rgba(255,255,255,0.05); padding: 16px; border-radius: 8px; margin: 0; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.detail-field { display: flex; flex-direction: column; gap: 8px; }
.detail-field label { color: #6B7280; font-size: 12px; }
.detail-field select { padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); color: white; }
.tier-display { padding: 10px 14px; border-radius: 8px; color: white; font-weight: 500; }
.detail-footer { padding: 16px 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: flex-end; }
.btn-save { padding: 12px 24px; border-radius: 8px; border: none; background: linear-gradient(135deg, rgb(251,191,36) 0%, rgb(245,158,11) 100%); color: #1B365D; font-weight: 600; cursor: pointer; }
