#uniwix-chat-interface .chat-card {
    height: 75vh;
    padding: 0;
    overflow: hidden;
    border-radius: var(--chat-radius-lg);
    display: flex;
    flex-direction: column;
    background-color: var(--chat-bg-secondary);
    font-family: 'Inter', sans-serif;
}

#uniwix-chat-interface .chat-header {
    padding: 1rem;
    border-bottom: 1px solid var(--chat-border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--chat-bg-card);
}

#uniwix-chat-interface .chat-messages {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background-color: var(--chat-bg-secondary);
    scroll-behavior: smooth;
}

#uniwix-chat-interface .chat-input-area {
    padding: 1rem;
    border-top: 1px solid var(--chat-border-color);
    background-color: var(--chat-bg-card);
}

#uniwix-chat-interface .message-wrap {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

#uniwix-chat-interface .message-wrap.user {
    align-items: flex-end;
}

#uniwix-chat-interface .message-wrap.bot {
    align-items: flex-start;
}

#uniwix-chat-interface .message-bubble {
    padding: 0.75rem;
    border-radius: 12px;
    line-height: 1.5;
    font-size: 14px;
    word-wrap: break-word;
}

#uniwix-chat-interface .message-bubble.user {
    background-color: var(--chat-accent-primary);
    color: white;
    border-bottom-right-radius: 4px;
}

#uniwix-chat-interface .message-bubble.bot {
    background-color: var(--chat-bg-card);
    color: var(--chat-text-primary);
    border: 1px solid var(--chat-border-color);
    border-bottom-left-radius: 4px;
}

#uniwix-chat-interface .message-bubble.bot p {
    margin-bottom: 0.5rem;
}

#uniwix-chat-interface .message-bubble.bot p:last-child {
    margin-bottom: 0;
}

#uniwix-chat-interface .message-bubble.bot code {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2px 4px;
    border-radius: 4px;
    font-family: monospace;
    color: #e2e8f0;
}

#uniwix-chat-interface .message-bubble.bot pre {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 8px;
    overflow-x: auto;
    color: #e2e8f0;
}

#uniwix-chat-interface .form-control-dark {
    background-color: var(--chat-bg-secondary);
    border: 1px solid var(--chat-border-color);
    color: var(--chat-text-primary);
    resize: none;
    max-height: 100px;
    border-radius: 8px;
}

#uniwix-chat-interface .form-control-dark::placeholder {
    color: var(--chat-text-muted);
}

#uniwix-chat-interface .form-control-dark:focus {
    background-color: var(--chat-bg-secondary);
    border-color: var(--chat-accent-primary);
    color: var(--chat-text-primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    outline: none;
}

#uniwix-chat-interface .btn-glow {
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    outline: none;
}

#uniwix-chat-interface .btn-glow:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#uniwix-chat-interface .btn-glow-primary {
    background-color: var(--chat-accent-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#uniwix-chat-interface .btn-glow-primary:hover:not(:disabled) {
    background-color: #2563eb;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    transform: translateY(-1px);
}

#uniwix-chat-interface .btn-glow-outline {
    background: transparent;
    border: 1px solid var(--chat-border-color);
    color: var(--chat-text-primary);
    border-radius: 6px;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

#uniwix-chat-interface .btn-glow-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--chat-text-muted);
}

@keyframes uniwix-chat-dot {
    0%, 20% { transform: scale(0); opacity: 0.5; }
    50% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0); opacity: 0.5; }
}

#uniwix-chat-interface .typing-dot {
    width: 6px;
    height: 6px;
    background-color: var(--chat-text-muted);
    border-radius: 50%;
    animation: uniwix-chat-dot 1.2s infinite;
}

#uniwix-chat-interface .chat-copy-email {
    cursor: pointer;
    border-bottom: 1px dashed var(--chat-accent-primary);
    transition: all 0.2s;
    padding: 0 2px;
}

#uniwix-chat-interface .chat-copy-email:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

.message-bubble {
    background-color: #fff;
}