.fi-form-actions div #key-bindings-2 {
    display: none !important;
}

#-historico-de-alteracoes-tab button {
    display: none !important;
}

#-historico-de-alteracoes-tab .fi-fo-repeater-item-header {
    display: none !important;
}

.fi-dropdown .fi-dropdown-panel {
    max-width: 272px !important;
}

.fi-resource-list-records-page.fi-resource-processes .fi-dropdown .fi-dropdown-panel {
    max-width: 922px !important;
}

/* Animações suaves para as seções de familiares */
.family-section-wrapper,
.children-section-wrapper {
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Melhorar responsividade dos campos */
@media (max-width: 768px) {
    .family-section-wrapper .fi-section-header,
    .children-section-wrapper .fi-section-header {
        padding: 0.75rem 1rem;
    }

    .family-section-wrapper .fi-section-content-ctn,
    .children-section-wrapper .fi-section-content-ctn {
        padding: 1rem;
    }

    .add-new-familiar .fi-fo-repeater-item-content {
        padding: 1rem;
    }
}

/* Process Deadline Modal */
.process-deadline-modal {
    position: fixed;
    inset: 0;
    z-index: 300000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
}

.process-deadline-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.process-deadline-modal__panel {
    position: relative;
    max-width: 28rem;
    width: 90%;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 1.5rem;
    transform: scale(0.95);
    transition: transform 0.2s ease-in-out;
}

.process-deadline-modal.is-open .process-deadline-modal__panel {
    transform: scale(1);
}

.process-deadline-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem;
    color: #64748b;
    background-color: transparent;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.process-deadline-modal__close:hover {
    background-color: #f1f5f9;
    color: #334155;
}

.process-deadline-modal__footer {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
}

@media (prefers-color-scheme: dark) {
    .process-deadline-modal__panel {
        background-color: #1e293b;
    }

    .process-deadline-modal__close {
        color: #94a3b8;
    }

    .process-deadline-modal__close:hover {
        background-color: #334155;
        color: #cbd5e1;
    }
}
