/* Tailwind CSS Output - Manual Build for Development */
/* This is a minimal version. Run 'npm run build:css' for full production build */

*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e0e0e0;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: #ffffff;
  color: #212121;
  font-family: Roboto, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
}

/* Utility Classes */
.container-custom {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 640px) {
  .container-custom {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1024px) {
  .container-custom {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.section-padding {
  padding-top: 48px;
  padding-bottom: 48px;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}

.btn-primary {
  background-color: #1976d2;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.btn-primary:hover {
  background-color: #1565c0;
}

.btn-secondary {
  background-color: #f5f5f5;
  color: #212121;
}

.btn-secondary:hover {
  background-color: #e0e0e0;
}

.btn-outline {
  border: 2px solid #1976d2;
  color: #1976d2;
  background-color: transparent;
}

.btn-outline:hover {
  background-color: #1976d2;
  color: #ffffff;
}

.btn-large {
  padding: 16px 24px;
  font-size: 18px;
}

.btn-small {
  padding: 8px 12px;
  font-size: 14px;
}

/* Card */
.card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.12);
  padding: 24px;
}

.card-hover {
  transition: all 0.3s;
}

.card-hover:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,0.15), 0 3px 6px rgba(0,0,0,0.10);
  transform: translateY(-4px);
}

/* Input */
.input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.25s;
  font-size: 16px;
}

.input:focus {
  outline: none;
  border-color: #1976d2;
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.input-error {
  border-color: #f44336;
}

.input-error:focus {
  box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

.label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #757575;
  margin-bottom: 8px;
}

/* Alerts */
.alert {
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.alert-success {
  background-color: #e8f5e9;
  border: 1px solid #4caf50;
  color: #1b5e20;
}

.alert-error {
  background-color: #ffebee;
  border: 1px solid #f44336;
  color: #b71c1c;
}

.alert-warning {
  background-color: #fff3e0;
  border: 1px solid #ff9800;
  color: #e65100;
}

.alert-info {
  background-color: #e3f2fd;
  border: 1px solid: #2196f3;
  color: #0d47a1;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
}

.badge-primary {
  background-color: #1976d2;
  color: #ffffff;
}

.badge-success {
  background-color: #4caf50;
  color: #ffffff;
}

.badge-error {
  background-color: #f44336;
  color: #ffffff;
}

.badge-warning {
  background-color: #ff9800;
  color: #ffffff;
}

/* Typography */
.text-display-1 { font-size: 96px; line-height: 112px; font-weight: 300; }
.text-display-2 { font-size: 60px; line-height: 72px; font-weight: 300; }
.text-display-3 { font-size: 48px; line-height: 56px; font-weight: 400; }
.text-headline { font-size: 34px; line-height: 40px; font-weight: 400; }
.text-title { font-size: 24px; line-height: 32px; font-weight: 500; }
.text-subheading { font-size: 20px; line-height: 28px; font-weight: 400; }
.text-body-1 { font-size: 16px; line-height: 24px; font-weight: 400; }
.text-body-2 { font-size: 14px; line-height: 20px; font-weight: 400; }
.text-caption { font-size: 12px; line-height: 16px; font-weight: 400; }

/* Colors */
.bg-primary { background-color: #1976d2; }
.bg-primary-dark { background-color: #1565c0; }
.bg-primary-light { background-color: #42a5f5; }
.bg-secondary { background-color: #f5f5f5; }
.bg-background { background-color: #ffffff; }
.bg-surface { background-color: #f8f9fa; }
.bg-success { background-color: #4caf50; }
.bg-error { background-color: #f44336; }
.bg-warning { background-color: #ff9800; }
.bg-white { background-color: #ffffff; }

.text-primary { color: #1976d2; }
.text-text-primary { color: #212121; }
.text-text-secondary { color: #757575; }
.text-success { color: #4caf50; }
.text-error { color: #f44336; }
.text-warning { color: #ff9800; }
.text-white { color: #ffffff; }

.border-primary { border-color: #1976d2; }
.border-border { border-color: #e0e0e0; }
.border-success { border-color: #4caf50; }
.border-error { border-color: #f44336; }
.border-white { border-color: #ffffff; }

/* Spacing */
.p-0 { padding: 0; }
.p-4 { padding: 4px; }
.p-8 { padding: 8px; }
.p-12 { padding: 12px; }
.p-16 { padding: 16px; }
.p-24 { padding: 24px; }
.p-32 { padding: 32px; }
.p-40 { padding: 40px; }
.p-48 { padding: 48px; }
.p-64 { padding: 64px; }

.px-8 { padding-left: 8px; padding-right: 8px; }
.px-12 { padding-left: 12px; padding-right: 12px; }
.px-16 { padding-left: 16px; padding-right: 16px; }
.px-24 { padding-left: 24px; padding-right: 24px; }
.px-32 { padding-left: 32px; padding-right: 32px; }

.py-4 { padding-top: 4px; padding-bottom: 4px; }
.py-8 { padding-top: 8px; padding-bottom: 8px; }
.py-12 { padding-top: 12px; padding-bottom: 12px; }
.py-16 { padding-top: 16px; padding-bottom: 16px; }
.py-24 { padding-top: 24px; padding-bottom: 24px; }
.py-32 { padding-top: 32px; padding-bottom: 32px; }
.py-48 { padding-top: 48px; padding-bottom: 48px; }
.py-64 { padding-top: 64px; padding-bottom: 64px; }

.pt-24 { padding-top: 24px; }
.pt-32 { padding-top: 32px; }
.pb-24 { padding-bottom: 24px; }
.pb-32 { padding-bottom: 32px; }

.m-0 { margin: 0; }
.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }

.mt-4 { margin-top: 4px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }

.mx-auto { margin-left: auto; margin-right: auto; }

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

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

.w-full { width: 100%; }
.w-16 { width: 16px; }
.w-20 { width: 20px; }
.w-24 { width: 24px; }
.w-40 { width: 40px; }
.w-64 { width: 64px; }

.h-16 { height: 16px; }
.h-20 { height: 20px; }
.h-24 { height: 24px; }
.h-40 { height: 40px; }
.h-64 { height: 64px; }

.max-w-md { max-width: 448px; }
.max-w-2xl { max-width: 672px; }
.max-w-3xl { max-width: 768px; }
.max-w-4xl { max-width: 896px; }
.max-w-7xl { max-width: 1280px; }

.min-h-screen { min-height: 100vh; }

/* Borders */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-b { border-bottom-width: 1px; }
.border-b-2 { border-bottom-width: 2px; }
.border-t { border-top-width: 1px; }

.rounded { border-radius: 4px; }
.rounded-md { border-radius: 8px; }
.rounded-lg { border-radius: 12px; }
.rounded-xl { border-radius: 16px; }
.rounded-full { border-radius: 9999px; }

/* Shadows */
.shadow-material-1 { box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); }
.shadow-material-2 { box-shadow: 0 3px 6px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.12); }
.shadow-material-3 { box-shadow: 0 10px 20px rgba(0,0,0,0.15), 0 3px 6px rgba(0,0,0,0.10); }

/* Text */
.text-center { text-align: center; }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.font-mono { font-family: 'Roboto Mono', monospace; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }

/* Effects */
.opacity-10 { opacity: 0.1; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }
.bg-opacity-10 { --tw-bg-opacity: 0.1; }

.transition-colors { transition-property: color, background-color, border-color; transition-duration: 0.25s; }
.transition-all { transition-property: all; transition-duration: 0.25s; }
.duration-250 { transition-duration: 0.25s; }
.duration-300 { transition-duration: 0.3s; }

.cursor-pointer { cursor: pointer; }
.hover\:text-primary:hover { color: #1976d2; }
.hover\:text-text-primary:hover { color: #212121; }
.hover\:bg-primary:hover { background-color: #1976d2; }
.hover\:bg-primary-dark:hover { background-color: #1565c0; }
.hover\:bg-border:hover { background-color: #e0e0e0; }
.hover\:bg-opacity-90:hover { --tw-bg-opacity: 0.9; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:-translate-y-1:hover { transform: translateY(-4px); }

/* Animations */
.animate-spin {
  animation: spin 1s linear infinite;
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

.animate-slide-up {
  animation: slideUp 0.3s ease-out;
}

.animate-slide-down {
  animation: slideDown 0.3s ease-out;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

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

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:flex { display: flex; }
  .md\:inline { display: inline; }
  .md\:text-display-2 { font-size: 60px; line-height: 72px; }
  .md\:py-64 { padding-top: 64px; padding-bottom: 64px; }
}

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

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:inline { display: inline; }
  .sm\:px-24 { padding-left: 24px; padding-right: 24px; }
}

/* Utilities */
.space-y-8 > * + * { margin-top: 8px; }
.space-y-12 > * + * { margin-top: 12px; }
