/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .hmeonot-chat-window {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        max-height: 100vh;
    }

    .hmeonot-chat-widget.position-right-center,
    .hmeonot-chat-widget.position-right-bottom,
    .hmeonot-chat-widget.position-left-center,
    .hmeonot-chat-widget.position-left-bottom {
        right: 15px;
        bottom: 15px;
        top: auto;
        left: auto;
        transform: none;
    }

    .hmeonot-chat-button {
        width: 56px;
        height: 56px;
    }

    .hmeonot-chat-header {
        padding: 12px 15px;
    }

    .hmeonot-chat-messages {
        padding: 10px;
    }

    .hmeonot-chat-input {
        padding: 10px;
    }

    .hmeonot-chat-input textarea {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .hmeonot-chat-message {
        max-width: 90%;
        font-size: 13px;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hmeonot-chat-window {
        height: 100vh;
    }

    .hmeonot-chat-messages {
        max-height: calc(100vh - 130px);
    }
}

/* iPad and tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .hmeonot-chat-window {
        width: 360px;
        height: 550px;
    }
}

/* Hide widget on print */
@media print {
    .hmeonot-chat-widget {
        display: none !important;
    }
}
