body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f2f2f2;
}

.mainTitle {
    background-color: #009999;
    width: 100%;
    margin-bottom: 3%;
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;

    i {
        margin-left: 5%;
        color: white;
    }

    p {
        color: white;
        text-transform: uppercase;
        font-size: 25px;
    }
}

.tituloSeccion {
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

.divider {
    background-color: #009999;
    height: 2px;
    margin: 1% 0 2% 0;
}

.seccion {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

    .label {
        font-weight: 500;
    }
}

.mainContainer {
    display: grid;
    grid-template-columns: 1fr;
    width: 90%;
    gap: 50px;
}

.container {
    gap: 20px;
}

.instancia {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);

    h4 {
        color: black;
        font-size: 1.2em;
        margin-bottom: 8px;
        margin-top: 0;
        font-weight: 500;
        text-transform: capitalize;
    }

    .status {
        font-weight: 600;
    }

    &.running {
        background-color: #e8f5e9;
    }

    &.stopped {
        background-color: #ffebee;
    }
}


/* Estilos para los enlaces de aplicaciones */
.apps {
    padding: 0;
    height: 700px;

    .header {
        background-image: url(./img/network2.jpg);
        height: 120px;
        display: flex;
        justify-content: center;
        align-items: end;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        background-position-y: center;
        background-position-x: -93px;

    }

    .round {
        background-image: url(./img/cat.png);
        background-size: contain;
        border-radius: 100%;
        height: 100px;
        width: 100px;

        i {
            font-size: 2.4em;
        }
    }


    .app-links {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        justify-items: flex-start;
        padding: 0 20px;
    }

    .app-card {
        background-color: #d7eaea;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        padding: 15px;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;

        &:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            background-color: #99cccb;
            cursor: pointer;
        }

        a {
            text-decoration: none;
            color: black;
            font-size: 18px;
            transition: color 0.3s ease;
        }
    }
}

.icon-img {
    width: 24px;
    height: 24px;
}

.icon-link {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 15px;
}

.footer {
    width: 80%;
    padding: 5%;

    i {
        font-size: 3em;
    }
}

i {
    &:hover {
        cursor: pointer;
    }

    &.disabled {
        color: #bebebe;
    }

    &.disabled:hover {
        cursor: not-allowed;
    }
}

.spinnerContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(245, 245, 245, 0.8);
    .spinner{
        border: 16px solid #f3f3f3;
        /* Light grey */
        border-top: 16px solid #009999;
        /* Blue */
        border-radius: 50%;
        width: 120px;
        height: 120px;
        animation: spin 2s linear infinite;
    }
    p{
        font-weight: 500;
        text-transform: uppercase;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.flex {
    display: flex;
}

.row {
    flex-direction: row;
}

.column {
    flex-direction: column;
}

.justify-center {
    justify-content: center;
}

.space-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.end {
    justify-content: end;
}

.gap8 {
    gap: 8px;
}
.gap32 {
    gap: 32px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 2fr);
}
@media (min-width: 768px) {
    .mainContainer {
        grid-template-columns: 2.5fr 1fr;
    }
}