/**
 * Estilos para Fluxograma - Abertura e Atendimento
 * Arquivo único reutilizado em ambos os contextos
 */

/* === CONTAINER DAS OPÇÕES === */
.flowchart-option-item {
    transition: all 0.1s ease;
}

.flowchart-option-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    border-right: 2px solid #359aff;
    border-left: 2px solid #359aff;
}

/* Opção selecionada com destaque */
.flowchart-option-item.bg-light-primary {
    box-shadow: 0 2px 6px rgba(54, 153, 255, 0.15);
}

/* === CHECKBOX CUSTOMIZADO === */
.flowchart-checkbox-label {
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
}

.flowchart-checkbox-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.flowchart-checkbox-box {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    background-color: #fff;
    border: 2px solid #B5B5C3;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.flowchart-checkbox-input:checked ~ .flowchart-checkbox-box {
    background-color: #3699FF;
    border-color: #3699FF;
}

.flowchart-checkbox-input:checked ~ .flowchart-checkbox-box::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* === RADIO CUSTOMIZADO === */
.flowchart-radio-label {
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
}

.flowchart-radio-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.flowchart-radio-box {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    background-color: #fff;
    border: 2px solid #B5B5C3;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.flowchart-radio-input:checked ~ .flowchart-radio-box {
    border-color: #3699FF;
}

.flowchart-radio-input:checked ~ .flowchart-radio-box::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #3699FF;
    border-radius: 50%;
}

/* === TEXTO DAS OPÇÕES === */
.flowchart-option-text {
    flex: 1;
    line-height: 1.5;
}

/* === ANIMAÇÃO DE ENTRADA === */
.flowchart-option-wrapper {
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === CAMPOS DE TEXTO === */
.flowchart-text-input {
    transition: border-color 0.2s ease;
}

.flowchart-text-input:focus {
    border-color: #3699FF;
    box-shadow: 0 0 0 0.2rem rgba(54, 153, 255, 0.1);
}

/* === CAMPO DE COMPLEMENTO === */
.flowchart-complement-field {
    margin-left: 32px;
    margin-top: 8px;
}

