/* Custom utility classes (replacing Tailwind) - only classes used in frontend */

/* Layout */
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.relative { position: relative; }
.absolute { position: absolute; }
.inline-flex { display: inline-flex; }

/* Flexbox */
.flex-col { flex-direction: column; }
.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.flex-1 { flex: 1; }

/* Sizing */
.w-full { width: 100%; }
.w-32 { width: 8rem; }
.w-52 { width: 13rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }
.h-2 { height: 0.5rem; }
.h-10 { height: 2.5rem; }
.h-24 { height: 6rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }

/* Spacing */
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-auto { margin-left: auto; }
.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; }
.mb-12 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mr-3 { margin-right: 0.75rem; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.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; }
.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; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-16 { padding-bottom: 4rem; }

/* Grid */
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lg\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.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-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.leading-tight { line-height: 1.25; }
.text-center { text-align: center; }

/* Colors - background */
.bg-white { background-color: rgb(255 255 255); }
.bg-gray-50 { background-color: rgb(249 250 251); }
.bg-gray-200 { background-color: rgb(229 231 235); }
.bg-gray-600 { background-color: rgb(75 85 99); }
.bg-green-100 { background-color: rgb(220 252 231); }
.bg-red-100 { background-color: rgb(254 226 226); }
.bg-red-600 { background-color: rgb(220 38 38); }
.bg-blue-600 { background-color: rgb(37 99 235); }
.bg-green-600 { background-color: rgb(22 163 74); }
.bg-\[\#e67e22\] { background-color: #e67e22; }
.bg-\[\#2563eb\] { background-color: #2563eb; }

/* Colors - text */
.text-white { color: rgb(255 255 255); }
.text-gray-400 { color: rgb(156 163 175); }
.text-gray-500 { color: rgb(107 114 128); }
.text-gray-600 { color: rgb(75 85 99); }
.text-gray-700 { color: rgb(55 65 81); }
.text-gray-800 { color: rgb(31 41 55); }
.text-gray-900 { color: rgb(17 24 39); }
.text-green-600 { color: rgb(22 163 74); }
.text-green-700 { color: rgb(21 128 61); }
.text-red-700 { color: rgb(185 28 28); }
.text-\[\#e67e22\] { color: #e67e22; }

/* Borders */
.border { border-width: 1px; border-style: solid; border-color: #e5e7eb; }
.border-2 { border-width: 2px; border-style: solid; }
.border-gray-200 { border-color: rgb(229 231 235); }
.border-green-400 { border-color: rgb(74 222 128); }
.border-red-400 { border-color: rgb(248 113 113); }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.rounded-l { border-top-left-radius: 0.5rem; border-bottom-left-radius: 0.5rem; }
.border-\[\#e67e22\] { border-color: #e67e22; }
.border-\[\#2563eb\] { border-color: #2563eb; }

/* Effects */
.shadow { box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); }
.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.transition { transition-property: color, background-color, border-color, box-shadow, transform; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.transform { transform: translate(var(--tw-translate-x, 0), var(--tw-translate-y, 0)); }
.-top-4 { top: -1rem; }
.top-1 { top: 0.25rem; }
.top-full { top: 100%; }
.left-0 { left: 0; }
.right-2 { right: 0.5rem; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.inline-block { display: inline-block; }

/* Hover states */
.hover\:bg-gray-700:hover { background-color: rgb(55 65 81); }
.hover\:bg-orange-700:hover { background-color: rgb(194 65 12); }
.hover\:bg-red-700:hover { background-color: rgb(185 28 28); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }

/* Misc */
.z-50 { z-index: 50; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-12 > * + * { margin-left: 3rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.min-w-\[700px\] { min-width: 700px; }
.absolute-right-top{
  position: absolute !important;
  right: 10px;
  top: 5px;
}
/* Responsive - md and lg */
@media (min-width: 768px) {
  .md\:h-12 { height: 3rem; }
}

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .lg\:mt-0 { margin-top: 0; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:w-auto { width: auto; }
  .lg\:pl-8 { padding-left: 2rem; }
}

@media (min-width: 768px) {
  .md\:h-12 { height: 3rem; }
}
