.test-voc-container {
    display: flex;
    flex-wrap: wrap;
    padding: 4rem 2rem;
    background: #181818;
    align-items: center;
    justify-content: center;
}

.test-voc-container-wrap {
    display: flex;
    gap: 2rem;
    max-width: 1500px;
    flex-wrap: wrap;
    width: 100%;
}

.test-voc-col-1 {
    width: 100%;
    flex: 1;
    border-radius: 8px;
}

.test-voc-col-2 {
    flex: 2;
    width: 100%;
    background: #fff;
    border-radius: .5rem;
}

.test-voc-info h2 {
    color: #fff !important;
}

.test-voc-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #fff;
}

/* Header styles */
.test-voc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.test-voc-title {
    font-weight: 600;
    color: #333;
}

.test-voc-exit {
    color: #666;
    text-decoration: none !important;
}


/* Progress bars */
.test-voc-progressbar {
    padding: 0 2rem;
}

.test-voc-bar {
    width: inherit;
    height: 2px;
    background: #e0e0e0;
    position: relative;
}

.test-voc-bar::before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: var(--before-width, 8.3%);
    height: 100%;
    background: #000;
    z-index: 1;
    transition: width 0.3s ease;
}

/* Form styles */
.test-voc-container-form {
    padding: 2rem;
}

.pregunta h3 {
    margin-bottom: 1.5rem;
    color: #333;
}


.pregunta input[type="radio"] {
    margin-right: 0.5rem;
}

.pregunta label {
    cursor: pointer;
    color: #666;
}

.formulario-datos h3 {
    margin-bottom: 1.5rem;
    color: #333;
}

.formulario-datos label {
    display: block;
    margin-bottom: 0.5rem;
    color: #666;
}

.formulario-datos input[type="text"],
.formulario-datos input[type="email"] {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.formulario-datos input[type="submit"] {
    padding: 1rem;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.test-voc-option {
    padding: 1rem;
    border-radius: .5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.test-voc-option input[type="radio"] {
    accent-color: black;
}

.test-voc-option:has(input[type="radio"]:checked) {
    border: 2px solid #000;
}

/* Result styles */
.test-voc-resultado {
    padding: 2rem;
}

/* Datos */

.test-voc-datos-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.test-voc-datos-wrap-item {
    flex: 1;
}


/* Tarjeta de curso */

.test-voc-product {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.test-voc-product-image img {
    width: 100%;
    border-radius: .5rem !important;
}

.test-voc-product-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.test-voc-product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.test-voc-product-feature {
    display: flex    ;
    flex-direction: column;
    gap: .25rem;
    align-items: center;
    color: #666;
}

.test-voc-product-button {
    padding: 1rem;
    background: black;
    color: white !important;
    width: max-content;
    border-radius: .5rem;
    text-decoration: none;
}

/* Loading */

.test-voc-resultado-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.test-voc-resultado-loading p {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

@media (width < 468px) {
    .test-voc-header,
    .test-voc-progressbar,
    .test-voc-resultado {
        padding: 1rem;
    }

    .test-voc-datos-wrap {
        gap: 0;
        flex-direction: column;
    }

    .test-voc-product-features {
        font-size: 13px;
    }

    .test-voc-product-button,
    .formulario-datos input[type="submit"] {
        width: 100%;
        text-align: center;
    }
}


