@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=PT+Sans:wght@400;700&display=swap');

/* AIOHM Booking Unified Design System Variables */
:root {
    --ohm-primary: #457d59;
    --ohm-primary-light: #7db38a;
    --ohm-primary-dark: #2d5439;
    --ohm-secondary: #7d9b77;
    --ohm-secondary-light: #a8c1a1;
    --ohm-secondary-dark: #5a7354;
    --ohm-dark: #272727;
    --ohm-light-accent: #cbddd1;
    --ohm-muted-accent: #7d9b76;
    --ohm-card-border: #457d59;
    --ohm-light-bg: #ebebeb;
    --ohm-dark-accent: #1f5014;
    --ohm-white: #fff;
    --aiohm-brand-color: #457d59;
    --ohm-primary-purple: #5a9a6b;
    --ohm-gray-50: #f9fafb;
    --ohm-gray-100: #f3f4f6;
    --ohm-gray-200: #e5e7eb;
    --ohm-gray-300: #d1d5db;
    --ohm-gray-400: #9ca3af;
    --ohm-gray-500: #6b7280;
    --ohm-gray-600: #4b5563;
    --ohm-gray-700: #374151;
    --ohm-gray-800: #1f2937;
    --ohm-gray-900: #111827;
    --ohm-font-primary: montserrat, montserrat alternates, sans-serif;
    --ohm-font-secondary: pt sans, sans-serif;
    --ohm-font-mono: monaco, consolas, "Liberation Mono", "Courier New", monospace;
    --ohm-font-size-xs: 0.75rem;
    --ohm-font-size-sm: 0.875rem;
    --ohm-font-size-base: 1rem;
    --ohm-font-size-lg: 1.125rem;
    --ohm-font-size-xl: 1.25rem;
    --ohm-font-size-2xl: 1.5rem;
    --ohm-font-size-3xl: 1.875rem;
    --ohm-font-weight-light: 300;
    --ohm-font-weight-normal: 400;
    --ohm-font-weight-medium: 500;
    --ohm-font-weight-semibold: 600;
    --ohm-font-weight-bold: 700;
    --ohm-line-height-tight: 1.25;
    --ohm-line-height-snug: 1.375;
    --ohm-line-height-normal: 1.5;
    --ohm-line-height-relaxed: 1.625;
    --ohm-line-height-loose: 2;
    --status-pending: #d63384;
    --status-paid: #457d58;
    --status-cancelled: #7d9b76;
    --status-expired: #fd7e14;
    --status-failed: #dc3545;
    --status-refunded: #6610f2;
    --alert-success: #d4edda;
    --alert-info: #d1ecf1;
    --alert-warning: #fff3cd;
    --alert-danger: #f8d7da;
    --alert-success-text: #155724;
    --alert-info-text: #0c5460;
    --alert-warning-text: #856404;
    --alert-danger-text: #721c24;
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --border-radius-md: 6px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --border-radius-2xl: 24px;
    --border-radius-full: 9999px;
    --spacing-0: 0;
    --spacing-px: 1px;
    --spacing-0_5: 0.125rem;
    --spacing-1: 0.25rem;
    --spacing-1_5: 0.375rem;
    --spacing-2: 0.5rem;
    --spacing-2_5: 0.625rem;
    --spacing-3: 0.75rem;
    --spacing-3_5: 0.875rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-7: 1.75rem;
    --spacing-8: 2rem;
    --spacing-9: 2.25rem;
    --spacing-10: 2.5rem;
    --spacing-11: 2.75rem;
    --spacing-12: 3rem;
    --spacing-14: 3.5rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;
    --spacing-28: 7rem;
    --spacing-32: 8rem;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 5%);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 10%), 0 1px 2px 0 rgb(0 0 0 / 6%);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -1px rgb(0 0 0 / 6%);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -2px rgb(0 0 0 / 5%);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 10%), 0 10px 10px -5px rgb(0 0 0 / 4%);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 25%);
    --transition-all: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-colors: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1), border-color 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-opacity: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-shadow: box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-transform: transform 150ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Customizable text color */
    --ohm-text-color: #1a1a1a;

    /* Button variables */
    --btn-font-size: 0.875rem;
    --btn-font-size-sm: 0.75rem;
    --btn-font-size-lg: 1rem;
    --btn-font-weight: 500;
    --btn-line-height: 1.25;
    --btn-padding-x: 1rem;
    --btn-padding-y: 0.625rem;
    --btn-padding-x-sm: 0.75rem;
    --btn-padding-y-sm: 0.5rem;
    --btn-padding-x-lg: 1.25rem;
    --btn-padding-y-lg: 0.75rem;
    --btn-border-radius: 0.375rem;

    /* Input field variables */
    --input-font-size: 0.875rem;
    --input-line-height: 1.5;
    --input-padding-x: 0.75rem;
    --input-padding-y: 0.5rem;
    --input-border-width: 1px;
    --input-border-color: #d1d5db;
    --input-border-radius: 0.375rem;
    --input-bg: #fff;
    --input-text-color: #374151;
    --input-border-color-focus: #457d59;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--ohm-font-primary);
    font-size: var(--ohm-font-size-base);
    line-height: var(--ohm-line-height-normal);
    color: var(--ohm-text-color);
    background-color: var(--ohm-light-bg);
    margin: 0;
    padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ohm-font-primary);
    font-weight: var(--ohm-font-weight-bold);
    line-height: var(--ohm-line-height-tight);
    color: var(--ohm-dark);
}

h1 { font-size: var(--ohm-font-size-3xl); }
h2 { font-size: var(--ohm-font-size-2xl); }
h3 { font-size: var(--ohm-font-size-xl); }
h4 { font-size: var(--ohm-font-size-lg); }
h5 { font-size: var(--ohm-font-size-base); }
h6 { font-size: var(--ohm-font-size-sm); }

p {
    margin: 0 0 var(--spacing-4) 0;
    line-height: var(--ohm-line-height-relaxed);
}

/* Links */
a {
    color: var(--ohm-primary);
    text-decoration: none;
    transition: var(--transition-colors);
}

a:hover {
    color: var(--ohm-primary-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--btn-padding-y) var(--btn-padding-x);
    font-size: var(--btn-font-size);
    font-weight: var(--btn-font-weight);
    line-height: var(--btn-line-height);
    border-radius: var(--btn-border-radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-all);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--ohm-primary);
    color: var(--ohm-white);
    border-color: var(--ohm-primary);
}

.btn-primary:hover {
    background-color: var(--ohm-primary-dark);
    border-color: var(--ohm-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--ohm-white);
    color: var(--ohm-primary);
    border-color: var(--ohm-primary);
}

.btn-secondary:hover {
    background-color: var(--ohm-primary);
    color: var(--ohm-white);
}

/* Form Elements */
input, textarea, select {
    font-family: var(--ohm-font-secondary);
    font-size: var(--input-font-size);
    line-height: var(--input-line-height);
    padding: var(--input-padding-y) var(--input-padding-x);
    border: var(--input-border-width) solid var(--input-border-color);
    border-radius: var(--input-border-radius);
    background-color: var(--input-bg);
    color: var(--input-text-color);
    transition: var(--transition-colors);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--input-border-color-focus);
    box-shadow: 0 0 0 3px rgba(69, 125, 89, 0.1);
}

/* Cards */
.card {
    background-color: var(--ohm-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: var(--spacing-6);
    border: 1px solid var(--ohm-gray-200);
}

.card-header {
    border-bottom: 1px solid var(--ohm-gray-200);
    padding-bottom: var(--spacing-4);
    margin-bottom: var(--spacing-4);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: var(--spacing-1) var(--spacing-2);
    border-radius: var(--border-radius-sm);
    font-size: var(--ohm-font-size-xs);
    font-weight: var(--ohm-font-weight-semibold);
    text-transform: uppercase;
}

.status-pending { background-color: rgba(214, 51, 132, 0.1); color: var(--status-pending); }
.status-paid { background-color: rgba(69, 125, 88, 0.1); color: var(--status-paid); }
.status-cancelled { background-color: rgba(125, 155, 118, 0.1); color: var(--status-cancelled); }
.status-expired { background-color: rgba(253, 126, 20, 0.1); color: var(--status-expired); }
.status-failed { background-color: rgba(220, 53, 69, 0.1); color: var(--status-failed); }
.status-refunded { background-color: rgba(102, 16, 242, 0.1); color: var(--status-refunded); }

/* Alert Messages */
.alert {
    padding: var(--spacing-4);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-4);
}

.alert-success {
    background-color: var(--alert-success);
    color: var(--alert-success-text);
    border: 1px solid rgba(21, 87, 36, 0.2);
}

.alert-info {
    background-color: var(--alert-info);
    color: var(--alert-info-text);
    border: 1px solid rgba(12, 84, 96, 0.2);
}

.alert-warning {
    background-color: var(--alert-warning);
    color: var(--alert-warning-text);
    border: 1px solid rgba(133, 100, 4, 0.2);
}

.alert-danger {
    background-color: var(--alert-danger);
    color: var(--alert-danger-text);
    border: 1px solid rgba(114, 28, 36, 0.2);
}

/* Utility Classes */
.text-primary { color: var(--ohm-primary); }
.text-secondary { color: var(--ohm-secondary); }
.text-muted { color: var(--ohm-gray-500); }
.text-white { color: var(--ohm-white); }

.bg-primary { background-color: var(--ohm-primary); }
.bg-secondary { background-color: var(--ohm-secondary); }
.bg-light { background-color: var(--ohm-light-bg); }
.bg-white { background-color: var(--ohm-white); }

.border-primary { border-color: var(--ohm-primary); }
.border-secondary { border-color: var(--ohm-secondary); }

.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); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* Spacing Utilities */
.m-0 { margin: var(--spacing-0); }
.m-1 { margin: var(--spacing-1); }
.m-2 { margin: var(--spacing-2); }
.m-3 { margin: var(--spacing-3); }
.m-4 { margin: var(--spacing-4); }
.m-5 { margin: var(--spacing-5); }
.m-6 { margin: var(--spacing-6); }

.p-0 { padding: var(--spacing-0); }
.p-1 { padding: var(--spacing-1); }
.p-2 { padding: var(--spacing-2); }
.p-3 { padding: var(--spacing-3); }
.p-4 { padding: var(--spacing-4); }
.p-5 { padding: var(--spacing-5); }
.p-6 { padding: var(--spacing-6); }

/* Flex Utilities */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.space-x-2 > * + * { margin-left: var(--spacing-2); }
.space-x-4 > * + * { margin-left: var(--spacing-4); }

/* Grid Utilities */
.grid { display: 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)); }
.gap-4 { gap: var(--spacing-4); }
.gap-6 { gap: var(--spacing-6); }

/* Responsive Design */
@media (max-width: 768px) {
    .grid-cols-2 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .grid-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-cols-4 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

    h1 { font-size: var(--ohm-font-size-2xl); }
    h2 { font-size: var(--ohm-font-size-xl); }
    h3 { font-size: var(--ohm-font-size-lg); }
}

/* Knowledge Base Styles */
:root {
    --aiohm-primary: #193F10;
    --aiohm-secondary: #6B7280;
    --aiohm-success: #10B981;
    --aiohm-attention: #ffb923;
    --aiohm-bg: #f0f4f8;
    --aiohm-light-bg: #ebebeb;
}

.bg-aiohm-primary { background-color: var(--aiohm-primary) !important; }
.text-aiohm-primary { color: var(--aiohm-primary) !important; }
.text-aiohm-attention { color: var(--aiohm-attention) !important; }
.bg-aiohm-success { background-color: var(--aiohm-success) !important; }
.text-aiohm-success { color: var(--aiohm-success) !important; }

.article-content { max-width: 800px; margin: 0 auto; }
.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--aiohm-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 16px;
    flex-shrink: 0;
}
.key-takeaways {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 20px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
}
.expert-insight {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 20px;
    margin: 24px 0;
    border-radius: 8px;
    font-style: italic;
    color: #475569;
}

/* Knowledge Base Search and Navigation */
.search-container { max-width: 600px; margin: 0 auto 40px; }
.search-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}
.search-input:focus {
    outline: none;
    border-color: var(--aiohm-primary);
    box-shadow: 0 0 0 3px rgba(25, 63, 16, 0.1);
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

/* Line clamp utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Prose/Article content styling */
.prose {
    color: #374151;
}

.prose h1, .prose h2, .prose h3, .prose h4 {
    color: #111827;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 0.75em;
    line-height: 1.25;
}

.prose h1 { font-size: 2.25rem; margin-top: 0; }
.prose h2 { font-size: 1.875rem; border-bottom: 1px solid #e5e7eb; padding-bottom: 0.5rem; }
.prose h3 { font-size: 1.5rem; }
.prose h4 { font-size: 1.25rem; }

.prose p { margin: 1.25em 0; line-height: 1.7; }

.prose a { color: #457d59; text-decoration: underline; font-weight: 500; }
.prose a:hover { color: #2d5439; }

.prose ul, .prose ol { margin: 1.25em 0; padding-left: 1.5em; }
.prose li { margin: 0.5em 0; }

.prose blockquote {
    border-left: 4px solid #457d59;
    padding-left: 1rem;
    margin: 1.5em 0;
    font-style: italic;
    color: #6b7280;
    background-color: #f9fafb;
    padding: 1rem 1rem 1rem 2rem;
    border-radius: 0.5rem;
}

.prose code {
    background-color: #f3f4f6;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    color: #457d59;
    font-weight: 600;
}

.prose pre {
    background-color: #1f2937;
    color: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5em 0;
}

.prose pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
    font-weight: 400;
}

.prose img {
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 1.5em 0;
}

