*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

.bg-white{
    background-color: #fff;
}

.flex{
    display: flex;
}

.w100{
    width: 100%;
}

.text-align-right{
    text-align: right;
}

.padding-header{
    padding: 10px 16px;
}

.without-min-width{
    min-width: auto !important;
}

/*
 * Modais do sistema:
 * - scroll no overlay (não no box)
 * - backdrop escuro fixo na viewport (não “some” ao rolar)
 */
.background_modal {
    --tf-modal-backdrop: rgba(34, 34, 34, 0.45);
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    align-items: flex-start !important;
    background: transparent !important;
}

.background_modal::before {
    content: "";
    position: fixed;
    inset: 0;
    background: var(--tf-modal-backdrop);
    pointer-events: none;
    z-index: 0;
}

.background_modal > * {
    position: relative;
    z-index: 1;
}

.background_modal .box_modal {
    max-height: none !important;
    overflow: visible !important;
    margin-top: auto;
    margin-bottom: auto;
}

.tf-modal-form,
.tf-modal-delete {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    align-items: flex-start !important;
}

.tf-modal-form-backdrop,
.tf-modal-delete-backdrop {
    position: fixed !important;
    inset: 0;
}

.tf-modal-form .tf-modal-form-card,
.tf-modal-delete .tf-modal-delete-card {
    max-height: none !important;
    overflow: visible !important;
    margin-top: auto;
    margin-bottom: auto;
}