/**
 * Analysis Chat Widget Styling
 * Floating chat interface for asking questions about trading analysis
 */

/* =====================================================================================
   Chat Toggle Button
   ===================================================================================== */

.chat-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color, #3b82f6) 0%, var(--accent-color, #8b5cf6) 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 1000;

    /* Attention-grabbing animations */
    animation: chatBounceIn 0.6s ease-out, chatPulse 2s ease-in-out 1s infinite;
}

/* Glowing ring effect */
.chat-toggle-btn::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    opacity: 0;
    z-index: -1;
    animation: chatGlow 2s ease-in-out infinite;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.chat-toggle-btn.active {
    background: linear-gradient(135deg, var(--danger-color, #ef4444) 0%, var(--warning-color, #f59e0b) 100%);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--danger-color, #ef4444);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* =====================================================================================
   Chat Widget Container
   ===================================================================================== */

.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 420px;
    height: 600px;
    background: var(--bg-card, #1e293b);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    z-index: 999;
    overflow: hidden;
    animation: slideInUp 0.3s ease;
    transition: all 0.3s ease;
}

/* Expanded state */
.chat-widget.expanded {
    width: 90vw;
    height: 90vh;
    bottom: 5vh;
    right: 5vw;
    max-width: 1400px;
    max-height: 900px;
}

/* Hide agent details when NOT expanded (compact mode) */
.chat-widget:not(.expanded) .agent-info-line:not(:first-child) {
    display: none;
}

.chat-widget:not(.expanded) .agent-header {
    margin-bottom: 8px;
    padding-bottom: 6px;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================================================
   Chat Header
   ===================================================================================== */

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--primary-color, #3b82f6) 0%, var(--accent-color, #8b5cf6) 100%);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
}

.chat-header-title i {
    font-size: 20px;
}

.chat-header-actions {
    display: flex;
    gap: 8px;
}

.chat-header-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 6px;
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-header-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* =====================================================================================
   Chat Messages Area
   ===================================================================================== */

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: var(--bg-primary, #0f172a);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: var(--bg-card, #1e293b);
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--border-color, #334155);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color, #3b82f6);
}

/* =====================================================================================
   Chat Messages
   ===================================================================================== */

.chat-message {
    display: flex;
    gap: 10px;
    animation: fadeIn 0.3s ease;
    max-width: 85%;
}

/* User messages on RIGHT */
.user-message {
    flex-direction: row-reverse;
    margin-left: auto;
}

/* Bot/Agent messages on LEFT */
.bot-message,
.agent-message {
    margin-right: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.bot-message .message-avatar {
    background: linear-gradient(135deg, var(--primary-color, #3b82f6) 0%, var(--accent-color, #8b5cf6) 100%);
    color: white;
}

.error-message .message-avatar {
    background: linear-gradient(135deg, var(--danger-color, #ef4444) 0%, #dc2626 100%);
    color: white;
}

.message-content {
    flex: 1;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
}

.user-message .message-content {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.bot-message .message-content {
    background: var(--bg-card, #1e293b);
    color: var(--text-primary, #f1f5f9);
    border: 1px solid var(--border-color, #334155);
}

/* Agent Message Styling */
.agent-message {
    position: relative;
    padding-top: 12px;
}

.agent-message.first-agent {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(59, 130, 246, 0.2);
}

.agent-message .agent-avatar {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: white;
}

.agent-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    padding: 0 0 10px 0;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

.agent-info-line {
    display: flex;
    align-items: center;
}

.agent-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--primary-color, #3b82f6);
}

.agent-role {
    font-size: 11px;
    color: var(--text-secondary, #94a3b8);
    background: rgba(59, 130, 246, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Action badges */
.agent-decision {
    font-weight: 700;
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.action-buy {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.action-sell {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.action-hold {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
}

.agent-confidence {
    font-size: 13px;
    color: var(--text-secondary, #94a3b8);
    font-weight: 500;
}

.agent-message .message-content {
    background: var(--bg-card, #1e293b);
    color: var(--text-primary, #f1f5f9);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-left: 3px solid var(--accent-color, #8b5cf6);
}

.error-message .message-content {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color, #ef4444);
    border: 1px solid var(--danger-color, #ef4444);
}

/* Free Tier Upgrade CTA */
.free-tier-upgrade-cta {
    margin-top: 12px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.free-tier-upgrade-cta .upgrade-message {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text-secondary, #94a3b8);
    font-size: 13px;
    line-height: 1.5;
}

.free-tier-upgrade-cta .upgrade-message i {
    color: #667eea;
    margin-top: 2px;
    flex-shrink: 0;
}

.free-tier-upgrade-cta .upgrade-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.free-tier-upgrade-cta .upgrade-button:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
}

.free-tier-upgrade-cta .upgrade-button i {
    animation: boltPulse 1.5s ease-in-out infinite;
}

@keyframes boltPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.system-message {
    justify-content: center;
}

.system-content {
    background: rgba(100, 116, 139, 0.2);
    color: var(--text-secondary, #94a3b8);
    border: 1px dashed var(--border-color, #334155);
    text-align: center;
    font-size: 13px;
}

/* =====================================================================================
   Message Context
   ===================================================================================== */

.message-context {
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid var(--primary-color, #3b82f6);
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-secondary, #94a3b8);
}

.context-stats {
    display: flex;
    align-items: center;
    gap: 6px;
}

.context-stats i {
    color: var(--primary-color, #3b82f6);
}

/* =====================================================================================
   Loading Indicator
   ===================================================================================== */

.loading-message .message-content {
    padding: 16px;
}

/* Agent typing header */
.agent-typing-header {
    font-size: 0.85em;
    color: var(--text-secondary, #94a3b8);
    margin-bottom: 8px;
    font-style: italic;
}

.agent-typing-header strong {
    color: var(--primary-color, #3b82f6);
    font-weight: 600;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color, #3b82f6);
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    30% {
        opacity: 1;
        transform: scale(1);
    }
}

/* =====================================================================================
   Chat Input
   ===================================================================================== */

.chat-input-container {
    padding: 16px 20px;
    background: var(--bg-card, #1e293b);
    border-top: 1px solid var(--border-color, #334155);
}

.chat-quick-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.quick-question-btn {
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color, #3b82f6);
    border: 1px solid var(--primary-color, #3b82f6);
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.quick-question-btn:hover {
    background: var(--primary-color, #3b82f6);
    color: white;
}

.chat-input-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.chat-input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
}

.chat-input {
    flex: 1;
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-primary, #0f172a);
    border: 1px solid var(--border-color, #334155);
    border-radius: 8px;
    color: var(--text-primary, #f1f5f9);
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.chat-input:focus {
    border-color: var(--primary-color, #3b82f6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.chat-input::placeholder {
    color: var(--text-muted, #64748b);
}

.chat-send-btn {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color, #3b82f6) 0%, var(--accent-color, #8b5cf6) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
}

.chat-send-btn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* =====================================================================================
   Responsive Design
   ===================================================================================== */

@media (max-width: 768px) {
    .chat-widget {
        width: calc(100vw - 40px);
        height: calc(100vh - 120px);
        bottom: 10px;
        right: 20px;
    }

    .chat-toggle-btn {
        bottom: 20px;
        right: 20px;
    }

    .quick-question-btn {
        font-size: 11px;
        padding: 5px 10px;
    }
}

/* =====================================================================================
   Dark/Light Mode Support
   ===================================================================================== */

@media (prefers-color-scheme: light) {
    .chat-widget {
        background: #ffffff;
    }

    .chat-messages {
        background: #f8fafc;
    }

    .bot-message .message-content {
        background: #ffffff;
        color: #1e293b;
        border-color: #e2e8f0;
    }

    .chat-input-container,
    .chat-header {
        background: #ffffff;
        border-color: #e2e8f0;
    }

    .chat-input {
        background: #f8fafc;
        color: #1e293b;
        border-color: #e2e8f0;
    }
}

/* =====================================================================================
   Chat Modals
   ===================================================================================== */

.chat-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease-out;
}

.chat-modal {
    background: #1e293b;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease-out;
}

.chat-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #334155;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.chat-modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-modal-header h3 i {
    font-size: 22px;
}

.chat-modal-body {
    padding: 24px;
    color: #cbd5e1;
    max-height: 50vh;
    overflow-y: auto;
}

.chat-modal-body p {
    margin: 0 0 16px 0;
    line-height: 1.6;
}

.chat-modal-body strong {
    color: #ffffff;
    font-weight: 600;
}

.chat-limitations-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.chat-limitations-list li {
    padding: 12px;
    margin: 8px 0;
    background: #0f172a;
    border-left: 3px solid #f59e0b;
    border-radius: 6px;
    color: #e2e8f0;
}

.chat-limitations-list li:before {
    content: '⚠️';
    margin-right: 10px;
}

.chat-upgrade-hint {
    background: linear-gradient(135deg, #667eea22 0%, #764ba222 100%);
    border: 1px solid #667eea;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 20px;
    color: #cbd5e1;
}

.chat-upgrade-hint i {
    color: #fbbf24;
    margin-right: 8px;
}

.chat-upgrade-hint a {
    color: #a78bfa;
    text-decoration: none;
    font-weight: 600;
}

.chat-upgrade-hint a:hover {
    color: #c4b5fd;
    text-decoration: underline;
}

.chat-model-description {
    color: #94a3b8;
    font-style: italic;
    font-size: 14px;
}

.chat-premium-features {
    background: #0f172a;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
}

.chat-premium-features h4 {
    margin: 0 0 12px 0;
    color: #ffffff;
    font-size: 16px;
}

.chat-premium-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.chat-premium-features li {
    padding: 8px 0;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-premium-features li i {
    color: #10b981;
    font-size: 16px;
}

.chat-cta {
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: #f1f5f9;
    margin: 20px 0 0 0;
}

.chat-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #334155;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background: #0f172a;
}

.chat-modal-btn-primary,
.chat-modal-btn-secondary {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.chat-modal-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.chat-modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.chat-modal-btn-secondary {
    background: #334155;
    color: #cbd5e1;
}

.chat-modal-btn-secondary:hover {
    background: #475569;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* =====================================================================================
   Chat Button Animations - Attention Grabbing Effects
   ===================================================================================== */

@keyframes chatBounceIn {
    0% {
        transform: scale(0) translateY(100px);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes chatPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes chatGlow {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.2);
    }
}

/* =====================================================================================
   @ Mention Autocomplete
   ===================================================================================== */

.chat-autocomplete {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1001;
    margin-bottom: 5px;
}

.chat-autocomplete-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-autocomplete-item:last-child {
    border-bottom: none;
}

.chat-autocomplete-item:hover,
.chat-autocomplete-item.active {
    background: rgba(59, 130, 246, 0.1);
}

.chat-autocomplete-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 14px;
}

.chat-autocomplete-shortcode {
    font-size: 12px;
    color: #6b7280;
    font-family: 'Courier New', monospace;
    background: rgba(59, 130, 246, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.chat-autocomplete-desc {
    font-size: 11px;
    color: #9ca3af;
    font-style: italic;
    margin-top: 4px;
}

/* =====================================================================================
   Tutorial Wizard
   ===================================================================================== */

.chat-tutorial {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.chat-tutorial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.chat-tutorial-content {
    position: relative;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.2);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.chat-tutorial-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #94a3b8;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chat-tutorial-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: rotate(90deg);
}

.chat-tutorial-step {
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.chat-tutorial-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.chat-tutorial-step h2 {
    color: white;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
}

.chat-tutorial-step p {
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.chat-tutorial-highlight {
    color: #60a5fa !important;
    font-weight: 600;
}

.chat-tutorial-example {
    background: rgba(30, 41, 59, 0.8);
    border-left: 4px solid #3b82f6;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    text-align: left;
}

.tutorial-example-label {
    color: #94a3b8;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.tutorial-example-text {
    color: #e2e8f0;
    font-size: 18px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

.chat-tutorial-arrow {
    font-size: 32px;
    color: #3b82f6;
    margin: 15px 0;
}

.chat-tutorial-tips {
    margin: 20px 0;
    text-align: left;
}

.tutorial-tip {
    background: rgba(59, 130, 246, 0.1);
    padding: 12px 16px;
    margin: 8px 0;
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
    color: #e2e8f0;
    font-size: 14px;
}

.chat-tutorial-note {
    background: rgba(251, 191, 36, 0.1);
    border-left: 3px solid #fbbf24;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 20px;
    color: #fcd34d !important;
}

.chat-tutorial-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    gap: 20px;
}

.chat-tutorial-btn {
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tutorial-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.tutorial-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.tutorial-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}

.tutorial-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.chat-tutorial-dots {
    display: flex;
    gap: 8px;
}

.tutorial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tutorial-dot.active {
    background: #3b82f6;
    width: 30px;
    border-radius: 5px;
}
