/* Skeleton loading animation */
@keyframes skeleton-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.skeleton {
  background: linear-gradient(
    90deg,
    rgba(3, 79, 70, 0.06) 0%,
    rgba(3, 79, 70, 0.02) 20%,
    rgba(255, 255, 235, 0.8) 50%,
    rgba(3, 79, 70, 0.02) 80%,
    rgba(3, 79, 70, 0.06) 100%
  );
  background-size: 400% 100%;
  animation: skeleton-shimmer 1.8s ease-in-out infinite;
  border-radius: 8px;
  position: relative;
}

.skeleton::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(3, 79, 70, 0.08);
  pointer-events: none;
}

.skeleton-text {
  height: 1em;
  margin-bottom: 0.5em;
}

.skeleton-text-sm {
  height: 0.75em;
  width: 60%;
}

.skeleton-text-lg {
  height: 2rem;
  width: 40%;
}

.skeleton-circle {
  border-radius: 50%;
}

.skeleton-circle::before {
  border-radius: 50%;
}

.skeleton-card {
  background: white;
  border: 1px solid rgba(3, 79, 70, 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
}

/* Stagger animation for multiple skeletons */
.skeleton:nth-child(2) { animation-delay: 0.1s; }
.skeleton:nth-child(3) { animation-delay: 0.2s; }
.skeleton:nth-child(4) { animation-delay: 0.3s; }
.skeleton:nth-child(5) { animation-delay: 0.4s; }

/* Settings panel scrollbar */
.settings-panel::-webkit-scrollbar {
  width: 4px;
}
.settings-panel::-webkit-scrollbar-track {
  background: transparent;
}
.settings-panel::-webkit-scrollbar-thumb {
  background: #d1d1c7;
  border-radius: 2px;
}

/* Generate button gradient */
.btn-generate {
  background: linear-gradient(135deg, #4d65ff 0%, #7c3aed 100%);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.btn-generate:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(77, 101, 255, 0.35);
}
.btn-generate:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
