/* ============================================================================
   ADVANCED AI CHATBOT STYLES
   Process Pulse - Premium Experience
   Built with Human Psychology & Modern UX Principles
   ============================================================================ */

/* ============================================================================
   VARIABLES & THEME
   ============================================================================ */
:root {
    --primary-blue: #0066cc;
    --primary-light: #00a8e8;
    --accent-orange: #ff6b35;
    --success-green: #10b981;
    --warning-yellow: #f59e0b;
    --error-red: #ef4444;

    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --text-dark: #1e293b;
    --text-medium: #475569;
    --text-light: #94a3b8;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.20);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================================================
   FLOATING ACTION BUTTON (FAB) - Psychology: Attention & Accessibility
   ============================================================================ */
.chatbot-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
    color: white;
    font-size: 28px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 9998;
    transition: all var(--transition-medium);
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fab-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pulsing animation - Psychology: Draw attention without being intrusive */
.fab-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-light);
    opacity: 0.6;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.15);
        opacity: 0;
    }
}

.chatbot-fab:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-xl);
}

.chatbot-fab:active {
    transform: scale(0.95);
}

.chatbot-fab.active {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff8c61 100%);
}

/* Smart Badge - Psychology: Credibility & Modern Tech Feel */
.smart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--success-green) 0%, #059669 100%);
    color: white;
    border-radius: 12px;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
    animation: badge-bounce 2s ease infinite;
}

@keyframes badge-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* Tooltip - Psychology: Guidance & Friendliness */
.fab-tooltip {
    position: absolute;
    bottom: 75px;
    right: 0;
    background: var(--text-dark);
    color: white;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    white-space: nowrap;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-medium);
    pointer-events: none;
}

.fab-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--text-dark);
}

.chatbot-fab:hover .fab-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================================
   CHAT WINDOW - Premium Design
   ============================================================================ */
.advanced-chat-window {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 420px;
    height: 650px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    z-index: 9997;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all var(--transition-medium);
    overflow: hidden;
}

.advanced-chat-window.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* ============================================================================
   HEADER - Professional & Trustworthy
   ============================================================================ */
.chat-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    box-shadow: var(--shadow-sm);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bot-avatar-premium {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: var(--success-green);
    border: 2px solid white;
    border-radius: 50%;
    animation: status-pulse 2s ease infinite;
}

@keyframes status-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0);
    }
}

.header-info {
    color: white;
}

.bot-name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.bot-status {
    margin: 4px 0 0 0;
    font-size: 12px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--success-green);
    border-radius: 50%;
    display: inline-block;
    animation: blink 2s ease infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

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

.header-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}

.header-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.header-btn:active {
    transform: scale(0.95);
}

/* ============================================================================
   MESSAGES AREA - Clean & Readable
   ============================================================================ */
.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: var(--bg-light);
    scroll-behavior: smooth;
}

/* Custom scrollbar - Psychology: Modern & Polished */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: var(--text-medium);
}

/* Welcome Banner */
.welcome-banner {
    text-align: center;
    padding: 16px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 168, 232, 0.1) 100%);
    border-radius: var(--radius-md);
    color: var(--primary-blue);
}

.banner-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.welcome-banner p {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
}

/* Message Bubbles (COMPACT VERSION) */
.chat-message {
    margin-bottom: 12px;
    animation: message-appear 0.3s ease;
}

@keyframes message-appear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-wrapper {
    display: flex;
    gap: 8px;
}

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

/* Bot Avatar in Messages */
.bot-avatar-msg {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

/* User Avatar in Messages */
.user-avatar {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff8c61 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

/* Message Bubbles */
.message-bubble {
    max-width: 280px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    background: white;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.user-message .message-bubble {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
    color: white;
    border-bottom-right-radius: 4px;
}

.bot-message .message-bubble {
    background: white;
    border-bottom-left-radius: 4px;
}

.message-text {
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
}

.message-text strong {
    font-weight: 700;
}

.message-text a {
    color: var(--primary-blue);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.user-message .message-text a {
    color: white;
}

.message-text a:hover {
    color: var(--primary-light);
}

.message-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 11px;
    opacity: 0.7;
}

.user-message .message-meta {
    justify-content: flex-end;
}

.message-status {
    font-size: 12px;
}

/* ============================================================================
   SPECIAL MESSAGE COMPONENTS - Psychology: Visual Hierarchy & Engagement
   ============================================================================ */

/* Highlight Box - Psychology: Reciprocity (COMPACT) */
.highlight-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    border-left: 3px solid var(--success-green);
    padding: 8px 10px;
    margin: 8px 0;
    border-radius: var(--radius-sm);
    font-size: 12px;
}

.highlight-box i {
    margin-right: 6px;
    color: var(--success-green);
}

/* Social Proof Box - Psychology: Trust & Credibility (COMPACT) */
.social-proof-box {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 168, 232, 0.05) 100%);
    border: 1px solid var(--primary-blue);
    border-radius: var(--radius-sm);
    padding: 8px;
    margin: 8px 0;
    text-align: center;
    font-size: 12px;
}

.social-proof-box i {
    font-size: 16px;
    color: var(--primary-blue);
    margin-bottom: 4px;
    display: block;
}

/* Expertise Card (COMPACT) */
.expertise-card {
    display: flex;
    gap: 10px;
    background: var(--bg-gray);
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    margin: 8px 0;
    font-size: 12px;
}

.expertise-card i {
    font-size: 20px;
    color: var(--primary-blue);
}

/* Solution Grid (COMPACT) */
.solution-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 8px 0;
}

.solution-item {
    display: flex;
    gap: 10px;
    background: var(--bg-gray);
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.solution-item:hover {
    background: var(--bg-white);
    transform: translateX(3px);
}

.solution-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

.solution-details {
    flex: 1;
    font-size: 12px;
}

.solution-details strong {
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.tech-badge {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    margin-top: 4px;
}

/* Value Proposition Box (COMPACT) */
.value-prop-box {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 140, 97, 0.1) 100%);
    border-left: 3px solid var(--accent-orange);
    padding: 8px 10px;
    margin: 8px 0;
    border-radius: var(--radius-sm);
    font-size: 11px;
}

.value-prop-box i {
    color: var(--accent-orange);
    margin-right: 6px;
}

/* Product Showcase (COMPACT) */
.product-showcase {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 8px 0;
}

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--bg-gray);
    border-radius: var(--radius-sm);
    padding: 10px;
    position: relative;
    transition: all var(--transition-medium);
}

.product-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.product-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.product-header i {
    font-size: 16px;
    color: var(--primary-blue);
}

.product-header h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
}

.product-features {
    margin: 6px 0 0 0;
    padding-left: 18px;
    font-size: 11px;
}

.product-features li {
    margin-bottom: 3px;
}

.product-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--accent-orange);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
}

/* Quote Options */
.quote-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 12px 0;
}

.quote-option-card {
    background: var(--bg-white);
    border: 2px solid var(--bg-gray);
    border-radius: var(--radius-md);
    padding: 16px;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
}

.quote-option-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.quote-option-card.instant {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(245, 158, 11, 0.1) 100%);
}

.quote-option-card.detailed {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 168, 232, 0.1) 100%);
}

.quote-option-card.consultation {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(5, 150, 105, 0.1) 100%);
}

.quote-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-bottom: 12px;
}

.quote-option-card h4 {
    margin: 0 0 8px 0;
    font-size: 15px;
    font-weight: 700;
}

.quote-option-card p {
    margin: 0 0 12px 0;
    font-size: 12px;
    color: var(--text-medium);
}

.quote-benefit {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-blue);
}

/* Guarantee Box */
.guarantee-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    border: 2px dashed var(--success-green);
    border-radius: var(--radius-md);
    padding: 12px;
    margin: 12px 0;
    font-size: 12px;
}

.guarantee-box i {
    color: var(--success-green);
    margin-right: 6px;
}

/* Expert Mode */
.expert-mode {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 168, 232, 0.1) 100%);
    border-radius: var(--radius-md);
    padding: 12px;
    margin: 0 0 12px 0;
}

.expert-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.expert-header i {
    font-size: 24px;
    color: var(--primary-blue);
}

/* Tech Categories Grid */
.tech-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 12px 0;
}

.tech-cat-item {
    background: var(--bg-white);
    border: 2px solid var(--bg-gray);
    border-radius: var(--radius-md);
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tech-cat-item:hover {
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.tech-cat-item i {
    font-size: 24px;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 8px;
}

.tech-cat-item strong {
    font-size: 13px;
    display: block;
    margin-bottom: 4px;
}

.tech-cat-item small {
    font-size: 11px;
    color: var(--text-medium);
}

/* Download Offer */
.download-offer {
    background: var(--bg-gray);
    border-radius: var(--radius-md);
    padding: 12px;
    margin: 12px 0;
    font-size: 12px;
}

.download-offer i {
    color: var(--primary-blue);
    margin-right: 6px;
}

/* Contact Card Premium */
.contact-card-premium {
    background: var(--bg-white);
    border: 2px solid var(--bg-gray);
    border-radius: var(--radius-md);
    padding: 16px;
    margin: 12px 0;
}

.contact-method {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-gray);
}

.contact-method:last-child {
    border-bottom: none;
}

.contact-method i {
    font-size: 24px;
    color: var(--primary-blue);
    width: 32px;
    text-align: center;
}

.contact-link {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Empathy Box - Psychology: Emotional Connection */
.empathy-box {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    border-left: 4px solid var(--error-red);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin: 0 0 12px 0;
    font-size: 13px;
}

.empathy-box i {
    color: var(--error-red);
    margin-right: 6px;
}

/* Priority Support */
.priority-support {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
    border: 2px solid var(--warning-yellow);
    border-radius: var(--radius-md);
    padding: 12px;
    margin: 12px 0;
    font-size: 12px;
}

.priority-support i {
    color: var(--warning-yellow);
    margin-right: 6px;
}

/* Help Categories */
.help-categories {
    font-size: 13px;
}

.help-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 12px 0;
}

.help-item {
    background: var(--bg-gray);
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-item i {
    color: var(--primary-blue);
    font-size: 16px;
}

.suggestion-prompt {
    background: var(--bg-gray);
    padding: 10px;
    border-radius: var(--radius-md);
    font-size: 12px;
    margin-top: 12px;
}

.suggestion-prompt i {
    color: var(--warning-yellow);
    margin-right: 6px;
}

/* ============================================================================
   TYPING INDICATOR - Psychology: Natural Conversation Feel (COMPACT VERSION)
   ============================================================================ */
.typing-indicator {
    position: absolute;
    bottom: 180px;
    left: 20px;
    right: 20px;
    display: flex;
    gap: 6px;
    align-items: center;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all var(--transition-medium);
}

.typing-indicator.visible {
    opacity: 1;
    transform: translateY(0);
}

.typing-avatar {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
}

.typing-content {
    background: white;
    border-radius: var(--radius-md);
    padding: 6px 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}

.typing-dots {
    display: flex;
    gap: 3px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: typing-bounce 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-bounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-6px);
    }
}

.typing-text {
    font-size: 11px;
    color: var(--text-medium);
}

/* ============================================================================
   QUICK ACTIONS BAR - Psychology: Reduce Cognitive Load (COMPACT VERSION)
   ============================================================================ */
.quick-actions-bar {
    padding: 0 20px 8px 20px;
    background: var(--bg-light);
    display: none;
    flex-direction: column;
    gap: 6px;
    max-height: 140px;
    overflow-y: auto;
}

.quick-action-card {
    background: white;
    border: 1px solid var(--bg-gray);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.quick-action-card:hover {
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 168, 232, 0.05) 100%);
    transform: translateX(3px);
}

.quick-action-card:active {
    transform: scale(0.98);
}

.action-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

.action-content {
    flex: 1;
}

.action-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1px;
    line-height: 1.2;
}

.action-subtitle {
    font-size: 10px;
    color: var(--text-medium);
    line-height: 1.2;
}

.action-arrow {
    color: var(--primary-blue);
    font-size: 12px;
}

/* ============================================================================
   SMART SUGGESTIONS - Psychology: Guided Discovery
   ============================================================================ */
.smart-suggestions {
    padding: 12px 20px;
    background: var(--bg-light);
    border-top: 1px solid var(--bg-gray);
    display: none;
}

.suggestions-label {
    font-size: 11px;
    color: var(--text-medium);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.suggestions-label i {
    color: var(--primary-blue);
}

.suggestions-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.suggestion-chip {
    background: white;
    border: 1px solid var(--bg-gray);
    color: var(--text-dark);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.suggestion-chip:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.suggestion-chip:active {
    transform: scale(0.95);
}

/* ============================================================================
   INPUT AREA - Modern & Accessible
   ============================================================================ */
.chat-input-container {
    background: white;
    border-top: 2px solid var(--bg-gray);
    padding: 16px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 8px 12px;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
}

.input-wrapper:focus-within {
    border-color: var(--primary-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.input-addon-btn {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    color: var(--text-medium);
    font-size: 16px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-addon-btn:hover {
    background: var(--bg-gray);
    color: var(--primary-blue);
}

.chat-input-field {
    flex: 1;
    border: none;
    background: none;
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
    padding: 8px 4px;
}

.chat-input-field::placeholder {
    color: var(--text-light);
}

.input-actions {
    display: flex;
    gap: 8px;
}

.send-btn {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-sm);
}

.send-btn:active {
    transform: scale(0.95);
}

.input-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding: 0 4px;
}

.char-count {
    font-size: 11px;
    color: var(--text-light);
}

.ai-badge {
    font-size: 10px;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 4px;
}

.ai-badge i {
    color: var(--primary-blue);
}

/* ============================================================================
   RESPONSIVE DESIGN - Mobile First
   ============================================================================ */
@media (max-width: 768px) {
    .chatbot-fab {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .advanced-chat-window {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .chat-header {
        border-radius: 0;
    }

    .message-bubble {
        max-width: 240px;
    }

    .quick-actions-bar {
        max-height: 150px;
    }

    .tech-categories {
        grid-template-columns: 1fr;
    }

    .help-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .message-bubble {
        max-width: 200px;
    }

    .product-showcase,
    .quote-options {
        gap: 10px;
    }
}

/* ============================================================================
   ANIMATIONS & MICRO-INTERACTIONS
   ============================================================================ */

/* Smooth entrance for all interactive elements */
.quick-action-card,
.suggestion-chip,
.product-card,
.quote-option-card,
.tech-cat-item {
    animation: fade-in-up 0.4s ease;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================================
   ACCESSIBILITY ENHANCEMENTS
   ============================================================================ */

/* Focus styles for keyboard navigation */
button:focus-visible,
.quick-action-card:focus-visible,
.suggestion-chip:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .message-bubble {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support - Psychology: Respect user preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================================
   PRINT STYLES - Professional Documentation
   ============================================================================ */
@media print {
    .chatbot-fab,
    .header-actions,
    .typing-indicator,
    .quick-actions-bar,
    .smart-suggestions,
    .chat-input-container {
        display: none !important;
    }

    .advanced-chat-window {
        position: relative;
        width: 100%;
        height: auto;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
