/* Chatbot Widget Styles */
#inreco-chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

#inreco-chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #0B0F19;
    border: 2px solid #2DD4BF;
    box-shadow: 0 4px 12px rgba(45, 212, 191, 0.3);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#inreco-chatbot-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(45, 212, 191, 0.5);
}

#inreco-chatbot-toggle svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: #2DD4BF;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#inreco-chatbot-window {
    display: none;
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: rgba(19, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(45, 212, 191, 0.3);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    flex-direction: column;
    overflow: hidden;
    color: #F3F4F6;
}

#inreco-chatbot-window.open {
    display: flex;
    animation: slideUp 0.3s ease;
}

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

#inreco-chatbot-header {
    background: #0B0F19;
    padding: 16px;
    border-bottom: 1px solid rgba(45, 212, 191, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#inreco-chatbot-header h3 {
    margin: 0;
    font-size: 16px;
    color: #2DD4BF;
    font-weight: 600;
}

#inreco-chatbot-disclaimer {
    background-color: rgba(255, 170, 0, 0.15);
    color: #FFAA00;
    font-size: 11px;
    padding: 8px 12px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 170, 0, 0.2);
    font-style: italic;
}

#inreco-chatbot-close {
    background: none;
    border: none;
    color: #9CA3AF;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
#inreco-chatbot-close:hover {
    color: #F3F4F6;
}

#inreco-chatbot-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inreco-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

.inreco-msg-bot {
    background: rgba(45, 212, 191, 0.15);
    border: 1px solid rgba(45, 212, 191, 0.3);
    color: #F3F4F6;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.inreco-msg-user {
    background: #0B0F19;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #F3F4F6;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.inreco-msg-loading {
    display: flex;
    gap: 4px;
    padding: 12px 14px;
    align-items: center;
}
.inreco-dot {
    width: 6px;
    height: 6px;
    background: #2DD4BF;
    border-radius: 50%;
    animation: blink 1.4s infinite both;
}
.inreco-dot:nth-child(2) { animation-delay: 0.2s; }
.inreco-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
    0% { opacity: 0.2; }
    20% { opacity: 1; }
    100% { opacity: 0.2; }
}

#inreco-chatbot-input-area {
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 8px;
    background: #0B0F19;
}

#inreco-chatbot-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 8px 16px;
    color: #F3F4F6;
    outline: none;
    font-size: 14px;
    transition: border-color 0.2s;
}

#inreco-chatbot-input:focus {
    border-color: #2DD4BF;
}

#inreco-chatbot-send {
    background: #2DD4BF;
    color: #0B0F19;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
}

#inreco-chatbot-send:hover {
    transform: scale(1.1);
}
#inreco-chatbot-send svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
