/* Science Live - Improved UX Styles */

:root {
    --primary-color: #051d40;        /* Deep navy blue */
    --secondary-color: #be2e78;      /* Vibrant pink/magenta */
    --accent-blue: #4a9eff;          /* Light blue for accents */
    --primary-light: #2a5788;
    --primary-dark: #0f2548;
    --secondary-light: #d456a0;
    --secondary-dark: #8f1e58;
    --text-light: #ffffff;
    --text-dark: #193967;
    --text-muted: #6c757d;
    --bg-light: #e3ebf2;
    --light-blue: #84c3ff;
    --light-pink: #ffecf4;
    --light-green: #a5cd3a;
    --bg-green: #f3ffd4;
    --bg-dark: var(--primary-color);

    --success: var(--primary-light);
    --warning: #f59e0b;
    --error: #ef4444;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--primary-color);
    min-height: 100vh;
    color: var(--gray-900);
    line-height: 1.6;
    padding-top: 50px;
}

.container {
    max-width: 1200px !important;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 2rem;
    color: white;
}

.logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Main Card */
.main-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

/* Progress Steps */
.progress-container {
    margin-bottom: 2.5rem;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2rem;
}

.progress-line {
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--gray-200);
    z-index: 1;
}

.progress-line-fill {
    height: 100%;
    background: var(--secondary-color);
    width: 0%;
    transition: width 0.5s ease;
}

.step {
    background: white;
    border: 3px solid var(--gray-200);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step.active {
    border-color: var(--primary-color);
    background: var(--secondary-color);
    color: white;
}

.step.completed {
    border-color: var(--success);
    background: var(--success);
    color: white;
}

.step-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.step-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    text-align: center;
    flex: 1;
}

.step-label.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Section Styling */
.section {
    margin-bottom: 2rem;
    display: none;
}

.section.active {
    display: block;
    animation: fadeInSlide 0.4s ease;
}

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

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.section-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Research Input */
.research-input {
    margin-bottom: 1rem;
}

.input-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.nanopub-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
}

.nanopub-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(11, 58, 103, 0.1);
}

.nanopub-input.valid {
    border-color: var(--success);
}

.add-source-btn {
    background: none;
    border: 2px dashed var(--gray-300);
    color: var(--gray-600);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.add-source-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Content Format Selection */
.format-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.format-option {
    position: relative;
    cursor: pointer;
}

.format-option input {
    position: absolute;
    opacity: 0;
}

.format-card {
    padding: 1.5rem;
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    transition: all 0.3s ease;
    background: var(--gray-50);
}

.format-option:hover .format-card {
    border-color: var(--primary-color);
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.format-option input:checked + .format-card {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 4px 12px rgba(11, 58, 103, 0.15);
}

.format-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.format-icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.dark-blue-icon {
  color: var(--primary-color);
}

.format-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
}

.format-description {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
    flex: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: white;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

/* Status Messages */
.status-container {
    margin: 1rem 0;
}

.status-message {
    padding: 1rem;
    border-radius: 12px;
    font-weight: 500;
    text-align: center;
}

.status-loading {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.status-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    border-top-color: #2563eb;
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

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

/* Results */
.results-section {
    display: none;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.results-header {
    text-align: center;
    margin-bottom: 2rem;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 24px;
}

.content-preview {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    white-space: pre-line;
    line-height: 1.6;
}

/* Examples */
.examples {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: var(--primary-color);
    border-radius: 12px;
    border: none;
}

.examples-label {
    color: white;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.example-links {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.example-link {
    padding: 0.75rem 1.25rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.example-link:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem 0.5rem;
    }

    .main-card {
        padding: 1.5rem;
    }

    .title {
        font-size: 2rem;
    }

    .progress-steps {
        margin-bottom: 1rem;
    }

    .step-labels {
        font-size: 0.75rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .example-links {
        flex-direction: column;
        align-items: center;
    }

    .example-link {
        width: 100%;
        max-width: 200px;
    }
}
.icon-wrapper.ai-icon-boxed {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* SVG styling */
.icon-wrapper.ai-icon-boxed svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

/* Set the fill color to white (not blue) */
.icon-wrapper.ai-icon-boxed svg circle,
.icon-wrapper.ai-icon-boxed svg path {
    fill: white;
}

/* Path stroke color */
.icon-wrapper.ai-icon-boxed svg path {
    stroke: white;
}

/* Hover effect - Background changes to pink */
.icon-wrapper.ai-icon-boxed:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}


        


        /* Navigation Bar Styles */
        .navbar {
    top: 50px;
            background: white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            position: -webkit-sticky;
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem 2rem;
            display: -webkit-flex;
            display: flex;
            -webkit-justify-content: space-between;
            justify-content: space-between;
            -webkit-align-items: center;
            align-items: center;
        }
        
        .nav-brand {
            display: -webkit-flex;
            display: flex;
            -webkit-align-items: center;
            align-items: center;
        }
        
        .brand-link {
            display: -webkit-flex;
            display: flex;
            -webkit-align-items: center;
            align-items: center;
            text-decoration: none;
            color: var(--primary-color);
        }
        
        .nav-logo {
            width: 40px;
            height: 40px;
            margin-right: 0.75rem;
            border-radius: 8px;
        }
        
        .brand-text {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--primary-color) !important; 
        }
        
        .brand-live {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--secondary-color) !important; 
        }
        
        .nav-menu {
            display: -webkit-flex;
            display: flex;
            -webkit-align-items: center;
            align-items: center;
        }
        
        .nav-menu > * {
            margin-left: 2rem;
        }
        
        .nav-menu > *:first-child {
            margin-left: 0;
        }
        
        .nav-link {
            color: var(--gray-700);
            text-decoration: none;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            -webkit-transition: all 0.3s ease;
            transition: all 0.3s ease;
            display: inline-block;
        }
        
        .nav-link:hover {
            background: var(--gray-100);
            color: var(--primary-color);
        }
        
        /* Dropdown Styles */
        .nav-dropdown {
            position: relative;
            display: inline-block;
        }
        
        .dropdown-toggle {
            display: -webkit-inline-flex;
            display: inline-flex;
            -webkit-align-items: center;
            align-items: center;
            background: none;
            border: none;
            cursor: pointer;
            font-size: 1rem;
            font-family: inherit;
            color: var(--gray-700);
            text-decoration: none;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            -webkit-transition: all 0.3s ease;
            transition: all 0.3s ease;
        }
        
        .dropdown-toggle > svg {
            margin-left: 0.5rem;
        }
        
        .dropdown-toggle:hover {
            background: var(--gray-100);
            color: var(--primary-color);
        }
        
        .dropdown-arrow {
            width: 20px;
            height: 20px;
            -webkit-transition: -webkit-transform 0.3s ease;
            transition: transform 0.3s ease;
        }
        
        .nav-dropdown:hover .dropdown-arrow {
            -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
        }
        
        .dropdown-content {
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            min-width: 250px;
            box-shadow: 0 8px 16px rgba(0,0,0,0.1);
            border-radius: 12px;
            padding: 0.5rem;
            margin-top: 0;  /* Removed gap */
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
            -webkit-transition: all 0.3s ease;
            transition: all 0.3s ease;
            z-index: 1000;  /* Ensure it's above other elements */
        }
        
        /* Add a invisible bridge to maintain hover */
        .nav-dropdown:before {
            content: "";
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            height: 20px;  /* Creates invisible bridge */
            background: transparent;
        }
        
        .nav-dropdown:hover .dropdown-content {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            -webkit-transform: translateY(0);
            transform: translateY(0);
        }
        
        .dropdown-item {
            display: block;
            padding: 0.75rem 1rem;
            color: var(--gray-700);
            text-decoration: none;
            border-radius: 8px;
            -webkit-transition: all 0.3s ease;
            transition: all 0.3s ease;
            white-space: nowrap;  /* Prevent text wrapping */
        }
        
        .dropdown-item:hover {
            background: var(--gray-100);
            color: var(--primary-color);
        }
        
        /* ORCID Button */
        .nav-auth {
            display: inline-block;
        }
        
        .btn-orcid {
            display: -webkit-inline-flex;
            display: inline-flex;
            -webkit-align-items: center;
            align-items: center;
            padding: 0.75rem 1.25rem;
            background: #A6CE39;
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            -webkit-transition: all 0.3s ease;
            transition: all 0.3s ease;
        }
        
        .btn-orcid > svg {
            margin-right: 0.5rem;
        }
        
        .btn-orcid:hover {
            background: #94c229;
            -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(166, 206, 57, 0.3);
        }
        
        .orcid-icon {
            width: 20px;
            height: 20px;
        }
        
        /* Updated Header Styles */
        .header {
            text-align: center;
            margin-bottom: 3rem;
            color: white;
            padding-top: 2rem;
        }
        
        .header-description {
            max-width: 800px;
            margin: 1.5rem auto 0;
            background: rgba(255, 255, 255, 0.1);
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            padding: 1.5rem 2rem;
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        /* Safari backdrop-filter fallback */
        @supports not (backdrop-filter: blur(10px)) {
            .header-description {
                background: rgba(255, 255, 255, 0.15);
            }
        }
        
        .header-description p {
            color: rgba(255, 255, 255, 0.95);
            line-height: 1.7;
            font-size: 1.05rem;
            margin: 0;
        }
        
        /* Mobile Responsive Navigation */
        @media (max-width: 768px) {
            .nav-container {
                flex-direction: column;
                gap: 1rem;
            }
            
            .nav-menu {
                flex-direction: column;
                width: 100%;
                gap: 0.5rem;
            }
            
            .nav-dropdown {
                width: 100%;
            }
            
            .dropdown-content {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                box-shadow: none;
                background: var(--gray-100);
                margin-top: 0;
            }
            
            .btn-orcid {
                width: 100%;
                justify-content: center;
            }
        }

        /* Add subtle background pattern */
        .header::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                radial-gradient(circle at 20% 50%, rgba(190, 46, 120, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(74, 158, 255, 0.1) 0%, transparent 50%);
            pointer-events: none;
        }
        
        .header-content {
            position: relative;
            z-index: 1;
            max-width: 900px;
            margin: 0 auto;
        }
        
        .badge {
            display: inline-block;
            background: rgba(74, 158, 255, 0.2);
            color: #ffffff;
            padding: 0.5rem 1.25rem;
            border-radius: 20px;
            font-size: 0.875rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            border: 1px solid rgba(74, 158, 255, 0.3);
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }
        
        .title {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 1rem;
            color: white;
            letter-spacing: -1px;
        }
        
        .title-highlight {
            background: linear-gradient(135deg, #4a9eff 0%, #be2e78 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            display: inline-block;
        }
        
        .subtitle {
            font-size: 1.5rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 3rem;
            font-weight: 400;
            line-height: 1.6;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .value-props {
            display: -webkit-flex;
            display: flex;
            -webkit-justify-content: center;
            justify-content: center;
            -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
            margin-bottom: 3rem;
        }
        
        .value-item {
            display: -webkit-flex;
            display: flex;
            -webkit-align-items: center;
            align-items: center;
            margin: 0 1.5rem 1rem;
            color: rgba(255, 255, 255, 0.95);
            font-weight: 500;
            font-size: 1.05rem;
        }
        
        .value-icon {
            font-size: 1.5rem;
            margin-right: 0.5rem;
        }
        
        .cta-section {
            margin-top: 2rem;
        }
        
        .cta-primary {
            display: -webkit-inline-flex;
            display: inline-flex;
            -webkit-align-items: center;
            align-items: center;
            padding: 1.25rem 2.5rem;
            background: linear-gradient(135deg, #be2e78 0%, #d456a0 100%);
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 1.125rem;
            font-weight: 600;
            cursor: pointer;
            -webkit-transition: all 0.3s ease;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(190, 46, 120, 0.3);
            text-decoration: none;
        }
        
        .cta-primary:hover {
            -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
            box-shadow: 0 15px 40px rgba(190, 46, 120, 0.4);
            background: linear-gradient(135deg, #d456a0 0%, #be2e78 100%);
        }
        
        .cta-arrow {
            display: inline-block;
            margin-left: 0.5rem;
            font-size: 1.25rem;
            -webkit-transition: -webkit-transform 0.3s ease;
            transition: transform 0.3s ease;
        }
        
        .cta-primary:hover .cta-arrow {
            -webkit-transform: translateX(4px);
            transform: translateX(4px);
        }

        .trusted-by {
            margin-top: 1.5rem;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.875rem;
            font-weight: 500;
            letter-spacing: 0.5px;
        }
        
        .header-description {
            max-width: 800px;
            margin: 1.5rem auto 0;
            background: rgba(255, 255, 255, 0.1);
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            padding: 1.5rem 2rem;
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        /* Safari backdrop-filter fallback */
        @supports not (backdrop-filter: blur(10px)) {
            .header-description {
                background: rgba(255, 255, 255, 0.15);
            }
        }
        
        .header-description p {
            color: rgba(255, 255, 255, 0.95);
            line-height: 1.7;
            font-size: 1.05rem;
            margin: 0;
        }
        
        /* Mobile adjustments */
        @media (max-width: 768px) {
            .title {
                font-size: 2.5rem;
            }
            
            .subtitle {
                font-size: 1.25rem;
            }
            
            .value-props {
                -webkit-flex-direction: column;
                flex-direction: column;
                -webkit-align-items: center;
                align-items: center;
            }
            
            .value-item {
                margin: 0.5rem 0;
            }
            
            .cta-primary {
                padding: 1rem 2rem;
                font-size: 1rem;
            }
        }
        
        /* Mobile Responsive Navigation */
        @media (max-width: 768px) {
            .nav-container {
                flex-direction: column;
                gap: 1rem;
            }
            
            .nav-menu {
                flex-direction: column;
                width: 100%;
                gap: 0.5rem;
            }
            
            .nav-dropdown {
                width: 100%;
            }
            
            .dropdown-content {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                box-shadow: none;
                background: var(--gray-100);
                margin-top: 0;
            }
            
            .btn-orcid {
                width: 100%;
                justify-content: center;
            }
        }


.chat-send-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* space between icon and text */
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  background-color: var(--secondary-color) !important; /* pink blue */
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.chat-send-btn .send-icon i {
  font-size: 16px;
}

/* Hover and focus states */
.chat-send-btn:hover,
.chat-send-btn:focus {
  background-color: var(--primary-color) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Optional: disabled state */
.chat-send-btn:disabled {
  background-color: #cccccc;
  color: #666666;
  cursor: not-allowed;
}

/* Container for each message */
.chat-message {
  display: flex;
  align-items: flex-start;
  margin: 8px 0;
  max-width: 70%;
  padding: 8px 12px;
  border-radius: 12px;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

/* User messages aligned right */
.user-message {
  background-color: var(--secondary-dark); /* pink */
  color: var(--secondary-color); /* dark pink text */
  margin-left: auto; /* push to right */
  flex-direction: row-reverse; /* avatar on right */
}

/* Bot messages aligned left */
.bot-message {
  background-color: var(--gray-50); /* light gray */
  color: var(--primary-color); /* dark gray text */
  margin-right: auto; /* push to left */
  flex-direction: row; /* avatar on left */
}

/* Avatar style */
.message-avatar {
  width: 36px;
  height: 36px;
  margin: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* Message text */
.message-content p {
  margin: 0;
  line-height: 1.4;
}
