/* OdontoFlow AI - Premium Design System
   Inspired by Stripe's clean, organic aesthetic */

/* =====================
   CSS Variables
   ===================== */
:root {
    /* Primary - Teal */
    --primary-50: #f0fdfa;
    --primary-100: #ccfbf1;
    --primary-200: #99f6e4;
    --primary-300: #5eead4;
    --primary-400: #2dd4bf;
    --primary-500: #14b8a6;
    --primary-600: #0d9488;
    --primary-700: #0f766e;
    --primary-800: #115e59;
    --primary-900: #134e4a;

    /* Neutral - Warmer grays for organic feel */
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;

    /* Semantic */
    --success: #22c55e;
    --warning: #eab308;
    --error: #ef4444;
    --info: #0ea5e9;

    /* Premium Shadows - Stripe-like soft shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06), 0 4px 8px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.1), 0 12px 24px rgba(0, 0, 0, 0.05);

    /* Colored shadows for depth */
    --shadow-primary: 0 4px 14px rgba(20, 184, 166, 0.25);
    --shadow-primary-lg: 0 8px 24px rgba(20, 184, 166, 0.3);

    /* Border Radius - More generous for organic feel */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
}

/* =====================
   Base Styles
   ===================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--gray-50);
    color: var(--gray-900);
    line-height: 1.6;
    letter-spacing: -0.011em;
}

/* Links - Remove underline globally */
a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* List reset */
ul,
ol {
    list-style: none;
}

/* Image reset */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Button reset */
button {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Input reset */
input,
textarea,
select {
    font-family: inherit;
}

/* =====================
   Typography - Stripe-like
   ===================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--gray-900);
    margin: 0;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.125rem;
}

p {
    color: var(--gray-600);
    margin: 0;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* =====================
   Sidebar - Premium Dark
   ===================== */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 260px;
    background: linear-gradient(180deg, #1a1a2e 0%, #16162a 100%);
    color: white;
    z-index: 40;
    padding: var(--space-6);
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
}

.sidebar-link.active {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    box-shadow: var(--shadow-primary);
}

/* =====================
   Cards - Premium with soft shadows
   ===================== */
.card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow);
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-sm {
    padding: var(--space-6);
    border-radius: var(--radius-xl);
}

.card-flat {
    background: var(--gray-50);
    box-shadow: none;
}

/* =====================
   Buttons - Polished
   ===================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    transform: translateY(-1px);
    box-shadow: var(--shadow-primary-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    background: white;
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--gray-50);
    box-shadow: var(--shadow);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: transparent;
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-ghost:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

/* =====================
   Forms - Refined
   ===================== */
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: var(--space-2);
}

.form-input {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: white;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--gray-900);
    box-shadow: var(--shadow-xs), inset 0 0 0 1px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--primary-500), 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.form-input::placeholder {
    color: var(--gray-400);
}

/* =====================
   Badges - Premium Pills
   ===================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) var(--space-3);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    letter-spacing: 0.01em;
}

.badge-approved {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.15));
    color: #15803d;
}

.badge-pending {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.1), rgba(234, 179, 8, 0.15));
    color: #a16207;
}

.badge-rejected {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.15));
    color: #b91c1c;
}

.badge-info {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.15));
    color: #0369a1;
}

/* =====================
   Tables - Clean
   ===================== */
.table-container {
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow);
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: var(--space-4) var(--space-6);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    background: var(--gray-50);
}

td {
    padding: var(--space-5) var(--space-6);
    font-size: 0.9375rem;
    color: var(--gray-700);
}

tr {
    transition: background 0.15s ease;
}

tbody tr:hover {
    background: var(--gray-50);
}

tbody tr:not(:last-child) td {
    border-bottom: 1px solid var(--gray-100);
}

/* =====================
   Metrics Cards - Dashboard
   ===================== */
.metric-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
    letter-spacing: -0.03em;
}

.metric-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-500);
    margin-bottom: var(--space-2);
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-icon.primary {
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    color: var(--primary-600);
}

.metric-icon.blue {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #2563eb;
}

.metric-icon.green {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #16a34a;
}

.metric-icon.purple {
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
    color: #9333ea;
}

/* =====================
   Chat Interface
   ===================== */
.chat-bubble {
    max-width: 70%;
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-xl);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.chat-bubble.inbound {
    background: white;
    color: var(--gray-900);
    box-shadow: var(--shadow-sm);
    border-bottom-left-radius: var(--radius-sm);
}

.chat-bubble.outbound {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    box-shadow: var(--shadow-primary);
    border-bottom-right-radius: var(--radius-sm);
}

.chat-bubble.ai {
    position: relative;
}

.chat-bubble.ai::after {
    content: '✨ AI';
    position: absolute;
    bottom: -20px;
    right: 0;
    font-size: 0.6875rem;
    color: var(--gray-400);
    font-weight: 500;
}

/* =====================
   Utilities
   ===================== */
.ml-64 {
    margin-left: 260px;
}

.p-8 {
    padding: var(--space-8);
}

.min-h-screen {
    min-height: 100vh;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.3s ease-out;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* HTMX indicators */
.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator {
    display: inline-flex;
}

/* =====================
   Scrollbar - Minimal
   ===================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* =====================
   Focus States - Accessible
   ===================== */
:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

/* =====================
   Utility Classes (Tailwind-like)
   ===================== */

/* Display */
.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.grid {
    display: grid;
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

/* Flex utilities */
.flex-1 {
    flex: 1 1 0%;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.items-end {
    align-items: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.flex-wrap {
    flex-wrap: wrap;
}

/* Grid */
.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lg\:col-span-2 {
    grid-column: span 2 / span 2;
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lg\:col-span-2 {
        grid-column: span 2 / span 2;
    }
}

/* Gap */
.gap-1 {
    gap: var(--space-1);
}

.gap-2 {
    gap: var(--space-2);
}

.gap-3 {
    gap: var(--space-3);
}

.gap-4 {
    gap: var(--space-4);
}

.gap-5 {
    gap: var(--space-5);
}

.gap-6 {
    gap: var(--space-6);
}

.gap-8 {
    gap: var(--space-8);
}

/* Width & Height */
.w-2 {
    width: 8px;
}

.w-5 {
    width: 20px;
}

.w-6 {
    width: 24px;
}

.w-8 {
    width: 32px;
}

.w-10 {
    width: 40px;
}

.w-12 {
    width: 48px;
}

.w-16 {
    width: 64px;
}

.w-full {
    width: 100%;
}

.w-auto {
    width: auto;
}

.h-2 {
    height: 8px;
}

.h-5 {
    height: 20px;
}

.h-6 {
    height: 24px;
}

.h-8 {
    height: 32px;
}

.h-10 {
    height: 40px;
}

.h-12 {
    height: 48px;
}

.h-16 {
    height: 64px;
}

.h-full {
    height: 100%;
}

.h-auto {
    height: auto;
}

/* Min/Max width */
.min-w-0 {
    min-width: 0;
}

.max-w-md {
    max-width: 28rem;
}

/* Padding */
.p-1 {
    padding: var(--space-1);
}

.p-2 {
    padding: var(--space-2);
}

.p-3 {
    padding: var(--space-3);
}

.p-4 {
    padding: var(--space-4);
}

.p-5 {
    padding: var(--space-5);
}

.p-6 {
    padding: var(--space-6);
}

.p-8 {
    padding: var(--space-8);
}

.p-10 {
    padding: var(--space-10);
}

.px-3 {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
}

.px-4 {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}

.px-6 {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
}

.py-1 {
    padding-top: var(--space-1);
    padding-bottom: var(--space-1);
}

.py-2 {
    padding-top: var(--space-2);
    padding-bottom: var(--space-2);
}

.py-4 {
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
}

.py-8 {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
}

/* Margin */
.m-0 {
    margin: 0;
}

.mt-1 {
    margin-top: var(--space-1);
}

.mt-2 {
    margin-top: var(--space-2);
}

.mt-4 {
    margin-top: var(--space-4);
}

.mt-6 {
    margin-top: var(--space-6);
}

.mt-8 {
    margin-top: var(--space-8);
}

.mb-1 {
    margin-bottom: var(--space-1);
}

.mb-2 {
    margin-bottom: var(--space-2);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-6 {
    margin-bottom: var(--space-6);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.ml-2 {
    margin-left: var(--space-2);
}

.mr-2 {
    margin-right: var(--space-2);
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Spacing */
.space-y-1>*+* {
    margin-top: var(--space-1);
}

.space-y-2>*+* {
    margin-top: var(--space-2);
}

.space-y-3>*+* {
    margin-top: var(--space-3);
}

.space-y-4>*+* {
    margin-top: var(--space-4);
}

.space-x-2>*+* {
    margin-left: var(--space-2);
}

/* Text */
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.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;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Text Colors */
.text-white {
    color: white;
}

.text-gray-400 {
    color: var(--gray-400);
}

.text-gray-500 {
    color: var(--gray-500);
}

.text-gray-600 {
    color: var(--gray-600);
}

.text-gray-700 {
    color: var(--gray-700);
}

.text-gray-900 {
    color: var(--gray-900);
}

.text-green-600 {
    color: #16a34a;
}

.text-green-800 {
    color: #166534;
}

.text-teal-600 {
    color: var(--primary-600);
}

.text-blue-600 {
    color: #2563eb;
}

.text-purple-600 {
    color: #9333ea;
}

/* Background Colors */
.bg-white {
    background-color: white;
}

.bg-gray-50 {
    background-color: var(--gray-50);
}

.bg-gray-100 {
    background-color: var(--gray-100);
}

.bg-gray-700 {
    background-color: var(--gray-700);
}

.bg-green-100 {
    background-color: #dcfce7;
}

.bg-green-500 {
    background-color: #22c55e;
}

.bg-teal-100 {
    background-color: var(--primary-100);
}

.bg-blue-100 {
    background-color: #dbeafe;
}

.bg-purple-100 {
    background-color: #f3e8ff;
}

.bg-orange-100 {
    background-color: #ffedd5;
}

/* Border */
.border {
    border: 1px solid var(--gray-200);
}

.border-t {
    border-top: 1px solid var(--gray-200);
}

.border-l-4 {
    border-left: 4px solid;
}

.border-gray-700 {
    border-color: var(--gray-700);
}

.border-teal-500 {
    border-color: var(--primary-500);
}

/* Border Radius */
.rounded {
    border-radius: var(--radius-sm);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

.rounded-2xl {
    border-radius: var(--radius-2xl);
}

.rounded-full {
    border-radius: var(--radius-full);
}

/* Position */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.top-0 {
    top: 0;
}

.bottom-0 {
    bottom: 0;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

/* Z-index */
.z-10 {
    z-index: 10;
}

.z-40 {
    z-index: 40;
}

.z-50 {
    z-index: 50;
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

.overflow-auto {
    overflow: auto;
}

/* Cursor */
.cursor-pointer {
    cursor: pointer;
}

/* Transitions */
.transition-colors {
    transition: color 0.15s ease, background-color 0.15s ease;
}

.transition-all {
    transition: all 0.2s ease;
}

/* Hover states */
.hover\:bg-gray-50:hover {
    background-color: var(--gray-50);
}

.hover\:text-white:hover {
    color: white;
}

/* Animation */
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* SVG Fix - Ensure SVGs are properly sized */
svg {
    flex-shrink: 0;
}

.sidebar-link svg {
    width: 20px;
    height: 20px;
}

/* =====================
   Additional Utilities
   ===================== */

/* Gradient Backgrounds */
.bg-gradient-to-br {
    background: linear-gradient(to bottom right, var(--tw-gradient-from), var(--tw-gradient-to));
}

.from-teal-400 {
    --tw-gradient-from: #2dd4bf;
    --tw-gradient-to: #14b8a6;
}

.from-teal-500 {
    --tw-gradient-from: #14b8a6;
    --tw-gradient-to: #0d9488;
}

.from-blue-400 {
    --tw-gradient-from: #60a5fa;
    --tw-gradient-to: #3b82f6;
}

.from-blue-500 {
    --tw-gradient-from: #3b82f6;
    --tw-gradient-to: #2563eb;
}

.from-purple-400 {
    --tw-gradient-from: #c084fc;
    --tw-gradient-to: #a855f7;
}

.from-purple-500 {
    --tw-gradient-from: #a855f7;
    --tw-gradient-to: #9333ea;
}

.from-orange-400 {
    --tw-gradient-from: #fb923c;
    --tw-gradient-to: #f97316;
}

.from-orange-500 {
    --tw-gradient-from: #f97316;
    --tw-gradient-to: #ea580c;
}

.from-green-400 {
    --tw-gradient-from: #4ade80;
    --tw-gradient-to: #22c55e;
}

.from-green-500 {
    --tw-gradient-from: #22c55e;
    --tw-gradient-to: #16a34a;
}

.to-teal-600 {
    --tw-gradient-to: #0d9488;
}

.to-blue-600 {
    --tw-gradient-to: #2563eb;
}

.to-purple-600 {
    --tw-gradient-to: #9333ea;
}

.to-orange-600 {
    --tw-gradient-to: #ea580c;
}

.to-green-600 {
    --tw-gradient-to: #16a34a;
}

/* More Text Colors */
.text-teal-500 {
    color: #14b8a6;
}

.text-teal-700 {
    color: #0f766e;
}

.text-blue-500 {
    color: #3b82f6;
}

.text-blue-700 {
    color: #1d4ed8;
}

.text-purple-500 {
    color: #a855f7;
}

.text-purple-700 {
    color: #7c3aed;
}

.text-orange-500 {
    color: #f97316;
}

.text-orange-600 {
    color: #ea580c;
}

.text-red-500 {
    color: #ef4444;
}

.text-red-600 {
    color: #dc2626;
}

.text-yellow-500 {
    color: #eab308;
}

/* More Background Colors */
.bg-teal-50 {
    background-color: #f0fdfa;
}

.bg-teal-500 {
    background-color: #14b8a6;
}

.bg-blue-50 {
    background-color: #eff6ff;
}

.bg-blue-500 {
    background-color: #3b82f6;
}

.bg-purple-50 {
    background-color: #faf5ff;
}

.bg-purple-500 {
    background-color: #a855f7;
}

.bg-orange-50 {
    background-color: #fff7ed;
}

.bg-orange-500 {
    background-color: #f97316;
}

.bg-yellow-100 {
    background-color: #fef9c3;
}

.bg-yellow-500 {
    background-color: #eab308;
}

.bg-red-50 {
    background-color: #fef2f2;
}

.bg-red-100 {
    background-color: #fee2e2;
}

.bg-red-500 {
    background-color: #ef4444;
}

/* Shadows */
.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow {
    box-shadow: var(--shadow);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

/* Borders */
.border-r {
    border-right: 1px solid var(--gray-200);
}

.border-b {
    border-bottom: 1px solid var(--gray-200);
}

.border-gray-100 {
    border-color: var(--gray-100);
}

.border-gray-200 {
    border-color: var(--gray-200);
}

/* Width classes */
.w-80 {
    width: 320px;
}

.max-w-md {
    max-width: 448px;
}

.max-w-lg {
    max-width: 512px;
}

.max-w-xl {
    max-width: 576px;
}

/* No text decoration */
.no-underline {
    text-decoration: none !important;
}

/* Primary colors shorthand */
.bg-primary-50 {
    background-color: var(--primary-50);
}

.bg-primary-100 {
    background-color: var(--primary-100);
}

.bg-primary-500 {
    background-color: var(--primary-500);
}

.bg-primary-600 {
    background-color: var(--primary-600);
}

.text-primary-500 {
    color: var(--primary-500);
}

.text-primary-600 {
    color: var(--primary-600);
}

.text-primary-700 {
    color: var(--primary-700);
}

.border-primary-500 {
    border-color: var(--primary-500);
}

/* Translate utilities */
.-translate-y-1\/2 {
    transform: translateY(-50%);
}

/* Selection */
::selection {
    background-color: var(--primary-100);
    color: var(--primary-900);
}
/* Manually added missing classes for Chat Layout */
.h-screen {
    height: 100vh;
}

.overflow-y-auto {
    overflow-y: auto;
}

.z-10 {
    z-index: 10;
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.w-4 {
    width: 16px;
}

.h-4 {
    height: 16px;
}
