@import url("./styles.css");

/* Survey */
.survey{
    margin: auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--dark-blue);
    border-radius: 10px;
    width: 90%;
    justify-content: space-between;
    padding: 2rem 3rem;
  }

.survey p{
    margin: 0;
    color: white;
    font-size: 1.2rem;
}

.survey h3{
    color: white;
    font-size: 32px
}

.survey-btn{
    background: none;
    border: 1px solid white;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: ease 0.3s;
    text-align: center;
}

.survey-btn:hover{
    background-color: white;
    color: var(--dark-blue);
}

@media screen and (max-width: 768px) {
    .responsive-btn{
        display: block;
        width: 100%;
    }

    .survey{
        display: grid;
        align-items: start;
    }
}

.survey-container{
    height: 28rem;
    background-color: #09496c;
}

.survey-form{
    background: var(--white);
    max-width: 800px;
    margin-top: -20rem;
    margin-bottom: 2rem;
    padding: 3rem 4rem;
    border-radius: 1.5rem;
    z-index: 100;
    position: relative;
}

.mult-select-tag li {
    display: flex !important;
}

.topics{
    max-height: 5rem;
    overflow: auto;
}

.topics::-webkit-scrollbar {
    width: 8px;
    background-color: white;
}

.topics::-webkit-scrollbar-thumb {
    background-color: gray;
    border-radius: 10px;
}
.mult-select-tag ul li input[type="checkbox"] {
    width: auto;
}

@media screen and (max-width: 768px) {
    .survey-form{
        padding: 3rem 2rem;
        max-width: 88%;
    }

    .w-break{
        word-break: break-all;
    }

    
}

@media (min-width: 455px) {
    .custom-flex {
        display: block !important;
    }

    
}
.preview-container {
    position: fixed; /* Cambiado de absolute a fixed para centrar correctamente */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.5); /* Más opacidad para efecto modal */
    display: flex;
    justify-content: center;
    align-items: center;
    display: none; /* Manténlo oculto por defecto */
    transition: all 0.3s ease-in-out;
}

#image-preview {
    width: 60%;
    max-width: 90vw;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    border-radius: 10px;
}

.step:hover{
    cursor: pointer;
    transform: scale(1.1);
    transition: 0.3s ease;
}
