/* Academic Professional Design System - Compiled CSS */

/* Reset and base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: hsl(214 20% 88%);
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  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";
}

body {
  margin: 0;
  line-height: inherit;
  background-color: hsl(0 0% 98%);
  color: hsl(214 32% 15%);
}

/* Design System Variables */
:root {
  /* Academic color palette */
  --background: 0 0% 98%;
  --foreground: 214 32% 15%;

  --card: 0 0% 100%;
  --card-foreground: 214 32% 15%;

  --popover: 0 0% 100%;
  --popover-foreground: 214 32% 15%;

  /* Deep academic navy */
  --primary: 214 68% 18%;
  --primary-foreground: 0 0% 98%;

  /* Warm academic gray */
  --secondary: 210 20% 95%;
  --secondary-foreground: 214 32% 25%;

  --muted: 210 20% 95%;
  --muted-foreground: 214 16% 50%;

  /* Subtle academic accent */
  --accent: 214 20% 92%;
  --accent-foreground: 214 32% 25%;

  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 98%;

  --border: 214 20% 88%;
  --input: 214 20% 88%;
  --ring: 214 68% 18%;

  /* Academic specific colors */
  --academic-navy: 214 68% 18%;
  --academic-light: 210 20% 96%;
  --academic-text: 214 32% 15%;
  --academic-muted: 214 16% 50%;

  --radius: 0.5rem;
}

/* Utility classes */
.min-h-screen { min-height: 100vh; }
.bg-background { background-color: hsl(var(--background)); }
.bg-card { background-color: hsl(var(--card)); }
.text-card-foreground { color: hsl(var(--card-foreground)); }
.text-foreground { color: hsl(var(--foreground)); }
.text-primary { color: hsl(var(--primary)); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }
.text-secondary-foreground { color: hsl(var(--secondary-foreground)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-accent-foreground { color: hsl(var(--accent-foreground)); }

.bg-primary { background-color: hsl(var(--primary)); }
.bg-secondary { background-color: hsl(var(--secondary)); }
.bg-accent { background-color: hsl(var(--accent)); }

.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-b-2 { border-bottom-width: 2px; }
.border-border { border-color: hsl(var(--border)); }
.border-primary { border-color: hsl(var(--primary)); }
.border-input { border-color: hsl(var(--input)); }

.rounded-lg { border-radius: var(--radius); }
.rounded-md { border-radius: calc(var(--radius) - 2px); }
.rounded-full { border-radius: 9999px; }

.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }

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

.max-w-6xl { max-width: 72rem; }
.max-w-3xl { max-width: 48rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.pt-6 { padding-top: 1.5rem; }

.h-16 { height: 4rem; }
.h-16 { height: 4rem; }
.w-16 { width: 4rem; }
.h-6 { height: 1.5rem; }
.w-6 { width: 1.5rem; }
.h-8 { height: 2rem; }
.w-8 { width: 2rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }

.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; }
.mb-12 { margin-bottom: 3rem; }
.mt-8 { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }

/* Flexbox and Grid */
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.inline-flex { display: inline-flex; }
.block { display: block; }

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

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.space-x-8 > :not([hidden]) ~ :not([hidden]) { margin-left: 2rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }

/* Typography */
.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; }
.text-5xl { font-size: 3rem; line-height: 1; }
.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; }

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

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

/* Interactive elements */
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.1); }
.hover\:text-primary:hover { color: hsl(var(--primary)); }
.hover\:text-primary\/80:hover { color: hsl(var(--primary) / 0.8); }
.hover\:bg-accent:hover { background-color: hsl(var(--accent)); }
.hover\:text-accent-foreground:hover { color: hsl(var(--accent-foreground)); }
.hover\:bg-secondary\/80:hover { background-color: hsl(var(--secondary) / 0.8); }
.hover\:text-foreground:hover { color: hsl(var(--foreground)); }

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

/* Focus styles */
.focus-visible\:outline-none:focus-visible { outline: 2px solid transparent; outline-offset: 2px; }
.focus-visible\:ring-2:focus-visible { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); }
.focus-visible\:ring-ring:focus-visible { --tw-ring-color: hsl(var(--ring)); }
.focus-visible\:ring-offset-2:focus-visible { --tw-ring-offset-width: 2px; }

/* Button styles */
.ring-offset-background { --tw-ring-offset-color: hsl(var(--background)); }

/* Gradient */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.from-primary { --tw-gradient-from: hsl(var(--primary)) var(--tw-gradient-from-position); --tw-gradient-to: hsl(var(--primary) / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-primary\/90 { --tw-gradient-to: hsl(var(--primary) / 0.9) var(--tw-gradient-to-position); }

/* Opacity */
.opacity-20 { opacity: 0.2; }

/* Object fit */
.object-cover { object-fit: cover; }

/* Prose */
.prose { color: var(--tw-prose-body); max-width: 65ch; }
.prose-lg { font-size: 1.125rem; line-height: 1.7777778; }
.max-w-none { max-width: none; }

/* Responsive design */
@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\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
}

@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

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

/* Additional custom styles for exact match */
.bg-accent\/50 { background-color: hsl(var(--accent) / 0.5); }
.text-primary-foreground\/90 { color: hsl(var(--primary-foreground) / 0.9); }
.text-primary-foreground\/80 { color: hsl(var(--primary-foreground) / 0.8); }
.border-primary-foreground\/20 { border-color: hsl(var(--primary-foreground) / 0.2); }
.hover\:bg-primary-foreground\/10:hover { background-color: hsl(var(--primary-foreground) / 0.1); }

/* Badge styles */
.inline-flex.items-center.rounded-full.border.px-2\.5.py-0\.5.text-xs.font-semibold,
.inline-flex.items-center.rounded-full.px-3.py-1.text-sm {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Custom badge variants */
.border-transparent { border-color: transparent; }

/* Backdrop blur */
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.bg-card\/95 { background-color: hsl(var(--card) / 0.95); }

/* Whitespace */
.whitespace-nowrap { white-space: nowrap; }

/* Disabled state */
.disabled\:pointer-events-none:disabled { pointer-events: none; }
.disabled\:opacity-50:disabled { opacity: 0.5; }

/* Additional positioning */
.ring-offset-2 { --tw-ring-offset-width: 2px; }

/* Link styles */
a {
  color: inherit;
  text-decoration: inherit;
}

/* SVG styles */
svg {
  display: block;
  vertical-align: middle;
}

/* Custom input styles for form elements */
input, textarea {
  background-color: hsl(var(--background));
  border: 1px solid hsl(var(--input));
  border-radius: calc(var(--radius) - 2px);
  padding: 0.5rem 0.75rem;
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  transition: border-color 150ms ease-in-out;
}

input:focus, textarea:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

input::placeholder, textarea::placeholder {
  color: hsl(var(--muted-foreground));
}

/* Additional input classes */
.flex.h-10.w-full.rounded-md.border {
  display: flex;
  height: 2.5rem;
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid hsl(var(--input));
  background-color: hsl(var(--background));
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: hsl(var(--foreground));
}

.min-h-\[80px\] {
  min-height: 80px;
}

.resize-y {
  resize: vertical;
}

/* Button base styles */
button, .inline-flex.items-center.justify-center {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  height: 2.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border: none;
}

/* Button variants */
.bg-primary.text-primary-foreground {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.bg-primary.text-primary-foreground:hover {
  background-color: hsl(var(--primary) / 0.9);
}

.bg-secondary.text-secondary-foreground {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.bg-secondary.text-secondary-foreground:hover {
  background-color: hsl(var(--secondary) / 0.8);
}

.border.border-input.bg-background {
  border: 1px solid hsl(var(--input));
  background-color: hsl(var(--background));
}

.border.border-input.bg-background:hover {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

/* Size variants */
.h-11.px-8 {
  height: 2.75rem;
  padding-left: 2rem;
  padding-right: 2rem;
}