/* --- CHATBOT STYLES (Ported from yepzhi.com) --- */
.chatbot-button {
    position: fixed;
    top: auto;
    /* Override yepzhi specific positioning */
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 28px;
    padding: 12px 24px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: float 3s ease-in-out infinite;
}

.chatbot-button:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 32px rgba(102, 126, 234, 0.5);
}

.chatbot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.chatbot-overlay.active {
    display: flex;
}

.chatbot-modal {
    background: #0a0a0a;
    background-image:
        radial-gradient(at 27% 37%, hsla(215, 98%, 61%, 0.15) 0px, transparent 50%),
        radial-gradient(at 97% 21%, hsla(125, 98%, 72%, 0.1) 0px, transparent 50%);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    max-width: 500px;
    height: 600px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    animation: slideUp 0.4s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-header {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.chatbot-header p {
    margin: 4px 0 0 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.chatbot-close {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 20px;
    transition: all 0.2s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.chatbot-message {
    display: flex;
    animation: slideUp 0.3s ease-out;
}

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

.chatbot-message.bot {
    justify-content: flex-start;
}

.chatbot-message-content {
    max-width: 75%;
    padding: 14px 18px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.chatbot-message.user .chatbot-message-content {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    border-color: rgba(102, 126, 234, 0.3);
}

.chatbot-message.bot .chatbot-message-content {
    background: rgba(20, 20, 20, 0.6);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-line;
}

.chatbot-message-time {
    margin: 6px 0 0 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
}

.chatbot-message.user .chatbot-message-time {
    text-align: right;
}

.chatbot-typing {
    padding: 14px 18px;
    border-radius: 20px;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 14px;
}

.chatbot-input-area {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    display: flex;
    gap: 12px;
}

.chatbot-input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: white;
    font-size: 14px;
    outline: none;
}

.chatbot-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.chatbot-send {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 18px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.chatbot-send:hover {
    background: linear-gradient(135deg, #7c8dff 0%, #8a5cb8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(102, 126, 234, 0.6);
}

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

@media (max-width: 600px) {
    .chatbot-button {
        bottom: 20px;
        right: 15px;
        padding: 10px 20px;
        font-size: 12px;
    }
}