:root {
    --naranja: #ff7017;
    --naranja-hover: #dd6114;
    --naranja-shadow: rgba(252,110,22,0.3);
    --naranja-trans: rgba(255,112, 23,0.2);
    --azul: #4961d7;
    --azul-hover: #3d51b5;
    --azul-shadow: rgba(72,95,212,0.3);
    --azul-trans: rgba(73,97,215,0.2);
    --azul-petroleo: #3c6c82;
    --azul-petroleo-hover: #2c5060;
    --azul-petroleo-shadow: rgba(58,105,127,0.3);
    --azul-petroleo-trans: rgba(60,108,130,0.2);
    --gris: #858585;
    --gris-hover: #636363;
    --gris-shadow: rgba(130,130,130,0.3);
    --gris-trans: rgba(133,133,133,0.2);
    --blanco: #ffffff;
    --negro: #000000;
}
.page-wrapper {
    height: 100%;
    padding: 0;
    overflow: hidden;
    width: 100%;
    background: var(--blanco);
}
/*** CHALLENGE PROGRESS START **************************/
.challenge-progress.active {
    transform: translateX(0);
    opacity: 1;
}
.challenge-progress {
    background: #fff;
    border-left: 1px solid #D9D9D9;
    box-sizing: border-box;
    bottom: 10px;
    margin: 0px;
    opacity: 0;
    overflow: auto;
    padding: 5px;
    position: absolute;
    transform: translateX(100%);
    transition: transform .7s ease, opacity .7s ease-in-out;
    top: 10px;
    right: 10px;
    width: 300px;
    z-index: 999;
}
.challenge-progress .visualizacion {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
.challenge-progress .titulo {
    color: var(--azul);
    font-weight: bold;
    text-align: center;
}
.challenge-progress .paso {
    position: relative;
    height: 100px;
    width: 100px;
}
.challenge-progress .paso:nth-child(8n+1) {
    left: 0%;
}
.challenge-progress .paso:nth-child(8n+2) {
    left: 15%;
}
.challenge-progress .paso:nth-child(8n+3) {
    left: 50%;
    transform: translateX(-50%);
}
.challenge-progress .paso:nth-child(8n+4) {
    left: calc(85% - 100px);
}
.challenge-progress .paso:nth-child(8n+5) {
    left: calc(100% - 100px);
}
.challenge-progress .paso:nth-child(8n+6) {
    left: calc(85% - 100px);
}
.challenge-progress .paso:nth-child(8n+7) {
    left: 50%;
    transform: translateX(-50%);
}
.challenge-progress .paso:nth-child(8n+8) {
    left: 15%;
}
.challenge-progress .paso.disabled {
    pointer-events: none;
}
.challenge-progress .paso .circle {
    background-color: #fff;
    border: 2px solid steelblue;
    border-radius: 50%;
    bottom: 10px;
    box-shadow: inset 0 0 10px steelblue;
    box-sizing: border-box;
    display: flex;
    left: 0px;
    padding: 10px;
    position: absolute;
    right: 0px;
    transform-style: preserve-3d;
    transform: perspective(400px) rotateX(40deg);
    transition: transform .1s ease-in-out;
    top: 0px;
}
.challenge-progress .paso .shadow {
    background-color: steelblue;
    border-radius: 50%;
    bottom: 0px;
    box-sizing: border-box;
    display: flex;
    left: 0px;
    position: absolute;
    right: 0px;
    transform-style: preserve-3d;
    transform: perspective(400px) rotateX(40deg);
    top: 10px;
    z-index: -1;
}
.challenge-progress .paso:not(.disabled):active .circle {
    transform: perspective(400px) rotateX(40deg) translateY(10px);
}
.challenge-progress .paso.disabled .circle {
    border: 2px solid #d3d3d3;
    box-shadow: inset 0 0 10px #d3d3d3;
}
.challenge-progress .paso.validado .circle {
    border: 2px solid green;
    box-shadow: inset 0 0 10px green;
}
.challenge-progress .paso.disabled .shadow {
    background-color: #d3d3d3;
}
.challenge-progress .paso.validado .shadow {
    background-color: green;
}
.challenge-progress .paso.disabled img {
    filter: grayscale(1);
}
.challenge-progress .paso img {
    left: 50%;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-60%);
    transition: transform .1s ease-in-out;
    max-height: 70px;
}
.challenge-progress .paso img[src='assets/images/path/gif.png'],
.challenge-progress .paso img[src='assets/images/path/ficha.png'] {
    max-width: 60px;
    max-height: 60px;
}
.challenge-progress .paso img[src='assets/images/path/check.png'] {
    top: auto;
    left: auto;
    bottom: 45%;
    right: 25%;
    transform: translate(50%,50%);
}
.challenge-progress .paso:not(.validado) img[src='assets/images/path/check.png'] {
    display: none;
}
.challenge-progress .paso .title {
    background: rgba(0,0,0,.5);
    box-shadow: 0 0 5px black;
    color: white;
    left: 50%;
    opacity: 0;
    padding: 5px;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-60%);
    transition: opacity .3s ease-in-out, transform .3s ease-in-out;
    white-space: nowrap;
    z-index: 5;
}
.challenge-progress .paso:hover .title {
    opacity: 1;
}
.challenge-progress .paso:not(.disabled):active .title {
    transform: translate(-50%,-30%);
}
.challenge-progress .paso:not(.disabled):active img:not(img[src='assets/images/path/check.png']) {
    transform: translate(-50%,-50%);
}
.challenge-progress .paso:not(.disabled):active img[src='assets/images/path/check.png'] {
    transform: translate(50%,70%);
}
/*** CHALLENGE PROGRESS END ****************************/

/*** SIDEBAR START *************************************/
.sidebar-wrapper {
    bottom: 10px;
    height: auto;
    left: 10px;
    position: absolute;
    top: 10px;
    border-radius: 0px;
    border: none;
}
.sidebar-wrapper .sidebar-menu {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    padding: 0px;
}
    /*** SIDEBAR LOGO START ********************************/
    .sidebar-wrapper .sidebar-logo {
        padding: 10px;
    }
    .sidebar-wrapper .sidebar-logo img {
        width: 100%;
    }
    /*** SIDEBAR LOGO END **********************************/
    
    /*** SIDEBAR SCROLL START ******************************/
    .sidebar-wrapper .sidebarMenuScroll {
        border-right: 1px solid #D9D9D9;
        flex: 1;
        height: auto;
        overflow: auto;
        padding-top: 5px;
        scrollbar-width: thin;
    }
    /*** SIDEBAR SCROLL END ********************************/

    /*** SIDEBAR OPTIONS START *****************************/    
    .sidebar-submenu li {
        margin-bottom: 2px;
    }
    .sidebar-wrapper .sidebar-menu ul li a {
        align-items: end;
        position: relative;
        margin: 0px 5px;
        flex-direction: row;
        justify-content: flex-start;
        padding: 10px 5px 15px 5px;
    }
    .sidebar-submenu li i {
        color: rgb(255, 112, 25) !important;
    }
    .sidebar-submenu li img {
        max-width: 50px;
    }
    .sidebar-submenu li span {
        color: var(--azul-petroleo);
        font-weight: bold;
        text-align: left;
        font-family: "Montserrat", Sans-serif;
    }
    .sidebar-submenu li label.img-challenge {
        background-image: radial-gradient(93% 87% at 87% 89%, rgba(0, 0, 0, 0.23) 0%, transparent 86.18%),radial-gradient(66% 87% at 26% 20%, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, 0) 100%) !important; 
        border-radius:50%;
        text-align:center;
        width:26px;
        height:26px;
        background-color:var(--azul);
        color:var(--blanco);
        align-self:center;
        position:absolute;
        padding-top: 2px;
        top: 50%;
        transform: translateY(-50%);
        box-sizing: border-box;
    }
    .sidebar-submenu li label.desc-challenge {
        padding-left: 30px;
        min-height: 26px;
        padding-top: 3px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        color: var(--azul-petroleo);
        font-weight: bold;
        text-align: left;
        font-family: "Montserrat", Sans-serif;
    }
    .sidebar-submenu li.sidebar-folder > a:before,
    .sidebar-submenu li.challenge-folder > a:before {
        content: '';
        position: absolute;
        width: 12px;
        height: 12px;
        right: 20px;
        top: 45%;
        z-index: 2;
        border-right: 3px solid var(--azul);
        border-bottom: 3px solid var(--azul);
        transform: rotate(45deg) translateY(-50%);
        transition: transform .2s ease-in-out;
    }
    .sidebar-submenu li.sidebar-folder.active > a:before,
    .sidebar-submenu li.challenge-folder.active > a:before {
        transform: translate(0px,3px) rotate(-135deg);
    }
    .sidebar-submenu li.sidebar-folder .sidebar-submenu li,
    .sidebar-submenu li.challenge-folder .sidebar-submenu li {
        max-height: 0px;
        overflow: hidden;
        transition: max-height .2s ease-in-out;
    }
    .sidebar-submenu li.sidebar-folder.active .sidebar-submenu li,
    .sidebar-submenu li.challenge-folder.active .sidebar-submenu li {
        max-height: 150px;
    }
    .sidebar-submenu li:not(.disabled) a:hover {
        cursor: pointer;
    }
    .sidebar-submenu li:not(.disabled) a:after {
        content: '';
        border: 2px solid #fff;
        border-radius: 8px;
        position: absolute;
        transition: background-color .3s linear, border-color .3s ease;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: -1;
    }
    .sidebar-submenu li:not(.disabled,.current-page) a:hover:after {
        content: '';
        border: 2px solid var(--azul);
        border-bottom: 6px solid var(--azul);
    }
    .sidebar-submenu li.current-page a:after {
        background: var(--azul-trans);
    }
    .sidebar-submenu li.current-page a:after {
        border: 2px solid var(--azul);
    }
    .sidebar-submenu li:not(.disabled) a:active:after {
        border-bottom: 2px solid var(--azul);
    }
    .sidebar-submenu li:not(.disabled,.current-page) a:active span,
    .sidebar-submenu li:not(.disabled,.current-page) a:active img, 
    .sidebar-submenu li:not(.disabled,.current-page) a:active i {
        animation: none !important;
        transform: translateY(4px);
    }
    .sidebar-submenu li.disabled a {
        pointer-events: none;
    }
    .sidebar-submenu li.disabled i {
        animation: none !important;
        color: var(--gris) !important;
    }
    .sidebar-submenu li.disabled img {
        filter: grayscale(100%);
        opacity: 0.2;
    }
    .sidebar-submenu li.disabled span {
        color: var(--gris);
        opacity: 0.2;
    }
    /*** SIDEBAR OPTIONS END *******************************/
    
/*** SIDEBAR END ***************************************/

/*** CONATINER START ***********************************/
.main-container {
    bottom: 0px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: auto;
    left: 0px;
    position: absolute;
    right: 0px;
    top: 0px;
    transition: padding-right .7s ease-in-out;
}
.challenge-progress.active ~ .main-container {
    padding-right: 320px;
}
    /*** HEADER START **************************************/
    .page-header {
        gap: 10px;
        padding: 10px 10px 0px;
        flex-wrap: initial;
    }
    .page-header .program-content {
        display: flex; 
        flex-direction: row; 
        align-items: center;
    }
    .page-header .program-content .program-icon {
        max-height: 81px;
    }
    .page-header .program-content .program-title, .page-header .program-content .program-name {
        color: var(--naranja);
        font-weight: bold;
        font-size: 1rem;
        font-family: "Montserrat", Sans-serif;
    }
    .page-header .program-content .program-name {
        display: none;
    }
    /*** HEADER END ****************************************/
    
    /*** SIDEBAR BUTTON START ******************************/
    .page-header .toggle-sidebar {
        z-index: 1;
        background: var(--azul-petroleo, #2c5aa0) !important;
        background-image: none !important;
        display: none; /* Oculto por defecto en desktop */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 10px;
        width: 44px;
        height: 44px;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }
    
    .page-header .toggle-sidebar:hover {
        background: var(--naranja, #ff7017) !important;
        border-color: var(--naranja, #ff7017);
        transform: scale(1.05);
    }
    
    .page-header .toggle-sidebar:active {
        transform: scale(0.95);
    }
    
    .hamburger-line {
        width: 24px;
        height: 3px;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s ease;
        pointer-events: none;
    }
    
    /* Animación cuando está activo/abierto */
    .page-wrapper.toggled .toggle-sidebar .hamburger-line:first-child {
        transform: translateY(8px) rotate(45deg);
    }
    
    .page-wrapper.toggled .toggle-sidebar .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    
    .page-wrapper.toggled .toggle-sidebar .hamburger-line:last-child {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .toggle-sidebar i {
        pointer-events: none;
        display: none; /* Ocultar el icono viejo si existe */
    }
    /*** SIDEBAR BUTTON END ********************************/
    
    /*** CONTENT WRAPPER START *****************************/
    .content-wrapper-scroll {
        flex: 1;
        position: relative;
        overflow-x: hidden;
        overflow-y: auto;
    }
    .content-wrapper {
        height: 100%;
        overflow-x: hidden !important;
        transition: opacity 0.7s ease-in-out;
    }
    .content-wrapper.hide-content {
        /*display: none;*/
        opacity: 0;
        pointer-events: none;
    }
    /*** CONTENT WRAPPER END *******************************/
    
    /*** APP FOOTER START **********************************/
    .app-footer {
        padding: 0px 15px 10px;
    }
    /*** APP FOOTER END ************************************/
    
/*** CONATINER END *************************************/

/*** COINS ***/
/*----------------------------*/
/* SPINNING OBJECTS */
/*----------------------------*/
@keyframes brightness {
    0%, 50%, 100% {
        filter: blur(0px) brightness(120%) drop-shadow(0 0 2.5px rgba(255, 255, 255, 0.1)) drop-shadow(0 0 5px rgba(255, 255, 255, 0.075)) drop-shadow(0 0 7.5px rgba(255, 255, 255, 0.045)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.025));
    }
    25%, 75% {
        filter: blur(1px) brightness(50%) drop-shadow(0 0 2.5px rgba(255, 255, 255, 0.1)) drop-shadow(0 0 5px rgba(255, 255, 255, 0.075)) drop-shadow(0 0 7.5px rgba(255, 255, 255, 0.045)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.025));
    }
}
@keyframes spin {
    0% {
        transform: rotateY(-180deg);
    }
    100% {
        transform: rotateY(180deg);
    }
}
.spinningasset {
    text-align: left;
    transition: transform 0.4s ease-out;
    cursor: pointer;
    animation: brightness 2.5s infinite linear;
}
.spinningasset::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 8px;
    width: 11px;
    margin: auto;
    background-size: 100px 400%;
    background-position: center;
}
.spinningasset > div {
    position: relative;
    z-index: 2;
    perspective: 10000px;
    transform-style: preserve-3d;
    transform-origin: center;
    animation: spin 2.5s infinite linear;
}
.spinningasset > div > * {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: inherit;
    background-size: cover;
}
.spinningasset > div > div:first-child {
    transform: translateZ(-6px);
}
.spinningasset > div > div:last-child {
    transform: translateZ(6px);
    background-image: url("./assets/images/coins_front.svg");
}
.spinningasset > div em {
    filter: blur(0.5px);
}
.spinningasset > div em:first-of-type {
    transform: translateZ(0px) rotateY(-6deg);
}
.spinningasset > div em:last-of-type {
    transform: translateZ(0px) rotateY(6deg);
}
.spinningasset > div i {
    filter: blur(0.5px);
}
.spinningasset > div i:nth-of-type(1) {
    transform: translateZ(-5px);
}
.spinningasset > div i:nth-of-type(2) {
    transform: translateZ(-4px);
}
.spinningasset > div i:nth-of-type(3) {
    transform: translateZ(-3px);
}
.spinningasset > div i:nth-of-type(4) {
    transform: translateZ(-2px);
}
.spinningasset > div i:nth-of-type(5) {
    transform: translateZ(-1px);
}
.spinningasset > div i:nth-of-type(6) {
    transform: translateZ(0px);
}
.spinningasset > div i:nth-of-type(7) {
    transform: translateZ(1px);
}
.spinningasset > div i:nth-of-type(8) {
    transform: translateZ(2px);
}
.spinningasset > div i:nth-of-type(9) {
    transform: translateZ(3px);
}
.spinningasset > div i:nth-of-type(10) {
    transform: translateZ(4px);
}
.spinningasset > div i:nth-of-type(11) {
    transform: translateZ(5px);
}
.spinningasset.is-sm {
    width: 48px;
    height: 48px;
    transform: scale(0.5);
    transform-origin: left top;
    filter: none;
}
.spinningasset.is-movile {
    position: absolute;
    z-index: 1000;
}
.spinningasset.coin > div {
    width: 100px;
    height: 100px;
}
.spinningasset.coin > div > div:first-child {
    background-image: url("../images/coins_back.svg");
}
.spinningasset.coin > div > div:last-child, .spinningasset.coin > div::after,
.spinningasset.coin > div i,
.spinningasset.coin > div em {
    background-image: url("../images/coins_front.svg");
}
/*** COINS END **/

/*** QUESTION START ************************************/
.questions {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .7s ease-in-out, opacity .7s ease-in-out;
}
.questions.active {
    transform: scaleX(1);
    opacity: 1;
}
/*** QUESTION END **************************************/

/*** RESPONSES START ***********************************/
.responses {
    padding-bottom: 5px;
}
.responses .responses-group {
    display: flex;
    flex-direction: column;
    padding: 0px 10px;
    transition: transform .7s ease-in-out, opacity .7s ease-in-out;
}
.responses .responses-group.horizontal {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}
.responses .responses-group.left {
    transform: translateX(-100%);
    opacity: 0;
}
.responses .responses-group.right {
    transform: translateX(100%);
    opacity: 0;
}
.responses .responses-group input {
    display: none;
}
.responses .responses-group label {
    border-radius: 10px;
    background-color: var(--azul-petroleo);
    box-shadow: 2px 2px 5px var(--gris);
    color: var(--blanco);
    margin: 5px;
    padding: 15px 10px;
    position:  relative;
    transition: background-color .3s ease-in-out, transform .3s ease-in-out;
    font-weight: bold;
}
.responses .responses-group.horizontal label {
    flex: 1;
    margin: 0;
    text-align: center;
}
.responses .responses-group.horizontal.colums-2 label {
    flex: none;
    flex-basis: calc(100%/2 - 5px);
}
.responses .responses-group.horizontal.colums-3 label {
    flex: none;
    flex-basis: calc(100%/3 - 5px);
}
.responses .responses-group.horizontal.colums-4 label {
    flex: none;
    flex-basis: calc(100%/4 - 5px);
}
.responses .responses-group.horizontal.colums-5 label {
    flex: none;
    flex-basis: calc(100%/5 - 5px);
}
.responses .responses-group.horizontal.colums-6 label {
    flex: none;
    flex-basis: calc(100%/6 - 5px);
}
.responses .responses-group input:checked + label,
.responses .responses-group input:not(:disabled) + label:active
{
    background-color: var(--naranja);
}
.responses .responses-group input:checked + label,
.responses .responses-group input:not(:disabled) + label:active
{
    transform: scale(0.9);
}
.responses .responses-group input:not(:disabled) + label {
    cursor: pointer;
}
.responses .responses-group input:disabled + label {
    cursor: not-allowed;
}
/*** RESPONSES END *************************************/

/*** PETS START ****************************************/
.bubble {
    position: relative;
    font-size: 18px;
    line-height: 24px;
    width: 450px; 
    background: #fff;
    border-radius: 40px;
    padding: 24px;
    text-align: center;
    color: var(--azul-petroleo);
    box-shadow: 0 0 5px var(--azul-petroleo);
    font-family: "Montserrat", Sans-serif;
}
.bubble-bottom-left:before {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-left: 24px solid var(--blanco);
    border-right: 12px solid transparent;
    border-top: 12px solid var(--blanco);
    border-bottom: 20px solid transparent;
    left: 50%;
    bottom: -30px;
    filter: drop-shadow(0 5px 2px var(--azul-petroleo));
}
.pets {
    bottom: 0px;
    left: 0px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    right: 0px;
    transition: opacity .7s ease-in-out;
    top: 0px;
    background: var(--blanco);
    display: flex;
    flex-direction: column;
}
.pets.active {
    opacity: 1;
    pointer-events: all;
}
.pets .grow {
    flex: 1;
}
.pets .bubble {
    align-self: center;
    margin-top: 10px;
}
.pets .pets-content {
    display: flex;
    flex-direction: row;
}
.pets .item {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}
.pets .item .coin-bag {
    align-self: center;
}
.pets .item .avatar {
    margin-bottom: 20px;
    max-height: 500px;
    object-fit: contain;
    width: 100%;
}
.pets .item .custom-button {
    align-self: center;
    margin-bottom: 20px;
}
.pets .details {
    position: relative;
    font-size: 18px;
    line-height: 24px;
    width: 450px; 
    background: #fff;
    padding: 24px;
    text-align: justify;
    color: var(--azul-petroleo);
    box-shadow: 0 0 5px var(--azul-petroleo);
    font-family: "Montserrat", Sans-serif;
    margin: 5px;
    margin-bottom: 20px;
}
.pets .details ul {
    list-style: inside;
    list-style-position: outside;
}
@media screen and (max-width: 640px) {
    .pets .pets-content {
        flex-direction: column;
    }
    .pets .item .coin-bag {
        position: absolute;
        bottom: 0px;
        left: -30px;
    }
    .pets .item .custom-button {
        position: absolute;
        bottom: 0px;
        right: 0px;
    }
	.pets .details {
		max-width: 390px;
	}
    .page-header .program-content .program-name {
        display: block;
    }
    .page-header .program-content .program-title {
        display: none;
    }
    .pets .item .avatar {
        margin-bottom: 20px;
        max-height: 300px;
        object-fit: contain;
        width: 100%;
    }
    .bubble {
        width: 340px; 
    }
}
/*** PETS END ******************************************/


/*** CUSTOM CLASSES START ******************************/
.oculto {
    display: none !important;
}
/*** CUSTOM CLASSES END ********************************/

/*** CUSTOM BUTTON START *******************************/
.custom-button {
    background-color: var(--azul);
    border: none;
    border-radius: 10px;
    box-shadow: 2px 2px 5px var(--gris);
    color: var(--blanco);
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 20px;
    margin: 0 5px;
    text-decoration: none;
    text-shadow: 0px 0px 10px rgba(0,0,0,0.3);
    transition: box-shadow 0.3s ease-in-out, opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    font-family: "Montserrat", sans-serif;
}
.custom-button:not(:disabled):active {
    box-shadow: none;
    transform: scale(0.9);
    text-shadow: 0px 0px 10px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 5px var(--gris);
}
button:focus:not(:focus-visible) {
    outline: none;
    box-shadow: 2px 2px 5px var(--gris);
}
.custom-button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
.btn {
    font-family: Montserrat, Sans-serif !important;
}
.btn-info {
    color: var(--blanco);
    background: var(--azul);
    border: 1px solid var(--azul);
}
.btn-info:hover {
    color: var(--blanco);
    background: var(--azul-hover);
    border: 1px solid var(--azul-hover);
}
.btn-info:focus, .btn-info:active {
    color: var(--blanco);
    background-color: var(--azul-hover) !important;
    border: 1px solid var(--azul-hover) !important;
    box-shadow: 0 0 0 0.2rem var(--azul-shadow) !important;
}
.btn-info.disabled {
    background-color: var(--azul-hover) !important;
}
.btn-success {
    color: var(--blanco);
    background: var(--azul-petroleo);
    border: 1px solid var(--azul-petroleo);
}
.btn-success:hover {
    color: var(--blanco);
    background: var(--azul-petroleo-hover);
    border: 1px solid var(--azul-petroleo-hover);
}
.btn-success:focus, .btn-success:active {
    color: var(--blanco);
    background-color: var(--azul-petroleo-hover) !important;
    border: 1px solid var(--azul-petroleo-hover) !important;
    box-shadow: 0 0 0 0.2rem var(--azul-petroleo-shadow) !important;
}
.btn-success.disabled {
    background-color: var(--azul-petroleo-hover) !important;
}
.btn-warning {
    color: var(--blanco);
    background: var(--naranja);
    border: 1px solid var(--naranja);
}
.btn-warning:hover {
    color: var(--blanco);
    background: var(--naranja-hover);
    border: 1px solid var(--naranja-hover);
}
.btn-warning:focus, .btn-warning:active {
    color: var(--blanco);
    background-color: var(--naranja-hover) !important;
    border: 1px solid var(--naranja-hover) !important;
    box-shadow: 0 0 0 0.2rem var(--naranja-shadow) !important;
}
.btn-warning.disabled {
    background-color: var(--naranja-hover) !important;
}
.btn-primary {
    color: var(--blanco);
    background: var(--gris);
    border: 1px solid var(--gris);
}
.btn-primary:hover {
    color: var(--blanco);
    background: var(--gris-hover);
    border: 1px solid var(--gris-hover);
}
.btn-primary:focus, .btn-primary:active {
    color: var(--blanco);
    background-color: var(--gris-hover) !important;
    border: 1px solid var(--gris-hover) !important;
    box-shadow: 0 0 0 0.2rem var(--gris-shadow) !important;
}
.btn-primary.disabled {
    background-color: var(--gris-hover) !important;
}
/*** CUSTOM BUTTON END *********************************/

/*** CUSTOM INTRODUCCION START *************************/
.introduccion {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px; 
    right: 10px;
    border-radius: 10px;
    /* z-index: 1000; */
    background: #fff;
    padding: 10px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(-20px);
    transition: transform 0.7s ease-in-out, opacity 0.7s ease-in-out;
    pointer-events: none;
}
.introduccion.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.introduccion + div {
    transition: opacity 0.7s ease-in-out;
}
.introduccion.active + div {
    opacity: 0;
    pointer-events: none;
}
.introduccion .content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.introduccion .content .texto {
    flex: 1;
    overflow: auto;
    padding: 0px 20px;
    box-sizing: border-box;
    font-family: "Montserrat", Sans-serif;
}
.introduccion .content .texto span {
    display: block;
}
.introduccion .content .texto span + br {
    display: none;
}
.introduccion .content .botones {
    text-align: right;
    font-family: "Montserrat", Sans-serif;
}
/*** CUSTOM INTRODUCCION END ***************************/

@media screen and (max-width: 1024px) {
    /*** CONATINER START ***********************************/
    .main-container {
        padding-right: 0;
    }
    .challenge-progress.active ~ .main-container {
        padding-right: 0px;
    }
        /*** CHALLENGE PROGRESS START **************************/
        .page-wrapper:not(.toggled) .challenge-progress.active {
            transform: translateX(160px) !important;
        }
        .challenge-progress {
            width: 130px;
            z-index: 999;
        }
        /*** CHALLENGE PROGRESS END ****************************/
        
        /*** RESPONES START ************************************/
        .responses .responses-group.horizontal {
            flex-direction: column;
            flex-wrap: wrap;
            gap: 5px;
            justify-content: center;
        }
        .responses .responses-group.horizontal.colums-2 label {
            flex: 1;
            flex-basis: auto;
        }
        .responses .responses-group.horizontal.colums-3 label {
            flex: 1;
            flex-basis: auto;
        }
        .responses .responses-group.horizontal.colums-4 label {
            flex: 1;
            flex-basis: auto;
        }
        .responses .responses-group.horizontal.colums-5 label {
            flex: 1;
            flex-basis: auto;
        }
        .responses .responses-group.horizontal.colums-6 label {
            flex: 1;
            flex-basis: auto;
        }
        /*** RESPONES END ***************************************/
        
    .gifts .content-gift {
        /*max-width: 300px;*/
        width: 80%;
    }
    /*** CONATINER END *************************************/
}

.crono {
    font-family: clockicons,sans-serif;
    color: var(--azul);
}
.float-button {
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 1000;
}

/* Responsive específico para toggle-sidebar */
@media screen and (max-width: 1024px) {
    /* Mostrar el toggle solo en tablets y móviles */
    .page-header .toggle-sidebar {
        display: flex !important;
    }
}

@media screen and (max-width: 768px) {
    .page-header .toggle-sidebar {
        width: 40px;
        height: 40px;
        gap: 4px;
    }
    
    .hamburger-line {
        width: 22px;
        height: 2.5px;
    }
    
    .page-wrapper.toggled .toggle-sidebar .hamburger-line:first-child {
        transform: translateY(6.5px) rotate(45deg);
    }
    
    .page-wrapper.toggled .toggle-sidebar .hamburger-line:last-child {
        transform: translateY(-6.5px) rotate(-45deg);
    }
}

@media screen and (max-width: 480px) {
    .page-header .toggle-sidebar {
        width: 38px;
        height: 38px;
        gap: 3px;
        border-radius: 6px;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
    }
    
    .page-wrapper.toggled .toggle-sidebar .hamburger-line:first-child {
        transform: translateY(5px) rotate(45deg);
    }
    
    .page-wrapper.toggled .toggle-sidebar .hamburger-line:last-child {
        transform: translateY(-5px) rotate(-45deg);
    }
}