/* body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
    margin: 0;
    min-height: 100vh
} */

#chat-widget-root {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

code {
    font-family: source-code-pro, Menlo, Monaco, Consolas, Courier New, monospace
}

/* * {
    box-sizing: border-box;
    margin: 0;
    padding: 0
} */

#chat-widget-root * {
    box-sizing: border-box;
}

.chat-widget-container {
    bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
    position: fixed;
    right: 20px;
    z-index: 9999
}

.chat-window {
    animation: slideUp .3s ease-out;
    background: #fff;
    border-radius: 12px;
    bottom: 80px;
    box-shadow: 0 10px 40px #00000029;
    display: flex;
    flex-direction: column;
    height: 600px;
    overflow: hidden;
    position: absolute;
    right: 0;
    width: 420px
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.chat-header {
    background: #2c3e50;
    color: #fff;
    justify-content: space-between;
    min-height: 60px;
    padding: 16px
}

.chat-header,
.header-content {
    align-items: center;
    display: flex
}

.header-content {
    gap: 12px
}

.header-icon {
    animation: bounce 2s infinite;
    font-size: 24px
}

@keyframes bounce {

    0%,
    to {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-5px)
    }
}

.header-text h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0
}

.header-text p {
    font-size: 12px;
    margin: 0;
    opacity: .8
}

.close-btn {
    align-items: center;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 20px;
    justify-content: center;
    padding: 4px 8px;
    transition: transform .2s
}

.close-btn:hover {
    transform: rotate(90deg)
}

.error-banner {
    align-items: center;
    background-color: #fee;
    border-bottom: 1px solid #fcc;
    color: #c33;
    display: flex;
    font-size: 13px;
    justify-content: space-between;
    padding: 10px 16px
}

.error-banner button {
    background: none;
    border: none;
    color: #c33;
    cursor: pointer;
    font-weight: 700;
    padding: 0
}

.messages-container {
    background: #f9fafb;
    display: flex;
    flex: 1 1;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    padding: 16px
}

.messages-container::-webkit-scrollbar {
    width: 6px
}

.messages-container::-webkit-scrollbar-track {
    background: #0000
}

.messages-container::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px
}

.messages-container::-webkit-scrollbar-thumb:hover {
    background: #9ca3af
}

.message {
    animation: fadeIn .3s ease-out;
    display: flex;
    gap: 8px
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

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

.message-icon {
    color: #667eea;
    flex-shrink: 0;
    margin-top: 4px
}

.message-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 70%
}

.message.user .message-content {
    align-items: flex-end
}

.message-text {
    word-wrap: break-word;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
    padding: 10px 14px;
    white-space: pre-wrap
}

.message.agent .message-text {
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #1f2937
}

.message.user .message-text {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff
}

.message-time {
    color: #9ca3af;
    font-size: 11px;
    padding: 0 4px
}

.typing-indicator {
    align-items: center;
    display: flex;
    gap: 4px;
    padding: 10px 14px
}

.typing-indicator span {
    animation: typing 1.4s infinite;
    background: #9ca3af;
    border-radius: 50%;
    height: 6px;
    width: 6px
}

.typing-indicator span:nth-child(2) {
    animation-delay: .2s
}

.typing-indicator span:nth-child(3) {
    animation-delay: .4s
}

@keyframes typing {

    0%,
    60%,
    to {
        opacity: .3;
        transform: translateY(0)
    }

    30% {
        opacity: 1;
        transform: translateY(-8px)
    }
}

.chat-form {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 8px;
    padding: 12px
}

.chat-input {
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    flex: 1 1;
    font-size: 14px;
    outline: none;
    padding: 10px 16px;
    transition: border-color .2s
}

.chat-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px #667eea1a
}

.chat-input:disabled {
    background-color: #f3f4f6;
    color: #d1d5db
}

.clear-btn,
.send-btn {
    align-items: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 16px;
    height: 40px;
    justify-content: center;
    transition: transform .2s, opacity .2s;
    width: 40px
}

.send-btn:hover:not(:disabled) {
    transform: scale(1.05)
}

.send-btn:active:not(:disabled) {
    transform: scale(.95)
}

.send-btn:disabled {
    cursor: not-allowed;
    opacity: .5
}

.clear-btn {
    background: #ef4444;
    font-size: 14px;
    padding: 0 12px;
    width: auto
}

.clear-btn:hover:not(:disabled) {
    opacity: .9
}

.spinner {
    animation: spin 1s linear infinite
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(1turn)
    }
}

.chat-toggle-btn {
    align-items: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px #667eea66;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 24px;
    height: 60px;
    justify-content: center;
    transition: all .3s;
    width: 60px
}

.chat-toggle-btn:hover {
    box-shadow: 0 6px 20px #667eea99;
    transform: scale(1.1)
}

.chat-toggle-btn:active {
    transform: scale(.95)
}

@media (max-width:480px) {
    .chat-window {
        border-radius: 16px;
        bottom: 80px;
        height: calc(100vh - 100px);
        max-height: 600px;
        right: 10px;
        width: calc(100vw - 20px)
    }

    .message-content {
        max-width: 85%
    }

    .chat-toggle-btn {
        bottom: 10px;
        height: 56px;
        right: 10px;
        width: 56px
    }
}

@media (max-width:360px) {
    .chat-window {
        border-radius: 0;
        bottom: 0;
        height: 100vh;
        max-height: none;
        right: 0;
        width: 100vw
    }
}

/*# sourceMappingURL=main.47841def.css.map*/
