

/* Contenedor de formularios (oculto inicialmente) */
.denuncias-formularios-wrapper {
    display: none;
}

.denuncias-formularios-wrapper.activo {
    display: block;
}

/* Contenedor separado para formulario completo */
.denuncias-formulario-completo-wrapper {
    display: none;
    width: 100%;
}

/* Formularios */
.denuncias-formulario {
    display: none;
}

.denuncias-formulario.activo {
    display: block;
}

/* Indicador de pasos */
.denuncias-pasos-indicador-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.denuncias-pasos-indicador {
    display: flex;
    align-items: center;
    gap: 15px;
}

.denuncias-paso-indicador {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s ease;
}



.denuncias-paso-numero {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #E9EBF2;
    color: #99A1AD;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Montserrat;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.denuncias-paso-indicador.activo .denuncias-paso-numero,
.denuncias-paso-indicador.completado .denuncias-paso-numero {
    background: #233676;
    color: #FFF;
}

.denuncias-paso-texto {
    color: #99A1AD;
    font-family: Montserrat;
    font-size: 13px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.denuncias-paso-indicador.activo .denuncias-paso-texto,
.denuncias-paso-indicador.completado .denuncias-paso-texto {
    color: #233676;
    font-weight: 600;
}

.denuncias-paso-linea {
    width: 19px;
    height: 2px;
    background: #E9EBF2;
    transition: background 0.3s ease;
}

.denuncias-paso-indicador.completado ~ .denuncias-paso-linea,
.denuncias-paso-indicador.activo ~ .denuncias-paso-linea {
    background: #233676;
}

/* Pasos del formulario */
.denuncias-paso-form {
    display: none;
}

.denuncias-paso-form.activo {
    display: block;
}

.denuncias-container{
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    
    .denuncias-btn-atras{
        position: absolute;
        bottom: 100%;
        right: 99%;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 5px;
        color: #233676;
        font-family: Montserrat;
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
        z-index: 10;
        @media (max-width: 768px) {
            right: 81%;
        }
    }
    
    .denuncias-opciones-wrapper{
       padding: 40px 30px;
       max-width: 29.625rem;
       width: 100%;
       background: white;
       display: flex;
       flex-direction: column;
       align-items: flex-start;
       border-radius: 20px;
       gap: 30px;
       transition: all 0.5s ease;
       position: relative;
       left: 50%;
       transform: translateX(-50%);
       .denuncias-opciones-card{
            display: flex;
            flex-direction: column;
            gap: 30px;
            .denuncias-opciones-title{
                color: #233676;
                text-align: center;
                font-family: Montserrat;
                font-size: 25px;
                font-style: normal;
                font-weight: 800;
                line-height: 30px;
                transition: all 0.5s ease;
            }
            .denuncias-opciones-list{
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                gap: 19px;
            }
       }
    }
    .denuncias-formularios-wrapper{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        max-width: 27.313rem;
        align-self: start;
        .denuncias-formulario{
            .denuncias-opciones-card{
                display: flex;
                flex-direction: column;
                gap: 15px;
                color: #000;
                font-family: Montserrat;
                font-size: 15px;
                font-style: normal;
                font-weight: 400;
                line-height: 20px;
                 .denuncias-field{
                     label{
                         display: flex;
                         gap: 10px;
                         align-items: center;
                         input[type="checkbox"]{
                             width: 20px;
                             height: 17px;
                             min-width: 17px;
                             border: 1px solid #233676;
                             cursor: pointer;
                             appearance: none;
                             -webkit-appearance: none;
                             -moz-appearance: none;
                             border-radius: 50%;
                             
                             &:checked{
                                 background: #233676;
                                 border-color: #233676;
                             }
                         }
                     }
                 }
                #datos-contacto-nueva{
                    display: flex;
                    flex-direction: column;
                    gap: 15px;
                    .denuncias-field{
                        input{
                            display: flex;
                            padding: 10px 20px;
                            align-items: center;
                            width: 100%;
                            border-radius: 20px;
                            border: 1px solid rgba(35, 54, 118, 0.20);
                            background: #E9EBF2;
                            &::placeholder{
                                color: #000;
                                font-family: Montserrat;
                                font-size: 15px;
                                font-style: normal;
                                font-weight: 400;
                                line-height: 20px;
                            }
                            &:focus{
                                outline: none;
                            }
                            &:disabled{
                                cursor: not-allowed;
                                opacity: 1;
                            }
                        }
                    }
                    
                    &.bloqueado{
                        pointer-events: none;
                        
                        .denuncias-field{
                            input{
                                border-radius: 20px;
                                border: 1px solid #FFF;
                                background: #E9EBF2;
                                &::placeholder{
                                    color: #FFF;
                                    font-family: Montserrat;
                                    font-size: 15px;
                                    font-style: normal;
                                    font-weight: 400;
                                    line-height: 20px;
                                    opacity: 1;
                                }
                            }
                        }
                    }
                }
                .denuncias-submit{
                    .denuncias-btn-siguiente{
                        display: flex;
                        padding: 8px 18px;
                        justify-content: center;
                        align-items: center;
                        gap: 10px;
                        border-radius: 20px;
                        background: linear-gradient(180deg, #F3953E 0%, #F3953E 100%);
                        color: #FFF;
                        font-family: Montserrat;
                        font-size: 16px;
                        font-style: normal;
                        font-weight: 400;
                        line-height: 21px;
                        &:hover{
                            background: linear-gradient(180deg, #F3953E 0%, #CF7828 100%);
                        }
                    }
                }
            }
        }
        .denuncias-formulario{
            width: 100%;
            .denuncias-opciones-card{
                .denuncias-field{
                    .denuncias-label{
                        color: #233676;
                        font-family: Montserrat;
                        font-size: 15px;
                        font-style: normal;
                        font-weight: 800;
                        line-height: 20px;
                        margin-bottom: 10px;
                    }
                    input#codigo_seguimiento,
                    input#password_seguimiento{
                        display: flex;
                        padding: 10px 20px;
                        align-items: center;
                        width: 100%;
                        border-radius: 20px;
                        border: 1px solid rgba(35, 54, 118, 0.20);
                        background: #E9EBF2;
                        &::placeholder{
                            color: #000;
                            font-family: Montserrat;
                            font-size: 15px;
                            font-style: normal;
                            font-weight: 400;
                            line-height: 20px;
                        }
                        &:focus{
                            outline: none;
                        }
                        &:disabled{
                            cursor: not-allowed;
                            opacity: 1;
                        }
                    }
                }
            }
        }
    }
    .denuncias-formulario-completo-wrapper{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        .denuncias-formulario{
            width: 100%;
            #denuncias-form{
                display: flex;
                flex-direction: column;
                gap: 25px;
                 .denuncias-field{
                     display: flex;
                     flex-direction: column;
                     gap: 10px;
                     position: relative;
                     
                     label{
                         display: flex;
                         align-items: center;
                         gap: 5px;
                         
                         .denuncias-field-info-wrapper{
                             position: relative;
                             
                             .denuncias-field-info-btn{
                                 background: transparent;
                                 border: none;
                                 cursor: pointer;
                                 padding: 0.25rem;
                                 display: flex;
                                 align-items: center;
                                 justify-content: center;
                                 color: #233676;
                                 transition: color 0.2s ease;
                                 
                                 &:hover{
                                     color: #F3953E;
                                 }
                                 
                                 svg{
                                     width: 18px;
                                     height: 18px;
                                 }
                             }
                             
                             .denuncias-field-info-popup{
                                 position: absolute;
                                 bottom: 100%;
                                 left: 100%;
                                 z-index: 10;
                                 width: 276px;
                                 border-radius: 20px;
                                 background: #FFF;
                                 box-shadow: 0 10px 35px 0 rgba(0, 0, 0, 0.05);
                                 display: flex;
                                 padding: 20px;
                                 flex-direction: column;
                                 justify-content: flex-end;
                                 align-items: flex-start;
                                 gap: 10px;
                                 opacity: 0;
                                 visibility: hidden;
                                 pointer-events: none;
                                 transform: translateY(-10px);
                                 transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
                                 
                                 &.is-open{
                                     opacity: 1;
                                     visibility: visible;
                                     pointer-events: auto;
                                     transform: translateY(0);
                                 }
                                 
                                 .denuncias-field-info-popup-close{
                                     position: absolute;
                                     top: 3px;
                                     right: 3px;
                                     background: transparent;
                                     border: none;
                                     cursor: pointer;
                                     padding: 0.25rem;
                                     display: flex;
                                     align-items: center;
                                     justify-content: center;
                                     color: #233676;
                                     
                                     svg{
                                         width: 16px;
                                         height: 16px;
                                     }
                                 }
                                 
                                 .denuncias-field-info-popup-content{
                                     h3{
                                         color: #233676;
                                         font-family: Montserrat;
                                         font-size: 13px;
                                         font-style: normal;
                                         font-weight: 800;
                                         line-height: normal;
                                         margin-bottom: 7px;
                                     }
                                     
                                     p{
                                         color: #000;
                                         font-family: Montserrat;
                                         font-size: 11px;
                                         font-style: normal;
                                         font-weight: 300;
                                         line-height: 16px;
                                     }
                                 }
                             }
                         }
                     }
                    .denuncias-password-wrapper{
                        position: relative;
                        display: flex;
                        align-items: center;
                        
                        input[type="password"],
                        input[type="text"]{
                            width: 100%;
                            padding-right: 50px;
                        }
                        
                        .denuncias-toggle-password{
                            position: absolute;
                            right: 15px;
                            background: transparent;
                            border: none;
                            cursor: pointer;
                            padding: 5px;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            z-index: 1;
                            
                            svg{
                                width: 19px;
                                height: 15px;
                            }
                            
                            &:hover{
                                opacity: 0.7;
                            }
                        }
                    }
                    
                    input[type="text"],
                    input[type="email"],
                    input[type="tel"],
                    input[type="password"],
                    input[type="date"],
                    textarea,
                    select{
                        border-radius: 20px;
                        border: 1px solid rgba(35, 54, 118, 0.20);
                        background: #E9EBF2;
                        display: flex;
                        padding: 10px 20px;
                        align-items: flex-start;
                        gap: 279px;
                        align-self: stretch;
                        &::placeholder{
                            color: #000;
                            font-family: Montserrat;
                            font-size: 15px;
                            font-style: normal;
                            font-weight: 400;
                            line-height: 20px;
                            opacity: 1;
                        }
                        &:focus{
                            outline: none;
                        }
                    }
                    label{
                        color: #233676;
                        font-family: Montserrat;
                        font-size: 15px;
                        font-style: normal;
                        font-weight: 400;
                        line-height: 20px;
                    }
                    small{
                        color: #000;
                        font-family: Montserrat;
                        font-size: 11px;
                        font-style: normal;
                        font-weight: 300;
                        line-height: 16px;
                    }
                    .char-counter{
                        position: absolute;
                        right: 20px;
                        bottom: 10px;
                        color: #99A1AD;
                        font-family: Montserrat;
                        font-size: 11px;
                        font-style: normal;
                        font-weight: 300;
                        line-height: 16px;
                        pointer-events: none;
                    }
                    .denuncias-label-archivo {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        padding: 12px 20px;
                        border-radius: 20px;
                        border: 1px solid rgba(35, 54, 118, 0.20);
                        background: #E9EBF2;
                        cursor: pointer;
                        transition: all 0.3s ease;
                        
                        span {
                            color: #000;
                            font-family: Montserrat;
                            font-size: 15px;
                            font-weight: 400;
                            line-height: 20px;
                        }
                        
                        input[type="file"] {
                            display: none;
                        }
                        
                        svg {
                            width: 16px;
                            height: 16px;
                            color: #233676;
                        }
                        
                        &:hover {
                            border-color: #233676;
                            background: #D8DBE5;
                        }
                    }
                }
                .denuncias-submit{
                    .denuncias-btn-siguiente{
                        display: flex;
                        padding: 8px 18px;
                        justify-content: center;
                        align-items: center;
                        gap: 10px;
                        border-radius: 20px;
                        background: linear-gradient(180deg, #F3953E 0%, #F3953E 100%);
                        color: #FFF;
                        font-family: Montserrat;
                        font-size: 16px;
                        font-style: normal;
                        font-weight: 400;
                        line-height: 21px;
                        &:hover{
                            background: linear-gradient(180deg, #F3953E 0%, #CF7828 100%);
                        }
                    }
                }
            }
            .denuncias-paso-form.activo{
                display: flex;
                flex-direction: column;
                gap: 25px;
            }
        }
        .denuncias-pasos-indicador-container{
            .denuncias-pasos-indicador{
                .denuncias-paso-indicador{
                    display: flex;
                    padding: 5px 10px;
                    justify-content: center;
                    align-items: center;
                    gap: 10px;
                    border-radius: 10px;
                    background: white;
                    &.activo, &.completado{
                        background: #99A1AD;
                        .denuncias-paso-texto{
                            color: white;
                            font-weight: 800;
                        }
                    }
                    .denuncias-paso-texto{
                        color: black;
                        text-align: center;
                        font-family: Montserrat;
                        font-size: 13px;
                        font-style: normal;
                        font-weight: 400;
                        line-height: normal;
                    }
                }
            }
        }
        .denuncias-confirmacion-exito{
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 13px;
            .denuncias-confirmacion-titulo{
                color: #233676;
                text-align: center;
                font-family: Montserrat;
                font-size: 30px;
                font-style: normal;
                font-weight: 800;
                line-height: 35px;
            }
            .denuncias-confirmacion-texto{
                color: #000;
                text-align: center;
                font-family: Montserrat;
                font-size: 15px;
                font-style: normal;
                font-weight: 400;
                line-height: 20px;
                max-width: 35rem;
            }
            .denuncias-codigo-container{
                display: flex;
                padding: 15px 40px;
                justify-content: center;
                align-items: center;
                gap: 13px;
                border-radius: 40px;
                border: 1px solid rgba(35, 54, 118, 0.20);
                background: #FFF;
                margin-top: 17px;
                margin-bottom: 17px;
                .denuncias-codigo-numero{
                    color: #233676;
                    font-family: Montserrat;
                    font-size: 25px;
                    font-style: normal;
                    font-weight: 800;
                    line-height: 30px;
                    @media (max-width: 768px) {
                        font-size: 20px;
                    }
                }
            }
            .denuncias-confirmacion-recomendacion{
                color: #000;
                text-align: center;
                font-family: Montserrat;
                font-size: 15px;
                font-style: normal;
                font-weight: 400;
                line-height: 20px;
            }
            .denuncias-confirmacion-boton{
                .denuncias-btn-volver{
                    display: flex;
                    padding: 8px 18px;
                    justify-content: center;
                    align-items: center;
                    gap: 10px;
                    border-radius: 20px;
                    background: linear-gradient(180deg, #F3953E 0%, #F3953E 100%);
                    margin-top: 37px;
                    color: #FFF;
                    font-family: Montserrat;
                    font-size: 16px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 21px;
                    &:hover{
                        background: linear-gradient(180deg, #F3953E 0%, #CF7828 100%);
                    }
                    @media (max-width: 768px) {
                        font-size: 15px;
                    }
                }
            }
        }        

    }
}
.denuncias-container.activo{
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    gap: 6.25rem;
    
    .denuncias-opciones-wrapper{
        left: 0;
        transform: translateX(-0%);
        .denuncias-opciones-card{
            .denuncias-opciones-title{
                text-align: left;
            }
        }
    }
}
@media (max-width: 768px) {
    .denuncias-container.activo{
        flex-direction: column;
        gap: 25px;
    }
}