* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;

    font-family: Arial, Helvetica, sans-serif;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

:root {
    --primaria: #f08239;
    --fundo: #FFF;
    --text: #FFF;
    --text2: #000;
    --gelo: #d2d2d2;
}

.tx-2 {
    font-weight: bold;
    font-size: 1rem;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.row2 {
    display: flex;
    gap: 10px;
    align-items: center;
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.row_ {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.logo_app {
    display: block;
    width: 15%;
    min-width: 130px;
}

.logo_app img {
    max-width: 100%;
}

.app {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100dvh;

    display: flex;

    background-color: var(--fundo);

}

.header_top {
    padding: 10px;
}

.menu {
    gap: 25px;
}

.menu .iten_menu {
    text-decoration: none;
    color: var(--text2);
    font-size: .9rem;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all .3s ease;

}

.menu .iten_menu:hover {
    color: var(--primaria);
}

.menu .iten_menu.ative {
    padding: 8px;
    color: var(--text);
    background-color: var(--primaria);
}

.top_link {
    color: var(--text);
    background-color: var(--primaria);
    padding: 6px;
    text-decoration: none;
    border-radius: 5px;
    font-size: .7rem;
}

.btn_mobile_menu {
    width: 30px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    cursor: pointer;
    display: none;

}

.btn_mobile_menu span {
    background-color: var(--primaria);
    padding: 3px;
    border-radius: 3px;
}

.title_menu {
    display: none;
}

.btn_close {
    background-color: var(--primaria);
    color: var(--text);
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    border-radius: 10px;
}

.content {
    flex: 1;
    overflow: auto;

}

.serach {
    display: flex;
    align-items: center;
    border-radius: 10px;
    gap: 10px;
}

.input {
    background-color: #d2d2d288;
    padding: 10px;
    border: 0;
    border-radius: 10px;
    width: 100%;

    font-size: .8rem;
    outline: none;

}

.select {
    max-width: 200px;
}

.links_rows a {
    text-decoration: none;
    background-color: #f89a5c;
    color: #ec4c11;
    padding: 10px;
    border-radius: 10px;
}

/* table */

.table {
    flex: 1;
    width: 100%;

    font-size: .8rem;
    overflow: auto;
    position: relative;

}

table {
    border-collapse: collapse;
    width: 100%;

    font-size: .7rem;
}

table thead {
    background-color: var(--primaria);
    color: var(--text);
    font-weight: bold;
    position: sticky;
    top: 0;
    left: 0;
}

table td {
    padding: 10px;
}

table tbody.table_uni tr:nth-child(even) {
    background-color: var(--primaria);
    color: var(--text);
}


.button {
    text-decoration: none;
    padding: 10px;
    text-decoration: none;
    color: var(--primaria);
    background-color: #ffffff;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: bold;
    border: 0;
    cursor: pointer;
    transition: all .3s ease;
    color: #ee4d12;

    text-wrap: nowrap;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.button:hover {
    background-color: #ee4d12;
    color: var(--text);
    text-decoration: none;
    transform: scale(1.05);
}

.link {
    color: var(--primaria);
    text-decoration: none;
}

.button3 {
    background-color: var(--primaria);
    color: var(--text);

}

.button2 {
    text-decoration: none;
    padding: 10px;
    text-decoration: none;
    color: var(--text);
    border-radius: 10px;
    transition: all .3s ease;
    background-color: #ee4d12;
    color: #FFF;
}

.button2:hover {
    transform: scale(1.05);
    background-color: #ffffff;
    color: #ee4d12;

    font-weight: bold;

}

.button4 {
    animation: pulse .7s linear infinite;
}
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100%{
       transform: scale(1); 
       opacity: 0;
    }
}

.max_width {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}


/* Modal */
.overlay {
    background-color: #00000021;
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    padding: 10px;

    display: none;
    justify-content: center;
    align-items: center;



}

.overlay.ative {
    display: flex;
}

.overlay .modal {
    background-color: var(--fundo);
    min-width: 300px;
    min-height: 200px;
    padding: 10px;
    border-radius: 10px;

    box-shadow: 0 0 10px -2px var(--primaria);

    width: 80%;
}

.modal .content_modal {
    display: flex;
}

.content_load {
    display: flex;
    flex: 1;

    width: 100%;
    height: 100%;

    justify-content: center;
    align-items: center;
    min-width: 200px;
    min-height: 200px;

    flex-direction: column;
    gap: 10px;

}

.content_load .load {
    width: 3rem;
    height: 3rem;

    border: 10px solid var(--primaria);
    border-bottom: 10px solid transparent;
    border-radius: 100%;

    animation: load 1s linear infinite;
}

/* admin */
.admin {
    height: calc(100dvh - 80px) ;
    overflow-y: auto;
}

@keyframes load {
    0% {
        rotate: 0deg;
    }

    100% {
        rotate: 360deg;
    }
}


@keyframes show_menu {
    0% {
        height: 0;
        opacity: 0;
    }

    100% {
        height: calc(100% - 20px);
        opacity: 1;
    }
}

@keyframes hide_menu {
    0% {
        height: calc(100% - 20px);
        opacity: 1;
        display: flex;
    }

    100% {
        height: 0;
        opacity: 0;
        display: none;
    }
}


@media (max-width: 680px) {

    .max_width {
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
    }

    .title_menu {
        display: flex;
        width: calc(100% - 16px);
    }

    .menu {
        flex-direction: column;
        gap: 10px;

        position: absolute;
        top: 10px;
        left: 10px;

        width: calc(100% - 20px);

        z-index: 9999;

        background-color: var(--fundo);
        border-radius: 10px;

        box-shadow: 0 0 10px 5px var(--gelo);
        padding: 10px;

        gap: 10px;
        overflow: hidden;

        animation: hide_menu .3s linear forwards;
        display: none;

    }

    .menu.ative {
        display: flex;
        animation: show_menu .3s linear forwards;
    }

    .btn_mobile_menu {
        display: flex;
    }

    .menu .iten_menu {
        width: 100%;
        padding: 10px;
        border: 1px solid var(--primaria);
    }


}