/* ==================== RESET & BASE ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: linear-gradient(to right, #78350f, #171717, #0a0a0a);
  min-height: 100vh;
}

/* ==================== LAYOUT ==================== */
.min-h-screen {
  min-height: 100vh;
}

.flex {
  display: flex;
}

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

.flex-row {
  flex-direction: row;
}

.flex-1 {
  flex: 1;
}

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

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

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-16 {
  gap: 4rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

/* ==================== BACKGROUND ==================== */
.bg-gradient-custom {
  background: linear-gradient(to right, #78350f, #171717, #0a0a0a);
}

.bg-neutral-900 {
  background-color: rgba(23, 23, 23, 0.8);
}

.bg-neutral-900-80 {
  background-color: rgba(23, 23, 23, 0.8);
}

/* Opacity variant for neutral-900 */
.bg-neutral-900\/80 {
  background-color: rgba(23, 23, 23, 0.8);
}

.bg-neutral-800 {
  background-color: #262626;
}

.bg-neutral-800-50 {
  background-color: rgba(38, 38, 38, 0.5);
}

/* Opacity variant for neutral-800 */
.bg-neutral-800\/50 {
  background-color: rgba(38, 38, 38, 0.5);
}

.bg-green-600 {
  background-color: #16a34a;
}

.bg-red-600 {
  background-color: #dc2626;
}

/* Hover background colors */
.hover-bg-lime-400-20:hover {
  background-color: rgba(163, 230, 53, 0.2);
}

.hover-bg-orange-500-20:hover {
  background-color: rgba(249, 115, 22, 0.2);
}

.hover-bg-pink-500-20:hover {
  background-color: rgba(236, 72, 153, 0.2);
}

/* Opacity variant for hover:bg-orange-600 */
.hover\:bg-orange-600\/20:hover {
  background-color: rgba(234, 88, 12, 0.2);
}

/* ==================== BORDERS ==================== */
.border-2 {
  border-width: 2px;
  border-style: solid;
}

.border-4 {
  border-width: 4px;
  border-style: solid;
}

.border-orange-600 {
  border-color: #ea580c;
}

.border-orange-600-50 {
  border-color: rgba(234, 88, 12, 0.5);
}

/* Opacity variant for border-orange-600 */
.border-orange-600\/50 {
  border-color: rgba(234, 88, 12, 0.5);
}

.border-green-600 {
  border-color: #16a34a;
}

.border-red-600 {
  border-color: #dc2626;
}

.border-lime-400 {
  border-color: #a3e635;
}

.border-orange-500 {
  border-color: #f97316;
}

.border-pink-500 {
  border-color: #ec4899;
}

.rounded-full {
  border-radius: 9999px;
}

/* ==================== PADDING & MARGIN ==================== */
.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.p-12 {
  padding: 3rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.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;
}

.px-12 {
  padding-left: 3rem;
  padding-right: 3rem;
}

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

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.ml-4 {
  margin-left: 1rem;
}

.ml-8 {
  margin-left: 2rem;
}

/* ==================== WIDTH & HEIGHT ==================== */
.w-full {
  width: 100%;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.w-12 {
  width: 3rem;
}

.w-16 {
  width: 4rem;
}

.w-20 {
  width: 5rem;
}

.w-32 {
  width: 8rem;
}

.w-40 {
  width: 10rem;
}

.w-56 {
  width: 14rem;
}

.w-80 {
  width: 20rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-12 {
  height: 3rem;
}

.h-16 {
  height: 4rem;
}

.h-20 {
  height: 5rem;
}

.h-32 {
  height: 8rem;
}

.h-40 {
  height: 10rem;
}

.h-56 {
  height: 14rem;
}

.h-full {
  height: 100%;
}

.min-h-200 {
  min-height: 200px;
}

.max-w-700 {
  max-width: 700px;
}

.max-w-3xl {
  max-width: 48rem;
}

/* ==================== TEXT ==================== */
.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;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

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

.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

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

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

.tracking-wider {
  letter-spacing: 0.05em;
}

.leading-relaxed {
  line-height: 1.625;
}

.break-all {
  word-break: break-all;
}

.break-words {
  overflow-wrap: break-word;
}

.whitespace-pre-wrap {
  white-space: pre-wrap;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==================== COLORS ==================== */
.text-orange-500 {
  color: #f97316;
}

.text-orange-400 {
  color: #fb923c;
}

.text-orange-500-70 {
  color: rgba(249, 115, 22, 0.7);
}

/* Opacity variant for text-orange-500 */
.text-orange-500\/70 {
  color: rgba(249, 115, 22, 0.7);
}

.text-lime-400 {
  color: #a3e635;
}

.text-pink-500 {
  color: #ec4899;
}

.text-green-500 {
  color: #22c55e;
}

.text-red-500 {
  color: #ef4444;
}

.text-white {
  color: #ffffff;
}

.bg-green-900-20 {
  background-color: rgba(20, 83, 45, 0.2);
}

/* Opacity variant for bg-green-900 */
.bg-green-900\/20 {
  background-color: rgba(20, 83, 45, 0.2);
}

.bg-red-900-20 {
  background-color: rgba(127, 29, 29, 0.2);
}

/* Opacity variant for bg-red-900 */
.bg-red-900\/20 {
  background-color: rgba(127, 29, 29, 0.2);
}

/* ==================== BUTTONS ==================== */
button {
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.3s ease;
}

button:disabled {
  cursor: not-allowed;
}

.btn {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.btn:hover:not(:disabled) {
  background-color: rgba(234, 88, 12, 0.2);
}

.btn-check-idle {
  background-color: rgba(23, 23, 23, 0.8);
}

.btn-check-idle:hover:not(:disabled) {
  background-color: rgba(234, 88, 12, 0.2);
}

/* ==================== INPUTS ==================== */
textarea {
  font-family: inherit;
  resize: none;
  outline: none;
  transition: border-color 0.3s ease;
}

textarea:focus {
  border-color: #ea580c !important;
}

textarea:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

textarea::placeholder {
  color: rgba(249, 115, 22, 0.5);
}

input[type="file"] {
  display: none;
}

label {
  cursor: pointer;
}

/* ==================== RANGE SLIDER ==================== */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 12px;
  background: #404040;
  border-radius: 8px;
  outline: none;
  flex: 1;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 32px;
  height: 32px;
  background: #f97316;
  border: 2px solid #ea580c;
  border-radius: 50%;
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 32px;
  height: 32px;
  background: #f97316;
  border: 2px solid #ea580c;
  border-radius: 50%;
  cursor: pointer;
}

/* ==================== UTILITIES ==================== */
.cursor-pointer {
  cursor: pointer;
}

.cursor-not-allowed {
  cursor: not-allowed;
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.transition-all {
  transition: all 0.3s ease;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.hover-opacity:hover {
  opacity: 0.8;
}

.opacity-50 {
  opacity: 0.5;
}

.object-contain {
  object-fit: contain;
}

.drop-shadow-2xl {
  filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.5));
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.bottom-1 {
  bottom: 0.25rem;
}

.right-1 {
  right: 0.25rem;
}

.bottom-2 {
  bottom: 0.5rem;
}

.right-2 {
  right: 0.5rem;
}

/* ==================== GRID ==================== */
.grid {
  display: grid;
}

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

/* ==================== LOGO ==================== */
.logo-placeholder {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: #0a0a0a;
}

/* ==================== SVG ICONS ==================== */
.icon-chevron-down {
  display: inline-block;
  width: 1em;
  height: 1em;
}

.icon-rotate-180 {
  transform: rotate(180deg);
}

.icon-rotate-0 {
  transform: rotate(0deg);
}

/* ==================== SCROLLBAR ==================== */
textarea::-webkit-scrollbar {
  width: 8px;
}

textarea::-webkit-scrollbar-track {
  background: transparent;
}

textarea::-webkit-scrollbar-thumb {
  background: #ea580c;
  border-radius: 4px;
}

/* ==================== RESPONSIVE - MOBILE FIRST ==================== */
/* Default mobile styles above */

/* Tablet and up (md: in Tailwind) */
@media (min-width: 768px) {
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:gap-6 {
    gap: 1.5rem;
  }
  
  .md\:gap-8 {
    gap: 2rem;
  }
  
  .md\:gap-16 {
    gap: 4rem;
  }
  
  .md\:space-y-4 > * + * {
    margin-top: 1rem;
  }
  
  .md\:w-32 {
    width: 8rem;
  }
  
  .md\:w-56 {
    width: 14rem;
  }
  
  .md\:w-80 {
    width: 20rem;
  }
  
  .md\:h-32 {
    height: 8rem;
  }
  
  .md\:h-56 {
    height: 14rem;
  }
  
  .md\:w-8 {
    width: 2rem;
  }
  
  .md\:h-8 {
    height: 2rem;
  }
  
  .md\:w-16 {
    width: 4rem;
  }
  
  .md\:h-16 {
    height: 4rem;
  }
  
  .md\:py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  
  .md\:py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  
  .md\:py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .md\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .md\:px-12 {
    padding-left: 3rem;
    padding-right: 3rem;
  }
  
  .md\:px-16 {
    padding-left: 4rem;
    padding-right: 4rem;
  }
  
  .md\:px-24 {
    padding-left: 6rem;
    padding-right: 6rem;
  }
  
  .md\:p-6 {
    padding: 1.5rem;
  }
  
  .md\:p-8 {
    padding: 2rem;
  }
  
  .md\:p-12 {
    padding: 3rem;
  }
  
  .md\:pt-4 {
    padding-top: 1rem;
  }
  
  .md\:mb-3 {
    margin-bottom: 0.75rem;
  }
  
  .md\:mb-4 {
    margin-bottom: 1rem;
  }
  
  .md\:mb-6 {
    margin-bottom: 1.5rem;
  }
  
  .md\:mb-8 {
    margin-bottom: 2rem;
  }
  
  .md\:mt-4 {
    margin-top: 1rem;
  }
  
  .md\:mt-6 {
    margin-top: 1.5rem;
  }
  
  .md\:mt-8 {
    margin-top: 2rem;
  }
  
  .md\:mt-12 {
    margin-top: 3rem;
  }
  
  .md\:ml-8 {
    margin-left: 2rem;
  }
  
  .md\:gap-4 {
    gap: 1rem;
  }
  
  .md\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  
  .md\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
  
  .md\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  
  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  
  .md\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  
  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
  
  .md\:border-4 {
    border-width: 4px;
  }
  
  .md\:w-auto {
    width: auto;
  }
  
  .md\:justify-center {
    justify-content: center;
  }
  
  .md\:justify-end {
    justify-content: flex-end;
  }
}

/* Large screens (lg: in Tailwind) */
@media (min-width: 1024px) {
  .lg\:flex-row {
    flex-direction: row;
  }
  
  .lg\:w-80 {
    width: 20rem;
  }
}