/* Base Styles - Equivalentes ao Tailwind */
html,
body {
  margin: 0;
  padding: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.min-h-screen {
  min-height: 100vh;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.px-4 {
  padding-left: 1rem; /* 16px */
  padding-right: 1rem; /* 16px */
}

.max-w-2xl {
  max-width: 42rem; /* 672px */
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

.space-x-2 > :not([hidden]) ~ :not([hidden]) {
  margin-left: 0.5rem; /* 8px */
}

.mb-8 {
  margin-bottom: 1rem; /* 16px */
}

.w-12 {
  width: 3rem; /* 48px */
}

.h-12 {
  height: 3rem; /* 48px */
}

.rounded-lg {
  border-radius: 0.5rem; /* 8px */
}

.font-bold {
  font-weight: 700;
}

.text-xl {
  font-size: 1.25rem; /* 20px */
  line-height: 1.75rem; /* 28px */
}

.text-white {
  color: #fff;
}

.font-semibold {
  font-weight: 600;
}

.text-2xl {
  font-size: 1.5rem; /* 24px */
  line-height: 2rem; /* 32px */
}

/* Card Styles */
.card {
  border-radius: 0.75rem; /* 12px */
  padding: 1.5rem; /* 24px */
  position: relative;
  overflow: hidden;
}

.card-header {
  padding-bottom: 0.5rem; /* 24px */
}

.card-content {
  padding-top: 0.5rem; /* 24px */
}

.relative {
  position: relative;
}

.w-10 {
  width: 2.5rem; /* 40px */
}

.h-10 {
  height: 2.5rem; /* 40px */
}

.w-20 {
  width: 5rem; /* 80px */
}

.h-20 {
  height: 5rem; /* 80px */
}

.rounded-full {
  border-radius: 100%; /* fully rounded */
}

.absolute {
  position: absolute;
}

.-bottom-2 {
  bottom: -0.5rem; /* -8px */
}

.-right-2 {
  right: -0.5rem; /* -8px */
}

.w-8 {
  width: 2rem; /* 32px */
}

.h-8 {
  height: 2rem; /* 32px */
}

.text-3xl {
  font-size: 1.875rem; /* 30px */
  line-height: 2.25rem; /* 36px */
}

.mb-4 {
  margin-bottom: 1rem; /* 16px */
}

.text-lg {
  font-size: 1.125rem; /* 18px */
  line-height: 1.75rem; /* 28px */
}

.text-gray-300 {
  color: #d1d5db;
}

.space-y-8 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 1.5rem; /* 24px */
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0.75rem; /* 12px */
}

.p-6 {
  padding: 1.5rem; /* 24px */
}

.mr-2 {
  margin-right: 0.5rem; /* 8px */
}

.grid {
  display: grid;
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gap-4 {
  gap: 1rem; /* 16px */
}

.p-4 {
  padding: 1rem; /* 16px */
}

.text-2xl {
  font-size: 1.5rem; /* 24px */
  line-height: 2rem; /* 32px */
}

.text-sm {
  font-size: 0.875rem; /* 14px */
  line-height: 1.25rem; /* 20px */
}

.text-left {
  text-align: left;
}

.w-2 {
  width: 0.5rem; /* 8px */
}

.h-2 {
  height: 0.5rem; /* 8px */
}

.mr-3 {
  margin-right: 0.75rem; /* 12px */
}

.border-t {
  border-top-width: 1px;
}

.pt-2 {
  padding-top: 1rem; /* 24px */
}

.flex-col {
  flex-direction: column;
}

.gap-4 {
  gap: 1rem; /* 16px */
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem; /* 6px */
  padding: 0.75rem 1.5rem; /* 12px 24px */
  font-size: 1rem; /* 16px */
  font-weight: 500;
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  cursor: pointer;
  text-decoration: none; /* Remove underline from links */
}

.button-outline {
  background-color: transparent;
  border-width: 1px;
}

.button-ghost {
  background-color: transparent;
  border: none;
}

/* Specific Colors and Gradients - Manually translated from Tailwind */
.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-slate-900 {
  --tw-gradient-from: #0f172a;
  --tw-gradient-to: rgba(15, 23, 42, 0);
}

.via-purple-900 {
  --tw-gradient-stops: var(--tw-gradient-from), #5a20b7, var(--tw-gradient-to);
}

.to-slate-900 {
  --tw-gradient-to: #0f172a;
}

.bg-slate-800\/50 {
  background-color: rgba(30, 41, 59, 0.5);
}

.border-purple-500\/20 {
  border-color: rgba(139, 92, 246, 0.2);
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

.bg-gradient-to-br.from-purple-400 {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
  --tw-gradient-from: #c084fc;
  --tw-gradient-to: rgba(192, 132, 252, 0);
}

.to-pink-400 {
  --tw-gradient-to: #f472b6;
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-purple-600 {
  --tw-gradient-from: #9333ea;
  --tw-gradient-to: rgba(147, 51, 234, 0);
}

.to-pink-600 {
  --tw-gradient-to: #db2777;
}

.bg-yellow-500 {
  background-color: #eab308;
}

.bg-slate-700\/50 {
  background-color: rgba(51, 65, 85, 0.5);
}

.text-purple-400 {
  color: #c084fc;
}

.text-purple-200 {
  color: #e9d5ff;
}

.bg-blue-600 {
  background-color: #165fa3;
}

.hover\:bg-blue-700:hover {
  background-color: #156280;
}

.border-purple-400 {
  border-color: #c084fc;
}

.bg-purple-400 {
  background-color: #bc92e7;
}

.hover\:text-white:hover {
  color: #fff;
}

.text-gray-400 {
  color: #9ca3af;
}

.text-gray-500 {
  color: #6b7280;
}

.text-xs {
  font-size: 0.75rem; /* 12px */
  line-height: 1rem; /* 16px */
}

.mt-8 {
  margin-top: 1rem; /* 16px */
}

.mt-2 {
  margin-top: 0.5rem; /* 8px */
}


/* Animations */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Responsive adjustments */
@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .md\:text-3xl {
    font-size: 1.875rem; /* 30px */
    line-height: 2.25rem; /* 36px */
  }
  .md\:text-4xl {
    font-size: 2.25rem; /* 36px */
    line-height: 2.5rem; /* 40px */
  }
}
