#modalSeguimientoHospitalizado .form-control,
#modalSeguimientoHospitalizado .custom-select {
    border: 1px solid #ced4da !important;
    background-color: #ffffff !important;
    color: #495057 !important;
}

#modalSeguimientoHospitalizado .form-control:focus,
#modalSeguimientoHospitalizado .custom-select:focus {
    border-color: #80bdff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}

.modal-fullscreen-wirevet .modal-dialog {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    display: flex !important;
}

.modal-fullscreen-wirevet .modal-content {
    border: 0 !important;
    border-radius: 0 !important;
    height: 100vh !important;
    max-height: 100vh !important;
    background-color: #f1f5f9;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-fullscreen-wirevet .modal-body {
    flex: 1 1 auto;
    overflow: hidden;
    padding: 0;
}

.modal-fullscreen-wirevet .modal-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    z-index: 10;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* ── Fe de Erratas ──────────────────────────────────────────── */
#modal_fe_erratas {
    z-index: 1060 !important;
}

.modal-fe-erratas-dialog {
    max-width: 640px;
    margin: auto;
}

.modal-fe-erratas-content {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.modal-fe-erratas-header {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    padding: 1.1rem 1.5rem;
}

.modal-fe-erratas-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}

.modal-fe-erratas-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1c1600;
    line-height: 1.2;
}

.modal-fe-erratas-subtitle {
    color: rgba(28, 22, 0, 0.65);
    font-size: 0.78rem;
}

.modal-fe-erratas-close {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #1c1600;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.modal-fe-erratas-close:hover {
    background: rgba(255, 255, 255, 0.4);
}

.modal-fe-erratas-notice {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    font-size: 0.82rem;
    color: #92400e;
    margin-bottom: 1rem;
}

.modal-fe-erratas-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 6px;
    display: block;
}

.modal-fe-erratas-editor {
    height: 180px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.modal-fe-erratas-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 0.85rem 1.5rem;
    gap: 8px;
}

.modal-fe-erratas-btn-cancel {
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #475569;
    border-radius: 8px;
    padding: 0.45rem 1.1rem;
    font-size: 0.875rem;
    transition: background 0.15s;
}
.modal-fe-erratas-btn-cancel:hover {
    background: #f1f5f9;
}

.modal-fe-erratas-btn-save {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: 0;
    color: #1c1600;
    font-weight: 700;
    border-radius: 8px;
    padding: 0.45rem 1.3rem;
    font-size: 0.875rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
    transition: opacity 0.15s;
}
.modal-fe-erratas-btn-save:hover {
    opacity: 0.9;
}
