/* Modal de visualização dos ICS */
.modal-ics-carrinho {
    position: fixed !important;
    z-index: 999999 !important;

    top: 0 !important;
    left: 0 !important;

    width: 100% !important;
    height: 100% !important;

    background: rgba(0, 0, 0, 0.35) !important;
}

/* Caixa principal do popup */
.modal-ics-carrinho .modal-dialog {
    width: calc(100% - 60px) !important;
    max-width: 1200px !important;
    margin: 30px auto !important;
}

/* Conteúdo */
.modal-ics-carrinho .modal-content {
    width: 100% !important;
    margin-top: 0 !important;
}

/* Área da lista */
.modal-ics-carrinho .modal-body {
    max-height: 65vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.modal-ics-carrinho .table {
    width: 100% !important;
    table-layout: auto;
}

.modal-ics-carrinho .table th:first-child,
.modal-ics-carrinho .table td:first-child {
    width: 20%;
    white-space: nowrap;
}

.modal-ics-carrinho .table th:nth-child(2),
.modal-ics-carrinho .table td:nth-child(2) {
    width: 80%;
}


/* EDITAR ICS - VISUALIZAÇÃO INICIAL */
.ics-edit-preview {
    width: 100%;
    min-height: 120px;
    padding: 15px;

    border: 1px solid #d8d8d8;
    border-radius: 4px;

    background: #fff;
}

.ics-edit-tag {
    display: inline-flex;
    align-items: center;

    margin: 4px;
    padding: 4px 7px;

    border: 1px solid #c8c8c8;
    border-radius: 3px;

    background: #f5f5f5;

    font-size: 13px;
    line-height: 18px;
}

.ics-edit-tag-x {
    margin-left: 7px;

    color: #888;
    font-size: 17px;
    font-weight: bold;

    line-height: 14px;

    cursor: pointer;
    user-select: none;
}
.ics-edit-tag-x:hover {
    color: #333;
}

.ics-edit-resumo {
    margin-top: 30px;
    padding: 20px;

    border: 1px solid #d8d8d8;
    border-radius: 4px;

    text-align: center;
    background: #fff;
}

.ics-edit-resumo hr {
    margin-top: 15px;
    margin-bottom: 15px;
}

.ics-adicionar-wrapper {
margin-top: 25px;
margin-bottom: 10px;
}

.ics-adicionar-wrapper label {
    display: block;
    margin-bottom: 8px;
}

.ics-adicionar-wrapper .chosen-container {
    width: 100% !important;
}

.ics-adicionar-wrapper .chosen-container-multi {
    width: 100% !important;
}

.ics-adicionar-wrapper .chosen-choices {
    min-height: 42px !important;
    padding: 5px !important;
}

.ics-edit-status.ics-limite-excedido {
    color: #dc3545 !important;
}

.guardar-ics-carrinho:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}