/*

██████╗ ██╗      █████╗  ██████╗██╗  ██╗ ██████╗██╗  ██╗ ██████╗ ██████╗ ██╗███╗   ███╗ █████╗          ██████╗ ██████╗ ███╗   ███╗
██╔══██╗██║     ██╔══██╗██╔════╝██║ ██╔╝██╔════╝██║  ██║██╔═══██╗██╔══██╗██║████╗ ████║██╔══██╗        ██╔════╝██╔═══██╗████╗ ████║
██████╔╝██║     ███████║██║     █████╔╝ ██║     ███████║██║   ██║██████╔╝██║██╔████╔██║███████║        ██║     ██║   ██║██╔████╔██║
██╔══██╗██║     ██╔══██║██║     ██╔═██╗ ██║     ██╔══██║██║   ██║██╔══██╗██║██║╚██╔╝██║██╔══██║        ██║     ██║   ██║██║╚██╔╝██║
██████╔╝███████╗██║  ██║╚██████╗██║  ██╗╚██████╗██║  ██║╚██████╔╝██║  ██║██║██║ ╚═╝ ██║██║  ██║ █████╗ ╚██████╗╚██████╔╝██║ ╚═╝ ██║
╚═════╝ ╚══════╝╚═╝  ╚═╝ ╚═════╝╚═╝  ╚═╝ ╚═════╝╚═╝  ╚═╝ ╚═════╝ ╚═╝  ╚═╝╚═╝╚═╝     ╚═╝╚═╝  ╚═╝ ╚════╝  ╚═════╝ ╚═════╝ ╚═╝     ╚═╝
*/
/* Estilos específicos para los ejemplos de position */
.contenedor-demo {
    border: 2px dashed #ccc;
    background-color: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    height: 200px;
    overflow: auto;
}

.caja {
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.caja-static {
    background-color: #3498db;
}

.caja-relative {
    background-color: #e74c3c;
}

.caja-absolute {
    background-color: #2ecc71;
}

.caja-fixed {
    background-color: #9b59b6;
}

.caja-sticky {
    background-color: #f1c40f;
    color: #333;
}

.ejemplo-codigo {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
}

/* Clases extraídas de estilos en línea */
.mb-10 {
    margin-bottom: 10px;
}

.pos-relative-demo {
    position: relative;
    left: 50px;
    top: 10px;
}

.pos-relative {
    position: relative;
}

.pos-absolute-demo {
    position: absolute;
    top: 20px;
    right: 20px;
}

.pos-fixed-demo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.scroll-container {
    height: 150px;
    overflow-y: scroll;
}

.pos-sticky-demo {
    position: sticky;
    top: 0;
    width: 100%;
}