/* ===================================
   Underwriters Technologies Brand CSS
   Surplus Lines Reference Site
   =================================== */

/* Import Fonts - Using Magistral Bold locally */
@font-face {
    font-family: 'Magistral';
    src: url('../fonts/Magistral Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Fallback to system fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&display=swap');

/* ===================================
   CSS Variables / Custom Properties
   =================================== */
:root {
  /* Brand Colors */
  --ut-deep-charcoal: #2E3C43;
  --ut-mint-green: #3DE2A0;
  --ut-slate-blue: #3A506B;
  --ut-sky-blue: #72ADBB;
  --ut-warm-orange: #FFB26B;
  
  /* Typography */
  --font-primary: 'Magistral', 'Inter', sans-serif;
  
  /* Font Sizes */
  --fs-jumbo: 4rem; /* 64px */
  --fs-h1: 3rem; /* 48px */
  --fs-h2: 2.25rem; /* 36px */
  --fs-h3: 1.75rem; /* 28px */
  --fs-h4: 1.375rem; /* 22px */
  --fs-h5: 1.125rem; /* 18px */
  --fs-body: 1rem; /* 16px */
  --fs-body-large: 1.125rem; /* 18px */
  --fs-lead: 1.25rem; /* 20px */
  --fs-small: 0.875rem; /* 14px */
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Logo Sizing */
  --logo-min-width: 0.5in; /* Minimum logo width */
}

/* ===================================
   Global Reset & Base Styles
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ut-deep-charcoal);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   Typography
   =================================== */

/* Jumbo Headlines */
.jumbo-headline {
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: var(--fs-jumbo);
  line-height: 1.1;
  color: var(--ut-deep-charcoal);
  margin-bottom: var(--spacing-xl);
}

/* Headings */
h1, .h1 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: var(--fs-h1);
  line-height: 1.2;
  color: var(--ut-deep-charcoal);
  margin-bottom: var(--spacing-lg);
}

h2, .h2 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 1.2;
  color: var(--ut-deep-charcoal);
  margin-bottom: var(--spacing-lg);
}

h3, .h3 {
  font-family: 'Avenir', 'Inter', sans-serif;
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: 1.3;
  color: var(--ut-deep-charcoal);
  margin-bottom: var(--spacing-md);
}

h4, .h4 {
  font-family: 'Avenir', 'Inter', sans-serif;
  font-weight: 600;
  font-size: var(--fs-h4);
  line-height: 1.3;
  color: var(--ut-deep-charcoal);
  margin-bottom: var(--spacing-md);
}

h5, .h5 {
  font-family: 'Avenir', 'Inter', sans-serif;
  font-weight: 600;
  font-size: var(--fs-h5);
  line-height: 1.4;
  color: var(--ut-deep-charcoal);
  margin-bottom: var(--spacing-sm);
}

/* ===================================
   Color Utilities
   =================================== */
.text-charcoal { color: var(--ut-deep-charcoal); }
.text-mint { color: var(--ut-mint-green); }
.text-slate { color: var(--ut-slate-blue); }
.text-sky { color: var(--ut-sky-blue); }
.text-orange { color: var(--ut-warm-orange); }

.bg-charcoal { background-color: var(--ut-deep-charcoal); }
.bg-mint { background-color: var(--ut-mint-green); }
.bg-slate { background-color: var(--ut-slate-blue); }
.bg-sky { background-color: var(--ut-sky-blue); }
.bg-orange { background-color: var(--ut-warm-orange); }

/* ===================================
   Logo Styles
   =================================== */
.logo {
  display: inline-flex;
  align-items: center;
  min-width: var(--logo-min-width);
}

.logo-primary {
  /* Clear space around logo */
  padding: var(--spacing-md);
}

.logo-underwriters {
    height: 5.5rem; /* Even bigger for better visibility */
    width: auto;
    margin-right: 0.5rem; /* Small gap between logo and text */
}

/* Logo on different backgrounds */
.logo-on-dark {
  filter: brightness(0) invert(1);
}

/* ===================================
   Buttons & Links
   =================================== */
.btn {
  display: inline-block;
  font-family: 'Avenir', 'Inter', sans-serif;
  font-weight: 600;
  font-size: var(--fs-body);
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--ut-mint-green);
  color: var(--ut-deep-charcoal);
}

.btn-primary:hover {
  background-color: #35c98e;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--ut-slate-blue);
  color: white;
}

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

.btn-accent {
  background-color: var(--ut-warm-orange);
  color: var(--ut-deep-charcoal);
}

.btn-accent:hover {
  background-color: #ff9f4a;
}

a {
  color: var(--ut-mint-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--ut-sky-blue);
}

/* ===================================
   Maze Pattern Backgrounds
   =================================== */
.maze-pattern {
  position: relative;
  overflow: hidden;
}

.maze-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 35px, var(--ut-slate-blue) 35px, var(--ut-slate-blue) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 35px, var(--ut-slate-blue) 35px, var(--ut-slate-blue) 40px);
  pointer-events: none;
}

.maze-pattern-dark::before {
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 35px, var(--ut-mint-green) 35px, var(--ut-mint-green) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 35px, var(--ut-mint-green) 35px, var(--ut-mint-green) 40px);
  opacity: 0.05;
}

/* ===================================
   Grid & Path Visual Elements
   =================================== */
.grid-overlay {
  position: relative;
  background-image: 
    linear-gradient(rgba(61, 226, 160, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 226, 160, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.path-accent {
  position: relative;
}

.path-accent::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--ut-mint-green) 0%, var(--ut-sky-blue) 100%);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--ut-mint-green) 0%, var(--ut-sky-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom scrollbar for light theme */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f3f4f6;
}

::-webkit-scrollbar-thumb {
    background: var(--ut-slate-blue);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ut-deep-charcoal);
}

/* Dark mode scrollbar */
[data-theme="dark"] ::-webkit-scrollbar-track {
    background: #1a1a1a;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: var(--ut-mint-green);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: var(--ut-sky-blue);
}

/* Sort indicators */
.sort-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 4px;
    opacity: 0.3;
    transition: opacity 0.2s;
}

th:hover .sort-indicator {
    opacity: 0.6;
}

.sort-indicator:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-bottom: 2px;
}

.sort-indicator:before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid currentColor;
    margin-bottom: 2px;
}

.sort-asc .sort-indicator:before {
    border-bottom-color: var(--ut-mint-green);
    opacity: 1;
}

.sort-asc .sort-indicator:after {
    opacity: 0.3;
}

.sort-desc .sort-indicator:after {
    border-top-color: var(--ut-mint-green);
    opacity: 1;
}

.sort-desc .sort-indicator:before {
    opacity: 0.3;
}

/* Dark mode sort indicators */
[data-theme="dark"] .sort-asc .sort-indicator:before {
    border-bottom-color: var(--ut-mint-green);
}

[data-theme="dark"] .sort-desc .sort-indicator:after {
    border-top-color: var(--ut-mint-green);
}

/* Light/Dark theme transitions */
body, header, footer, .bg-white, .bg-gray-50, .bg-gray-100, .bg-gray-800, .bg-gray-900,
.border-gray-200, .border-gray-700, .text-gray-900, .text-gray-300, .text-gray-400, 
.text-gray-500, .text-gray-600, .text-blue-600, th, td, tr {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Light theme base */
body {
    background-color: #f9fafb;
    color: var(--ut-deep-charcoal);
}

/* Dark theme */
[data-theme="dark"] body {
    background-color: #111827;
    color: #ffffff;
}

/* Dark mode headline fix */
[data-theme="dark"] h1 {
    color: #ffffff !important;
}

[data-theme="dark"] .bg-white {
    background-color: #1f2937;
}

[data-theme="dark"] .bg-gray-50 {
    background-color: #111827;
}

[data-theme="dark"] .bg-gray-100 {
    background-color: #1f2937;
}

[data-theme="dark"] .bg-gray-800 {
    background-color: #1f2937;
}

[data-theme="dark"] .text-gray-900 {
    color: #ffffff;
}

[data-theme="dark"] .text-gray-700 {
    color: #d1d5db;
}

[data-theme="dark"] .text-gray-600 {
    color: #9ca3af;
}

[data-theme="dark"] .text-gray-500 {
    color: #6b7280;
}

[data-theme="dark"] .text-gray-400 {
    color: #9ca3af;
}

[data-theme="dark"] .text-gray-300 {
    color: #d1d5db;
}

[data-theme="dark"] .border-gray-200 {
    border-color: #374151;
}

[data-theme="dark"] .border-gray-700 {
    border-color: #374151;
}

[data-theme="dark"] .hover\:bg-gray-50:hover {
    background-color: #374151;
}

[data-theme="dark"] .hover\:bg-gray-700:hover {
    background-color: #374151;
}

[data-theme="dark"] .text-blue-600 {
    color: var(--ut-mint-green);
}

[data-theme="dark"] .hover\:text-blue-600:hover {
    color: var(--ut-sky-blue);
}

[data-theme="dark"] .text-blue-600:hover {
    color: var(--ut-sky-blue);
}

/* Calculator button styling */
.state-calculator-btn {
    transition: all 0.2s ease;
}

.state-calculator-btn:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

[data-theme="dark"] .state-calculator-btn:hover {
    opacity: 0.7;
}

/* Modal styling */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

[data-theme="dark"] .modal-content {
    background-color: #1f2937;
}

/* Form elements */
input[type="number"], select, input[type="text"], input[type="email"], textarea {
    background: white;
    border: 2px solid var(--ut-slate-blue);
    border-radius: 0;
    padding: 0.5rem 0.75rem;
    transition: all 0.2s ease;
}

/* Fix premium input specifically */
#premiumInput {
    padding-left: 2rem !important; /* Ensure space after dollar sign */
}

input[type="number"]:focus, select:focus, input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
    outline: none;
    border-color: var(--ut-mint-green);
    box-shadow: 0 0 0 3px rgba(61, 226, 160, 0.1);
}

[data-theme="dark"] input[type="number"],
[data-theme="dark"] select,
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] textarea {
    background-color: #374151;
    color: #ffffff;
    border-color: #4b5563;
}

[data-theme="dark"] input[type="number"]:focus,
[data-theme="dark"] select:focus,
[data-theme="dark"] input[type="text"]:focus,
[data-theme="dark"] input[type="email"]:focus,
[data-theme="dark"] textarea:focus {
    border-color: var(--ut-mint-green);
    box-shadow: 0 0 0 3px rgba(61, 226, 160, 0.1);
}

/* Button styling */
.btn-primary {
    background: var(--ut-mint-green);
    color: var(--ut-deep-charcoal);
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #35c98e;
    transform: translateY(-2px);
}

.btn-primary:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

/* Calculate Tax & Fees Button Color */
#calculateBtn {
    background-color: rgba(114, 173, 187, 0.75) !important; /* #72ADBB at 75% opacity */
    color: var(--ut-deep-charcoal);
}

#calculateBtn:hover {
    background-color: rgba(114, 173, 187, 0.85) !important;
    transform: translateY(-2px);
}

/* Custom notification styling */
.notification-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    min-width: 300px;
    background: white;
    padding: 20px;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(150%);
    transition: transform 0.3s ease-in-out;
    z-index: 10000;
}

.notification-toast.show {
    transform: translateY(0);
}

.notification-toast.success {
    border-left: 4px solid var(--ut-mint-green);
}

.notification-toast.error {
    border-left: 4px solid var(--ut-warm-orange);
}

.notification-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 12px;
    font-weight: bold;
    vertical-align: middle;
}

.notification-icon.success {
    color: var(--ut-mint-green);
}

.notification-icon.error {
    color: var(--ut-warm-orange);
}

.notification-content {
    display: inline-block;
    vertical-align: middle;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.notification-message {
    color: #666;
    font-size: 14px;
}

[data-theme="dark"] .notification-toast {
    background-color: #1f2937;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

[data-theme="dark"] .notification-message {
    color: #9ca3af;
}

.calc-result-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.calc-result-row:last-child {
    border-bottom: none;
    font-weight: bold;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 2px solid var(--ut-mint-green);
}

[data-theme="dark"] .calc-result-row {
    border-bottom-color: #374151;
}

[data-theme="dark"] .calc-result-row:last-child {
    border-top-color: var(--ut-mint-green);
}

/* Theme toggle */
.theme-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0;
    transition: all 0.3s ease;
}

/* Header navigation styling with orange background */
header nav button {
    font-weight: 500;
    transition: all 0.2s ease;
    color: #2E3C43 !important; /* Deep charcoal text */
}

header nav button:hover {
    color: #3DE2A0 !important;
    transform: translateY(-1px);
}

header nav button span.material-icons-sharp {
    transition: all 0.2s ease;
    color: inherit !important;
}

header nav button:hover span.material-icons-sharp {
    color: #3DE2A0 !important;
}

/* Header link styles */
header nav a {
    color: #2E3C43 !important;
    transition: all 0.2s ease;
}

header nav a:hover {
    color: #3DE2A0 !important;
    transform: translateY(-1px);
}

.theme-toggle:hover {
    background-color: rgba(61, 226, 160, 0.1);
}

[data-theme="dark"] .theme-toggle:hover {
    background-color: rgba(61, 226, 160, 0.1);
}

.theme-icon {
    transition: all 0.3s ease;
}

.theme-icon.sun {
    opacity: 1;
    transform: rotate(0deg);
}

.theme-icon.moon {
    opacity: 0;
    transform: rotate(-90deg);
    position: absolute;
}

[data-theme="dark"] .theme-icon.sun {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="dark"] .theme-icon.moon {
    opacity: 1;
    transform: rotate(0deg);
}

/* State Info Card Styling */
#stateInfoCard {
    background-color: rgba(255, 178, 107, 0.25) !important; /* 25% opacity of #FFB26B */
    color: #2E3C43 !important; /* Deep charcoal text color per style guide */
    border: 1px solid rgba(255, 178, 107, 0.5);
}

#stateInfoCard h4 {
    color: #2E3C43 !important;
}

#stateInfoContent {
    color: #2E3C43 !important;
}

#stateInfoContent strong {
    color: #2E3C43 !important;
    opacity: 1;
}

#stateInfoContent div {
    color: #2E3C43 !important;
}

/* Dark mode overrides for state info card */
[data-theme="dark"] #stateInfoCard {
    background-color: rgba(255, 178, 107, 0.25) !important;
    color: #2E3C43 !important;
    border-color: rgba(255, 178, 107, 0.5);
}

[data-theme="dark"] #stateInfoCard h4,
[data-theme="dark"] #stateInfoContent,
[data-theme="dark"] #stateInfoContent strong,
[data-theme="dark"] #stateInfoContent div {
    color: #2E3C43 !important;
}

/* Print styles */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    .modal-overlay,
    .notification-toast,
    header,
    footer {
        display: none !important;
    }
    
    #printableResults {
        display: block !important;
        padding: 20px;
        font-size: 14px;
    }
    
    #printableResults h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    #printableResults h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    #printableResults .calc-result-row {
        padding: 5px 0;
        border-bottom: 1px solid #ddd;
    }
    
    #printableResults .calc-result-row:last-child {
        border-top: 2px solid #000;
        font-weight: bold;
    }
}

/* Table row hover effect */
tbody tr:hover {
    background-color: rgba(114, 173, 187, 0.25) !important;
}

[data-theme="dark"] tbody tr:hover {
    background-color: rgba(114, 173, 187, 0.25) !important;
}

/* Table header styling */
.table-header {
    background-color: #3A506B;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.table-header th {
    background-color: #3A506B !important;
}

/* Remove sub-scrolling - table takes full height */
.table-container {
    position: relative;
    overflow-x: auto; /* Keep horizontal scroll for responsive */
    overflow-y: visible; /* Remove vertical scroll */
    margin-top: 0;
}

/* Ensure the table wrapper div handles the border and background */
.table-wrapper {
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

/* Make sure table takes full width */
.table-container table {
    width: 100%;
    border-collapse: collapse;
}



/* ===================================
   Table Typography
   =================================== */
/* Force all table content to use Avenir font */
table td {
  font-family: 'Avenir', 'Inter', sans-serif !important;
}

/* Table headers already styled separately */
table th {
  font-family: 'Avenir', 'Inter', sans-serif !important;
}

/* Specific table text elements */
.font-medium,
.text-xs,
.text-sm,
.text-gray-600,
.text-gray-700,
.font-mono {
  font-family: 'Avenir', 'Inter', sans-serif !important;
}

/* Modal content text */
.modal-content label,
.modal-content select,
.modal-content input,
.modal-content p,
.modal-content div {
  font-family: 'Avenir', 'Inter', sans-serif !important;
}

/* Signup Modal Styles */
#signupModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

#signupModal.active {
    display: flex;
}

/* Info notification style for coming soon messages */
.notification-toast.info {
    border-left: 4px solid var(--ut-sky-blue);
}

.notification-icon.info {
    color: var(--ut-sky-blue);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
  :root {
    --fs-jumbo: 3rem;
    --fs-h1: 2.5rem;
    --fs-h2: 2rem;
    --fs-h3: 1.5rem;
    --fs-h4: 1.25rem;
    --fs-h5: 1.125rem;
  }
  
  .container {
    padding: 0 var(--spacing-md);
  }
  
  .section {
    padding: var(--spacing-2xl) 0;
  }
}

@media (max-width: 480px) {
  :root {
    --fs-jumbo: 2.5rem;
    --fs-h1: 2rem;
    --fs-h2: 1.75rem;
    --fs-h3: 1.375rem;
    --fs-h4: 1.125rem;
  }
}

/* ===================================
   Tailwind Utility Classes Replacement
   =================================== */

/* Layout */
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

@media (min-width: 640px) {
    .container { max-width: 640px; }
}

@media (min-width: 768px) {
    .container { max-width: 768px; }
}

@media (min-width: 1024px) {
    .container { max-width: 1024px; }
}

@media (min-width: 1280px) {
    .container { max-width: 1280px; }
}

/* Flexbox */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-6 { gap: 1.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-4 > * + * { margin-top: 1rem; }

/* Positioning */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.z-50 { z-index: 50; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* Width/Height */
.w-full { width: 100%; }
.w-32 { width: 8rem; }
.h-4 { height: 1rem; }
.h-16 { height: 4rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.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-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.pt-24 { padding-top: 6rem; }
.pb-16 { padding-bottom: 4rem; }
.pl-8 { padding-left: 2rem; }
.pr-3 { padding-right: 0.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; }
.ml-7 { margin-left: 1.75rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Typography */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.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; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }

/* Colors - already defined in your CSS with better naming */
.text-white { color: #ffffff; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-900 { color: #111827; }
.text-red-500 { color: #ef4444; }
.text-green-700 { color: #15803d; }
.text-blue-600 { color: #2563eb; }
.text-blue-800 { color: #1e40af; }

.bg-gray-50 { background-color: #f9fafb; }
.bg-white { background-color: #ffffff; }
.bg-green-100 { background-color: #dcfce7; }

/* Borders */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-green-400 { border-color: #4ade80; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }

/* Effects */
.backdrop-blur-md {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.divide-y > * + * {
    border-top-width: 1px;
}

.divide-gray-200 > * + * {
    border-color: #e5e7eb;
}

/* Transitions */
.transition {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

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

/* Focus */
.focus\:ring-2:focus { box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5); }
.focus\:ring-blue-500:focus { box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5); }
.focus\:border-transparent:focus { border-color: transparent; }

/* Hover */
.hover\:text-mint:hover { color: var(--ut-mint-green); }
.hover\:text-sky:hover { color: var(--ut-sky-blue); }
.hover\:text-gray-600:hover { color: #4b5563; }
.hover\:text-blue-800:hover { color: #1e40af; }
.hover\:bg-gray-50:hover { background-color: #f9fafb; }

/* Cursor */
.cursor-pointer { cursor: pointer; }

/* Transform */
.transform { transform: translateX(0); }
.-translate-y-1\/2 { transform: translateY(-50%); }

/* List */
.list-disc { list-style-type: disc; }
.list-inside { list-style-position: inside; }

/* Overflow */
.overflow-hidden { overflow: hidden; }

/* Font Family Helper */
.font-inter { font-family: 'Inter', sans-serif; }