/* Chatbot styles for Standard Magento */
.chatbot-button-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.chatbot-button {
    display: flex;
    align-items: center;
    background: linear-gradient(to right, #e74c3c, #9b59b6);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.chatbot-button:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.chatbot-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ffffff;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.chatbot-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.chatbot-button-text {
    font-weight: 500;
    margin: 0 8px;
}

.chatbot-button-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.chatbot-window {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    width: 100%;
    max-width: 380px;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    max-height: 625px;
}

.chatbot-header {
    background: linear-gradient(to right, #e74c3c, #9b59b6);
    padding: 16px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
}

.chatbot-title {
    font-weight: 500;
    margin: 0;
    font-size: 16px;
}

.chatbot-close-button {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
}

.chatbot-close-button:hover {
    opacity: 0.8;
}

.chatbot-close-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.chatbot-messages {
    height: 380px;
    overflow-y: auto;
    padding: 16px;
    background-color: #f5f7fa;
}

.chatbot-message {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
}

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

.chatbot-bubble {
    margin: 0 8px;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    max-width: 80%;
}

.chatbot-bubble p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.chatbot-bubble-bot {
    background-color: #ffffff;
    color: #333333;
}

.chatbot-bubble-user {
    background: linear-gradient(to right, #e74c3c, #9b59b6);
    color: #ffffff;
}

.chatbot-link {
    color: inherit;
    text-decoration: underline;
}

.chatbot-typing {
    padding: 16px;
}

.chatbot-typing-dots {
    display: flex;
    align-items: center;
    gap: 4px;
}

.chatbot-typing-dot {
    width: 8px;
    height: 8px;
    background-color: #999999;
    border-radius: 50%;
    animation: bounce 1s infinite;
}

.chatbot-typing-dot:nth-child(1) {
    animation-delay: 0.1s;
}

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

.chatbot-typing-dot:nth-child(3) {
    animation-delay: 0.3s;
}

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

.chatbot-suggestions {
    padding: 12px;
    background-color: #ffffff;
    border-top: 1px solid #e1e8ed;
}

.chatbot-suggestions-title {
    color: #777777;
    font-size: 12px;
    margin: 0 0 8px;
}

.chatbot-suggestions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chatbot-suggestion-button {
    font-size: 12px;
    background-color: #f1f3f5;
    color: #333333;
    border: none;
    padding: 6px 12px;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.chatbot-suggestion-button:hover {
    background-color: #e1e5ea;
}

.chatbot-input-container {
    padding: 12px;
    background-color: #ffffff;
    border-top: 1px solid #e1e8ed;
}

.chatbot-form {
    display: flex;
}

.chatbot-input {
    flex: 1;
    padding: 10px 12px;
    background-color: #f1f3f5;
    border: none;
    border-radius: 20px 0 0 20px;
    font-size: 14px;
    outline: none;
}

.chatbot-input:focus {
    box-shadow: 0 0 0 2px rgba(155, 89, 182, 0.3);
}

.chatbot-send-button {
    background: linear-gradient(to right, #e74c3c, #9b59b6);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
}

.chatbot-send-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chatbot-send-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.chatbot-footer {
    padding: 8px 12px;
    background-color: #f5f7fa;
    text-align: center;
    border-top: 1px solid #e1e8ed;
}

.chatbot-footer-text {
    color: #777777;
    font-size: 11px;
    margin: 0;
    line-height: 1.4;
}
