/* Tailwind CSS - Scoped to .tw-scope containers only */

/* Base styles - only apply within .tw-scope */
.tw-scope *,
.tw-scope *::before,
.tw-scope *::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

.tw-scope {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  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";
  font-feature-settings: normal;
  font-variation-settings: normal;
}

/* Spacing utilities */
.tw-scope .tw-p-0 { padding: 0px; }
.tw-scope .tw-p-1 { padding: 0.25rem; }
.tw-scope .tw-p-2 { padding: 0.5rem; }
.tw-scope .tw-p-3 { padding: 0.75rem; }
.tw-scope .tw-p-4 { padding: 1rem; }
.tw-scope .tw-p-5 { padding: 1.25rem; }
.tw-scope .tw-p-6 { padding: 1.5rem; }
.tw-scope .tw-p-8 { padding: 2rem; }
.tw-scope .tw-p-10 { padding: 2.5rem; }
.tw-scope .tw-p-12 { padding: 3rem; }

.tw-scope .tw-m-0 { margin: 0px; }
.tw-scope .tw-m-1 { margin: 0.25rem; }
.tw-scope .tw-m-2 { margin: 0.5rem; }
.tw-scope .tw-m-3 { margin: 0.75rem; }
.tw-scope .tw-m-4 { margin: 1rem; }
.tw-scope .tw-m-5 { margin: 1.25rem; }
.tw-scope .tw-m-6 { margin: 1.5rem; }
.tw-scope .tw-m-8 { margin: 2rem; }
.tw-scope .tw-m-10 { margin: 2.5rem; }
.tw-scope .tw-m-12 { margin: 3rem; }

.tw-scope .tw-mb-2 { margin-bottom: 0.5rem; }
.tw-scope .tw-mb-4 { margin-bottom: 1rem; }
.tw-scope .tw-mb-6 { margin-bottom: 1.5rem; }
.tw-scope .tw-mb-8 { margin-bottom: 2rem; }

.tw-scope .tw-mt-2 { margin-top: 0.5rem; }
.tw-scope .tw-mt-4 { margin-top: 1rem; }
.tw-scope .tw-mt-6 { margin-top: 1.5rem; }
.tw-scope .tw-mt-8 { margin-top: 2rem; }

/* Color utilities */
.tw-scope .tw-bg-white { background-color: #ffffff; }
.tw-scope .tw-bg-gray-100 { background-color: #f3f4f6; }
.tw-scope .tw-bg-gray-200 { background-color: #e5e7eb; }
.tw-scope .tw-bg-gray-500 { background-color: #6b7280; }
.tw-scope .tw-bg-gray-800 { background-color: #1f2937; }
.tw-scope .tw-bg-gray-900 { background-color: #111827; }
.tw-scope .tw-bg-blue-500 { background-color: #3b82f6; }
.tw-scope .tw-bg-blue-600 { background-color: #2563eb; }
.tw-scope .tw-bg-red-500 { background-color: #ef4444; }
.tw-scope .tw-bg-green-500 { background-color: #10b981; }

.tw-scope .tw-text-white { color: #ffffff; }
.tw-scope .tw-text-gray-100 { color: #f3f4f6; }
.tw-scope .tw-text-gray-200 { color: #e5e7eb; }
.tw-scope .tw-text-gray-500 { color: #6b7280; }
.tw-scope .tw-text-gray-800 { color: #1f2937; }
.tw-scope .tw-text-gray-900 { color: #111827; }
.tw-scope .tw-text-blue-500 { color: #3b82f6; }
.tw-scope .tw-text-blue-600 { color: #2563eb; }

/* Typography utilities */
.tw-scope .tw-text-xs { font-size: 0.75rem; line-height: 1rem; }
.tw-scope .tw-text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.tw-scope .tw-text-base { font-size: 1rem; line-height: 1.5rem; }
.tw-scope .tw-text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.tw-scope .tw-text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.tw-scope .tw-text-2xl { font-size: 1.5rem; line-height: 2rem; }
.tw-scope .tw-text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.tw-scope .tw-text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

.tw-scope .tw-font-normal { font-weight: 400; }
.tw-scope .tw-font-medium { font-weight: 500; }
.tw-scope .tw-font-semibold { font-weight: 600; }
.tw-scope .tw-font-bold { font-weight: 700; }

.tw-scope .tw-text-center { text-align: center; }
.tw-scope .tw-text-left { text-align: left; }
.tw-scope .tw-text-right { text-align: right; }

/* Layout utilities */
.tw-scope .tw-flex { display: flex; }
.tw-scope .tw-inline-flex { display: inline-flex; }
.tw-scope .tw-grid { display: grid; }
.tw-scope .tw-hidden { display: none; }
.tw-scope .tw-block { display: block; }
.tw-scope .tw-inline-block { display: inline-block; }

.tw-scope .tw-flex-col { flex-direction: column; }
.tw-scope .tw-flex-row { flex-direction: row; }
.tw-scope .tw-items-center { align-items: center; }
.tw-scope .tw-items-start { align-items: flex-start; }
.tw-scope .tw-items-end { align-items: flex-end; }
.tw-scope .tw-justify-center { justify-content: center; }
.tw-scope .tw-justify-between { justify-content: space-between; }
.tw-scope .tw-justify-start { justify-content: flex-start; }
.tw-scope .tw-justify-end { justify-content: flex-end; }

.tw-scope .tw-w-full { width: 100%; }
.tw-scope .tw-h-full { height: 100%; }
.tw-scope .tw-min-h-screen { min-height: 100vh; }

/* Border utilities */
.tw-scope .tw-rounded { border-radius: 0.25rem; }
.tw-scope .tw-rounded-lg { border-radius: 0.5rem; }
.tw-scope .tw-rounded-xl { border-radius: 0.75rem; }
.tw-scope .tw-rounded-full { border-radius: 9999px; }

.tw-scope .tw-border { border-width: 1px; }
.tw-scope .tw-border-2 { border-width: 2px; }
.tw-scope .tw-border-gray-200 { border-color: #e5e7eb; }
.tw-scope .tw-border-gray-300 { border-color: #d1d5db; }

/* Shadow utilities */
.tw-scope .tw-shadow { box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); }
.tw-scope .tw-shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.tw-scope .tw-shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }

/* Position utilities */
.tw-scope .tw-relative { position: relative; }
.tw-scope .tw-absolute { position: absolute; }
.tw-scope .tw-fixed { position: fixed; }
.tw-scope .tw-top-0 { top: 0px; }
.tw-scope .tw-right-0 { right: 0px; }
.tw-scope .tw-bottom-0 { bottom: 0px; }
.tw-scope .tw-left-0 { left: 0px; }

/* Responsive utilities */
@media (min-width: 640px) {
  .tw-scope .tw-sm\:p-4 { padding: 1rem; }
  .tw-scope .tw-sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .tw-scope .tw-sm\:flex { display: flex; }
}

@media (min-width: 768px) {
  .tw-scope .tw-md\:p-6 { padding: 1.5rem; }
  .tw-scope .tw-md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .tw-scope .tw-md\:flex { display: flex; }
}

@media (min-width: 1024px) {
  .tw-scope .tw-lg\:p-8 { padding: 2rem; }
  .tw-scope .tw-lg\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .tw-scope .tw-lg\:grid { display: grid; }
}

/* Custom utilities for your blocks */
.tw-scope .tw-text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tw-scope .tw-backdrop-blur {
  backdrop-filter: blur(8px);
}

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

.tw-scope .tw-from-blue-500 {
  --tw-gradient-from: #3b82f6;
  --tw-gradient-to: rgb(59 130 246 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.tw-scope .tw-to-purple-600 {
  --tw-gradient-to: #9333ea;
}
