@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --gray-bg: #F9F9F9;
    --gray-border: #E4E6F1;
    --gray-item-bg: #F9F9F9;
    --gray-icon: #9196AB;


    --primary-blue: #117EFF;
    --primary-blue-hover: linear-gradient(90deg, #00E1FF 0%, #117EFF 100%);
}

button.filter-button {
    background: var(--primary-blue);
    border-radius: 5px;
    padding: 10px 20px;
    color: #FFFFFF;
    border: none;

    font-size: 14px;
    font-weight: 700;
    cursor: pointer;

    height: 35px;
    display: flex;
    align-items: center;
}

button.filter-button:hover {
    background: var(--primary-blue-hover);
    -webkit-animation: button_animation 50s ease infinite;
    -moz-animation: button_animation 50s ease infinite;
    animation: button_animation 50s ease infinite;
}

button.filter-button span{
    display: flex;
}

button.filter-button svg{
    fill: #FFFFFF;
    width: 16px;
    margin-right: 5px;
}

label {
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 15px;
    color: #3E4157;
}

.secondary-btn {
    background: #ffffff;
    border-radius: 5px;
    padding: 10px 20px;
    border: 1px solid #117EFF;
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    gap: 7.5px;
}

.secondary-btn svg {
    width: 16px;
    height: 16px;
    color: var(--primary-blue);
    fill: var(--primary-blue);
}

.secondary-btn:hover {
    background: var(--primary-blue-hover);
    color: #ffffff;
    border: 1px solid #f9f9f9;
}

.secondary-btn:hover svg {
    fill: #ffffff;
}


/*  modal base */
.altu-modal {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    padding: 30px;
    background-color: rgb(62 65 87 / 63%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
}

.altu-modal .altu-modal-dialog label {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: #3E4157;
    margin-bottom: 0;
}

.altu-modal .altu-modal-dialog {
    background: #ffffff;
    width: 100%;
    max-width: 990px;
    box-shadow: 0px 2px 10px rgb(62 65 87 / 25%);
    border-radius: var(--sds-b-radius-2);
    padding: 25px 30px;
}

.altu-modal .altu-modal-dialog.sm {
    max-width: 420px;
}

.altu-modal .divisor {
    width: 100%;
    padding: 0 25px;
    border-top: 1px solid var(--gray-border);
    margin: 15px auto 25px;
}

.altu-modal-header .altu-modal-title{
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 15px;    
    color: #9196AB;
    margin: 0;
}

.altu-modal-footer {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.altu-modal-footer.flex-footer {
    justify-content: space-between;
}

.altu-modal-footer.flex-footer .modal-btn {
    margin: 0;
}

.container-modal-btn {
    display: flex;
    align-items: center;
}

.modal-btn {
    font-style: normal;
    font-weight: bold;
    font-size: 12px;
    line-height: 15px;
    color: #117EFF;
    background-color: transparent;
    border: none;
    margin: 0 20px;
    padding: 7px 10px !important;
    gap: 7.5px;
}

.modal-btn.danger {
    color: #F27457;
}

.altu-modal-footer .modal-btn:first {
    margin-right: 25px;
}

.altu-modal-footer .modal-btn:hover {
    background-color: #f9f9f9;
}

.altu-modal .content p {
    font-size: 12px;
}

.altu-modal-footer .modal-btn.close {
    color: #9196AB;
}

/* pagination */
.flex-pagination {
    display: flex;
    align-items: center;
}

.page-link {
    position: relative;
    display: block;
    padding: .5rem 5px;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff !important;
    background-color: transparent !important;
    border: none !important;
    font-style: normal;
    font-weight: 700 !important;
    font-size: 12px !important;
    line-height: 15px;
    border-radius: 0 !important;
}

.pagination-container.top-pagination {
    display: flex;
    padding: 0;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    background: #f9f9f9;
}

.pagination-container .dataTables_info {
    margin-left: 10px;
    font-size: 12px;
    line-height: 31px;
}

.page-item.active .page-link {
    color: #3E4157 !important;
    border-bottom: 2px solid #3E4157 !important
}

.custom-checkbox-container {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    display: flex;
}

.custom-checkbox-container input {
    visibility: hidden;
}
  
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 16px;
    width: 16px;
    background-color: #fff;
    border-radius: 3px;
    padding: 0;
    border: 1px solid #E4E6F1;
}

.custom-checkbox-container:hover input ~ .checkmark {
    background-color: #e9e9e9;
}

.custom-checkbox-container input:checked ~ .checkmark {
    background-color: #117EFF;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox-container .checkmark:after {
    left: 5px;
    top: 2px;
    width: 3px;
    height: 8px;
    border: solid white;
    border-width: 0 1px 1px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.altu-custom-select {
    position: relative;
}

.custom-option {
    display: none;
    position: absolute;
    background: #ffffff;
    width: 260px;
    z-index: 99;
    box-shadow: 0px 2px 10px rgb(62 65 87 / 25%);
    border-radius: 5px;
    top: 25px;
}

.selected {
    display: flex;
    cursor: pointer;
}

.selected svg {
    width: 13px;
}

span.selected-option {
    margin-right: 15px;
    font-weight: bold;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 17px;
    color: #3E4157;
}

.custom-option .altu-select-option {
    padding: 7px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.altu-select-option svg {
    width: 10px;
}

.custom-option div:hover {
    background-color: #f1f1f1;
}

.border-button {
    border: 1px solid #117EFF;
    box-sizing: border-box;
    border-radius: 3px;
}

.border-button:hover {
    background: var(--primary-blue-hover);
    color: #ffffff;
    border: 1px solid #f9f9f9;
}

.border-button svg {
    width: 16px;
    height: 16px;
    color: var(--primary-blue);
    fill: var(--primary-blue);
}

.border-button:hover svg {
    fill: #ffffff;
}

/* 
    Instruções
        Adicionar quantidade de colunas (sem contar a de ícones!) na classe .content-wrapper (pra definir o max-width da tela)
        .content-wrapper.col3 ---- Caso tenha 3 colunas
        .content-wrapper.col4 ---- Caso tenha 4 colunas
        .content-wrapper.col5 ---- Caso tenha 5 colunas

        -----Cabeçalho-----
        <div class="altu-row-header">
            <div class="altu-col">TEXT</div>
            <div class="altu-col">TEXT</div>
            <div class="altu-col">TEXT</div>
            <div class="altu-col-icons">TEXT</div> CASO TENHA ÍCONE NA LISTA
        </div>

        -----Listagem-----
        <div class="altu-row">
            <div class="altu-col">TEXT</div>
            <div class="altu-col">TEXT</div>
            <div class="altu-col">TEXT</div>
            <div class="altu-col-icons">TEXT</div> CASO TENHA ÍCONE NA LISTA
        </div>

        Caso precise de 2 elementos alinhados na coluna basta adicionar dentro de uma div
        Os elementos terão distância de 10px
        Ex:
            <div class="altu-col">
                <div>
                    <element /> ----- margin-right: 10px
                    <element />
                </div>
            </div>
*/

.altu-row,
.altu-row-header {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    gap: 20px;
    text-align: left;
}

.altu-row-header {
    font-weight: 500;
    font-size: 11px;
    line-height: 10px;
    color: #9196AB;
}

.altu-row {
    background: #FFFFFF;
    border: 1px solid #E4E6F1;
    border-radius: 5px;
    margin-bottom: 10px;
}

.altu-row:last-child {
    margin-bottom: 0;
}

.altu-col {
    width: 100%;
}

.altu-col > div {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.altu-row-header .altu-col-icons {
    min-width: 70px;
}

.altu-row .altu-col-icons {
    min-width: 70px;
    gap: 5px;
    display: flex;
    justify-content: flex-end;
}

.altu-row .altu-col-icons svg {
    width: 20px !important;
    height: 20px !important;
}

@media only screen and (max-device-width: 1400px) {
    .altu-col {
        min-width: 204px;
    }
}

/* TABELA */

.clickable {
    cursor: pointer;
}

.contact-info-attributes .box-attributes-info {
    display: flex;
}

.contact-info-attributes .box-attributes-info > div {
    margin-right: 7px;
}

.contact-info-attributes .box-attributes-info > div:last-child {
    margin-right: 30px;
}

.contact-info-attributes .attribute-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 20px;
    padding: 5px 10px;
    background-color: #F9F9F9;
    border: 1px solid #E5E5E5;
    box-sizing: border-box;
    border-radius: 10px;
    margin-bottom: 10px;
}

.contact-info-attributes .attribute-info .title {
    font-style: normal;
    font-weight: 500;
    font-size: 11px;
    line-height: 11px;
    color: #3E4157;
    margin-bottom: 0;
    margin-right: 10px;
}

.contact-info-attributes .attribute-info .contact-subtitle {
    font-style: normal;
    font-weight: normal;
    font-size: 11px;
    line-height: 12px;

    color: #3E4157;
    white-space: nowrap;
}

.contact-info-attributes .no-attributes {
    font-size: 11px;
    font-style: italic;
    color: #bac3d9;
    margin-bottom: 13px;
}

 /* BUTTONS */

    /* Toggle */
        /* 
            Proportion is important!

            If you need to change the toggle size
            Example:
            .altu-toggle {
                width: 34px to width: 39px;
            }

            You need to add same difference to height from .altu-toggle and width and height from .altu-toggle .slider:before

            And if the toggle have text (div), add the difference to left too
        */

        .altu-toggle {
            position: relative;
            width: 34px;
            height: 19px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .altu-toggle input { 
            opacity: 0;
            width: 0;
            height: 0;
        }

        .altu-toggle div {
            position: absolute;
            left: 45px;
            width: max-content;
            color: var(--me-texto-1);
        }

        .altu-toggle div.bold {
            color: #3e4157 !important;
            font-weight: 600;
    
        }

        .altu-toggle .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 12px;
            background-color: var(--secondary-gray);
            transition: .25s;
            -webkit-transition: .25s;
        }

        .altu-toggle .slider:before {
            position: absolute;
            content: "";
            height: 13px;
            width: 13px;
            left: 3px;
            bottom: 3px;
            background-color: #FFF;
            -webkit-transition: .25s;
            transition: .25s;
            border-radius: 9px;
        }

        .altu-toggle input:checked + .slider {
            background-color: #117EFF;
        }

        .altu-toggle input:checked + .slider:before {
            -webkit-transform: translateX(15px);
            -ms-transform: translateX(15px);
            transform: translateX(15px);
        }
    /* Toggle */

