﻿/* Layout principal: izquierda - centro - derecha */
.layout-iot {
    display: flex;
    width: 100%;
    gap: 1px;
    border-radius: 8px;
    overflow: hidden;
}

.left-column, .right-column {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    max-height: 600px;
    display: flex; /* Para .column-iot si lo usas */
    flex-direction: column;
}

.right-column {
    border-right: none;
}

.content-iot {
    flex: 2;
    padding: 30px;
    background-color: #fafafa;
    overflow-y: auto;
}

.option-iot {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s;
    border-right: 1px solid #eee;
    border-radius: 48px;
    background-color: var(--govcolor-cobalt);
    color: var(--govcolor-white);
    }

.option-iot .img-uso {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 20px;
    margin-right: 10px;
}

.option-iot:hover {
    background-color: #777777;
    color: white;
}

.option-iot.active {
    background-color: #E49E69;
    color: white;
}

.content-iot h2 {
    margin-top: 0;
}

.content-iot .img-uso {
    max-width: 120px;
    margin-bottom: 15px;
    display: block;
}

.content-iot .iframe-iot { /* Corregido selector */
    width: 560px;
    height: 315px;
}

.title-h2 {
    font-size: xxx-large;
    color: var(--govcolor-cobalt) !important;
}

p.int {
    font-size: 1rem;
    color: #666;
    margin: 0 auto;
    padding: 1rem;
}

.container-text {
    width: 100vw;
    margin: 0 auto !important;
}

/* Responsive móvil */
@media (max-width: 768px) {
    .layout-iot {
        flex-direction: column;
    }
    .left-column, .right-column, .content-iot {
        flex: none;
        max-height: none;
        border-right: none;
    }
}