/* apps/feedback/src/styles.css */
*, *:before, *:after {
  box-sizing: border-box;
}

body {
  color: #111827;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #fafafa;
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
}

#root {
  min-height: 100vh;
}

.star-btn {
  cursor: pointer;
  transition: transform .15s, color .15s;
}

.star-btn:hover {
  transform: scale(1.15);
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
  border-radius: 4px;
}

.page-enter {
  animation: slideUp .35s ease-out;
}

.chip-active {
  color: #15803d;
  background-color: #dcfce7;
  border-color: #16a34a;
}

.upload-zone {
  border: 2px dashed #e2e8f0;
  border-radius: 12px;
  transition: border-color .2s, background-color .2s;
}

.upload-zone:hover {
  background-color: #f8fafc;
  border-color: #94a3b8;
}

.trust-badge {
  display: inline-flex;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  align-items:  center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.skeleton {
  animation: shimmer 1.5s ease-in-out infinite;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%) 0 0 / 200% 100%;
  border-radius: 8px;
}

.modal-backdrop {
  position: fixed;
  backdrop-filter: blur(4px);
  z-index: 50;
  display: flex;
  animation: fadeIn .2s ease-out;
  background: #0006;
  justify-content: center;
  align-items:  center;
  padding: 16px;
  inset: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-content {
  animation: slideUp .25s ease-out;
}

input, textarea, select {
  font-family: inherit;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.hover-lift {
  transition: box-shadow .2s, transform .2s;
}

.hover-lift:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px #00000014;
}
