[x-cloak] {
    display: none !important;
}

.step-indicator {
    transition: all 0.3s ease-in-out;
}

.step-connector {
    position: relative;
}

.step-connector::after {
    display: none;
}

@media (min-width: 768px) {
    .step-connector::after {
        content: '';
        display: block;
        position: absolute;
        top: 20px;
        left: calc(50% + 20px);
        width: calc(100% - 40px);
        height: 2px;
        background-color: #d1d5db;
        z-index: 1;
    }

    .step-connector.completed::after {
        background-color: #0B9247;
    }

    .step-connector.current::after {
        background-color: #034EA2;
    }

    .step-connector:last-child::after {
        display: none;
    }
}

.step-nav-item {
    transition: all 0.2s ease-in-out;
}

.step-nav-item.disabled {
    cursor: not-allowed !important;
    opacity: 0.5;
}

.step-nav-item.disabled:hover {
    cursor: not-allowed !important;
    transform: none;
}

.step-nav-item:not(.disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

button:disabled {
    cursor: not-allowed !important;
    pointer-events: auto !important;
}

button:disabled:hover {
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

.form-step {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.form-step.hidden {
    opacity: 0;
    transform: translateX(20px);
}

/* Fix para overflow do editor Pell */
#id_doc_ref_content {
    position: relative;
    overflow: hidden;
}

#id_doc_ref_content .pell {
    height: 100%;
    display: flex;
    flex-direction: column;
    border: none;
}

#id_doc_ref_content .pell-actionbar {
    flex-shrink: 0;
}

#id_doc_ref_content .pell-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    max-height: calc(200px - 38px);
    position: relative;
}

#id_doc_ref_content .pell-content.is-empty::before {
    content: attr(data-placeholder);
    color: #9ca3af;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
}

/* Step 11 - Informacoes Complementares */
.step11-panel {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem;
}

@media (min-width: 640px) {
    .step11-panel {
        padding: 1.25rem;
    }
}

.step11-panel-title {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.step11-note {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.step11-choice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background-color: #ffffff;
    cursor: pointer;
    transition: border-color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.step11-choice-selected {
    border-color: #034EA2;
    background-color: #eff6ff;
}

.step11-group-title {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.step11-help-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: #034EA2;
    background: transparent;
    border: none;
    border-radius: 0.375rem;
    transition: all 0.15s ease-in-out;
}

.step11-help-trigger:hover {
    color: #023b7c;
    text-decoration: underline;
}

.step11-help-trigger:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(3, 78, 162, 0.2);
}

.step11-help-trigger svg {
    color: #64748b;
}

.step11-help-overlay {
    background-color: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(1px);
}
