/* ==================== SUPPORT BOT STYLES ==================== */
#support-bot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Bot Bubble (Minimized) */
.support-bot-bubble {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    border: 2px solid white;
}

.support-bot-bubble:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.6);
}

.support-bot-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Notification Badge */
.bot-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-red);
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    border: 2px solid white;
}

/* Chat Window */
.support-bot-window {
    width: 350px;
    height: 500px;
    background: rgba(19, 24, 41, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    display: none;
    /* Hidden by default */
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.bot-header {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(168, 85, 247, 0.1));
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    gap: 12px;
}

.bot-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--accent-cyan);
    overflow: hidden;
}

.bot-header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bot-header-info h4 {
    margin: 0;
    font-size: 0.95rem;
    color: white;
}

.bot-header-info span {
    font-size: 0.75rem;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    gap: 4px;
}

.bot-header-info span::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    display: inline-block;
}

.btn-close-bot {
    margin-left: auto;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.btn-close-bot:hover {
    color: white;
}

/* Messages Area */
.bot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-cyan) transparent;
}

.bot-messages::-webkit-scrollbar {
    width: 4px;
}

.bot-messages::-webkit-scrollbar-thumb {
    background: var(--accent-cyan);
    border-radius: 10px;
}

.message {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
    word-wrap: break-word;
}

.message.bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    border-bottom-left-radius: 2px;
}

.message.user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: white;
    border-bottom-right-radius: 2px;
}

.bot-typing {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 0 20px 10px;
    display: none;
}

/* Input Area */
.bot-input-area {
    padding: 15px 20px;
    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: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 8px 15px;
    color: white;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.bot-input-area input:focus {
    border-color: var(--accent-cyan);
}

.btn-send-bot {
    background: var(--accent-cyan);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.btn-send-bot:hover {
    transform: scale(1.1);
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .support-bot-window {
        width: calc(100vw - 40px);
        height: 400px;
        bottom: 80px;
        right: 20px;
    }
}