/* assets/css/inscricao.css */

.step-container {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s 0.4s;
    pointer-events: none;
}

.step-container.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: auto;
}

.glass-container {
    min-height: 400px;
}

/* Loader */
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #05294D;
}

/* Questões da Prova */
.questao-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;
}

.questao-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.questao-texto {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    white-space: pre-wrap;
    line-height: 1.4;
}

.opcoes-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.opcao-label {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.opcao-label:hover {
    border-color: #06b6d4;
    background-color: #f8fafc;
}

/* Esconde o rádio padrão */
.opcao-input {
    display: none;
}

/* Estilo do input selecionado */
.opcao-input:checked + .opcao-custom-radio {
    border-color: #05294D;
    background-color: #05294D;
}

.opcao-input:checked + .opcao-custom-radio::after {
    transform: scale(1);
    opacity: 1;
}

.opcao-input:checked ~ .opcao-texto {
    color: #05294D;
    font-weight: 600;
}

/* Borda da label ao checar */
.opcao-label:has(.opcao-input:checked) {
    border-color: #05294D;
    background-color: #f0f9ff;
}

.opcao-custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    margin-right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.opcao-custom-radio::after {
    content: "";
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    transition: all 0.2s ease;
}

.opcao-texto {
    color: #4b5563;
    transition: color 0.2s ease;
    line-height: 1.4;
}
