/**
 * Lmarket Live Chat Widget Styles
 * Modern, responsive design with animations
 */

/* Base Widget Styles */
.lmarket-chat-widget {
    position: fixed;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.lmarket-chat-widget a,
.lmarket-chat-widget a:visited {
    color: #2563eb;
}

.lmarket-chat-widget a:hover,
.lmarket-chat-widget a:focus {
    color: #1d4ed8;
}

#lmarket-notification-toggle.enabled {
    color: #fbbf24;
}


/* Position Classes */
.lmarket-chat-bottom-right {
    bottom: 20px;
    right: 20px;
}

.lmarket-chat-bottom-left {
    bottom: 20px;
    left: 20px;
}

.lmarket-chat-top-right {
    top: 20px;
    right: 20px;
}

.lmarket-chat-top-left {
    top: 20px;
    left: 20px;
}

/* Chat Toggle Button */
.lmarket-chat-toggle {
    width: 60px;
    height: 60px;
   background: linear-gradient(135deg, #1E50BC 0%, #1987DF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    color: white;
    position: relative;
    overflow: hidden;
}

.lmarket-chat-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.lmarket-chat-toggle.active {
    background: linear-gradient(135deg, #1987DF 0%, #1E50BC 100%);
}

.lmarket-chat-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.lmarket-chat-toggle:hover::before {
    transform: translateX(100%);
}

/* Notification Badge */
.lmarket-chat-notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 10px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.notification-pulse {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Chat Window */
.lmarket-chat-window {
    width: 380px;
    height: 600px;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 120px);
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: absolute;
    bottom: 80px;
    right: 0;
    border: 1px solid #e5e7eb;
}

/* Chat Header */
.lmarket-chat-header {
    background: linear-gradient(135deg, #1E50BC 0%, #1987DF 100%);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lmarket-chat-header-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.lmarket-chat-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.lmarket-chat-status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse-green 2s infinite;
}

.lmarket-chat-status-indicator.offline {
    background: #ef4444;
    animation: none;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.lmarket-chat-header-actions {
    display: flex;
    gap: 8px;
}

.lmarket-chat-header-actions button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.lmarket-chat-header-actions button:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Messages Area */
.lmarket-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f9fafb;
    scroll-behavior: smooth;
}

.lmarket-chat-messages::-webkit-scrollbar {
    width: 6px;
}

.lmarket-chat-messages::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.lmarket-chat-messages::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.lmarket-chat-messages::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Welcome Message */
.lmarket-chat-welcome {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    animation: fadeInUp 0.5s ease;
}

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

/* Chat Messages */
.lmarket-chat-message {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    animation: fadeInUp 0.3s ease;
}

.lmarket-chat-message-user {
    flex-direction: row-reverse;
}

.lmarket-chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    font-size: 18px;
    flex-shrink: 0;
}

.lmarket-chat-message-content {
    flex: 1;
    max-width: 280px;
}

.lmarket-chat-message-user .lmarket-chat-message-content {
    margin-right: 0;
    margin-left: auto;
}

/* Message Bubbles */
.lmarket-chat-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
    word-wrap: break-word;
    line-height: 1.4;
}

.lmarket-chat-bubble-user {
   background: linear-gradient(135deg, #1E50BC 0%, #1987DF 100%);
    color: white;
    border-bottom-right-radius: 6px;
}

.lmarket-chat-bubble-bot {
    background: white;
    border: 1px solid #e5e7eb;
    color: #374151;
    border-bottom-left-radius: 6px;
}

.lmarket-chat-bubble-agent {
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    color: #065f46;
    border-bottom-left-radius: 6px;
}

.lmarket-chat-bubble-system {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    color: #92400e;
    border-radius: 12px;
}

/* Message Meta */
.lmarket-chat-message-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    font-size: 11px;
    opacity: 0.7;
}

.lmarket-chat-confidence {
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 500;
}

/* Sources */
.lmarket-chat-sources {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.lmarket-chat-sources-label {
    font-size: 10px;
    opacity: 0.7;
    margin-bottom: 4px;
}

.lmarket-chat-source-link {
    display: inline-block;
    font-size: 10px;
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 6px;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    margin-right: 4px;
    margin-bottom: 2px;
    transition: background-color 0.2s;
}

.lmarket-chat-source-link:hover {
    background: rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

/* Typing Indicator */
.lmarket-chat-typing {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    opacity: 0.7;
}

.lmarket-chat-typing-bubble {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 12px 16px;
    border-radius: 18px;
    border-bottom-left-radius: 6px;
}

.lmarket-chat-typing-dots {
    display: flex;
    gap: 4px;
}

.lmarket-chat-typing-dots div {
    width: 6px;
    height: 6px;
    background: #9ca3af;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.lmarket-chat-typing-dots div:nth-child(1) { animation-delay: -0.32s; }
.lmarket-chat-typing-dots div:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Input Area */
.lmarket-chat-input-area {
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 16px 20px 12px;
}

.lmarket-chat-input-container {
    display: flex;
    gap: 8px;
    align-items: center;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 4px 4px 4px 16px;
    transition: border-color 0.2s;
}

.lmarket-chat-input-container:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.lmarket-chat-previews {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.lmarket-chat-preview {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.lmarket-chat-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.lmarket-chat-preview button {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 16px;
    height: 16px;
    border: none;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    font-size: 12px;
    line-height: 16px;
    cursor: pointer;
}

#lmarket-chat-input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    padding: 8px 0;
    font-size: 14px;
    resize: none;
    max-height: 80px;
}

#lmarket-chat-input::placeholder {
    color: #9ca3af;
}

#lmarket-chat-send {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #1E50BC 0%, #1987DF 100%);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

#lmarket-chat-send:hover {
    transform: scale(1.05);
}

#lmarket-chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Emoji Picker */
.lmarket-chat-emoji-toggle {
    margin-top: 8px;
}

#lmarket-emoji-toggle {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

#lmarket-emoji-toggle:hover {
    background: #f3f4f6;
}

.lmarket-emoji-picker {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    margin-bottom: 8px;
}

.lmarket-emoji-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.lmarket-emoji-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.lmarket-emoji-btn:hover {
    background: #f3f4f6;
}

/* Powered By */
.lmarket-chat-powered {
    text-align: center;
    margin-top: 8px;
    font-size: 11px;
    color: #9ca3af;
}

.lmarket-chat-powered a {
    color: #2563eb;
    text-decoration: none;
}

.lmarket-chat-powered a:hover {
    text-decoration: underline;
}

/* Customer Info Form */
.lmarket-chat-customer-form {
    padding: 24px 20px;
    background: white;
    display: none;
}

.lmarket-customer-form-content h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #374151;
}

.lmarket-customer-form-content p {
    margin: 0 0 20px 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.lmarket-form-group {
    margin-bottom: 16px;
}

.lmarket-form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.lmarket-form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #fff;
}

.lmarket-form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.lmarket-form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.lmarket-form-group input::placeholder {
    color: #9ca3af;
}

.lmarket-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.lmarket-btn-primary {
    flex: 1;
   background: linear-gradient(135deg, #1E50BC 0%, #1987DF 100%);
	color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.lmarket-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.lmarket-btn-secondary {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.lmarket-btn-secondary:hover {
    background: #e5e7eb;
    color: #374151;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .lmarket-chat-widget.mobile .lmarket-chat-window {
        width: calc(100vw - 20px);
        height: calc(100vh - 100px);
        bottom: 10px;
        right: 10px;
        left: 10px;
    }
    
    .lmarket-chat-widget.mobile .lmarket-chat-toggle {
        width: 50px;
        height: 50px;
    }
    
    .lmarket-chat-widget.mobile .lmarket-chat-messages {
        padding: 15px;
    }
    
    .lmarket-chat-widget.mobile .lmarket-chat-message-content {
        max-width: calc(100% - 50px);
    }
}

/* Theme Variations */
.lmarket-chat-theme-dark .lmarket-chat-window {
    background: #1f2937;
    border-color: #374151;
}

.lmarket-chat-theme-dark .lmarket-chat-messages {
    background: #111827;
}

.lmarket-chat-theme-dark .lmarket-chat-bubble-bot {
    background: #374151;
    border-color: #4b5563;
    color: #f9fafb;
}

.lmarket-chat-theme-dark .lmarket-chat-input-area {
    background: #1f2937;
    border-color: #374151;
}

.lmarket-chat-theme-dark .lmarket-chat-input-container {
    background: #374151;
    border-color: #4b5563;
}

.lmarket-chat-theme-dark #lmarket-chat-input {
    color: #f9fafb;
}

.lmarket-chat-theme-dark #lmarket-chat-input::placeholder {
    color: #9ca3af;
}

/* Minimal Theme */
.lmarket-chat-theme-minimal .lmarket-chat-toggle {
    background: #374151;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lmarket-chat-theme-minimal .lmarket-chat-header {
    background: #374151;
}

.lmarket-chat-theme-minimal .lmarket-chat-bubble-user {
    background: #374151;
}

.lmarket-chat-theme-minimal #lmarket-chat-send {
    background: #374151;
}

/* Accessibility */
.lmarket-chat-widget *:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .lmarket-chat-bubble-bot {
        border-width: 2px;
    }
    
    .lmarket-chat-input-container:focus-within {
        border-width: 2px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .lmarket-chat-widget * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

}

/* Review call-to-action */
.lmarket-review-cta {
    width: 100%;
    display: none;
    margin-top: 12px;
}

.lmarket-review-cta-content {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.lmarket-review-cta-text {
    flex: 1 1 auto;
    color: #1f2937;
}

.lmarket-review-cta-text strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.lmarket-review-cta-text span {
    display: block;
    font-size: 13px;
    color: #4b5563;
}

.lmarket-review-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    min-height: 44px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1E50BC 0%, #1987DF 100%);
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 16px rgba(25, 135, 223, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.lmarket-review-cta-button:hover,
.lmarket-review-cta-button:focus {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(25, 135, 223, 0.3);
    text-decoration: none;
}

.lmarket-review-cta-button:focus-visible {
    outline: 2px solid #1E50BC;
    outline-offset: 3px;
}

@media (max-width: 520px) {
    .lmarket-review-cta-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .lmarket-review-cta-button {
        width: 100%;
    }
}

/* Review form styles */
.lmarket-review-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 40px);
    padding: 24px 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
    display: none;
    z-index: 2;
}

.lmarket-review-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lmarket-review-content h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #374151;
}

.lmarket-review-description {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

.lmarket-review-form-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lmarket-review-group input,
.lmarket-review-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    resize: vertical;
}

.lmarket-review-group textarea {
    min-height: 96px;
}

.lmarket-review-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.lmarket-review-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.2s ease;
}

.lmarket-review-close:hover,
.lmarket-review-close:focus {
    color: #4b5563;
}

.lmarket-review-stars {
    display: flex;
    gap: 6px;
}

.lmarket-review-star {
    cursor: pointer;
    font-size: 24px;
    color: #d1d5db;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    transition: transform 0.15s ease, color 0.15s ease;
}

.lmarket-review-star:hover,
.lmarket-review-star:focus {
    transform: scale(1.1);
}

.lmarket-review-star:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.lmarket-review-star.selected {
    color: #fbbf24;
}

#lmarket-review-thanks {
    display: none;
    margin: 4px 0 0;
    font-weight: 600;
    color: #1f2937;
}

.lmarket-chat-bottom-left .lmarket-review-container,
.lmarket-chat-top-left .lmarket-review-container {
    left: 0;
    right: auto;
}

.lmarket-chat-top-left .lmarket-review-container,
.lmarket-chat-top-right .lmarket-review-container {
    top: 80px;
    bottom: auto;
}

@media (max-width: 767px) {
    .lmarket-review-container {
        width: calc(100vw - 20px);
        left: 10px;
        right: 10px;
        bottom: 80px;
    }

    .lmarket-chat-top-left .lmarket-review-container,
    .lmarket-chat-top-right .lmarket-review-container {
        top: 80px;
    }
}

.lmarket-chat-theme-dark .lmarket-review-container {
    background: #1f2937;
    border-color: #374151;
    box-shadow: 0 20px 60px rgba(2, 6, 23, 0.65);
}

.lmarket-chat-theme-dark .lmarket-review-content h4,
.lmarket-chat-theme-dark #lmarket-review-thanks {
    color: #f3f4f6;
}

.lmarket-chat-theme-dark .lmarket-review-description {
    color: #9ca3af;
}

.lmarket-chat-theme-dark .lmarket-review-group input,
.lmarket-chat-theme-dark .lmarket-review-group textarea {
    background: #111827;
    border-color: #374151;
    color: #f9fafb;
}

.lmarket-chat-theme-dark .lmarket-review-star {
    color: #4b5563;
}

.lmarket-chat-theme-dark .lmarket-review-close {
    color: #9ca3af;
}

.lmarket-review-thanks {
    text-align: center;
    margin: 0;
    font-weight: 500;
}

.lmarket-chat-theme-dark .lmarket-review-cta-content {
    background: #111827;
    border-color: #1f2937;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.lmarket-chat-theme-dark .lmarket-review-cta-text {
    color: #f9fafb;
}

.lmarket-chat-theme-dark .lmarket-review-cta-text span {
    color: #9ca3af;
}

.lmarket-chat-theme-dark .lmarket-review-cta-button {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
}

.lmarket-chat-theme-minimal .lmarket-review-cta-content {
    background: #ffffff;
    border-color: #d1d5db;
    box-shadow: 0 6px 16px rgba(55, 65, 81, 0.12);
}

.lmarket-chat-theme-minimal .lmarket-review-cta-button {
    background: #374151;
    box-shadow: 0 10px 20px rgba(55, 65, 81, 0.25);
}

/* Buy Now button under messages */
.lmarket-buy-now {
    margin-top: 8px;
}

.lmarket-buy-now-btn {
    display: inline-block;
    background: #1C53C4;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
}

.lmarket-buy-now-btn:hover {
    background: #173d94;
}

/* Chat Markdown classes */
.chat-h1 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.chat-h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.chat-bold {
    font-weight: 700;
}

.chat-italic {
    font-style: italic;
}

.chat-inline-code {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 2px 4px;
    border-radius: 4px;
    font-family: monospace;
}