#sigo-chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

#sigo-chatbot-bubble {
    width: 60px;
    height: 60px;
    background: #1e3a8a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.4);
    transition: all 0.3s ease;
}

#sigo-chatbot-bubble:hover {
    transform: scale(1.1) rotate(5deg);
}

#sigo-chatbot-window {
    width: 380px;
    height: 550px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
    position: absolute;
    bottom: 80px;
    right: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    transform: translateY(20px) scale(0.9);
    opacity: 0;
}

#sigo-chatbot-window.active {
    display: flex;
    transform: translateY(0) scale(1);
    opacity: 1;
}

.chatbot-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header .bot-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-header .bot-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.chatbot-header span {
    font-size: 12px;
    opacity: 0.8;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    animation: messageIn 0.3s ease;
}

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

.message.bot {
    align-self: flex-start;
    background: white;
    color: #334155;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.message.user {
    align-self: flex-end;
    background: #1e3a8a;
    color: white;
    border-bottom-right-radius: 4px;
}

.chatbot-input-area {
    padding: 15px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 10px;
}

.chatbot-input-area input {
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 15px;
    font-size: 14px;
    outline: none;
    transition: border 0.3s;
}

.chatbot-input-area input:focus {
    border-color: #3b82f6;
}

.chatbot-input-area button {
    background: #1e3a8a;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.chatbot-input-area button:hover {
    background: #3b82f6;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: white;
    padding: 15px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    margin-bottom: 10px;
}

.lead-form input {
    border: 1px solid #cbd5e1;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
}

.lead-form button {
    background: #1e3a8a;
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 10px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #cbd5e1;
    border-radius: 50%;
    animation: typing 1s infinite ease-in-out;
}

@keyframes typing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

/* NEW STYLES */
#chatbot-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border: none;
    cursor: pointer;
    font-size: 14px;
}

#chatbot-feedback-screen {
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

#chatbot-idle-warning {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.chatbot-link {
    color: #1e3a8a;
    text-decoration: underline;
    font-weight: 600;
}

.hidden {
    display: none !important;
}
