/* bot.css */
.bot-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.bot-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,229,255,0.4);
    transition: transform 0.3s;
}

.bot-toggle:hover {
    transform: scale(1.1);
}

.bot-window {
    display: none;
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: rgba(1, 22, 39, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

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

.bot-header {
    background: rgba(0, 229, 255, 0.1);
    padding: 15px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.bot-header h3 {
    margin: 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bot-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
}

.bot-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.bot-msg.bot {
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    border: 1px solid rgba(255,255,255,0.1);
}

.bot-msg.user {
    background: rgba(0,229,255,0.15);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    border: 1px solid var(--primary);
}

.bot-input-area {
    padding: 15px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    gap: 10px;
    background: rgba(0,0,0,0.2);
}

.bot-input-area input {
    flex: 1;
    background: var(--bg-dark);
    border: 1px solid var(--border-glass);
    color: #fff;
    padding: 10px 15px;
    border-radius: 20px;
    outline: none;
}

.bot-input-area button {
    background: var(--primary);
    color: #000;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bot-lead-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
    margin-top: auto;
    margin-bottom: auto;
}

.bot-lead-form input {
    background: var(--bg-dark);
    border: 1px solid var(--border-glass);
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    outline: none;
}

.bot-lead-form button {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

@media (max-width: 480px) {
    .bot-window {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100dvh;
        max-height: none;
        border-radius: 0;
        z-index: 999999;
    }
}
