/* Global Styles for Enhanced Forms and Dashboard */
@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap");

/* CSS Reset and Base */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Figtree', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Tailwind-inspired utility classes for forms */
.min-h-screen { min-height: 100vh; }
.bg-gray-50 { background-color: #f9fafb; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }

.max-w-md { max-width: 28rem; }
.w-full { width: 100%; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.text-gray-900 { color: #111827; }
.text-gray-700 { color: #374151; }
.text-gray-600 { color: #4b5563; }
.text-gray-500 { color: #6b7280; }

/* Form Styles */
.rounded-md { border-radius: 0.375rem; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }

.appearance-none { appearance: none; }
.relative { position: relative; }
.block { display: block; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.border { border-width: 1px; }
.border-transparent { border-color: transparent; }
.border-gray-300 { border-color: #d1d5db; }

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

.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-2:focus { --ring-offset-shadow: 0 0 #0000; --ring-shadow: 0 0 0 calc(2px + 0px) #6C63FF; box-shadow: var(--ring-offset-shadow), var(--ring-shadow), 0 0 #0000; }
.focus\:border-\[#6C63FF\]:focus { border-color: #6C63FF; }
.focus\:ring-\[#6C63FF\]:focus { --ring-shadow: 0 0 0 calc(2px + 0px) rgba(108, 99, 255, 0.5); }
.focus\:z-10:focus { z-index: 10; }

.bg-\[#f3f3f5\] { background-color: #f3f3f5; }
.bg-\[#6C63FF\] { background-color: #6C63FF; }
.hover\:bg-\[#5B54E6\]:hover { background-color: #5B54E6; }

.text-\[#6C63FF\] { color: #6C63FF; }
.hover\:text-\[#5B54E6\]:hover { color: #5B54E6; }

.text-white { color: #ffffff; }

.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }

.h-4 { height: 1rem; }
.w-4 { width: 1rem; }
.ml-2 { margin-left: 0.5rem; }

.rounded { border-radius: 0.25rem; }

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

.focus\:ring-offset-2:focus { --ring-offset-shadow: 0 0 0 2px #fff; }

/* Dashboard Styles */
.custom-main-content { background-color: #f8fafc; }
.p-8 { padding: 2rem; }
.max-w-6xl { max-width: 72rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gap-6 { gap: 1.5rem; }

.bg-white { background-color: #ffffff; }
.rounded-lg { border-radius: 0.5rem; }
.border-gray-200 { border-color: #e5e7eb; }
.p-6 { padding: 1.5rem; }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }

.space-x-3 > * + * { margin-left: 0.75rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.bg-blue-500 { background-color: #3b82f6; }
.bg-purple-500 { background-color: #8b5cf6; }
.bg-indigo-500 { background-color: #6366f1; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }

.inline-flex { display: inline-flex; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.rounded-full { border-radius: 9999px; }

.bg-green-100 { background-color: #dcfce7; }
.text-green-800 { color: #166534; }
.bg-yellow-100 { background-color: #fef3c7; }
.text-yellow-800 { color: #92400e; }
.bg-gray-50 { background-color: #f9fafb; }

.flex-1 { flex: 1 1 0%; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }

.text-\[#1A1A1A\] { color: #1A1A1A; }

/* Media Queries */
@media (min-width: 640px) {
  .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

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

@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Download page utilities */
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.p-8 { padding: 2rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.h-8 { height: 2rem; }
.w-8 { width: 2rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-gray-900 { color: #111827; }
.text-gray-600 { color: #6b7280; }
.text-gray-500 { color: #6b7280; }
.text-gray-700 { color: #374151; }
.text-gray-400 { color: #9ca3af; }
.text-purple-600 { color: #9333ea; }
.text-purple-700 { color: #7c3aed; }
.hover\:text-gray-900:hover { color: #111827; }
.hover\:text-purple-700:hover { color: #7c3aed; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-12 { margin-bottom: 3rem; }
.w-full { width: 100%; }
.justify-center { justify-content: center; }
.items-start { align-items: flex-start; }
.align-items-start { align-items: flex-start; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.md\:flex-row { flex-direction: row; }
.md\:flex { display: flex; }
.max-w-2xl { max-width: 42rem; }
.bg-white { background-color: #ffffff; }
.border-gray-200 { border-color: #e5e7eb; }
.border-b { border-bottom-width: 1px; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.gap-8 { gap: 2rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.items-center { align-items: center; }
.h-16 { height: 4rem; }
.w-16 { width: 4rem; }
.opacity-20 { opacity: 0.2; }
.justify-start { justify-content: flex-start; }
.hidden { display: none; }
.font-medium { font-weight: 500; }
.text-center { text-align: center; }
.relative { position: relative; }
.mr-12 { margin-right: 3rem; }
.mt-12 { margin-top: 3rem; }
.pb-12 { padding-bottom: 3rem; }
.pt-12 { padding-top: 3rem; }

.flex-col { flex-direction: column; }
.flex {
  display: flex;
}
.items-start {
  align-items: flex-start;
}
.justify-start {
  justify-content: flex-start;
}
.flex-wrap {
  flex-wrap: wrap;
}