/* Bot Styles */
.bot-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.bot-button:hover {
    transform: scale(1.1);
    background: #0056b3;
}

.bot-chat-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 450px;
    height: 425px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.bot-chat-header {
    background: #007bff;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bot-chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 15px;
}

.bot-chat-input {
    border-top: 1px solid #eee;
    padding: 15px;
    display: flex;
    gap: 10px;
}

.bot-chat-input input {
    flex-grow: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.bot-chat-input button {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
}

.bot-message {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.bot-message.user {
    flex-direction: row-reverse;
}

.bot-message-content {
    background: #f0f2f5;
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 70%;
}

.sender-name {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.9em;
}

.message-text {
    word-wrap: break-word;
}

.bot-message.user .bot-message-content {
    background: #007bff;
    color: white;
}

/* Welcome Modal Styles */
.welcome-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.welcome-modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.welcome-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .bot-chat-container {
        width: 90%;
        height: 80vh;
        right: 5%;
        left: 5%;
        bottom: 70px;
    }

    .bot-button {
        bottom: 10px;
        right: 10px;
    }

    .welcome-modal-content {
        width: 95%;
        margin: 10px;
        padding: 20px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .bot-chat-container {
        width: 96%;
        height: 70vh;
        right: 2%;
        left: 2%;
        bottom: 60px;
    }

    .bot-message-content {
        max-width: 85%;
    }
} 