/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

/* Utility classes */
.min-h-screen {
  min-height: 100vh;
}
.bg-gray-900 {
  background-color: #111827;
}
.bg-gray-800 {
  background-color: #1f2937;
}
.bg-gray-700 {
  background-color: #374151;
}
.bg-gray-600 {
  background-color: #4b5563;
}
.bg-black {
  background-color: #000000;
}
.bg-yellow-400 {
  background-color: #fbbf24;
}
.bg-green-500 {
  background-color: #10b981;
}
.bg-green-600 {
  background-color: #059669;
}
.bg-green-400 {
  background-color: #34d399;
}
.bg-red-500 {
  background-color: #ef4444;
}
.bg-lime-500 {
  background-color: #84cc16;
}
.bg-orange-400 {
  background-color: #fb923c;
}
.bg-orange-500 {
  background-color: #f97316;
}
.bg-transparent {
  background-color: transparent;
}

.text-white {
  color: #ffffff;
}
.text-black {
  color: #000000;
}
.text-yellow-400 {
  color: #fbbf24;
}
.text-green-400 {
  color: #34d399;
}
.text-gray-300 {
  color: #d1d5db;
}
.text-gray-400 {
  color: #9ca3af;
}
.text-gray-500 {
  color: #6b7280;
}
.text-gray-600 {
  color: #4b5563;
}
.text-orange-400 {
  color: #fb923c;
}

.border {
  border-width: 1px;
}
.border-2 {
  border-width: 2px;
}
.border-yellow-400 {
  border-color: #fbbf24;
}
.border-gray-500 {
  border-color: #6b7280;
}
.border-gray-600 {
  border-color: #4b5563;
}
.border-yellow-200 {
  border-color: #fef3c7;
}

.rounded {
  border-radius: 0.25rem;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-full {
  border-radius: 9999px;
}

.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.m-0 {
  margin: 0;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-8 {
  margin-top: 2rem;
}

.gap-1 {
  gap: 0.25rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}

.w-3 {
  width: 0.75rem;
}
.w-4 {
  width: 1rem;
}
.w-5 {
  width: 1.25rem;
}
.w-6 {
  width: 1.5rem;
}
.w-7 {
  width: 1.75rem;
}
.w-8 {
  width: 2rem;
}
.w-10 {
  width: 2.5rem;
}
.w-14 {
  width: 3.5rem;
}
.w-full {
  width: 100%;
}

.h-3 {
  height: 0.75rem;
}
.h-4 {
  height: 1rem;
}
.h-5 {
  height: 1.25rem;
}
.h-6 {
  height: 1.5rem;
}
.h-7 {
  height: 1.75rem;
}
.h-8 {
  height: 2rem;
}
.h-10 {
  height: 2.5rem;
}
.h-14 {
  height: 3.5rem;
}
.h-auto {
  height: auto;
}

.min-w-30 {
  min-width: 30px;
}
.min-w-40 {
  min-width: 40px;
}

.max-w-md {
  max-width: 28rem;
}
.max-w-4xl {
  max-width: 56rem;
}
.max-w-6xl {
  max-width: 72rem;
}

.max-h-48 {
  max-height: 12rem;
}

.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.flex-1 {
  flex: 1 1 0%;
}
.flex-shrink-0 {
  flex-shrink: 0;
}

.grid {
  display: grid;
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}

.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.font-bold {
  font-weight: 700;
}
.font-semibold {
  font-weight: 600;
}
.font-medium {
  font-weight: 500;
}

.leading-tight {
  line-height: 1.25;
}
.leading-relaxed {
  line-height: 1.625;
}

.opacity-60 {
  opacity: 0.6;
}
.opacity-75 {
  opacity: 0.75;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cursor-pointer {
  cursor: pointer;
}

.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.fixed {
  position: fixed;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.top-1\/2 {
  top: 50%;
}
.left-3 {
  left: 0.75rem;
}
.left-1\/2 {
  left: 50%;
}
.bottom-0 {
  bottom: 0;
}
.-top-2 {
  top: -0.5rem;
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x))
    skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.-translate-y-1\/2 {
  --tw-translate-y: -50%;
}
.-translate-x-1\/2 {
  --tw-translate-x: -50%;
}

.z-10 {
  z-index: 10;
}
.z-50 {
  z-index: 50;
}

.overflow-hidden {
  overflow: hidden;
}

.transition-colors {
  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;
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-200 {
  transition-duration: 200ms;
}

.line-through {
  text-decoration-line: line-through;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}
.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.hidden {
  display: none;
}
.inline-block {
  display: inline-block;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mx-4 {
  margin-left: 1rem;
  margin-right: 1rem;
}

.self-end {
  align-self: flex-end;
}

.object-cover {
  object-fit: cover;
}

.blur-lg {
  filter: blur(16px);
}

.drop-shadow-sm {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
}

/* Custom styles */
.bg-gradient-to-r {
  background: linear-gradient(to right, #374151, #4b5563);
}

.bg-gradient-to-br {
  background: linear-gradient(to bottom right, #fbbf24, #fcd34d, #f59e0b);
}

.bg-gradient-radial {
  background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, rgba(251, 191, 36, 0.1) 50%, transparent 100%);
}

.shadow-yellow-400\/80 {
  box-shadow: 0 25px 50px -12px rgba(251, 191, 36, 0.8);
}

.border-t-2 {
  border-top-width: 2px;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Hover effects */
.hover\:bg-gray-700:hover {
  background-color: #374151;
}
.hover\:bg-yellow-400:hover {
  background-color: #fbbf24;
}
.hover\:bg-green-600:hover {
  background-color: #059669;
}
.hover\:bg-green-200:hover {
  background-color: #bbf7d0;
}
.hover\:bg-gray-200:hover {
  background-color: #e5e7eb;
}
.hover\:bg-yellow-700:hover {
  background-color: #a16207;
}
.hover\:bg-orange-500:hover {
  background-color: #f97316;
}

.hover\:text-black:hover {
  color: #000000;
}
.hover\:text-white:hover {
  color: #ffffff;
}

/* Disabled styles */
.disabled\:bg-green-400:disabled {
  background-color: #34d399;
}

/* Responsive styles */
@media (min-width: 640px) {
  .sm\:p-4 {
    padding: 1rem;
  }
  .sm\:p-6 {
    padding: 1.5rem;
  }
  .sm\:px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .sm\:px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .sm\:px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .sm\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .sm\:px-12 {
    padding-left: 3rem;
    padding-right: 3rem;
  }
  .sm\:py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }
  .sm\:py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .sm\:py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .sm\:gap-0 {
    gap: 0;
  }
  .sm\:gap-2 {
    gap: 0.5rem;
  }
  .sm\:gap-3 {
    gap: 0.75rem;
  }
  .sm\:gap-4 {
    gap: 1rem;
  }

  .sm\:w-5 {
    width: 1.25rem;
  }
  .sm\:w-6 {
    width: 1.5rem;
  }
  .sm\:w-8 {
    width: 2rem;
  }
  .sm\:w-12 {
    width: 3rem;
  }
  .sm\:w-18 {
    width: 4.5rem;
  }
  .sm\:w-auto {
    width: auto;
  }

  .sm\:h-5 {
    height: 1.25rem;
  }
  .sm\:h-6 {
    height: 1.5rem;
  }
  .sm\:h-8 {
    height: 2rem;
  }
  .sm\:h-12 {
    height: 3rem;
  }
  .sm\:h-18 {
    height: 4.5rem;
  }

  .sm\:min-w-40 {
    min-width: 40px;
  }

  .sm\:max-h-64 {
    max-height: 16rem;
  }

  .sm\:flex-row {
    flex-direction: row;
  }
  .sm\:flex-1 {
    flex: 1 1 0%;
  }
  .sm\:flex-none {
    flex: none;
  }

  .sm\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sm\:items-center {
    align-items: center;
  }
  .sm\:justify-between {
    justify-content: space-between;
  }

  .sm\:text-left {
    text-align: left;
  }
  .sm\:text-right {
    text-align: right;
  }

  .sm\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  .sm\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .sm\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
  .sm\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  .sm\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  .sm\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .sm\:self-auto {
    align-self: auto;
  }

  .sm\:inline {
    display: inline;
  }
  .sm\:hidden {
    display: none;
  }

  .sm\:left-4 {
    left: 1rem;
  }
}

@media (min-width: 768px) {
  .md\:max-h-80 {
    max-height: 20rem;
  }
}

@media (min-width: 1024px) {
  .lg\:max-h-96 {
    max-height: 24rem;
  }
}

/* Custom input styles */
input {
  outline: none;
}

input::placeholder {
  color: #fbbf24;
}

/* Button styles */
button {
  border: none;
  cursor: pointer;
  outline: none;
}

button:disabled {
  cursor: not-allowed;
}

/* Loading spinner */
.loading-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid #ffffff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Rotate transform for chevron */
.rotate-180 {
  transform: rotate(180deg);
}

/* Additional responsive utilities */
@media (max-width: 639px) {
  .sm\:hidden {
    display: none !important;
  }
  .sm\:inline {
    display: inline !important;
  }
}
