
[v-cloak] {
    display: none;
}

html,
body {
    height: 100%;
    margin: 0;
    overflow: hidden;
}

#main-content,
#app-chat,
.customer-chat-layout {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh !important;
    min-height: 100dvh !important;
}

.kmrs-skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 10050;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff;
    color: #111 !important;
    font-weight: 700;
    transform: translateY(-160%);
}

.kmrs-skip-link:focus {
    transform: translateY(0);
}

.customer-chat-page-container {
    height: 100%;
    overflow: hidden;
}

.customer-chat-page {
    min-height: 0 !important;
    height: 100%;
    overflow: hidden;
}

.customer-chat-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

.customer-chat-scroll {
    flex: 1 1 auto;
    width: 100%;
    height: 0 !important;
    min-height: 0;
}

.customer-chat-composer {
    flex: 0 0 auto;
    padding-top: 8px;
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff;
}

.border{
    border: 1px solid red;
}
.radius10,
.list-custom .q-item--active
{
    border-radius: 10px;
}

.line-normal{
    line-height: normal;
}

.font12{
    font-size: 12px !important;
}
.font13{
    font-size: 13px !important;
}
.font14{
    font-size: 14px !important;
}

.q-field--outlined .q-field__control{
    border-radius: 10px;
}

.list-custom .q-item {
    padding: 8px 5px;
}

.bg-mygrey{
    background: #f5f5f5;
}
.text-mygrey {
  color: #f5f5f5;
}

.border-grey{    
    border: 1px solid #ddd;
}

.my-emoticon{
    vertical-align: middle;
    height: 2em;
    width: 2em;    
}

.chat-wrapper{
    width: 100%; 
    max-width: 650px;    
    margin: auto;
}

.q-uploader__list{
    min-height:auto !important;    
}

/* .chat-delete-wrapper{
    display: none;
}
.list-custom .q-item:hover .time{    
    display: none;
}
.list-custom .q-item:hover .chat-delete-wrapper{    
    display: block;
} */

.chat-half-wrap{
    max-width: 350px;
    margin: auto;
}

@media (max-width: 600px) {
    .customer-chat-header {
        margin: 8px !important;
    }

    .customer-chat-header .q-toolbar {
        min-height: 64px;
        padding: 7px 10px !important;
    }

    .customer-chat-header .q-avatar {
        font-size: 44px !important;
    }

    .customer-chat-header .q-avatar .q-img {
        width: 44px !important;
        max-width: 44px !important;
        height: 44px !important;
    }

    .customer-chat-header h6 {
        overflow: hidden;
        font-size: 18px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .customer-chat-page {
        padding: 8px 10px max(8px, env(safe-area-inset-bottom)) !important;
    }

    .chat-wrapper {
        max-width: none;
        padding: 6px 0;
    }

    .customer-chat-scroll .q-message {
        margin-bottom: 10px;
    }

    .customer-chat-scroll .q-message-text {
        max-width: min(76vw, 420px);
    }

    .customer-chat-scroll .q-message-text-content {
        overflow-wrap: anywhere;
    }

    .customer-chat-scroll .q-message-sent .q-message-avatar {
        display: none !important;
    }

    .customer-chat-scroll .q-message-received .q-message-avatar,
    .customer-chat-scroll .q-message-received .q-message-avatar .q-img {
        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        height: 36px !important;
    }

    .customer-chat-composer > .full-width {
        padding: 6px 8px !important;
    }

    .customer-chat-composer .q-field__append .q-gutter-sm {
        display: flex;
        gap: 3px;
    }

    .customer-chat-composer .q-field__append .q-gutter-sm > * {
        margin-left: 0;
    }

    .customer-chat-composer .q-btn--round {
        min-width: 40px;
        min-height: 40px;
    }
}
