/* Chat Widget Styles - Cyber Renaissance Style */
:root {
    --chat-accent: #608f65;
    --chat-bg: #ffffff;
    --chat-text: #333333;
    --chat-border: rgba(0,0,0,0.1);
}

.artex-chat-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000000;
    font-family: 'Montserrat', sans-serif;
}

.artex-chat-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--chat-accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(96, 143, 101, 0.3);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.artex-chat-trigger:hover {
    transform: scale(1.1) rotate(5deg);
}

.artex-chat-trigger i {
    font-size: 24px;
}

.artex-chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 600px;
    background: var(--chat-bg);
    border: 1px solid var(--chat-border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    animation: chatOpen 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.artex-chat-header {
    padding: 20px;
    background: var(--chat-bg);
    border-bottom: 1px solid var(--chat-border);
    display: flex;
    align-items: center;
    gap: 15px;
}

.artex-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--chat-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.artex-chat-info h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.artex-chat-info span {
    font-size: 11px;
    color: var(--chat-accent);
    font-weight: 600;
}

.artex-chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #fdfdfd;
}

.chat-msg {
    max-width: 80%;
    padding: 12px 16px;
    font-size: 13px;
    line-height: 1.5;
    position: relative;
}

.chat-msg.user {
    align-self: flex-end;
    background: var(--chat-accent);
    color: white;
    border-radius: 18px 18px 0 18px;
}

.chat-msg.bot {
    align-self: flex-start;
    background: #f0f0f0;
    color: var(--chat-text);
    border-radius: 18px 18px 18px 0;
}

.artex-chat-input-area {
    padding: 15px;
    border-top: 1px solid var(--chat-border);
    background: white;
    display: flex;
    gap: 10px;
}

.artex-chat-input-area input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 5px;
}

.artex-chat-send {
    color: var(--chat-accent);
    cursor: pointer;
    padding: 5px;
    transition: 0.2s;
}

.artex-chat-send:hover {
    transform: scale(1.2);
}

/* Scrollbar Style */
.artex-chat-messages::-webkit-scrollbar {
    width: 4px;
}
.artex-chat-messages::-webkit-scrollbar-thumb {
    background: var(--chat-border);
    border-radius: 2px;
}
