.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:white;border-radius:8px;box-shadow:0 10px 25px #0000001a;width:90%;max-width:500px;max-height:90vh;display:flex;flex-direction:column}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid #e2e8f0}.modal-header h2{font-size:1.25rem;font-weight:600;margin:0}.modal-header .close-btn{background:none;border:none;cursor:pointer;padding:.5rem;border-radius:50%;display:inline-flex}.modal-header .close-btn:hover{background-color:#f1f5f9}.modal-body{padding:1.5rem;overflow-y:auto}:root{--primary: #3b82f6;--primary-dark: #2563eb;--secondary: #64748b;--success: #10b981;--warning: #f59e0b;--danger: #ef4444;--dark: #1e293b;--light: #f8fafc;--border: #e2e8f0;--text: #334155;--text-muted: #94a3b8;--sidebar-width: 250px}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:var(--text);background:var(--light);line-height:1.6}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:1rem}.loading-spinner{width:40px;height:40px;border:3px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:1rem;text-align:center}.error-icon{color:var(--danger)}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:1rem;color:var(--text-muted)}.empty-icon{color:var(--text-muted);opacity:.5}.layout{display:flex;min-height:100vh}.sidebar{position:fixed;top:0;left:0;width:var(--sidebar-width);height:100vh;background:var(--dark);color:#fff;display:flex;flex-direction:column;overflow-y:auto;z-index:1000}.sidebar-header{padding:2rem 1.5rem;border-bottom:1px solid rgba(255,255,255,.1)}.sidebar-header h2{font-size:1.5rem;font-weight:600}.sidebar-nav{flex:1;padding:1rem 0}.nav-link{display:flex;align-items:center;gap:.75rem;padding:.75rem 1.5rem;color:#fffc;text-decoration:none;transition:all .2s}.nav-link:hover{background:rgba(255,255,255,.1);color:#fff}.nav-link.active{background:var(--primary);color:#fff}.sidebar-footer{padding:1rem 1.5rem;border-top:1px solid rgba(255,255,255,.1)}.user-info{margin-bottom:1rem;font-size:.875rem;opacity:.8;word-break:break-all}.logout-btn{display:flex;align-items:center;gap:.5rem;width:100%;padding:.5rem 0;background:none;border:none;color:#fffc;cursor:pointer;font-size:.875rem;transition:color .2s}.logout-btn:hover{color:#fff}.main-content{margin-left:var(--sidebar-width);flex:1;display:flex;flex-direction:column}.page-header{display:flex;justify-content:space-between;align-items:center;padding:2rem;background:white;border-bottom:1px solid var(--border)}.page-header h1{font-size:1.875rem;font-weight:600}.header-actions{display:flex;gap:1rem;align-items:center}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500}.form-group input,.form-group select,.filter-select,.period-select{width:100%;padding:.5rem .75rem;border:1px solid var(--border);border-radius:.375rem;font-size:1rem;transition:border-color .2s;background:white}.form-group input:focus,.filter-select:focus,.period-select:focus{outline:none;border-color:var(--primary)}.filter-select,.period-select{width:auto;min-width:150px}.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border:none;border-radius:.375rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-dark)}.btn-secondary{background:white;color:var(--text);border:1px solid var(--border)}.btn-secondary:hover{background:var(--light)}.btn-small{padding:.25rem .75rem;font-size:.75rem}.btn-block{width:100%;justify-content:center}.btn:disabled{opacity:.5;cursor:not-allowed}.dashboard{padding:2rem}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.metric-card{background:white;padding:1.5rem;border-radius:.5rem;box-shadow:0 1px 3px #0000001a}.metric-card h3{font-size:.875rem;color:var(--text-muted);margin-bottom:.5rem}.metric-value{font-size:2rem;font-weight:600;margin-bottom:.25rem}.metric-sub{font-size:.875rem;color:var(--text-muted)}.charts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:1.5rem;margin-bottom:2rem}.chart-card{background:white;padding:1.5rem;border-radius:.5rem;box-shadow:0 1px 3px #0000001a}.chart-card h3{margin-bottom:1rem}.table-container{background:white;border-radius:.5rem;overflow:hidden;box-shadow:0 1px 3px #0000001a;max-width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:600px}th{background:var(--light);padding:.75rem 1rem;text-align:left;font-weight:600;font-size:.875rem;color:var(--text-muted);border-bottom:1px solid var(--border);white-space:nowrap}td{padding:.75rem 1rem;border-bottom:1px solid var(--border)}tr:last-child td{border-bottom:none}tr:hover{background:var(--light)}.feedback-page,.errors-page,.performance-page,.users-page{padding:2rem}.filters{display:flex;gap:1rem;margin-bottom:2rem;flex-wrap:wrap}.feedback-list{display:flex;flex-direction:column;gap:1rem}.feedback-item{background:white;padding:1.5rem;border-radius:.5rem;box-shadow:0 1px 3px #0000001a}.feedback-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;gap:1rem;flex-wrap:wrap}.feedback-meta{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.type-badge{padding:.25rem .75rem;border-radius:.25rem;font-size:.75rem;font-weight:500;text-transform:uppercase}.type-bug{background:#fee2e2;color:#dc2626}.type-feature{background:#dbeafe;color:#2563eb}.type-general{background:#f3f4f6;color:#6b7280}.user-email{font-weight:500}.date{color:var(--text-muted);font-size:.875rem}.feedback-message{margin-bottom:.5rem;word-break:break-word}.platform{font-size:.875rem;color:var(--text-muted)}.status-btn{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border:1px solid var(--border);border-radius:.375rem;background:white;cursor:pointer;font-size:.875rem;transition:all .2s;white-space:nowrap}.status-btn:hover:not(:disabled){background:var(--light)}.status-btn.reviewed{background:var(--success);color:#fff;border-color:var(--success)}.error-summary{display:flex;gap:2rem;font-size:.875rem}.error-count{color:var(--danger)}.warn-count{color:var(--warning)}.error-list{display:flex;flex-direction:column;gap:1rem}.error-item{background:white;padding:1.5rem;border-radius:.5rem;box-shadow:0 1px 3px #0000001a;border-left:4px solid transparent}.error-item.error{border-left-color:var(--danger)}.error-item.warn{border-left-color:var(--warning)}.error-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.75rem;gap:1rem;flex-wrap:wrap}.error-info{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.error-icon{color:var(--danger);flex-shrink:0}.warn-icon{color:var(--warning);flex-shrink:0}.error-endpoint{font-weight:500;word-break:break-all}.error-status{padding:.125rem .5rem;background:var(--light);border-radius:.25rem;font-size:.875rem}.error-time{color:var(--text-muted);font-size:.875rem}.error-message{margin-bottom:.5rem;word-break:break-word}.error-user{display:block;font-size:.875rem;color:var(--text-muted);margin-bottom:.5rem}.toggle-stack{background:none;border:none;color:var(--primary);cursor:pointer;font-size:.875rem;padding:0}.error-stack{margin-top:1rem;padding:1rem;background:var(--light);border-radius:.375rem;font-size:.75rem;overflow-x:auto;font-family:monospace;white-space:pre-wrap;word-break:break-all}.performance-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:2rem}.perf-card{background:white;padding:1.5rem;border-radius:.5rem;box-shadow:0 1px 3px #0000001a}.perf-card h3{font-size:.875rem;color:var(--text-muted);margin-bottom:.5rem}.perf-value{font-size:1.5rem;font-weight:600}.endpoints-section{margin-top:2rem}.endpoints-section h3{margin-bottom:1rem}.users-stats{display:flex;gap:2rem;margin-bottom:2rem;padding:1.5rem;background:white;border-radius:.5rem;box-shadow:0 1px 3px #0000001a;flex-wrap:wrap}.stat{display:flex;flex-direction:column;gap:.25rem}.stat-label{font-size:.875rem;color:var(--text-muted)}.stat-value{font-size:1.5rem;font-weight:600}.badge{display:inline-block;padding:.25rem .5rem;border-radius:.25rem;font-size:.75rem;font-weight:500}.badge.complete{background:#d1fae5;color:#059669}.badge.incomplete{background:#fef3c7;color:#d97706}.badge.admin{background:#e0e7ff;color:#4f46e5}.pagination{display:flex;justify-content:center;align-items:center;gap:1rem;margin-top:2rem}.login-page{display:flex;align-items:center;justify-content:center;min-height:100vh;background:var(--light)}.login-container{background:white;padding:3rem;border-radius:.5rem;box-shadow:0 10px 25px #0000001a;width:100%;max-width:400px}.login-header{text-align:center;margin-bottom:2rem}.login-header svg{color:var(--primary);margin-bottom:1rem}.login-form{display:flex;flex-direction:column}.error-message{background:#fee2e2;color:#dc2626;padding:.75rem;border-radius:.375rem;margin-bottom:1rem;font-size:.875rem}.text-muted{color:var(--text-muted)}.performance-section,.feedback-summary{background:white;padding:1.5rem;border-radius:.5rem;box-shadow:0 1px 3px #0000001a;margin-top:2rem}.feedback-stats{display:flex;gap:2rem;margin-top:1rem;flex-wrap:wrap}@media (max-width: 768px){.sidebar{transform:translate(-100%)}.main-content{margin-left:0}.charts-grid,.metrics-grid{grid-template-columns:1fr}}.admin-page-container{padding:2rem;display:flex;flex-direction:column;gap:2.5rem}.page-header h1{font-size:2rem;font-weight:700;color:#1a202c;margin-bottom:1.5rem;border-bottom:1px solid #e2e8f0;padding-bottom:1rem}.form-container{background-color:#fff;padding:2rem;border-radius:8px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.form-container h2{font-size:1.5rem;font-weight:600;margin-bottom:1.5rem}.form-group{margin-bottom:1.25rem}.form-group label{display:block;font-weight:500;margin-bottom:.5rem;color:#4a5568}.form-group input,.form-group textarea{width:100%;padding:.75rem 1rem;border:1px solid #cbd5e0;border-radius:4px;font-size:1rem;transition:border-color .2s}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#4299e1;box-shadow:0 0 0 1px #4299e1}.form-group textarea{min-height:100px;resize:vertical}.form-actions{display:flex;gap:1rem;margin-top:1.5rem}.list-container{margin-top:2rem}.list-container h2{font-size:1.5rem;font-weight:600;margin-bottom:1.5rem}.quotes-table{width:100%;border-collapse:collapse;background-color:#fff;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;border-radius:8px;overflow:hidden}.quotes-table th,.quotes-table td{padding:1rem 1.25rem;text-align:left;border-bottom:1px solid #e2e8f0}.quotes-table th{background-color:#f7fafc;font-weight:600;color:#4a5568;text-transform:uppercase;font-size:.75rem}.quotes-table tr:last-child td{border-bottom:none}.quotes-table .actions-cell{display:flex;gap:.75rem}.video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:2rem}.video-card{background-color:#fff;border-radius:8px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;overflow:hidden}.video-card video{width:100%;background-color:#000}.video-card .video-info{padding:1.25rem}.video-card h3{font-size:1.25rem;font-weight:600;margin-bottom:.5rem}.video-card p{color:#718096;font-size:.9rem}
