.ai-chatbot {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
    font-family: Arial, sans-serif;
}

.ai-chat-button {
    border: none;
    background: #0c1020;
    color: white;
    padding: 14px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.ai-chat-button span {
    margin-left: 6px;
}

.ai-chat-window {
    position: absolute;
    right: 0;
    bottom: 65px;

    width: 350px;
    height: 480px;

    background: white;
    border-radius: 18px;
    overflow: hidden;

    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);

    display: none;
    flex-direction: column;
}

.ai-chat-window.active {
    display: flex;
}

.ai-chat-header {
    background: #0c1020;
    color: white;
    padding: 16px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-chat-header strong {
    display: block;
    font-size: 16px;
}

.ai-chat-header small {
    display: block;
    margin-top: 4px;
    opacity: 0.7;
}

.ai-chat-header button {
    border: none;
    background: transparent;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

.ai-chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f8fafc;
}

.ai-message,
.user-message {
    max-width: 80%;
    padding: 10px 13px;
    margin-bottom: 12px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.ai-message {
    background: white;
    color: #1f2937;
    margin-right: auto;
}

.user-message {
    background: #0c1020;
    color: white;
    margin-left: auto;
}

.ai-chat-form {
    display: flex;
    padding: 12px;
    border-top: 1px solid #e5e7eb;
    background: white;
}

.ai-chat-form input {
    flex: 1;
    border: 1px solid #d1d5db;
    border-radius: 25px;
    padding: 11px 14px;
    outline: none;
}

.ai-chat-form button {
    width: 42px;
    height: 42px;
    margin-left: 8px;

    border: none;
    border-radius: 50%;

    background: #0c1020;
    color: white;

    cursor: pointer;
}

@media (max-width: 500px) {

    .ai-chatbot {
        right: 15px;
        bottom: 15px;
    }

    .ai-chat-window {
        width: calc(100vw - 30px);
        right: 0;
        height: 70vh;
    }

    .ai-chat-button span {
        display: none;
    }
}