/* AMRO Air local support chat */

.support-chat {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 2000;
    display: none;
    width: min(370px, calc(100vw - 30px));
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 45px rgba(0, 0, 0, .24);
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.support-chat.is-open {
    display: block;
}

.support-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    color: #fff;
    background: #222;
}

.support-chat-header strong,
.support-chat-header small {
    display: block;
}

.support-chat-header small {
    margin-top: 2px;
    color: rgba(255, 255, 255, .72);
}

.support-chat-close {
    padding: 0 4px;
    border: 0;
    color: #fff;
    background: transparent;
    font-size: 27px;
    line-height: 1;
}

.support-chat-messages {
    height: 280px;
    overflow-y: auto;
    padding: 16px;
    background: #f7f7f7;
}

.support-chat-message {
    max-width: 86%;
    margin-bottom: 12px;
    padding: 10px 13px;
    border-radius: 12px;
    line-height: 1.45;
    white-space: pre-wrap;
}

.support-chat-message.bot {
    border-bottom-left-radius: 3px;
    background: #fff;
}

.support-chat-message.user {
    margin-left: auto;
    border-bottom-right-radius: 3px;
    color: #fff;
    background: #f05f40;
}

.support-chat-message a {
    font-weight: 600;
}

.support-chat-suggestions {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 10px 12px;
    border-top: 1px solid #eee;
}

.support-chat-suggestions button {
    flex: 0 0 auto;
    padding: 6px 9px;
    border: 1px solid #f05f40;
    border-radius: 14px;
    color: #d94e31;
    background: #fff;
    font-size: 12px;
}

.support-chat-form {
    display: flex;
    border-top: 1px solid #ddd;
}

.support-chat-form input {
    min-width: 0;
    flex: 1;
    box-sizing: border-box;
    padding: 13px;
    border: 0;
    outline: 0;
    font-size: 16px;
}

.support-chat-form button {
    width: 50px;
    border: 0;
    color: #fff;
    background: #f05f40;
}

@media (max-width: 480px) {
    .support-chat {
        right: 15px;
        left: 15px;
        bottom: 15px;
        width: auto;
        max-width: none;
    }

    .support-chat-messages {
        height: 240px;
    }
}
