/* Comment For Next Invoice popup — scoped to this modal only. */
.mm-next-invoice-comment-modal-window .modal-dialog {
    width: auto;
    max-width: 92vw;
    margin: 12px auto;
}

.mm-next-invoice-comment-modal-window .modal-content {
    border-radius: 6px;
    overflow: hidden;
}

.mm-next-invoice-comment-modal-window .mm-next-inv-comment-root {
    display: flex;
    flex-direction: column;
    background: #fff;
}

.mm-next-invoice-comment-modal-window .mm-next-inv-comment-header {
    background: #337AB7;
    padding: 10px 14px;
}

.mm-next-invoice-comment-modal-window .mm-next-inv-comment-title {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    text-align: left;
}

.mm-next-invoice-comment-modal-window .mm-next-inv-comment-body {
    padding: 14px 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 16px;
    line-height: 1.4;
    color: #1e293b;
    min-height: 3em;
}

.mm-next-invoice-comment-modal-window .mm-next-inv-comment-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 14px 14px;
    border-top: 1px solid #e2e8f0;
}

.mm-next-invoice-comment-modal-window .mm-next-inv-comment-ok {
    min-width: 7.5em;
    min-height: 44px;
}

@media (min-width: 768px) {
    .mm-next-invoice-comment-modal-window .modal-dialog {
        max-width: 36em;
        margin: 24px auto;
    }

    .mm-next-invoice-comment-modal-window .mm-next-inv-comment-body {
        font-size: 14px;
    }
}
