/* Chatbot Styles */
.ai-chatbot {
    position: fixed;
    right: 30px;
    bottom: 100px;
    z-index: 1000;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #23bdb8 0%, #43e794 100%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

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

/* Robot Icon Styles */
.robot-icon {
    width: 40px;
    height: 40px;
    position: relative;
}

.robot-head {
    width: 24px;
    height: 20px;
    background: white;
    border-radius: 8px;
    position: relative;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.chatbot-toggle:hover .robot-head {
    transform: rotate(-5deg);
    animation: headShake 1s ease-in-out;
}

@keyframes headShake {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.antenna {
    width: 2px;
    height: 8px;
    background: white;
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.antenna::after {
    content: '';
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: -3px;
    left: -2px;
}

.eyes {
    display: flex;
    justify-content: space-around;
    padding-top: 6px;
}

.eye {
    width: 6px;
    height: 6px;
    background: #43e794;
    border-radius: 50%;
    animation: blink 3s infinite;
}

@keyframes blink {
    0%, 45%, 50%, 100% {
        transform: scale(1);
    }
    48% {
        transform: scale(0.1);
    }
}

.robot-body {
    width: 32px;
    height: 20px;
    background: white;
    border-radius: 0 0 8px 8px;
    margin: 2px auto 0;
    position: relative;
    overflow: hidden;
}

.chest {
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, 
        transparent 25%, 
        #43e794 25%, 
        #43e794 75%, 
        transparent 75%);
    position: absolute;
    top: 6px;
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% {
        transform: translateX(-20px);
    }
    100% {
        transform: translateX(20px);
    }
}

/* Chatbot Container Styles */
.chatbot-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: none;
    overflow: hidden;
}

.chatbot-header {
    background: linear-gradient(135deg, #23bdb8 0%, #43e794 100%);
    padding: 15px;
    color: white;
    display: flex;
    align-items: center;
}

.robot-avatar {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.mini-robot {
    transform: scale(0.5);
}

.chatbot-title {
    flex-grow: 1;
    font-weight: 500;
}

.close-chat {
    cursor: pointer;
    font-size: 20px;
    padding: 0 5px;
}

.chatbot-messages {
    height: 300px;
    padding: 15px;
    overflow-y: auto;
}

.message {
    margin-bottom: 10px;
    display: flex;
}

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

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

.message-content {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.4;
}

.bot-message .message-content {
    background: #f0f0f0;
}

.user-message .message-content {
    background: #e3f2fd;
    color: #1565c0;
}

.chatbot-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid #eee;
}

.chatbot-input input {
    flex-grow: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 15px;
    margin-right: 10px;
    font-size: 14px;
}

.chatbot-input input:focus {
    outline: none;
    border-color: #43e794;
}

.send-button {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #23bdb8 0%, #43e794 100%);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.send-button:hover {
    transform: scale(1.1);
}

.send-button svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 767px) {
    .ai-chatbot {
        bottom: 90px;
        right: 20px;
    }
} 