/* ==================== FEEDBACK SYSTEM STYLES ==================== */

/* Feedback Modal Overlay */
.feedback-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.feedback-modal-overlay.active {
  opacity: 1;
}

/* Feedback Modal Content */
.feedback-modal-content {
  background: #18181B;
  border: 1px solid #27272A;
  border-radius: 24px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(59, 130, 246, 0.1);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feedback-modal-overlay.active .feedback-modal-content {
  transform: scale(1) translateY(0);
}

.feedback-modal-small {
  max-width: 500px;
}

/* Modal Header */
.feedback-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid #27272A;
}

.feedback-modal-header h2,
.feedback-modal-header h3 {
  margin: 0;
  color: #FAFAFA;
  font-family: 'Outfit', sans-serif;
}

.feedback-close-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #A1A1AA;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.feedback-close-btn:hover {
  background: #27272A;
  color: #FAFAFA;
}

/* Feedback Form */
.feedback-form {
  padding: 28px;
}

.feedback-form-group {
  margin-bottom: 24px;
  position: relative;
}

.feedback-form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #E4E4E7;
  margin-bottom: 8px;
}

.feedback-form-group label i {
  font-size: 18px;
  color: #3B82F6;
}

.feedback-form-group input,
.feedback-form-group textarea,
.feedback-form-group select {
  width: 100%;
  padding: 12px 16px;
  background: #09090B;
  border: 1px solid #27272A;
  border-radius: 12px;
  color: #FAFAFA;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
  outline: none;
}

.feedback-form-group input:focus,
.feedback-form-group textarea:focus,
.feedback-form-group select:focus {
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.feedback-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.feedback-form-group small {
  font-size: 12px;
  color: #71717A;
  display: block;
  margin-top: 6px;
}

.char-counter {
  position: absolute;
  bottom: -20px;
  right: 0;
  font-size: 11px;
  color: #71717A;
}

/* Form Actions */
.feedback-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.feedback-btn-primary,
.feedback-btn-secondary {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.feedback-btn-primary {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.feedback-btn-primary:hover {
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.feedback-btn-primary:active {
  transform: translateY(0);
}

.feedback-btn-secondary {
  background: transparent;
  color: #A1A1AA;
  border: 1px solid #27272A;
}

.feedback-btn-secondary:hover {
  background: #27272A;
  color: #FAFAFA;
}

/* Toast Notifications */
.feedback-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 400px;
}

.feedback-toast.active {
  opacity: 1;
  transform: translateY(0);
}

.feedback-toast-success {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
}

.feedback-toast-error {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: white;
}

/* ==================== ADMIN DASHBOARD STYLES ==================== */

.admin-dashboard {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #09090B;
  z-index: 9998;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.admin-dashboard.active {
  opacity: 1;
}

.admin-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
}

/* Admin Header */
.admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 20px;
}

.admin-header h1 {
  margin: 0;
  font-family: 'Outfit', sans-serif;
}

.admin-header-actions {
  display: flex;
  gap: 12px;
}

.admin-btn-export,
.admin-btn-close {
  padding: 10px 20px;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.admin-btn-export {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
}

.admin-btn-export:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.admin-btn-close {
  background: #27272A;
  color: #FAFAFA;
}

.admin-btn-close:hover {
  background: #3F3F46;
}

/* Admin Stats */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.admin-stat-card {
  background: linear-gradient(135deg, #18181B 0%, #27272A 100%);
  border: 1px solid #3F3F46;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-stat-icon {
  font-size: 32px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
}

.admin-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #FAFAFA;
  font-family: 'Outfit', sans-serif;
}

.admin-stat-label {
  font-size: 13px;
  color: #A1A1AA;
  margin-top: 4px;
}

/* Admin Search */
.admin-search {
  position: relative;
  margin-bottom: 24px;
}

.admin-search i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #71717A;
  font-size: 18px;
}

.admin-search input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  background: #18181B;
  border: 1px solid #27272A;
  border-radius: 12px;
  color: #FAFAFA;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
}

.admin-search input:focus {
  outline: none;
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Admin Tabs */
.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid #27272A;
  padding-bottom: 0;
}

.admin-tab {
  padding: 12px 24px;
  border: none;
  background: transparent;
  color: #71717A;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  position: relative;
  bottom: -1px;
}

.admin-tab:hover {
  color: #A1A1AA;
}

.admin-tab.active {
  color: #3B82F6;
  border-bottom-color: #3B82F6;
}

/* Admin Content */
.admin-content {
  display: none;
}

.admin-content.active {
  display: block;
  animation: fadeInContent 0.3s ease;
}

@keyframes fadeInContent {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Admin Cards */
.admin-card {
  background: #18181B;
  border: 1px solid #27272A;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
  transition: all 0.2s ease;
}

.admin-card:hover {
  border-color: #3F3F46;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.admin-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 16px;
}

.admin-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #FAFAFA;
  margin: 0 0 8px 0;
  font-family: 'Outfit', sans-serif;
}

.admin-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #3B82F6;
}

.admin-card-badge-small {
  padding: 4px 10px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #A855F7;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'Courier New', monospace;
}

.admin-card-tracking {
  font-size: 14px;
  font-weight: 700;
  color: #10B981;
  font-family: 'Courier New', monospace;
  padding: 6px 12px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 8px;
}

.admin-card-text {
  color: #D4D4D8;
  font-size: 14px;
  line-height: 1.6;
  margin: 12px 0;
}

.admin-card-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #27272A;
}

.admin-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #71717A;
}

.admin-card-meta i {
  font-size: 16px;
}

.admin-empty {
  text-align: center;
  padding: 60px 20px;
  color: #71717A;
  font-size: 16px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .feedback-modal-content {
    max-width: 100%;
    border-radius: 16px;
  }

  .feedback-form {
    padding: 20px;
  }

  .feedback-form-actions {
    flex-direction: column;
  }

  .feedback-toast {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-header-actions {
    width: 100%;
  }

  .admin-btn-export,
  .admin-btn-close {
    flex: 1;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .admin-tabs {
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .admin-tabs::-webkit-scrollbar {
    display: none;
  }

  .admin-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
