.wpgpt-toggle {
    position: fixed;
    bottom: 15px;
    left: 25px;
    color: #fff;
    width: 70px;
    height: 70px;
    padding: 0;
    z-index: 9999;
    border: 0;
    background: transparent;
    outline: none;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.wpgpt-toggle:focus {
    outline: none;
}

.wpgpt-toggle-img {
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 50%;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .wpgpt-toggle {
        width: 60px;
        height: 60px;
    }

}


.wpgpt-chatbox {
    display: none;
    position: fixed;
    bottom: 100px;
    left: 20px;
    height: 450px;
    width: 320px;
    border-radius: 15px;
    padding: 15px;
    background: #ffffff;
    z-index: 9999;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
    direction: rtl; /* RTL support */
    border: 1px solid #e5e5e5;
    font-family: "Tajawal", sans-serif;
}

.wpgpt-chat-messages {
    overflow: auto;
    height: calc(100% - 120px);
    border-radius: 15px;
    background: #f9f9f9;
    padding: 10px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.wpgpt-chat-message {
    border-radius: 10px;
    background: #f1f1f1;
    margin-bottom: 10px;
    padding: 10px;
    font-size: 0.8em;
    word-wrap: break-word;
}

.wpgpt-chat-message.assistant {
    background: #cce5ff;
}

.wpgpt-chat-input-wrapper {
    position: relative;
    padding-top: 10px;
}

.wpgpt-chat-input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    height: 50px;
    border: 1px solid #ccc;
    border-radius: 25px;
    resize: none;
    padding-right: 20px;
    padding-left: 50px;
    line-height: 1.2em;
    font-size: 0.9em;
}

.wpgpt-send {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 5px 10px;
    border-radius: 25px;
    background-color: #ac9d79;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpgpt-send:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.wpgpt-contact-info {
    margin-top: 10px;
    text-align: center;
    font-size: 0.9em;
}

.wpgpt-booking {
    margin-top: 10px;
    padding: 10px 15px;
    border: none;
    border-radius: 25px;
    background-color: #28a745;
    color: white;
    cursor: pointer;
    font-size: 0.9em;
}
