.step-progress {
    position: relative;
    padding: 20px 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2D2D2D;
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.step.active .circle {
    background: #FF6B35;
    color: white;
    transform: scale(1.1);
}

.connector {
    width: 100px;
    height: 2px;
    background: #2D2D2D;
    transition: background 0.3s ease;
}

.step.active ~ .step .connector,
.step.active .connector {
    background: #FF6B35;
}

.label {
    position: absolute;
    bottom: -30px;
    color: #6B7280;
    font-size: 0.875rem;
    white-space: nowrap;
}

.step.active .label {
    color: #FF6B35;
}

/* Contêiner para os passos do formulário */
.form-step-container {
    position: relative;
    min-height: 300px; /* Altura mínima para evitar saltos */
    overflow: hidden;
}

.step-content {
    opacity: 0;
    transform: translateX(50px); /* Começa deslocado à direita */
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    display: none; /* Oculta por padrão */
    width: 100%;
}

.step-content.active {
    opacity: 1;
    transform: translateX(0); /* Posição final */
    display: block; /* Exibe o passo ativo */
}

/* Ajustes para telas menores (celulares) */
@media (max-width: 640px) {
    .step-progress {
        padding: 10px 0; /* Reduzir padding vertical */
        justify-content: space-between; /* Distribuir passos uniformemente */
        width: 100%; /* Garantir que ocupe a largura da tela */
    }

    .step {
        flex: 1; /* Cada passo ocupa espaço igual */
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    .circle {
        width: 30px; /* Reduzir tamanho do círculo */
        height: 30px;
        font-size: 0.9rem; /* Reduzir fonte do número */
    }

    .connector {
        width: 20px; /* Reduzir drasticamente a largura do conector */
        height: 2px;
        flex-shrink: 0; /* Evitar que o conector encolha demais */
    }

    .label {
        font-size: 0.7rem; /* Reduzir tamanho da fonte do rótulo */
        bottom: -25px; /* Ajustar posição do rótulo */
        white-space: nowrap;
    }

    .step.active .circle {
        transform: scale(1.05); /* Reduzir escala para menos impacto */
    }
}

/* Estilo do toggle */
.w-9 {
    position: relative;
}

.dot {
    position: absolute;
    transition: transform 0.3s ease-in-out;
}

.peer-checked:bg-primary {
    background-color: #FF6B35;
}

.peer:checked ~ .w-9 .dot {
    transform: translateX(16px);
}

.range-slider {
    -webkit-appearance: none;
    height: 4px;
    background: #2D2D2D;
    border-radius: 2px;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #FF6B35;
    border-radius: 50%;
    cursor: pointer;
}

#drop-zone {
    transition: all 0.3s ease;
}

#drop-zone.dragover {
    border-color: #FF6B35;
    background: rgba(255, 107, 53, 0.05);
}

.preview-grid img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.preview-grid {
    display: grid;
    gap: 1rem;
}

.preview-item {
    position: relative;
    border: 1px solid #2D2D2D;
    border-radius: 4px;
    padding: 8px;
    text-align: center;
    background: #1A1A1A;
}

.preview-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.preview-item .file-info {
    margin-top: 8px;
    font-size: 0.875rem;
    color: #6B7280;
    word-break: break-all;
}

.preview-item .file-icon {
    font-size: 2rem;
    color: #FF6B35;
}

.preview-item .remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #FF6B35;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.875rem;
}