* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #18181b;
  color: #e4e4e7;
  padding: 20px;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

header {
  background: #27272a;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #3f3f46;
  margin-bottom: 24px;
}

h1 {
  font-size: 24px;
  color: #fafafa;
  margin-bottom: 8px;
  font-weight: 600;
}

.subtitle {
  color: #a1a1aa;
  font-size: 14px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.stat-card {
  background: #3f3f46;
  padding: 16px;
  border-radius: 6px;
}

.stat-card h3 {
  font-size: 12px;
  color: #a1a1aa;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.stat-card p {
  font-size: 28px;
  font-weight: 600;
  color: #fafafa;
}

.filters {
  background: #27272a;
  padding: 16px 20px;
  border-radius: 8px;
  border: 1px solid #3f3f46;
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.filters label {
  color: #a1a1aa;
  font-size: 14px;
  font-weight: 500;
}

.filters select {
  padding: 8px 12px;
  border: 1px solid #3f3f46;
  border-radius: 6px;
  font-size: 14px;
  background: #18181b;
  color: #e4e4e7;
  cursor: pointer;
  min-width: 150px;
}

.filters select:focus {
  outline: none;
  border-color: #52525b;
}

.filters button {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  background: #3f3f46;
  color: #fafafa;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.filters button:hover {
  background: #52525b;
}

.feedback-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feedback-item {
  background: #27272a;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #3f3f46;
  transition: border-color 0.2s;
}

.feedback-item:hover {
  border-color: #52525b;
}

.feedback-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 12px;
  gap: 16px;
}

.feedback-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #a1a1aa;
  flex-wrap: wrap;
}

.feedback-status {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.feedback-status.new {
  background: #1e3a8a;
  color: #93c5fd;
}

.feedback-status.in-progress {
  background: #713f12;
  color: #fcd34d;
}

.feedback-status.resolved {
  background: #064e3b;
  color: #6ee7b7;
}

.feedback-text {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #fafafa;
  padding: 14px;
  background: #18181b;
  border-radius: 6px;
  border-left: 3px solid #52525b;
}

.feedback-url-box {
  background: #18181b;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.feedback-url-box a {
  color: #a1a1aa;
  text-decoration: none;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feedback-url-box a:hover {
  color: #e4e4e7;
}

.feedback-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid #3f3f46;
  font-size: 12px;
  color: #a1a1aa;
}

.feedback-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feedback-detail strong {
  color: #e4e4e7;
  font-weight: 500;
}

.feedback-detail code {
  background: #18181b;
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-family: 'Courier New', monospace;
  color: #a1a1aa;
}

.feedback-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.feedback-actions button {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-resolve {
  background: #065f46;
  color: #6ee7b7;
}

.btn-resolve:hover {
  background: #047857;
}

.btn-progress {
  background: #713f12;
  color: #fcd34d;
}

.btn-progress:hover {
  background: #92400e;
}

.btn-delete {
  background: #7f1d1d;
  color: #fca5a5;
}

.btn-delete:hover {
  background: #991b1b;
}

.btn-link {
  background: #3f3f46;
  color: #e4e4e7;
}

.btn-link:hover {
  background: #52525b;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #27272a;
  border-radius: 8px;
  border: 1px solid #3f3f46;
}

.empty-state h2 {
  font-size: 18px;
  color: #a1a1aa;
  margin-bottom: 8px;
  font-weight: 500;
}

.empty-state p {
  color: #71717a;
  font-size: 14px;
}

.loading {
  text-align: center;
  padding: 40px;
  color: #a1a1aa;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  background: #27272a;
  border-radius: 8px;
  border: 1px solid #3f3f46;
  padding: 24px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.2s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.modal-header h2 {
  font-size: 20px;
  color: #fafafa;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  color: #a1a1aa;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
}

.modal-close:hover {
  background: #3f3f46;
  color: #e4e4e7;
}

.modal-form-group {
  margin-bottom: 16px;
}

.modal-form-group label {
  display: block;
  color: #a1a1aa;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.modal-form-group input,
.modal-form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #3f3f46;
  border-radius: 6px;
  font-size: 14px;
  background: #18181b;
  color: #e4e4e7;
  font-family: inherit;
  transition: border-color 0.2s;
}

.modal-form-group input:focus,
.modal-form-group textarea:focus {
  outline: none;
  border-color: #52525b;
}

.modal-form-group textarea {
  min-height: 80px;
  resize: vertical;
}

.modal-form-group .hint {
  font-size: 12px;
  color: #71717a;
  margin-top: 4px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.modal-actions button {
  flex: 1;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-btn-primary {
  background: #065f46;
  color: #6ee7b7;
}

.modal-btn-primary:hover {
  background: #047857;
}

.modal-btn-secondary {
  background: #3f3f46;
  color: #e4e4e7;
}

.modal-btn-secondary:hover {
  background: #52525b;
}

.modal-error {
  background: #7f1d1d;
  color: #fca5a5;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}

.login-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #18181b;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.login-form {
  background: #27272a;
  padding: 32px;
  border-radius: 8px;
  border: 1px solid #3f3f46;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  max-width: 400px;
  width: 90%;
  animation: slideUp 0.2s ease;
}

.login-form h2 {
  margin: 0 0 24px 0;
  font-size: 24px;
  color: #fafafa;
  font-weight: 600;
  text-align: center;
}

