@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body {
    overflow-y: hidden;
}

.loading-view {
    z-index: 2200;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.192);
    display: none;
    align-items: center;
    justify-content: center;
}

.loader {
    border: 10px solid #f3f3f3;
    border-radius: 50%;
    border-top: 10px solid #1975C5;
    width: 80px;
    height: 80px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.container-page {
    background-color: #FDFDFD;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/*MENU*/


/*TERMINO MENU*/

/*ELEMENTOS DEL MAINLAYOUT*/

main {
    overflow-x: hidden;
}

.content-main {
    padding: 50px 30px;
    box-sizing: border-box;
    width: 100%;
    overflow-y: auto;
}

.options-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    height: 40px;
    box-sizing: border-box;
    background-color: #FDFDFD;
    border-bottom: 1px solid #EAEAEA;
    position: fixed;
    width: 100%;
    z-index: 20;
}

.title-page-app {
    font-size: 16px;
}

.options-header .ul-edit-header {
    display: flex;
    flex-direction: row;
    list-style: none;
    align-items: center;
    font-size: 12px;
    gap: 5px;
}

.manometer-kpi {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 20px;
    box-sizing: border-box;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.card-kpi {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 10px 30px;
    border-radius: 10px;
    background-color: #F8F8F8;
    border: solid 1px #F3F3F3;
}

.option-edit-app {
    padding: 10px;
    display: flex;
    flex-direction: row;
    gap: 5px;
    text-decoration: none;
    color: black;
    border-radius: 5px;
    cursor:pointer;
}

    .option-edit-app:hover {
        background-color: #EAEAEA;
    }

/**/

.container-card-components {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: start;
    flex-wrap: wrap;
    padding: 20px;
    gap: 10px;
    box-sizing: border-box;
}

.dialog-form {
    position: fixed;
    top: 0;
    border: solid 1px transparent;
    background-color: transparent;
    border-radius: 5px;
    display: flex;
    height: 100vb;
    width: 100%;
    align-items: center;
    justify-content: center;
    transition: scale .3s ease, display .3s ease allow-discrete;
    scale: 0;
}

    .dialog-form[open] {
        scale: 1;
        transition: scale 0.3s ease-in-out;
        z-index: 2001;

        @starting-style {
            scale: 0;
        }
    }

#black-screen {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1999;
    box-sizing: border-box;
    border: solid 1px transparent;
    background-color: rgba(0, 0, 0, 0.11);
    width: 100%;
    height: 100%;
}

.card-new-components {
    flex: 1;
    min-width: 600px;
    max-width: 650px;
    height: auto;
    border: solid 1px #EAEAEA;
    background-color: white;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 0;
}

.container-card {
    display: flex;
    flex-direction: row;
    padding: 0;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.container-input {
    margin-top: 10px;
}

.line-left {
    height: auto;
    border-left: solid 10px #1f7fd3;
    border-radius: 5px 0px 0px 5px;
}

.article-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.header-card {
    position: relative;
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.edit-card {
    width: 30px;
    height: 20px;
    cursor: pointer;
    border: solid 1px transparent;
    background-color: transparent;
}

.controls-edit {
    position: relative;
    height: 20px;
    width: 20px;
}

.form-edit {
    position: absolute;
    height: auto;
    width: auto;
    padding: 5px;
    right: -5px;
    display: none;
    top: 20px;
    border-radius: 3px;
    border: solid 1px #EAEAEA;
    background-color: white;
    box-sizing: border-box;
}

.card-edit ul li {
    list-style: none;
}

    .card-edit ul li a {
        text-decoration: none;
        font-size: 12px;
        color: black;
        padding: 5px;
    }


.controls-edit:hover .form-edit {
    display: flex;
}

.article-card input {
    width: 100%;
}

.main-card {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}

.footer-card {
    display: flex;
    flex-direction: row;
    padding: 10px;
    justify-content: end;
    box-sizing: border-box;
}

.options-home {
    box-sizing: border-box;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.section-home {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.title-section {
    width: 100%;
    margin-top: 20px;
}

.grid-option {
    top: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Repetir columnas y ajustar */
    grid-auto-rows: 150px;
    gap: 20px;
    width: 100%; /* Asegurar que use el ancho completo del contenedor */
    max-width: calc(200px * 5 + 80px); /* Limitar a un máximo de 5 columnas */
    margin: 0 auto;
}

.options-app {
    background-color: #F3F3F3;
    box-sizing: border-box;
    padding: 20px;
    border-radius: 10px;
    text-decoration: none;
    color: black;
}

    .options-app:active {
        scale: 1.05;
    }

.container-option-app {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.label-target {
    font-size: 14px;
    text-align: center;
}

.img-icon {
    width: 60px;
    height: 40px;
}

.container-main {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: start;
    align-items: start;
    padding: 10px;
}


.form-container-detail {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: solid 1px #e2e2e2;
    border-radius: 5px;
    width: auto;
    gap: 20px;
    min-width: 25%;
    box-sizing:border-box;
}

    .form-container-detail.mwidth {
        min-width: 73%;
    }


.header-form-detail {
    background-color: #F3F3F3;
    border-radius: 5px 5px 0px 0px;
    padding: 15px 20px;
}

.article-form-detail {
    padding: 20px;
}


/*FIN MAINLAYOUT*/
@media (max-width:800px) {
    .select-options .inpt-option {
        display: none;
    }

    .detail-client {
        display: none;
    }

    .manometer-kpi {
        justify-content: center;
    }

    .card-new-components {
        margin:20px;
        min-width: 0px;
    }

    .container-main {
        flex-direction: column;
    }
}
